aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/lexer/err/0057_lifetime_starts_with_a_number.txt
diff options
context:
space:
mode:
Diffstat (limited to 'crates/syntax/test_data/lexer/err/0057_lifetime_starts_with_a_number.txt')
-rw-r--r--crates/syntax/test_data/lexer/err/0057_lifetime_starts_with_a_number.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/syntax/test_data/lexer/err/0057_lifetime_starts_with_a_number.txt b/crates/syntax/test_data/lexer/err/0057_lifetime_starts_with_a_number.txt
new file mode 100644
index 000000000..11e0ae14a
--- /dev/null
+++ b/crates/syntax/test_data/lexer/err/0057_lifetime_starts_with_a_number.txt
@@ -0,0 +1,6 @@
1LIFETIME_IDENT 2 "\'1"
2WHITESPACE 1 "\n"
3LIFETIME_IDENT 10 "\'1lifetime"
4WHITESPACE 1 "\n"
5> error0..2 token("\'1") msg(Lifetime name cannot start with a number)
6> error3..13 token("\'1lifetime") msg(Lifetime name cannot start with a number)