Unnamed repository; edit this file 'description' to name the repository.
move tests
Aleksey Kladov 2021-12-18
parent 7e99864 · commit 799941e
-rw-r--r--crates/parser/test_data/lexer/err/empty_exponent.rs (renamed from crates/syntax/test_data/lexer/err/0056_empty_exponent.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/empty_exponent.txt48
-rw-r--r--crates/parser/test_data/lexer/err/empty_int.rs (renamed from crates/syntax/test_data/lexer/err/0055_empty_int.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/empty_int.txt26
-rw-r--r--crates/parser/test_data/lexer/err/lifetime_starts_with_a_number.rs (renamed from crates/syntax/test_data/lexer/err/0057_lifetime_starts_with_a_number.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/lifetime_starts_with_a_number.txt4
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_block_comment_at_eof.rs (renamed from crates/syntax/test_data/lexer/err/0051_unclosed_block_comment_at_eof.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_block_comment_at_eof.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_block_comment_with_content.rs (renamed from crates/syntax/test_data/lexer/err/0052_unclosed_block_comment_with_content.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_block_comment_with_content.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_at_eof.rs (renamed from crates/syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_at_eof.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_string_at_eof.rs (renamed from crates/syntax/test_data/lexer/err/0025_unclosed_byte_string_at_eof.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_string_at_eof.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_string_with_ascii_escape.rs (renamed from crates/syntax/test_data/lexer/err/0027_unclosed_byte_string_with_ascii_escape.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_string_with_ascii_escape.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_string_with_ferris.rs (renamed from crates/syntax/test_data/lexer/err/0026_unclosed_byte_string_with_ferris.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_string_with_ferris.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash.rs (renamed from crates/syntax/test_data/lexer/err/0030_unclosed_byte_string_with_slash.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash_double_quote.rs (renamed from crates/syntax/test_data/lexer/err/0032_unclosed_byte_string_with_slash_double_quote.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash_double_quote.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash_n.rs (renamed from crates/syntax/test_data/lexer/err/0031_unclosed_byte_string_with_slash_n.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash_n.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_string_with_space.rs (renamed from crates/syntax/test_data/lexer/err/0029_unclosed_byte_string_with_space.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_string_with_space.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_string_with_unicode_escape.rs (renamed from crates/syntax/test_data/lexer/err/0028_unclosed_byte_string_with_unicode_escape.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_string_with_unicode_escape.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_with_ascii_escape.rs (renamed from crates/syntax/test_data/lexer/err/0011_unclosed_byte_with_ascii_escape.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_with_ascii_escape.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_with_ferris.rs (renamed from crates/syntax/test_data/lexer/err/0010_unclosed_byte_with_ferris.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_with_ferris.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_with_slash.rs (renamed from crates/syntax/test_data/lexer/err/0014_unclosed_byte_with_slash.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_with_slash.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_with_slash_n.rs (renamed from crates/syntax/test_data/lexer/err/0015_unclosed_byte_with_slash_n.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_with_slash_n.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_with_slash_single_quote.rs (renamed from crates/syntax/test_data/lexer/err/0016_unclosed_byte_with_slash_single_quote.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_with_slash_single_quote.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_with_space.rs (renamed from crates/syntax/test_data/lexer/err/0013_unclosed_byte_with_space.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_with_space.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_with_unicode_escape.rs (renamed from crates/syntax/test_data/lexer/err/0012_unclosed_byte_with_unicode_escape.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_byte_with_unicode_escape.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_char_at_eof.rs (renamed from crates/syntax/test_data/lexer/err/0001_unclosed_char_at_eof.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_char_at_eof.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_char_with_ascii_escape.rs (renamed from crates/syntax/test_data/lexer/err/0003_unclosed_char_with_ascii_escape.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_char_with_ascii_escape.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_char_with_ferris.rs (renamed from crates/syntax/test_data/lexer/err/0002_unclosed_char_with_ferris.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_char_with_ferris.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_char_with_slash.rs (renamed from crates/syntax/test_data/lexer/err/0006_unclosed_char_with_slash.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_char_with_slash.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_char_with_slash_n.rs (renamed from crates/syntax/test_data/lexer/err/0007_unclosed_char_with_slash_n.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_char_with_slash_n.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_char_with_slash_single_quote.rs (renamed from crates/syntax/test_data/lexer/err/0008_unclosed_char_with_slash_single_quote.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_char_with_slash_single_quote.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_char_with_space.rs (renamed from crates/syntax/test_data/lexer/err/0005_unclosed_char_with_space.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_char_with_space.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_char_with_unicode_escape.rs (renamed from crates/syntax/test_data/lexer/err/0004_unclosed_char_with_unicode_escape.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_char_with_unicode_escape.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_nested_block_comment_entirely.rs (renamed from crates/syntax/test_data/lexer/err/0053_unclosed_nested_block_comment_entirely.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_nested_block_comment_entirely.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_nested_block_comment_partially.rs (renamed from crates/syntax/test_data/lexer/err/0054_unclosed_nested_block_comment_partially.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_nested_block_comment_partially.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_byte_string_at_eof.rs (renamed from crates/syntax/test_data/lexer/err/0040_unclosed_raw_byte_string_at_eof.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_byte_string_at_eof.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_ascii_escape.rs (renamed from crates/syntax/test_data/lexer/err/0042_unclosed_raw_byte_string_with_ascii_escape.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_ascii_escape.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_ferris.rs (renamed from crates/syntax/test_data/lexer/err/0041_unclosed_raw_byte_string_with_ferris.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_ferris.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_slash.rs (renamed from crates/syntax/test_data/lexer/err/0045_unclosed_raw_byte_string_with_slash.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_slash.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_slash_n.rs (renamed from crates/syntax/test_data/lexer/err/0046_unclosed_raw_byte_string_with_slash_n.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_slash_n.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_space.rs (renamed from crates/syntax/test_data/lexer/err/0044_unclosed_raw_byte_string_with_space.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_space.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_unicode_escape.rs (renamed from crates/syntax/test_data/lexer/err/0043_unclosed_raw_byte_string_with_unicode_escape.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_unicode_escape.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_string_at_eof.rs (renamed from crates/syntax/test_data/lexer/err/0033_unclosed_raw_string_at_eof.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_string_at_eof.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_string_with_ascii_escape.rs (renamed from crates/syntax/test_data/lexer/err/0035_unclosed_raw_string_with_ascii_escape.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_string_with_ascii_escape.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_string_with_ferris.rs (renamed from crates/syntax/test_data/lexer/err/0034_unclosed_raw_string_with_ferris.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_string_with_ferris.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_string_with_slash.rs (renamed from crates/syntax/test_data/lexer/err/0038_unclosed_raw_string_with_slash.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_string_with_slash.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_string_with_slash_n.rs (renamed from crates/syntax/test_data/lexer/err/0039_unclosed_raw_string_with_slash_n.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_string_with_slash_n.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_string_with_space.rs (renamed from crates/syntax/test_data/lexer/err/0037_unclosed_raw_string_with_space.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_string_with_space.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_string_with_unicode_escape.rs (renamed from crates/syntax/test_data/lexer/err/0036_unclosed_raw_string_with_unicode_escape.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_raw_string_with_unicode_escape.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_string_at_eof.rs (renamed from crates/syntax/test_data/lexer/err/0017_unclosed_string_at_eof.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_string_at_eof.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_string_with_ascii_escape.rs (renamed from crates/syntax/test_data/lexer/err/0019_unclosed_string_with_ascii_escape.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_string_with_ascii_escape.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_string_with_ferris.rs (renamed from crates/syntax/test_data/lexer/err/0018_unclosed_string_with_ferris.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_string_with_ferris.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_string_with_slash.rs (renamed from crates/syntax/test_data/lexer/err/0022_unclosed_string_with_slash.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_string_with_slash.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_string_with_slash_double_quote.rs (renamed from crates/syntax/test_data/lexer/err/0024_unclosed_string_with_slash_double_quote.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_string_with_slash_double_quote.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_string_with_slash_n.rs (renamed from crates/syntax/test_data/lexer/err/0023_unclosed_string_with_slash_n.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_string_with_slash_n.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_string_with_space.rs (renamed from crates/syntax/test_data/lexer/err/0021_unclosed_string_with_space.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_string_with_space.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_string_with_unicode_escape.rs (renamed from crates/syntax/test_data/lexer/err/0020_unclosed_string_with_unicode_escape.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unclosed_string_with_unicode_escape.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unstarted_raw_byte_string_at_eof.rs (renamed from crates/syntax/test_data/lexer/err/0048_unstarted_raw_byte_string_at_eof.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unstarted_raw_byte_string_at_eof.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unstarted_raw_byte_string_with_ascii.rs (renamed from crates/syntax/test_data/lexer/err/0050_unstarted_raw_byte_string_with_ascii.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unstarted_raw_byte_string_with_ascii.txt9
-rw-r--r--crates/parser/test_data/lexer/err/unstarted_raw_string_at_eof.rs (renamed from crates/syntax/test_data/lexer/err/0047_unstarted_raw_string_at_eof.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unstarted_raw_string_at_eof.txt1
-rw-r--r--crates/parser/test_data/lexer/err/unstarted_raw_string_with_ascii.rs (renamed from crates/syntax/test_data/lexer/err/0049_unstarted_raw_string_with_ascii.rs)0
-rw-r--r--crates/parser/test_data/lexer/err/unstarted_raw_string_with_ascii.txt9
-rw-r--r--crates/parser/test_data/lexer/ok/block_comment.rs (renamed from crates/syntax/test_data/lexer/ok/0012_block_comment.rs)0
-rw-r--r--crates/parser/test_data/lexer/ok/block_comment.txt6
-rw-r--r--crates/parser/test_data/lexer/ok/byte_strings.rs (renamed from crates/syntax/test_data/lexer/ok/0008_byte_strings.rs)0
-rw-r--r--crates/parser/test_data/lexer/ok/byte_strings.txt22
-rw-r--r--crates/parser/test_data/lexer/ok/chars.rs (renamed from crates/syntax/test_data/lexer/ok/0006_chars.rs)0
-rw-r--r--crates/parser/test_data/lexer/ok/chars.txt16
-rw-r--r--crates/parser/test_data/lexer/ok/hello.rs (renamed from crates/syntax/test_data/lexer/ok/0001_hello.rs)0
-rw-r--r--crates/parser/test_data/lexer/ok/hello.txt3
-rw-r--r--crates/parser/test_data/lexer/ok/ident.rs (renamed from crates/syntax/test_data/lexer/ok/0003_ident.rs)0
-rw-r--r--crates/parser/test_data/lexer/ok/ident.txt14
-rw-r--r--crates/parser/test_data/lexer/ok/keywords.rs (renamed from crates/syntax/test_data/lexer/ok/0011_keywords.rs)0
-rw-r--r--crates/parser/test_data/lexer/ok/keywords.txt64
-rw-r--r--crates/parser/test_data/lexer/ok/lifetimes.rs (renamed from crates/syntax/test_data/lexer/ok/0007_lifetimes.rs)0
-rw-r--r--crates/parser/test_data/lexer/ok/lifetimes.txt8
-rw-r--r--crates/parser/test_data/lexer/ok/numbers.rs (renamed from crates/syntax/test_data/lexer/ok/0004_numbers.rs)0
-rw-r--r--crates/parser/test_data/lexer/ok/numbers.txt57
-rw-r--r--crates/parser/test_data/lexer/ok/raw_ident.rs (renamed from crates/syntax/test_data/lexer/ok/0014_raw_ident.rs)0
-rw-r--r--crates/parser/test_data/lexer/ok/raw_ident.txt2
-rw-r--r--crates/parser/test_data/lexer/ok/raw_strings.rs (renamed from crates/syntax/test_data/lexer/ok/0013_raw_strings.rs)0
-rw-r--r--crates/parser/test_data/lexer/ok/raw_strings.txt2
-rw-r--r--crates/parser/test_data/lexer/ok/single_line_comments.rs (renamed from crates/syntax/test_data/lexer/ok/0010_single_line_comments.rs)0
-rw-r--r--crates/parser/test_data/lexer/ok/single_line_comments.txt22
-rw-r--r--crates/parser/test_data/lexer/ok/strings.rs (renamed from crates/syntax/test_data/lexer/ok/0009_strings.rs)0
-rw-r--r--crates/parser/test_data/lexer/ok/strings.txt8
-rw-r--r--crates/parser/test_data/lexer/ok/symbols.rs (renamed from crates/syntax/test_data/lexer/ok/0005_symbols.rs)0
-rw-r--r--crates/parser/test_data/lexer/ok/symbols.txt77
-rw-r--r--crates/parser/test_data/lexer/ok/whitespace.rs (renamed from crates/syntax/test_data/lexer/ok/0002_whitespace.rs)0
-rw-r--r--crates/parser/test_data/lexer/ok/whitespace.txt12
-rw-r--r--crates/syntax/test_data/lexer/err/0001_unclosed_char_at_eof.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0002_unclosed_char_with_ferris.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0003_unclosed_char_with_ascii_escape.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0004_unclosed_char_with_unicode_escape.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0005_unclosed_char_with_space.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0006_unclosed_char_with_slash.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0007_unclosed_char_with_slash_n.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0008_unclosed_char_with_slash_single_quote.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0010_unclosed_byte_with_ferris.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0011_unclosed_byte_with_ascii_escape.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0012_unclosed_byte_with_unicode_escape.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0013_unclosed_byte_with_space.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0014_unclosed_byte_with_slash.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0015_unclosed_byte_with_slash_n.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0016_unclosed_byte_with_slash_single_quote.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0017_unclosed_string_at_eof.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0018_unclosed_string_with_ferris.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0019_unclosed_string_with_ascii_escape.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0020_unclosed_string_with_unicode_escape.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0021_unclosed_string_with_space.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0022_unclosed_string_with_slash.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0023_unclosed_string_with_slash_n.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0024_unclosed_string_with_slash_double_quote.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0025_unclosed_byte_string_at_eof.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0026_unclosed_byte_string_with_ferris.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0027_unclosed_byte_string_with_ascii_escape.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0028_unclosed_byte_string_with_unicode_escape.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0029_unclosed_byte_string_with_space.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0030_unclosed_byte_string_with_slash.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0031_unclosed_byte_string_with_slash_n.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0032_unclosed_byte_string_with_slash_double_quote.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0033_unclosed_raw_string_at_eof.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0034_unclosed_raw_string_with_ferris.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0035_unclosed_raw_string_with_ascii_escape.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0036_unclosed_raw_string_with_unicode_escape.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0037_unclosed_raw_string_with_space.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0038_unclosed_raw_string_with_slash.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0039_unclosed_raw_string_with_slash_n.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0040_unclosed_raw_byte_string_at_eof.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0041_unclosed_raw_byte_string_with_ferris.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0042_unclosed_raw_byte_string_with_ascii_escape.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0043_unclosed_raw_byte_string_with_unicode_escape.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0044_unclosed_raw_byte_string_with_space.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0045_unclosed_raw_byte_string_with_slash.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0046_unclosed_raw_byte_string_with_slash_n.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0047_unstarted_raw_string_at_eof.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0048_unstarted_raw_byte_string_at_eof.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0049_unstarted_raw_string_with_ascii.txt10
-rw-r--r--crates/syntax/test_data/lexer/err/0050_unstarted_raw_byte_string_with_ascii.txt10
-rw-r--r--crates/syntax/test_data/lexer/err/0051_unclosed_block_comment_at_eof.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0052_unclosed_block_comment_with_content.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0053_unclosed_nested_block_comment_entirely.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0054_unclosed_nested_block_comment_partially.txt2
-rw-r--r--crates/syntax/test_data/lexer/err/0055_empty_int.txt39
-rw-r--r--crates/syntax/test_data/lexer/err/0056_empty_exponent.txt62
-rw-r--r--crates/syntax/test_data/lexer/err/0057_lifetime_starts_with_a_number.txt6
-rw-r--r--crates/syntax/test_data/lexer/ok/0001_hello.txt3
-rw-r--r--crates/syntax/test_data/lexer/ok/0002_whitespace.txt12
-rw-r--r--crates/syntax/test_data/lexer/ok/0003_ident.txt14
-rw-r--r--crates/syntax/test_data/lexer/ok/0004_numbers.txt57
-rw-r--r--crates/syntax/test_data/lexer/ok/0005_symbols.txt77
-rw-r--r--crates/syntax/test_data/lexer/ok/0006_chars.txt16
-rw-r--r--crates/syntax/test_data/lexer/ok/0007_lifetimes.txt8
-rw-r--r--crates/syntax/test_data/lexer/ok/0008_byte_strings.txt22
-rw-r--r--crates/syntax/test_data/lexer/ok/0009_strings.txt8
-rw-r--r--crates/syntax/test_data/lexer/ok/0010_single_line_comments.txt22
-rw-r--r--crates/syntax/test_data/lexer/ok/0011_keywords.txt64
-rw-r--r--crates/syntax/test_data/lexer/ok/0012_block_comment.txt6
-rw-r--r--crates/syntax/test_data/lexer/ok/0013_raw_strings.txt2
-rw-r--r--crates/syntax/test_data/lexer/ok/0014_raw_ident.txt2
213 files changed, 461 insertions, 544 deletions
diff --git a/crates/syntax/test_data/lexer/err/0056_empty_exponent.rs b/crates/parser/test_data/lexer/err/empty_exponent.rs
index 286584c887..286584c887 100644
--- a/crates/syntax/test_data/lexer/err/0056_empty_exponent.rs
+++ b/crates/parser/test_data/lexer/err/empty_exponent.rs
diff --git a/crates/parser/test_data/lexer/err/empty_exponent.txt b/crates/parser/test_data/lexer/err/empty_exponent.txt
new file mode 100644
index 0000000000..af03d73ced
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/empty_exponent.txt
@@ -0,0 +1,48 @@
+FLOAT_NUMBER "0e" error: Missing digits after the exponent symbol
+WHITESPACE "\n"
+FLOAT_NUMBER "0E" error: Missing digits after the exponent symbol
+WHITESPACE "\n\n"
+FLOAT_NUMBER "42e+" error: Missing digits after the exponent symbol
+WHITESPACE "\n"
+FLOAT_NUMBER "42e-" error: Missing digits after the exponent symbol
+WHITESPACE "\n"
+FLOAT_NUMBER "42E+" error: Missing digits after the exponent symbol
+WHITESPACE "\n"
+FLOAT_NUMBER "42E-" error: Missing digits after the exponent symbol
+WHITESPACE "\n\n"
+INT_NUMBER "42"
+DOT "."
+IDENT "e"
+PLUS "+"
+WHITESPACE "\n"
+INT_NUMBER "42"
+DOT "."
+IDENT "e"
+MINUS "-"
+WHITESPACE "\n"
+INT_NUMBER "42"
+DOT "."
+IDENT "E"
+PLUS "+"
+WHITESPACE "\n"
+INT_NUMBER "42"
+DOT "."
+IDENT "E"
+MINUS "-"
+WHITESPACE "\n\n"
+FLOAT_NUMBER "42.2e+" error: Missing digits after the exponent symbol
+WHITESPACE "\n"
+FLOAT_NUMBER "42.2e-" error: Missing digits after the exponent symbol
+WHITESPACE "\n"
+FLOAT_NUMBER "42.2E+" error: Missing digits after the exponent symbol
+WHITESPACE "\n"
+FLOAT_NUMBER "42.2E-" error: Missing digits after the exponent symbol
+WHITESPACE "\n\n"
+FLOAT_NUMBER "42.2e+f32" error: Missing digits after the exponent symbol
+WHITESPACE "\n"
+FLOAT_NUMBER "42.2e-f32" error: Missing digits after the exponent symbol
+WHITESPACE "\n"
+FLOAT_NUMBER "42.2E+f32" error: Missing digits after the exponent symbol
+WHITESPACE "\n"
+FLOAT_NUMBER "42.2E-f32" error: Missing digits after the exponent symbol
+WHITESPACE "\n"
diff --git a/crates/syntax/test_data/lexer/err/0055_empty_int.rs b/crates/parser/test_data/lexer/err/empty_int.rs
index aa2a9fdca1..aa2a9fdca1 100644
--- a/crates/syntax/test_data/lexer/err/0055_empty_int.rs
+++ b/crates/parser/test_data/lexer/err/empty_int.rs
diff --git a/crates/parser/test_data/lexer/err/empty_int.txt b/crates/parser/test_data/lexer/err/empty_int.txt
new file mode 100644
index 0000000000..7f7194f452
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/empty_int.txt
@@ -0,0 +1,26 @@
+INT_NUMBER "0b" error: Missing digits after the integer base prefix
+WHITESPACE "\n"
+INT_NUMBER "0o" error: Missing digits after the integer base prefix
+WHITESPACE "\n"
+INT_NUMBER "0x" error: Missing digits after the integer base prefix
+WHITESPACE "\n\n"
+INT_NUMBER "0b_" error: Missing digits after the integer base prefix
+WHITESPACE "\n"
+INT_NUMBER "0o_" error: Missing digits after the integer base prefix
+WHITESPACE "\n"
+INT_NUMBER "0x_" error: Missing digits after the integer base prefix
+WHITESPACE "\n\n"
+INT_NUMBER "0bnoDigit" error: Missing digits after the integer base prefix
+WHITESPACE "\n"
+INT_NUMBER "0onoDigit" error: Missing digits after the integer base prefix
+WHITESPACE "\n"
+INT_NUMBER "0xnoDigit" error: Missing digits after the integer base prefix
+WHITESPACE "\n\n"
+INT_NUMBER "0xG" error: Missing digits after the integer base prefix
+WHITESPACE "\n"
+INT_NUMBER "0xg" error: Missing digits after the integer base prefix
+WHITESPACE "\n\n"
+INT_NUMBER "0x_g" error: Missing digits after the integer base prefix
+WHITESPACE "\n"
+INT_NUMBER "0x_G" error: Missing digits after the integer base prefix
+WHITESPACE "\n"
diff --git a/crates/syntax/test_data/lexer/err/0057_lifetime_starts_with_a_number.rs b/crates/parser/test_data/lexer/err/lifetime_starts_with_a_number.rs
index a7698a404a..a7698a404a 100644
--- a/crates/syntax/test_data/lexer/err/0057_lifetime_starts_with_a_number.rs
+++ b/crates/parser/test_data/lexer/err/lifetime_starts_with_a_number.rs
diff --git a/crates/parser/test_data/lexer/err/lifetime_starts_with_a_number.txt b/crates/parser/test_data/lexer/err/lifetime_starts_with_a_number.txt
new file mode 100644
index 0000000000..e919bf2a4a
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/lifetime_starts_with_a_number.txt
@@ -0,0 +1,4 @@
+LIFETIME_IDENT "'1" error: Lifetime name cannot start with a number
+WHITESPACE "\n"
+LIFETIME_IDENT "'1lifetime" error: Lifetime name cannot start with a number
+WHITESPACE "\n"
diff --git a/crates/syntax/test_data/lexer/err/0051_unclosed_block_comment_at_eof.rs b/crates/parser/test_data/lexer/err/unclosed_block_comment_at_eof.rs
index 22e83649f7..22e83649f7 100644
--- a/crates/syntax/test_data/lexer/err/0051_unclosed_block_comment_at_eof.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_block_comment_at_eof.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_block_comment_at_eof.txt b/crates/parser/test_data/lexer/err/unclosed_block_comment_at_eof.txt
new file mode 100644
index 0000000000..7d2c329762
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_block_comment_at_eof.txt
@@ -0,0 +1 @@
+COMMENT "/*" error: Missing trailing `*/` symbols to terminate the block comment
diff --git a/crates/syntax/test_data/lexer/err/0052_unclosed_block_comment_with_content.rs b/crates/parser/test_data/lexer/err/unclosed_block_comment_with_content.rs
index c45c2844db..c45c2844db 100644
--- a/crates/syntax/test_data/lexer/err/0052_unclosed_block_comment_with_content.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_block_comment_with_content.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_block_comment_with_content.txt b/crates/parser/test_data/lexer/err/unclosed_block_comment_with_content.txt
new file mode 100644
index 0000000000..227a20660f
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_block_comment_with_content.txt
@@ -0,0 +1 @@
+COMMENT "/* comment\n" error: Missing trailing `*/` symbols to terminate the block comment
diff --git a/crates/syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.rs b/crates/parser/test_data/lexer/err/unclosed_byte_at_eof.rs
index 795dc7e25c..795dc7e25c 100644
--- a/crates/syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_at_eof.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_byte_at_eof.txt b/crates/parser/test_data/lexer/err/unclosed_byte_at_eof.txt
new file mode 100644
index 0000000000..36944dbb2d
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_at_eof.txt
@@ -0,0 +1 @@
+BYTE "b'" error: Missing trailing `'` symbol to terminate the byte literal
diff --git a/crates/syntax/test_data/lexer/err/0025_unclosed_byte_string_at_eof.rs b/crates/parser/test_data/lexer/err/unclosed_byte_string_at_eof.rs
index 36f4f43218..36f4f43218 100644
--- a/crates/syntax/test_data/lexer/err/0025_unclosed_byte_string_at_eof.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_string_at_eof.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_byte_string_at_eof.txt b/crates/parser/test_data/lexer/err/unclosed_byte_string_at_eof.txt
new file mode 100644
index 0000000000..534a3cadcc
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_string_at_eof.txt
@@ -0,0 +1 @@
+BYTE_STRING "b\"" error: Missing trailing `"` symbol to terminate the byte string literal
diff --git a/crates/syntax/test_data/lexer/err/0027_unclosed_byte_string_with_ascii_escape.rs b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_ascii_escape.rs
index 836c112c15..836c112c15 100644
--- a/crates/syntax/test_data/lexer/err/0027_unclosed_byte_string_with_ascii_escape.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_ascii_escape.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_byte_string_with_ascii_escape.txt b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_ascii_escape.txt
new file mode 100644
index 0000000000..03f61de9a8
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_ascii_escape.txt
@@ -0,0 +1 @@
+BYTE_STRING "b\"\\x7f" error: Missing trailing `"` symbol to terminate the byte string literal
diff --git a/crates/syntax/test_data/lexer/err/0026_unclosed_byte_string_with_ferris.rs b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_ferris.rs
index 3c23a03722..3c23a03722 100644
--- a/crates/syntax/test_data/lexer/err/0026_unclosed_byte_string_with_ferris.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_ferris.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_byte_string_with_ferris.txt b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_ferris.txt
new file mode 100644
index 0000000000..e11d49d1ee
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_ferris.txt
@@ -0,0 +1 @@
+BYTE_STRING "b\"πŸ¦€" error: Missing trailing `"` symbol to terminate the byte string literal
diff --git a/crates/syntax/test_data/lexer/err/0030_unclosed_byte_string_with_slash.rs b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash.rs
index cce6615381..cce6615381 100644
--- a/crates/syntax/test_data/lexer/err/0030_unclosed_byte_string_with_slash.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash.txt b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash.txt
new file mode 100644
index 0000000000..4e374b1206
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash.txt
@@ -0,0 +1 @@
+BYTE_STRING "b\"\\" error: Missing trailing `"` symbol to terminate the byte string literal
diff --git a/crates/syntax/test_data/lexer/err/0032_unclosed_byte_string_with_slash_double_quote.rs b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash_double_quote.rs
index f2ff58ba9a..f2ff58ba9a 100644
--- a/crates/syntax/test_data/lexer/err/0032_unclosed_byte_string_with_slash_double_quote.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash_double_quote.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash_double_quote.txt b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash_double_quote.txt
new file mode 100644
index 0000000000..ee19975860
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash_double_quote.txt
@@ -0,0 +1 @@
+BYTE_STRING "b\"\\\"" error: Missing trailing `"` symbol to terminate the byte string literal
diff --git a/crates/syntax/test_data/lexer/err/0031_unclosed_byte_string_with_slash_n.rs b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash_n.rs
index 5e680aabb7..5e680aabb7 100644
--- a/crates/syntax/test_data/lexer/err/0031_unclosed_byte_string_with_slash_n.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash_n.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash_n.txt b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash_n.txt
new file mode 100644
index 0000000000..b109d8629c
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_slash_n.txt
@@ -0,0 +1 @@
+BYTE_STRING "b\"\\n" error: Missing trailing `"` symbol to terminate the byte string literal
diff --git a/crates/syntax/test_data/lexer/err/0029_unclosed_byte_string_with_space.rs b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_space.rs
index d6898541e6..d6898541e6 100644
--- a/crates/syntax/test_data/lexer/err/0029_unclosed_byte_string_with_space.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_space.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_byte_string_with_space.txt b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_space.txt
new file mode 100644
index 0000000000..eaca94fa41
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_space.txt
@@ -0,0 +1 @@
+BYTE_STRING "b\" " error: Missing trailing `"` symbol to terminate the byte string literal
diff --git a/crates/syntax/test_data/lexer/err/0028_unclosed_byte_string_with_unicode_escape.rs b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_unicode_escape.rs
index 1c6df1d00e..1c6df1d00e 100644
--- a/crates/syntax/test_data/lexer/err/0028_unclosed_byte_string_with_unicode_escape.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_unicode_escape.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_byte_string_with_unicode_escape.txt b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_unicode_escape.txt
new file mode 100644
index 0000000000..3b79f48bcd
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_string_with_unicode_escape.txt
@@ -0,0 +1 @@
+BYTE_STRING "b\"\\u{20AA}" error: Missing trailing `"` symbol to terminate the byte string literal
diff --git a/crates/syntax/test_data/lexer/err/0011_unclosed_byte_with_ascii_escape.rs b/crates/parser/test_data/lexer/err/unclosed_byte_with_ascii_escape.rs
index d146a8090d..d146a8090d 100644
--- a/crates/syntax/test_data/lexer/err/0011_unclosed_byte_with_ascii_escape.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_with_ascii_escape.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_byte_with_ascii_escape.txt b/crates/parser/test_data/lexer/err/unclosed_byte_with_ascii_escape.txt
new file mode 100644
index 0000000000..5525376f45
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_with_ascii_escape.txt
@@ -0,0 +1 @@
+BYTE "b'\\x7f" error: Missing trailing `'` symbol to terminate the byte literal
diff --git a/crates/syntax/test_data/lexer/err/0010_unclosed_byte_with_ferris.rs b/crates/parser/test_data/lexer/err/unclosed_byte_with_ferris.rs
index c9230dc24e..c9230dc24e 100644
--- a/crates/syntax/test_data/lexer/err/0010_unclosed_byte_with_ferris.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_with_ferris.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_byte_with_ferris.txt b/crates/parser/test_data/lexer/err/unclosed_byte_with_ferris.txt
new file mode 100644
index 0000000000..e7a8be4f6e
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_with_ferris.txt
@@ -0,0 +1 @@
+BYTE "b'πŸ¦€" error: Missing trailing `'` symbol to terminate the byte literal
diff --git a/crates/syntax/test_data/lexer/err/0014_unclosed_byte_with_slash.rs b/crates/parser/test_data/lexer/err/unclosed_byte_with_slash.rs
index abffa5037c..abffa5037c 100644
--- a/crates/syntax/test_data/lexer/err/0014_unclosed_byte_with_slash.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_with_slash.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_byte_with_slash.txt b/crates/parser/test_data/lexer/err/unclosed_byte_with_slash.txt
new file mode 100644
index 0000000000..d9937135a9
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_with_slash.txt
@@ -0,0 +1 @@
+BYTE "b'\\" error: Missing trailing `'` symbol to terminate the byte literal
diff --git a/crates/syntax/test_data/lexer/err/0015_unclosed_byte_with_slash_n.rs b/crates/parser/test_data/lexer/err/unclosed_byte_with_slash_n.rs
index 4f46836a93..4f46836a93 100644
--- a/crates/syntax/test_data/lexer/err/0015_unclosed_byte_with_slash_n.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_with_slash_n.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_byte_with_slash_n.txt b/crates/parser/test_data/lexer/err/unclosed_byte_with_slash_n.txt
new file mode 100644
index 0000000000..c408cdb2b5
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_with_slash_n.txt
@@ -0,0 +1 @@
+BYTE "b'\\n" error: Missing trailing `'` symbol to terminate the byte literal
diff --git a/crates/syntax/test_data/lexer/err/0016_unclosed_byte_with_slash_single_quote.rs b/crates/parser/test_data/lexer/err/unclosed_byte_with_slash_single_quote.rs
index 645b641eed..645b641eed 100644
--- a/crates/syntax/test_data/lexer/err/0016_unclosed_byte_with_slash_single_quote.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_with_slash_single_quote.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_byte_with_slash_single_quote.txt b/crates/parser/test_data/lexer/err/unclosed_byte_with_slash_single_quote.txt
new file mode 100644
index 0000000000..b331f95607
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_with_slash_single_quote.txt
@@ -0,0 +1 @@
+BYTE "b'\\'" error: Missing trailing `'` symbol to terminate the byte literal
diff --git a/crates/syntax/test_data/lexer/err/0013_unclosed_byte_with_space.rs b/crates/parser/test_data/lexer/err/unclosed_byte_with_space.rs
index 93b7f9c87c..93b7f9c87c 100644
--- a/crates/syntax/test_data/lexer/err/0013_unclosed_byte_with_space.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_with_space.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_byte_with_space.txt b/crates/parser/test_data/lexer/err/unclosed_byte_with_space.txt
new file mode 100644
index 0000000000..80c0e1c00a
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_with_space.txt
@@ -0,0 +1 @@
+BYTE "b' " error: Missing trailing `'` symbol to terminate the byte literal
diff --git a/crates/syntax/test_data/lexer/err/0012_unclosed_byte_with_unicode_escape.rs b/crates/parser/test_data/lexer/err/unclosed_byte_with_unicode_escape.rs
index a3dec7c255..a3dec7c255 100644
--- a/crates/syntax/test_data/lexer/err/0012_unclosed_byte_with_unicode_escape.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_with_unicode_escape.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_byte_with_unicode_escape.txt b/crates/parser/test_data/lexer/err/unclosed_byte_with_unicode_escape.txt
new file mode 100644
index 0000000000..e1c3dc141e
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_byte_with_unicode_escape.txt
@@ -0,0 +1 @@
+BYTE "b'\\u{20AA}" error: Missing trailing `'` symbol to terminate the byte literal
diff --git a/crates/syntax/test_data/lexer/err/0001_unclosed_char_at_eof.rs b/crates/parser/test_data/lexer/err/unclosed_char_at_eof.rs
index ad2823b48f..ad2823b48f 100644
--- a/crates/syntax/test_data/lexer/err/0001_unclosed_char_at_eof.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_char_at_eof.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_char_at_eof.txt b/crates/parser/test_data/lexer/err/unclosed_char_at_eof.txt
new file mode 100644
index 0000000000..218c7a2d76
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_char_at_eof.txt
@@ -0,0 +1 @@
+CHAR "'" error: Missing trailing `'` symbol to terminate the character literal
diff --git a/crates/syntax/test_data/lexer/err/0003_unclosed_char_with_ascii_escape.rs b/crates/parser/test_data/lexer/err/unclosed_char_with_ascii_escape.rs
index cf74b4dad3..cf74b4dad3 100644
--- a/crates/syntax/test_data/lexer/err/0003_unclosed_char_with_ascii_escape.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_char_with_ascii_escape.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_char_with_ascii_escape.txt b/crates/parser/test_data/lexer/err/unclosed_char_with_ascii_escape.txt
new file mode 100644
index 0000000000..a0d8e1b83a
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_char_with_ascii_escape.txt
@@ -0,0 +1 @@
+CHAR "'\\x7f" error: Missing trailing `'` symbol to terminate the character literal
diff --git a/crates/syntax/test_data/lexer/err/0002_unclosed_char_with_ferris.rs b/crates/parser/test_data/lexer/err/unclosed_char_with_ferris.rs
index e264a41528..e264a41528 100644
--- a/crates/syntax/test_data/lexer/err/0002_unclosed_char_with_ferris.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_char_with_ferris.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_char_with_ferris.txt b/crates/parser/test_data/lexer/err/unclosed_char_with_ferris.txt
new file mode 100644
index 0000000000..56f19cce07
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_char_with_ferris.txt
@@ -0,0 +1 @@
+CHAR "'πŸ¦€" error: Missing trailing `'` symbol to terminate the character literal
diff --git a/crates/syntax/test_data/lexer/err/0006_unclosed_char_with_slash.rs b/crates/parser/test_data/lexer/err/unclosed_char_with_slash.rs
index 6ba258b109..6ba258b109 100644
--- a/crates/syntax/test_data/lexer/err/0006_unclosed_char_with_slash.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_char_with_slash.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_char_with_slash.txt b/crates/parser/test_data/lexer/err/unclosed_char_with_slash.txt
new file mode 100644
index 0000000000..cfa0e0752a
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_char_with_slash.txt
@@ -0,0 +1 @@
+CHAR "'\\" error: Missing trailing `'` symbol to terminate the character literal
diff --git a/crates/syntax/test_data/lexer/err/0007_unclosed_char_with_slash_n.rs b/crates/parser/test_data/lexer/err/unclosed_char_with_slash_n.rs
index 78bef7e3eb..78bef7e3eb 100644
--- a/crates/syntax/test_data/lexer/err/0007_unclosed_char_with_slash_n.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_char_with_slash_n.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_char_with_slash_n.txt b/crates/parser/test_data/lexer/err/unclosed_char_with_slash_n.txt
new file mode 100644
index 0000000000..6a42a4e22b
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_char_with_slash_n.txt
@@ -0,0 +1 @@
+CHAR "'\\n" error: Missing trailing `'` symbol to terminate the character literal
diff --git a/crates/syntax/test_data/lexer/err/0008_unclosed_char_with_slash_single_quote.rs b/crates/parser/test_data/lexer/err/unclosed_char_with_slash_single_quote.rs
index a0e722065b..a0e722065b 100644
--- a/crates/syntax/test_data/lexer/err/0008_unclosed_char_with_slash_single_quote.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_char_with_slash_single_quote.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_char_with_slash_single_quote.txt b/crates/parser/test_data/lexer/err/unclosed_char_with_slash_single_quote.txt
new file mode 100644
index 0000000000..1275f6aa85
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_char_with_slash_single_quote.txt
@@ -0,0 +1 @@
+CHAR "'\\'" error: Missing trailing `'` symbol to terminate the character literal
diff --git a/crates/syntax/test_data/lexer/err/0005_unclosed_char_with_space.rs b/crates/parser/test_data/lexer/err/unclosed_char_with_space.rs
index 309ecfe478..309ecfe478 100644
--- a/crates/syntax/test_data/lexer/err/0005_unclosed_char_with_space.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_char_with_space.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_char_with_space.txt b/crates/parser/test_data/lexer/err/unclosed_char_with_space.txt
new file mode 100644
index 0000000000..746c425c4e
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_char_with_space.txt
@@ -0,0 +1 @@
+CHAR "' " error: Missing trailing `'` symbol to terminate the character literal
diff --git a/crates/syntax/test_data/lexer/err/0004_unclosed_char_with_unicode_escape.rs b/crates/parser/test_data/lexer/err/unclosed_char_with_unicode_escape.rs
index 50be91f685..50be91f685 100644
--- a/crates/syntax/test_data/lexer/err/0004_unclosed_char_with_unicode_escape.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_char_with_unicode_escape.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_char_with_unicode_escape.txt b/crates/parser/test_data/lexer/err/unclosed_char_with_unicode_escape.txt
new file mode 100644
index 0000000000..9abd590982
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_char_with_unicode_escape.txt
@@ -0,0 +1 @@
+CHAR "'\\u{20AA}" error: Missing trailing `'` symbol to terminate the character literal
diff --git a/crates/syntax/test_data/lexer/err/0053_unclosed_nested_block_comment_entirely.rs b/crates/parser/test_data/lexer/err/unclosed_nested_block_comment_entirely.rs
index 3fcfc96600..3fcfc96600 100644
--- a/crates/syntax/test_data/lexer/err/0053_unclosed_nested_block_comment_entirely.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_nested_block_comment_entirely.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_nested_block_comment_entirely.txt b/crates/parser/test_data/lexer/err/unclosed_nested_block_comment_entirely.txt
new file mode 100644
index 0000000000..15ce8905a9
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_nested_block_comment_entirely.txt
@@ -0,0 +1 @@
+COMMENT "/* /* /*\n" error: Missing trailing `*/` symbols to terminate the block comment
diff --git a/crates/syntax/test_data/lexer/err/0054_unclosed_nested_block_comment_partially.rs b/crates/parser/test_data/lexer/err/unclosed_nested_block_comment_partially.rs
index 26c898f019..26c898f019 100644
--- a/crates/syntax/test_data/lexer/err/0054_unclosed_nested_block_comment_partially.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_nested_block_comment_partially.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_nested_block_comment_partially.txt b/crates/parser/test_data/lexer/err/unclosed_nested_block_comment_partially.txt
new file mode 100644
index 0000000000..e9b74ee7f8
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_nested_block_comment_partially.txt
@@ -0,0 +1 @@
+COMMENT "/** /*! /* comment */ */\n" error: Missing trailing `*/` symbols to terminate the block comment
diff --git a/crates/syntax/test_data/lexer/err/0040_unclosed_raw_byte_string_at_eof.rs b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_at_eof.rs
index ae5bae6223..ae5bae6223 100644
--- a/crates/syntax/test_data/lexer/err/0040_unclosed_raw_byte_string_at_eof.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_at_eof.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_at_eof.txt b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_at_eof.txt
new file mode 100644
index 0000000000..6ec1780c30
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_at_eof.txt
@@ -0,0 +1 @@
+BYTE_STRING "br##\"" error: Missing trailing `"` with `#` symbols to terminate the raw byte string literal
diff --git a/crates/syntax/test_data/lexer/err/0042_unclosed_raw_byte_string_with_ascii_escape.rs b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_ascii_escape.rs
index d50270afe1..d50270afe1 100644
--- a/crates/syntax/test_data/lexer/err/0042_unclosed_raw_byte_string_with_ascii_escape.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_ascii_escape.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_ascii_escape.txt b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_ascii_escape.txt
new file mode 100644
index 0000000000..d65f1bb2ff
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_ascii_escape.txt
@@ -0,0 +1 @@
+BYTE_STRING "br##\"\\x7f" error: Missing trailing `"` with `#` symbols to terminate the raw byte string literal
diff --git a/crates/syntax/test_data/lexer/err/0041_unclosed_raw_byte_string_with_ferris.rs b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_ferris.rs
index 9ef01207a1..9ef01207a1 100644
--- a/crates/syntax/test_data/lexer/err/0041_unclosed_raw_byte_string_with_ferris.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_ferris.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_ferris.txt b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_ferris.txt
new file mode 100644
index 0000000000..0f9e0a1657
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_ferris.txt
@@ -0,0 +1 @@
+BYTE_STRING "br##\"πŸ¦€" error: Missing trailing `"` with `#` symbols to terminate the raw byte string literal
diff --git a/crates/syntax/test_data/lexer/err/0045_unclosed_raw_byte_string_with_slash.rs b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_slash.rs
index 0b3c015d74..0b3c015d74 100644
--- a/crates/syntax/test_data/lexer/err/0045_unclosed_raw_byte_string_with_slash.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_slash.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_slash.txt b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_slash.txt
new file mode 100644
index 0000000000..202dcd2d43
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_slash.txt
@@ -0,0 +1 @@
+BYTE_STRING "br##\"\\" error: Missing trailing `"` with `#` symbols to terminate the raw byte string literal
diff --git a/crates/syntax/test_data/lexer/err/0046_unclosed_raw_byte_string_with_slash_n.rs b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_slash_n.rs
index 0d8b0e7ab0..0d8b0e7ab0 100644
--- a/crates/syntax/test_data/lexer/err/0046_unclosed_raw_byte_string_with_slash_n.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_slash_n.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_slash_n.txt b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_slash_n.txt
new file mode 100644
index 0000000000..d45485b529
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_slash_n.txt
@@ -0,0 +1 @@
+BYTE_STRING "br##\"\\n" error: Missing trailing `"` with `#` symbols to terminate the raw byte string literal
diff --git a/crates/syntax/test_data/lexer/err/0044_unclosed_raw_byte_string_with_space.rs b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_space.rs
index 14c602fd2b..14c602fd2b 100644
--- a/crates/syntax/test_data/lexer/err/0044_unclosed_raw_byte_string_with_space.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_space.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_space.txt b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_space.txt
new file mode 100644
index 0000000000..1bfabbc3ab
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_space.txt
@@ -0,0 +1 @@
+BYTE_STRING "br##\" " error: Missing trailing `"` with `#` symbols to terminate the raw byte string literal
diff --git a/crates/syntax/test_data/lexer/err/0043_unclosed_raw_byte_string_with_unicode_escape.rs b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_unicode_escape.rs
index 90e299a1a9..90e299a1a9 100644
--- a/crates/syntax/test_data/lexer/err/0043_unclosed_raw_byte_string_with_unicode_escape.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_unicode_escape.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_unicode_escape.txt b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_unicode_escape.txt
new file mode 100644
index 0000000000..104ab8aaee
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_byte_string_with_unicode_escape.txt
@@ -0,0 +1 @@
+BYTE_STRING "br##\"\\u{20AA}" error: Missing trailing `"` with `#` symbols to terminate the raw byte string literal
diff --git a/crates/syntax/test_data/lexer/err/0033_unclosed_raw_string_at_eof.rs b/crates/parser/test_data/lexer/err/unclosed_raw_string_at_eof.rs
index 557c59b625..557c59b625 100644
--- a/crates/syntax/test_data/lexer/err/0033_unclosed_raw_string_at_eof.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_string_at_eof.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_raw_string_at_eof.txt b/crates/parser/test_data/lexer/err/unclosed_raw_string_at_eof.txt
new file mode 100644
index 0000000000..71b20fd19d
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_string_at_eof.txt
@@ -0,0 +1 @@
+STRING "r##\"" error: Missing trailing `"` with `#` symbols to terminate the raw string literal
diff --git a/crates/syntax/test_data/lexer/err/0035_unclosed_raw_string_with_ascii_escape.rs b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_ascii_escape.rs
index 5bec883dc7..5bec883dc7 100644
--- a/crates/syntax/test_data/lexer/err/0035_unclosed_raw_string_with_ascii_escape.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_ascii_escape.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_raw_string_with_ascii_escape.txt b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_ascii_escape.txt
new file mode 100644
index 0000000000..dc106dd24a
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_ascii_escape.txt
@@ -0,0 +1 @@
+STRING "r##\"\\x7f" error: Missing trailing `"` with `#` symbols to terminate the raw string literal
diff --git a/crates/syntax/test_data/lexer/err/0034_unclosed_raw_string_with_ferris.rs b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_ferris.rs
index bd046e4bb9..bd046e4bb9 100644
--- a/crates/syntax/test_data/lexer/err/0034_unclosed_raw_string_with_ferris.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_ferris.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_raw_string_with_ferris.txt b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_ferris.txt
new file mode 100644
index 0000000000..30ee029f65
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_ferris.txt
@@ -0,0 +1 @@
+STRING "r##\"πŸ¦€" error: Missing trailing `"` with `#` symbols to terminate the raw string literal
diff --git a/crates/syntax/test_data/lexer/err/0038_unclosed_raw_string_with_slash.rs b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_slash.rs
index 9242077b8b..9242077b8b 100644
--- a/crates/syntax/test_data/lexer/err/0038_unclosed_raw_string_with_slash.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_slash.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_raw_string_with_slash.txt b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_slash.txt
new file mode 100644
index 0000000000..8a6f6cc436
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_slash.txt
@@ -0,0 +1 @@
+STRING "r##\"\\" error: Missing trailing `"` with `#` symbols to terminate the raw string literal
diff --git a/crates/syntax/test_data/lexer/err/0039_unclosed_raw_string_with_slash_n.rs b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_slash_n.rs
index db1c16f2ba..db1c16f2ba 100644
--- a/crates/syntax/test_data/lexer/err/0039_unclosed_raw_string_with_slash_n.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_slash_n.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_raw_string_with_slash_n.txt b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_slash_n.txt
new file mode 100644
index 0000000000..f46eff2516
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_slash_n.txt
@@ -0,0 +1 @@
+STRING "r##\"\\n" error: Missing trailing `"` with `#` symbols to terminate the raw string literal
diff --git a/crates/syntax/test_data/lexer/err/0037_unclosed_raw_string_with_space.rs b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_space.rs
index f104bae4f2..f104bae4f2 100644
--- a/crates/syntax/test_data/lexer/err/0037_unclosed_raw_string_with_space.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_space.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_raw_string_with_space.txt b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_space.txt
new file mode 100644
index 0000000000..49b6afea45
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_space.txt
@@ -0,0 +1 @@
+STRING "r##\" " error: Missing trailing `"` with `#` symbols to terminate the raw string literal
diff --git a/crates/syntax/test_data/lexer/err/0036_unclosed_raw_string_with_unicode_escape.rs b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_unicode_escape.rs
index bf05c39134..bf05c39134 100644
--- a/crates/syntax/test_data/lexer/err/0036_unclosed_raw_string_with_unicode_escape.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_unicode_escape.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_raw_string_with_unicode_escape.txt b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_unicode_escape.txt
new file mode 100644
index 0000000000..d10d6d8e8c
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_raw_string_with_unicode_escape.txt
@@ -0,0 +1 @@
+STRING "r##\"\\u{20AA}" error: Missing trailing `"` with `#` symbols to terminate the raw string literal
diff --git a/crates/syntax/test_data/lexer/err/0017_unclosed_string_at_eof.rs b/crates/parser/test_data/lexer/err/unclosed_string_at_eof.rs
index 9d68933c44..9d68933c44 100644
--- a/crates/syntax/test_data/lexer/err/0017_unclosed_string_at_eof.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_string_at_eof.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_string_at_eof.txt b/crates/parser/test_data/lexer/err/unclosed_string_at_eof.txt
new file mode 100644
index 0000000000..3b89ce0ca1
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_string_at_eof.txt
@@ -0,0 +1 @@
+STRING "\"" error: Missing trailing `"` symbol to terminate the string literal
diff --git a/crates/syntax/test_data/lexer/err/0019_unclosed_string_with_ascii_escape.rs b/crates/parser/test_data/lexer/err/unclosed_string_with_ascii_escape.rs
index 56186a3444..56186a3444 100644
--- a/crates/syntax/test_data/lexer/err/0019_unclosed_string_with_ascii_escape.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_string_with_ascii_escape.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_string_with_ascii_escape.txt b/crates/parser/test_data/lexer/err/unclosed_string_with_ascii_escape.txt
new file mode 100644
index 0000000000..6694cf17a6
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_string_with_ascii_escape.txt
@@ -0,0 +1 @@
+STRING "\"\\x7f" error: Missing trailing `"` symbol to terminate the string literal
diff --git a/crates/syntax/test_data/lexer/err/0018_unclosed_string_with_ferris.rs b/crates/parser/test_data/lexer/err/unclosed_string_with_ferris.rs
index d439b8d2a1..d439b8d2a1 100644
--- a/crates/syntax/test_data/lexer/err/0018_unclosed_string_with_ferris.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_string_with_ferris.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_string_with_ferris.txt b/crates/parser/test_data/lexer/err/unclosed_string_with_ferris.txt
new file mode 100644
index 0000000000..5f4501c18e
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_string_with_ferris.txt
@@ -0,0 +1 @@
+STRING "\"πŸ¦€" error: Missing trailing `"` symbol to terminate the string literal
diff --git a/crates/syntax/test_data/lexer/err/0022_unclosed_string_with_slash.rs b/crates/parser/test_data/lexer/err/unclosed_string_with_slash.rs
index 00a2584008..00a2584008 100644
--- a/crates/syntax/test_data/lexer/err/0022_unclosed_string_with_slash.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_string_with_slash.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_string_with_slash.txt b/crates/parser/test_data/lexer/err/unclosed_string_with_slash.txt
new file mode 100644
index 0000000000..a8ac565ac8
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_string_with_slash.txt
@@ -0,0 +1 @@
+STRING "\"\\" error: Missing trailing `"` symbol to terminate the string literal
diff --git a/crates/syntax/test_data/lexer/err/0024_unclosed_string_with_slash_double_quote.rs b/crates/parser/test_data/lexer/err/unclosed_string_with_slash_double_quote.rs
index 403c2d6ddc..403c2d6ddc 100644
--- a/crates/syntax/test_data/lexer/err/0024_unclosed_string_with_slash_double_quote.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_string_with_slash_double_quote.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_string_with_slash_double_quote.txt b/crates/parser/test_data/lexer/err/unclosed_string_with_slash_double_quote.txt
new file mode 100644
index 0000000000..919183b919
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_string_with_slash_double_quote.txt
@@ -0,0 +1 @@
+STRING "\"\\\"" error: Missing trailing `"` symbol to terminate the string literal
diff --git a/crates/syntax/test_data/lexer/err/0023_unclosed_string_with_slash_n.rs b/crates/parser/test_data/lexer/err/unclosed_string_with_slash_n.rs
index a0c29b8cff..a0c29b8cff 100644
--- a/crates/syntax/test_data/lexer/err/0023_unclosed_string_with_slash_n.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_string_with_slash_n.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_string_with_slash_n.txt b/crates/parser/test_data/lexer/err/unclosed_string_with_slash_n.txt
new file mode 100644
index 0000000000..39e288af96
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_string_with_slash_n.txt
@@ -0,0 +1 @@
+STRING "\"\\n" error: Missing trailing `"` symbol to terminate the string literal
diff --git a/crates/syntax/test_data/lexer/err/0021_unclosed_string_with_space.rs b/crates/parser/test_data/lexer/err/unclosed_string_with_space.rs
index 72cdc841fb..72cdc841fb 100644
--- a/crates/syntax/test_data/lexer/err/0021_unclosed_string_with_space.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_string_with_space.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_string_with_space.txt b/crates/parser/test_data/lexer/err/unclosed_string_with_space.txt
new file mode 100644
index 0000000000..dcff94d7ed
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_string_with_space.txt
@@ -0,0 +1 @@
+STRING "\" " error: Missing trailing `"` symbol to terminate the string literal
diff --git a/crates/syntax/test_data/lexer/err/0020_unclosed_string_with_unicode_escape.rs b/crates/parser/test_data/lexer/err/unclosed_string_with_unicode_escape.rs
index ed24095c3d..ed24095c3d 100644
--- a/crates/syntax/test_data/lexer/err/0020_unclosed_string_with_unicode_escape.rs
+++ b/crates/parser/test_data/lexer/err/unclosed_string_with_unicode_escape.rs
diff --git a/crates/parser/test_data/lexer/err/unclosed_string_with_unicode_escape.txt b/crates/parser/test_data/lexer/err/unclosed_string_with_unicode_escape.txt
new file mode 100644
index 0000000000..ac232b530d
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unclosed_string_with_unicode_escape.txt
@@ -0,0 +1 @@
+STRING "\"\\u{20AA}" error: Missing trailing `"` symbol to terminate the string literal
diff --git a/crates/syntax/test_data/lexer/err/0048_unstarted_raw_byte_string_at_eof.rs b/crates/parser/test_data/lexer/err/unstarted_raw_byte_string_at_eof.rs
index 7e8cadf4f4..7e8cadf4f4 100644
--- a/crates/syntax/test_data/lexer/err/0048_unstarted_raw_byte_string_at_eof.rs
+++ b/crates/parser/test_data/lexer/err/unstarted_raw_byte_string_at_eof.rs
diff --git a/crates/parser/test_data/lexer/err/unstarted_raw_byte_string_at_eof.txt b/crates/parser/test_data/lexer/err/unstarted_raw_byte_string_at_eof.txt
new file mode 100644
index 0000000000..cf942c92f3
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unstarted_raw_byte_string_at_eof.txt
@@ -0,0 +1 @@
+BYTE_STRING "br##" error: Missing `"` symbol after `#` symbols to begin the raw byte string literal
diff --git a/crates/syntax/test_data/lexer/err/0050_unstarted_raw_byte_string_with_ascii.rs b/crates/parser/test_data/lexer/err/unstarted_raw_byte_string_with_ascii.rs
index d9b55455ac..d9b55455ac 100644
--- a/crates/syntax/test_data/lexer/err/0050_unstarted_raw_byte_string_with_ascii.rs
+++ b/crates/parser/test_data/lexer/err/unstarted_raw_byte_string_with_ascii.rs
diff --git a/crates/parser/test_data/lexer/err/unstarted_raw_byte_string_with_ascii.txt b/crates/parser/test_data/lexer/err/unstarted_raw_byte_string_with_ascii.txt
new file mode 100644
index 0000000000..042769c275
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unstarted_raw_byte_string_with_ascii.txt
@@ -0,0 +1,9 @@
+BYTE_STRING "br## " error: Missing `"` symbol after `#` symbols to begin the raw byte string literal
+IDENT "I"
+WHITESPACE " "
+IDENT "lack"
+WHITESPACE " "
+IDENT "a"
+WHITESPACE " "
+IDENT "quote"
+BANG "!"
diff --git a/crates/syntax/test_data/lexer/err/0047_unstarted_raw_string_at_eof.rs b/crates/parser/test_data/lexer/err/unstarted_raw_string_at_eof.rs
index eddf8d0809..eddf8d0809 100644
--- a/crates/syntax/test_data/lexer/err/0047_unstarted_raw_string_at_eof.rs
+++ b/crates/parser/test_data/lexer/err/unstarted_raw_string_at_eof.rs
diff --git a/crates/parser/test_data/lexer/err/unstarted_raw_string_at_eof.txt b/crates/parser/test_data/lexer/err/unstarted_raw_string_at_eof.txt
new file mode 100644
index 0000000000..2f7c7529a9
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unstarted_raw_string_at_eof.txt
@@ -0,0 +1 @@
+STRING "r##" error: Missing `"` symbol after `#` symbols to begin the raw string literal
diff --git a/crates/syntax/test_data/lexer/err/0049_unstarted_raw_string_with_ascii.rs b/crates/parser/test_data/lexer/err/unstarted_raw_string_with_ascii.rs
index 534668a9b6..534668a9b6 100644
--- a/crates/syntax/test_data/lexer/err/0049_unstarted_raw_string_with_ascii.rs
+++ b/crates/parser/test_data/lexer/err/unstarted_raw_string_with_ascii.rs
diff --git a/crates/parser/test_data/lexer/err/unstarted_raw_string_with_ascii.txt b/crates/parser/test_data/lexer/err/unstarted_raw_string_with_ascii.txt
new file mode 100644
index 0000000000..4a06b0abe7
--- /dev/null
+++ b/crates/parser/test_data/lexer/err/unstarted_raw_string_with_ascii.txt
@@ -0,0 +1,9 @@
+STRING "r## " error: Missing `"` symbol after `#` symbols to begin the raw string literal
+IDENT "I"
+WHITESPACE " "
+IDENT "lack"
+WHITESPACE " "
+IDENT "a"
+WHITESPACE " "
+IDENT "quote"
+BANG "!"
diff --git a/crates/syntax/test_data/lexer/ok/0012_block_comment.rs b/crates/parser/test_data/lexer/ok/block_comment.rs
index b880a59d95..b880a59d95 100644
--- a/crates/syntax/test_data/lexer/ok/0012_block_comment.rs
+++ b/crates/parser/test_data/lexer/ok/block_comment.rs
diff --git a/crates/parser/test_data/lexer/ok/block_comment.txt b/crates/parser/test_data/lexer/ok/block_comment.txt
new file mode 100644
index 0000000000..18bb5cad87
--- /dev/null
+++ b/crates/parser/test_data/lexer/ok/block_comment.txt
@@ -0,0 +1,6 @@
+COMMENT "/* */"
+WHITESPACE "\n"
+COMMENT "/**/"
+WHITESPACE "\n"
+COMMENT "/* /* */ */"
+WHITESPACE "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0008_byte_strings.rs b/crates/parser/test_data/lexer/ok/byte_strings.rs
index b54930f5e6..b54930f5e6 100644
--- a/crates/syntax/test_data/lexer/ok/0008_byte_strings.rs
+++ b/crates/parser/test_data/lexer/ok/byte_strings.rs
diff --git a/crates/parser/test_data/lexer/ok/byte_strings.txt b/crates/parser/test_data/lexer/ok/byte_strings.txt
new file mode 100644
index 0000000000..c848ac368e
--- /dev/null
+++ b/crates/parser/test_data/lexer/ok/byte_strings.txt
@@ -0,0 +1,22 @@
+BYTE "b''"
+WHITESPACE " "
+BYTE "b'x'"
+WHITESPACE " "
+BYTE_STRING "b\"foo\""
+WHITESPACE " "
+BYTE_STRING "br\"\""
+WHITESPACE "\n"
+BYTE "b''suf"
+WHITESPACE " "
+BYTE_STRING "b\"\"ix"
+WHITESPACE " "
+BYTE_STRING "br\"\"br"
+WHITESPACE "\n"
+BYTE "b'\\n'"
+WHITESPACE " "
+BYTE "b'\\\\'"
+WHITESPACE " "
+BYTE "b'\\''"
+WHITESPACE " "
+BYTE "b'hello'"
+WHITESPACE "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0006_chars.rs b/crates/parser/test_data/lexer/ok/chars.rs
index 454ee0a5f6..454ee0a5f6 100644
--- a/crates/syntax/test_data/lexer/ok/0006_chars.rs
+++ b/crates/parser/test_data/lexer/ok/chars.rs
diff --git a/crates/parser/test_data/lexer/ok/chars.txt b/crates/parser/test_data/lexer/ok/chars.txt
new file mode 100644
index 0000000000..66e58cc298
--- /dev/null
+++ b/crates/parser/test_data/lexer/ok/chars.txt
@@ -0,0 +1,16 @@
+CHAR "'x'"
+WHITESPACE " "
+CHAR "' '"
+WHITESPACE " "
+CHAR "'0'"
+WHITESPACE " "
+CHAR "'hello'"
+WHITESPACE " "
+CHAR "'\\x7f'"
+WHITESPACE " "
+CHAR "'\\n'"
+WHITESPACE " "
+CHAR "'\\\\'"
+WHITESPACE " "
+CHAR "'\\''"
+WHITESPACE "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0001_hello.rs b/crates/parser/test_data/lexer/ok/hello.rs
index 95d09f2b10..95d09f2b10 100644
--- a/crates/syntax/test_data/lexer/ok/0001_hello.rs
+++ b/crates/parser/test_data/lexer/ok/hello.rs
diff --git a/crates/parser/test_data/lexer/ok/hello.txt b/crates/parser/test_data/lexer/ok/hello.txt
new file mode 100644
index 0000000000..7f5ce9de1b
--- /dev/null
+++ b/crates/parser/test_data/lexer/ok/hello.txt
@@ -0,0 +1,3 @@
+IDENT "hello"
+WHITESPACE " "
+IDENT "world"
diff --git a/crates/syntax/test_data/lexer/ok/0003_ident.rs b/crates/parser/test_data/lexer/ok/ident.rs
index c05c9c009d..c05c9c009d 100644
--- a/crates/syntax/test_data/lexer/ok/0003_ident.rs
+++ b/crates/parser/test_data/lexer/ok/ident.rs
diff --git a/crates/parser/test_data/lexer/ok/ident.txt b/crates/parser/test_data/lexer/ok/ident.txt
new file mode 100644
index 0000000000..5689644c07
--- /dev/null
+++ b/crates/parser/test_data/lexer/ok/ident.txt
@@ -0,0 +1,14 @@
+IDENT "foo"
+WHITESPACE " "
+IDENT "foo_"
+WHITESPACE " "
+IDENT "_foo"
+WHITESPACE " "
+UNDERSCORE "_"
+WHITESPACE " "
+IDENT "__"
+WHITESPACE " "
+IDENT "x"
+WHITESPACE " "
+IDENT "ΠΏΡ€ΠΈΠ²Π΅Ρ‚"
+WHITESPACE "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0011_keywords.rs b/crates/parser/test_data/lexer/ok/keywords.rs
index 1e91bff4e7..1e91bff4e7 100644
--- a/crates/syntax/test_data/lexer/ok/0011_keywords.rs
+++ b/crates/parser/test_data/lexer/ok/keywords.rs
diff --git a/crates/parser/test_data/lexer/ok/keywords.txt b/crates/parser/test_data/lexer/ok/keywords.txt
new file mode 100644
index 0000000000..e19b1399aa
--- /dev/null
+++ b/crates/parser/test_data/lexer/ok/keywords.txt
@@ -0,0 +1,64 @@
+ASYNC_KW "async"
+WHITESPACE " "
+FN_KW "fn"
+WHITESPACE " "
+USE_KW "use"
+WHITESPACE " "
+STRUCT_KW "struct"
+WHITESPACE " "
+TRAIT_KW "trait"
+WHITESPACE " "
+ENUM_KW "enum"
+WHITESPACE " "
+IMPL_KW "impl"
+WHITESPACE " "
+TRUE_KW "true"
+WHITESPACE " "
+FALSE_KW "false"
+WHITESPACE " "
+AS_KW "as"
+WHITESPACE " "
+EXTERN_KW "extern"
+WHITESPACE " "
+CRATE_KW "crate"
+WHITESPACE "\n"
+MOD_KW "mod"
+WHITESPACE " "
+PUB_KW "pub"
+WHITESPACE " "
+SELF_KW "self"
+WHITESPACE " "
+SUPER_KW "super"
+WHITESPACE " "
+IN_KW "in"
+WHITESPACE " "
+WHERE_KW "where"
+WHITESPACE " "
+FOR_KW "for"
+WHITESPACE " "
+LOOP_KW "loop"
+WHITESPACE " "
+WHILE_KW "while"
+WHITESPACE " "
+IF_KW "if"
+WHITESPACE " "
+MATCH_KW "match"
+WHITESPACE " "
+CONST_KW "const"
+WHITESPACE "\n"
+STATIC_KW "static"
+WHITESPACE " "
+MUT_KW "mut"
+WHITESPACE " "
+TYPE_KW "type"
+WHITESPACE " "
+REF_KW "ref"
+WHITESPACE " "
+LET_KW "let"
+WHITESPACE " "
+ELSE_KW "else"
+WHITESPACE " "
+MOVE_KW "move"
+WHITESPACE " "
+RETURN_KW "return"
+WHITESPACE "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0007_lifetimes.rs b/crates/parser/test_data/lexer/ok/lifetimes.rs
index b764f1dce3..b764f1dce3 100644
--- a/crates/syntax/test_data/lexer/ok/0007_lifetimes.rs
+++ b/crates/parser/test_data/lexer/ok/lifetimes.rs
diff --git a/crates/parser/test_data/lexer/ok/lifetimes.txt b/crates/parser/test_data/lexer/ok/lifetimes.txt
new file mode 100644
index 0000000000..eeb1e95414
--- /dev/null
+++ b/crates/parser/test_data/lexer/ok/lifetimes.txt
@@ -0,0 +1,8 @@
+LIFETIME_IDENT "'a"
+WHITESPACE " "
+LIFETIME_IDENT "'foo"
+WHITESPACE " "
+LIFETIME_IDENT "'foo_bar_baz"
+WHITESPACE " "
+LIFETIME_IDENT "'_"
+WHITESPACE "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0004_numbers.rs b/crates/parser/test_data/lexer/ok/numbers.rs
index bc761c235d..bc761c235d 100644
--- a/crates/syntax/test_data/lexer/ok/0004_numbers.rs
+++ b/crates/parser/test_data/lexer/ok/numbers.rs
diff --git a/crates/parser/test_data/lexer/ok/numbers.txt b/crates/parser/test_data/lexer/ok/numbers.txt
new file mode 100644
index 0000000000..8d13c3f610
--- /dev/null
+++ b/crates/parser/test_data/lexer/ok/numbers.txt
@@ -0,0 +1,57 @@
+INT_NUMBER "0"
+WHITESPACE " "
+INT_NUMBER "00"
+WHITESPACE " "
+INT_NUMBER "0_"
+WHITESPACE " "
+FLOAT_NUMBER "0."
+WHITESPACE " "
+INT_NUMBER "0z"
+WHITESPACE "\n"
+INT_NUMBER "01790"
+WHITESPACE " "
+INT_NUMBER "0b1790"
+WHITESPACE " "
+INT_NUMBER "0o1790"
+WHITESPACE " "
+INT_NUMBER "0x1790aAbBcCdDeEfF"
+WHITESPACE " "
+INT_NUMBER "001279"
+WHITESPACE " "
+INT_NUMBER "0_1279"
+WHITESPACE " "
+FLOAT_NUMBER "0.1279"
+WHITESPACE " "
+FLOAT_NUMBER "0e1279"
+WHITESPACE " "
+FLOAT_NUMBER "0E1279"
+WHITESPACE "\n"
+INT_NUMBER "0"
+DOT "."
+DOT "."
+INT_NUMBER "2"
+WHITESPACE "\n"
+INT_NUMBER "0"
+DOT "."
+IDENT "foo"
+L_PAREN "("
+R_PAREN ")"
+WHITESPACE "\n"
+FLOAT_NUMBER "0e+1"
+WHITESPACE "\n"
+INT_NUMBER "0"
+DOT "."
+IDENT "e"
+PLUS "+"
+INT_NUMBER "1"
+WHITESPACE "\n"
+FLOAT_NUMBER "0.0E-2"
+WHITESPACE "\n"
+FLOAT_NUMBER "0___0.10000____0000e+111__"
+WHITESPACE "\n"
+INT_NUMBER "1i64"
+WHITESPACE " "
+FLOAT_NUMBER "92.0f32"
+WHITESPACE " "
+INT_NUMBER "11__s"
+WHITESPACE "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0014_raw_ident.rs b/crates/parser/test_data/lexer/ok/raw_ident.rs
index b40a1b6a24..b40a1b6a24 100644
--- a/crates/syntax/test_data/lexer/ok/0014_raw_ident.rs
+++ b/crates/parser/test_data/lexer/ok/raw_ident.rs
diff --git a/crates/parser/test_data/lexer/ok/raw_ident.txt b/crates/parser/test_data/lexer/ok/raw_ident.txt
new file mode 100644
index 0000000000..fddad99821
--- /dev/null
+++ b/crates/parser/test_data/lexer/ok/raw_ident.txt
@@ -0,0 +1,2 @@
+IDENT "r#raw_ident"
+WHITESPACE "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0013_raw_strings.rs b/crates/parser/test_data/lexer/ok/raw_strings.rs
index e5ed0b693b..e5ed0b693b 100644
--- a/crates/syntax/test_data/lexer/ok/0013_raw_strings.rs
+++ b/crates/parser/test_data/lexer/ok/raw_strings.rs
diff --git a/crates/parser/test_data/lexer/ok/raw_strings.txt b/crates/parser/test_data/lexer/ok/raw_strings.txt
new file mode 100644
index 0000000000..13cf733b7d
--- /dev/null
+++ b/crates/parser/test_data/lexer/ok/raw_strings.txt
@@ -0,0 +1,2 @@
+STRING "r###\"this is a r##\"raw\"## string\"###"
+WHITESPACE "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0010_single_line_comments.rs b/crates/parser/test_data/lexer/ok/single_line_comments.rs
index 4b6653f9cc..4b6653f9cc 100644
--- a/crates/syntax/test_data/lexer/ok/0010_single_line_comments.rs
+++ b/crates/parser/test_data/lexer/ok/single_line_comments.rs
diff --git a/crates/parser/test_data/lexer/ok/single_line_comments.txt b/crates/parser/test_data/lexer/ok/single_line_comments.txt
new file mode 100644
index 0000000000..a7681e9f50
--- /dev/null
+++ b/crates/parser/test_data/lexer/ok/single_line_comments.txt
@@ -0,0 +1,22 @@
+SHEBANG "#!/usr/bin/env bash"
+WHITESPACE "\n"
+COMMENT "// hello"
+WHITESPACE "\n"
+COMMENT "//! World"
+WHITESPACE "\n"
+COMMENT "//!! Inner line doc"
+WHITESPACE "\n"
+COMMENT "/// Outer line doc"
+WHITESPACE "\n"
+COMMENT "//// Just a comment"
+WHITESPACE "\n\n"
+COMMENT "//"
+WHITESPACE "\n"
+COMMENT "//!"
+WHITESPACE "\n"
+COMMENT "//!!"
+WHITESPACE "\n"
+COMMENT "///"
+WHITESPACE "\n"
+COMMENT "////"
+WHITESPACE "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0009_strings.rs b/crates/parser/test_data/lexer/ok/strings.rs
index 4ddb5bffcc..4ddb5bffcc 100644
--- a/crates/syntax/test_data/lexer/ok/0009_strings.rs
+++ b/crates/parser/test_data/lexer/ok/strings.rs
diff --git a/crates/parser/test_data/lexer/ok/strings.txt b/crates/parser/test_data/lexer/ok/strings.txt
new file mode 100644
index 0000000000..ec222591bd
--- /dev/null
+++ b/crates/parser/test_data/lexer/ok/strings.txt
@@ -0,0 +1,8 @@
+STRING "\"hello\""
+WHITESPACE " "
+STRING "r\"world\""
+WHITESPACE " "
+STRING "\"\\n\\\"\\\\no escape\""
+WHITESPACE " "
+STRING "\"multi\nline\""
+WHITESPACE "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0005_symbols.rs b/crates/parser/test_data/lexer/ok/symbols.rs
index 487569b5ae..487569b5ae 100644
--- a/crates/syntax/test_data/lexer/ok/0005_symbols.rs
+++ b/crates/parser/test_data/lexer/ok/symbols.rs
diff --git a/crates/parser/test_data/lexer/ok/symbols.txt b/crates/parser/test_data/lexer/ok/symbols.txt
new file mode 100644
index 0000000000..533ccff9a8
--- /dev/null
+++ b/crates/parser/test_data/lexer/ok/symbols.txt
@@ -0,0 +1,77 @@
+SEMICOLON ";"
+WHITESPACE " "
+COMMA ","
+WHITESPACE " "
+L_PAREN "("
+WHITESPACE " "
+R_PAREN ")"
+WHITESPACE " "
+L_CURLY "{"
+WHITESPACE " "
+R_CURLY "}"
+WHITESPACE " "
+L_BRACK "["
+WHITESPACE " "
+R_BRACK "]"
+WHITESPACE " "
+L_ANGLE "<"
+WHITESPACE " "
+R_ANGLE ">"
+WHITESPACE " "
+AT "@"
+WHITESPACE " "
+POUND "#"
+WHITESPACE " "
+TILDE "~"
+WHITESPACE " "
+QUESTION "?"
+WHITESPACE " "
+DOLLAR "$"
+WHITESPACE " "
+AMP "&"
+WHITESPACE " "
+PIPE "|"
+WHITESPACE " "
+PLUS "+"
+WHITESPACE " "
+STAR "*"
+WHITESPACE " "
+SLASH "/"
+WHITESPACE " "
+CARET "^"
+WHITESPACE " "
+PERCENT "%"
+WHITESPACE "\n"
+DOT "."
+WHITESPACE " "
+DOT "."
+DOT "."
+WHITESPACE " "
+DOT "."
+DOT "."
+DOT "."
+WHITESPACE " "
+DOT "."
+DOT "."
+EQ "="
+WHITESPACE "\n"
+COLON ":"
+WHITESPACE " "
+COLON ":"
+COLON ":"
+WHITESPACE "\n"
+EQ "="
+WHITESPACE " "
+EQ "="
+R_ANGLE ">"
+WHITESPACE "\n"
+BANG "!"
+WHITESPACE " "
+BANG "!"
+EQ "="
+WHITESPACE "\n"
+MINUS "-"
+WHITESPACE " "
+MINUS "-"
+R_ANGLE ">"
+WHITESPACE "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0002_whitespace.rs b/crates/parser/test_data/lexer/ok/whitespace.rs
index 08fce1418a..08fce1418a 100644
--- a/crates/syntax/test_data/lexer/ok/0002_whitespace.rs
+++ b/crates/parser/test_data/lexer/ok/whitespace.rs
diff --git a/crates/parser/test_data/lexer/ok/whitespace.txt b/crates/parser/test_data/lexer/ok/whitespace.txt
new file mode 100644
index 0000000000..8ccb79e4ec
--- /dev/null
+++ b/crates/parser/test_data/lexer/ok/whitespace.txt
@@ -0,0 +1,12 @@
+IDENT "a"
+WHITESPACE " "
+IDENT "b"
+WHITESPACE " "
+IDENT "c"
+WHITESPACE "\n"
+IDENT "d"
+WHITESPACE "\n\n"
+IDENT "e"
+WHITESPACE "\t"
+IDENT "f"
+WHITESPACE "\n"
diff --git a/crates/syntax/test_data/lexer/err/0001_unclosed_char_at_eof.txt b/crates/syntax/test_data/lexer/err/0001_unclosed_char_at_eof.txt
deleted file mode 100644
index 135f49552b..0000000000
--- a/crates/syntax/test_data/lexer/err/0001_unclosed_char_at_eof.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-CHAR 1 "'"
-> error0..1 token("'") msg(Missing trailing `'` symbol to terminate the character literal)
diff --git a/crates/syntax/test_data/lexer/err/0002_unclosed_char_with_ferris.txt b/crates/syntax/test_data/lexer/err/0002_unclosed_char_with_ferris.txt
deleted file mode 100644
index cc3933d956..0000000000
--- a/crates/syntax/test_data/lexer/err/0002_unclosed_char_with_ferris.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-CHAR 5 "'πŸ¦€"
-> error0..5 token("'πŸ¦€") msg(Missing trailing `'` symbol to terminate the character literal)
diff --git a/crates/syntax/test_data/lexer/err/0003_unclosed_char_with_ascii_escape.txt b/crates/syntax/test_data/lexer/err/0003_unclosed_char_with_ascii_escape.txt
deleted file mode 100644
index 21d990e6f1..0000000000
--- a/crates/syntax/test_data/lexer/err/0003_unclosed_char_with_ascii_escape.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-CHAR 5 "'\\x7f"
-> error0..5 token("'\\x7f") msg(Missing trailing `'` symbol to terminate the character literal)
diff --git a/crates/syntax/test_data/lexer/err/0004_unclosed_char_with_unicode_escape.txt b/crates/syntax/test_data/lexer/err/0004_unclosed_char_with_unicode_escape.txt
deleted file mode 100644
index 055dba64cc..0000000000
--- a/crates/syntax/test_data/lexer/err/0004_unclosed_char_with_unicode_escape.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-CHAR 9 "'\\u{20AA}"
-> error0..9 token("'\\u{20AA}") msg(Missing trailing `'` symbol to terminate the character literal)
diff --git a/crates/syntax/test_data/lexer/err/0005_unclosed_char_with_space.txt b/crates/syntax/test_data/lexer/err/0005_unclosed_char_with_space.txt
deleted file mode 100644
index 9ee5e93fa4..0000000000
--- a/crates/syntax/test_data/lexer/err/0005_unclosed_char_with_space.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-CHAR 2 "' "
-> error0..2 token("' ") msg(Missing trailing `'` symbol to terminate the character literal)
diff --git a/crates/syntax/test_data/lexer/err/0006_unclosed_char_with_slash.txt b/crates/syntax/test_data/lexer/err/0006_unclosed_char_with_slash.txt
deleted file mode 100644
index dc3a596f63..0000000000
--- a/crates/syntax/test_data/lexer/err/0006_unclosed_char_with_slash.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-CHAR 2 "'\\"
-> error0..2 token("'\\") msg(Missing trailing `'` symbol to terminate the character literal)
diff --git a/crates/syntax/test_data/lexer/err/0007_unclosed_char_with_slash_n.txt b/crates/syntax/test_data/lexer/err/0007_unclosed_char_with_slash_n.txt
deleted file mode 100644
index e46edea986..0000000000
--- a/crates/syntax/test_data/lexer/err/0007_unclosed_char_with_slash_n.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-CHAR 3 "'\\n"
-> error0..3 token("'\\n") msg(Missing trailing `'` symbol to terminate the character literal)
diff --git a/crates/syntax/test_data/lexer/err/0008_unclosed_char_with_slash_single_quote.txt b/crates/syntax/test_data/lexer/err/0008_unclosed_char_with_slash_single_quote.txt
deleted file mode 100644
index 8ad1e913af..0000000000
--- a/crates/syntax/test_data/lexer/err/0008_unclosed_char_with_slash_single_quote.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-CHAR 3 "'\\'"
-> error0..3 token("'\\'") msg(Missing trailing `'` symbol to terminate the character literal)
diff --git a/crates/syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.txt b/crates/syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.txt
deleted file mode 100644
index 9d30c74669..0000000000
--- a/crates/syntax/test_data/lexer/err/0009_unclosed_byte_at_eof.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE 2 "b'"
-> error0..2 token("b'") msg(Missing trailing `'` symbol to terminate the byte literal)
diff --git a/crates/syntax/test_data/lexer/err/0010_unclosed_byte_with_ferris.txt b/crates/syntax/test_data/lexer/err/0010_unclosed_byte_with_ferris.txt
deleted file mode 100644
index 9dbf4203e2..0000000000
--- a/crates/syntax/test_data/lexer/err/0010_unclosed_byte_with_ferris.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE 6 "b'πŸ¦€"
-> error0..6 token("b'πŸ¦€") msg(Missing trailing `'` symbol to terminate the byte literal)
diff --git a/crates/syntax/test_data/lexer/err/0011_unclosed_byte_with_ascii_escape.txt b/crates/syntax/test_data/lexer/err/0011_unclosed_byte_with_ascii_escape.txt
deleted file mode 100644
index d5d9c2ef70..0000000000
--- a/crates/syntax/test_data/lexer/err/0011_unclosed_byte_with_ascii_escape.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE 6 "b'\\x7f"
-> error0..6 token("b'\\x7f") msg(Missing trailing `'` symbol to terminate the byte literal)
diff --git a/crates/syntax/test_data/lexer/err/0012_unclosed_byte_with_unicode_escape.txt b/crates/syntax/test_data/lexer/err/0012_unclosed_byte_with_unicode_escape.txt
deleted file mode 100644
index a99b9666a9..0000000000
--- a/crates/syntax/test_data/lexer/err/0012_unclosed_byte_with_unicode_escape.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE 10 "b'\\u{20AA}"
-> error0..10 token("b'\\u{20AA}") msg(Missing trailing `'` symbol to terminate the byte literal)
diff --git a/crates/syntax/test_data/lexer/err/0013_unclosed_byte_with_space.txt b/crates/syntax/test_data/lexer/err/0013_unclosed_byte_with_space.txt
deleted file mode 100644
index 8a344f7129..0000000000
--- a/crates/syntax/test_data/lexer/err/0013_unclosed_byte_with_space.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE 3 "b' "
-> error0..3 token("b' ") msg(Missing trailing `'` symbol to terminate the byte literal)
diff --git a/crates/syntax/test_data/lexer/err/0014_unclosed_byte_with_slash.txt b/crates/syntax/test_data/lexer/err/0014_unclosed_byte_with_slash.txt
deleted file mode 100644
index b78a43c027..0000000000
--- a/crates/syntax/test_data/lexer/err/0014_unclosed_byte_with_slash.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE 3 "b'\\"
-> error0..3 token("b'\\") msg(Missing trailing `'` symbol to terminate the byte literal)
diff --git a/crates/syntax/test_data/lexer/err/0015_unclosed_byte_with_slash_n.txt b/crates/syntax/test_data/lexer/err/0015_unclosed_byte_with_slash_n.txt
deleted file mode 100644
index 5147363ba4..0000000000
--- a/crates/syntax/test_data/lexer/err/0015_unclosed_byte_with_slash_n.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE 4 "b'\\n"
-> error0..4 token("b'\\n") msg(Missing trailing `'` symbol to terminate the byte literal)
diff --git a/crates/syntax/test_data/lexer/err/0016_unclosed_byte_with_slash_single_quote.txt b/crates/syntax/test_data/lexer/err/0016_unclosed_byte_with_slash_single_quote.txt
deleted file mode 100644
index 261c0894f0..0000000000
--- a/crates/syntax/test_data/lexer/err/0016_unclosed_byte_with_slash_single_quote.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE 4 "b'\\'"
-> error0..4 token("b'\\'") msg(Missing trailing `'` symbol to terminate the byte literal)
diff --git a/crates/syntax/test_data/lexer/err/0017_unclosed_string_at_eof.txt b/crates/syntax/test_data/lexer/err/0017_unclosed_string_at_eof.txt
deleted file mode 100644
index d11a8d880e..0000000000
--- a/crates/syntax/test_data/lexer/err/0017_unclosed_string_at_eof.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 1 "\""
-> error0..1 token("\"") msg(Missing trailing `"` symbol to terminate the string literal)
diff --git a/crates/syntax/test_data/lexer/err/0018_unclosed_string_with_ferris.txt b/crates/syntax/test_data/lexer/err/0018_unclosed_string_with_ferris.txt
deleted file mode 100644
index 167f942d12..0000000000
--- a/crates/syntax/test_data/lexer/err/0018_unclosed_string_with_ferris.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 5 "\"πŸ¦€"
-> error0..5 token("\"πŸ¦€") msg(Missing trailing `"` symbol to terminate the string literal)
diff --git a/crates/syntax/test_data/lexer/err/0019_unclosed_string_with_ascii_escape.txt b/crates/syntax/test_data/lexer/err/0019_unclosed_string_with_ascii_escape.txt
deleted file mode 100644
index 224c653d26..0000000000
--- a/crates/syntax/test_data/lexer/err/0019_unclosed_string_with_ascii_escape.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 5 "\"\\x7f"
-> error0..5 token("\"\\x7f") msg(Missing trailing `"` symbol to terminate the string literal)
diff --git a/crates/syntax/test_data/lexer/err/0020_unclosed_string_with_unicode_escape.txt b/crates/syntax/test_data/lexer/err/0020_unclosed_string_with_unicode_escape.txt
deleted file mode 100644
index 48975bbcbc..0000000000
--- a/crates/syntax/test_data/lexer/err/0020_unclosed_string_with_unicode_escape.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 9 "\"\\u{20AA}"
-> error0..9 token("\"\\u{20AA}") msg(Missing trailing `"` symbol to terminate the string literal)
diff --git a/crates/syntax/test_data/lexer/err/0021_unclosed_string_with_space.txt b/crates/syntax/test_data/lexer/err/0021_unclosed_string_with_space.txt
deleted file mode 100644
index a823cca7a4..0000000000
--- a/crates/syntax/test_data/lexer/err/0021_unclosed_string_with_space.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 2 "\" "
-> error0..2 token("\" ") msg(Missing trailing `"` symbol to terminate the string literal)
diff --git a/crates/syntax/test_data/lexer/err/0022_unclosed_string_with_slash.txt b/crates/syntax/test_data/lexer/err/0022_unclosed_string_with_slash.txt
deleted file mode 100644
index 0914f001f5..0000000000
--- a/crates/syntax/test_data/lexer/err/0022_unclosed_string_with_slash.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 2 "\"\\"
-> error0..2 token("\"\\") msg(Missing trailing `"` symbol to terminate the string literal)
diff --git a/crates/syntax/test_data/lexer/err/0023_unclosed_string_with_slash_n.txt b/crates/syntax/test_data/lexer/err/0023_unclosed_string_with_slash_n.txt
deleted file mode 100644
index 5674b55fdf..0000000000
--- a/crates/syntax/test_data/lexer/err/0023_unclosed_string_with_slash_n.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 3 "\"\\n"
-> error0..3 token("\"\\n") msg(Missing trailing `"` symbol to terminate the string literal)
diff --git a/crates/syntax/test_data/lexer/err/0024_unclosed_string_with_slash_double_quote.txt b/crates/syntax/test_data/lexer/err/0024_unclosed_string_with_slash_double_quote.txt
deleted file mode 100644
index 4c9a774e46..0000000000
--- a/crates/syntax/test_data/lexer/err/0024_unclosed_string_with_slash_double_quote.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 3 "\"\\\""
-> error0..3 token("\"\\\"") msg(Missing trailing `"` symbol to terminate the string literal)
diff --git a/crates/syntax/test_data/lexer/err/0025_unclosed_byte_string_at_eof.txt b/crates/syntax/test_data/lexer/err/0025_unclosed_byte_string_at_eof.txt
deleted file mode 100644
index 04e6b0aa4f..0000000000
--- a/crates/syntax/test_data/lexer/err/0025_unclosed_byte_string_at_eof.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE_STRING 2 "b\""
-> error0..2 token("b\"") msg(Missing trailing `"` symbol to terminate the byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0026_unclosed_byte_string_with_ferris.txt b/crates/syntax/test_data/lexer/err/0026_unclosed_byte_string_with_ferris.txt
deleted file mode 100644
index 0576a0609a..0000000000
--- a/crates/syntax/test_data/lexer/err/0026_unclosed_byte_string_with_ferris.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE_STRING 6 "b\"πŸ¦€"
-> error0..6 token("b\"πŸ¦€") msg(Missing trailing `"` symbol to terminate the byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0027_unclosed_byte_string_with_ascii_escape.txt b/crates/syntax/test_data/lexer/err/0027_unclosed_byte_string_with_ascii_escape.txt
deleted file mode 100644
index 541a013d85..0000000000
--- a/crates/syntax/test_data/lexer/err/0027_unclosed_byte_string_with_ascii_escape.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE_STRING 6 "b\"\\x7f"
-> error0..6 token("b\"\\x7f") msg(Missing trailing `"` symbol to terminate the byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0028_unclosed_byte_string_with_unicode_escape.txt b/crates/syntax/test_data/lexer/err/0028_unclosed_byte_string_with_unicode_escape.txt
deleted file mode 100644
index 71b0fb2118..0000000000
--- a/crates/syntax/test_data/lexer/err/0028_unclosed_byte_string_with_unicode_escape.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE_STRING 10 "b\"\\u{20AA}"
-> error0..10 token("b\"\\u{20AA}") msg(Missing trailing `"` symbol to terminate the byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0029_unclosed_byte_string_with_space.txt b/crates/syntax/test_data/lexer/err/0029_unclosed_byte_string_with_space.txt
deleted file mode 100644
index bd5058bc11..0000000000
--- a/crates/syntax/test_data/lexer/err/0029_unclosed_byte_string_with_space.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE_STRING 3 "b\" "
-> error0..3 token("b\" ") msg(Missing trailing `"` symbol to terminate the byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0030_unclosed_byte_string_with_slash.txt b/crates/syntax/test_data/lexer/err/0030_unclosed_byte_string_with_slash.txt
deleted file mode 100644
index 7f94f10ba1..0000000000
--- a/crates/syntax/test_data/lexer/err/0030_unclosed_byte_string_with_slash.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE_STRING 3 "b\"\\"
-> error0..3 token("b\"\\") msg(Missing trailing `"` symbol to terminate the byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0031_unclosed_byte_string_with_slash_n.txt b/crates/syntax/test_data/lexer/err/0031_unclosed_byte_string_with_slash_n.txt
deleted file mode 100644
index 9c3c089d72..0000000000
--- a/crates/syntax/test_data/lexer/err/0031_unclosed_byte_string_with_slash_n.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE_STRING 4 "b\"\\n"
-> error0..4 token("b\"\\n") msg(Missing trailing `"` symbol to terminate the byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0032_unclosed_byte_string_with_slash_double_quote.txt b/crates/syntax/test_data/lexer/err/0032_unclosed_byte_string_with_slash_double_quote.txt
deleted file mode 100644
index 884b12c8ee..0000000000
--- a/crates/syntax/test_data/lexer/err/0032_unclosed_byte_string_with_slash_double_quote.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE_STRING 4 "b\"\\\""
-> error0..4 token("b\"\\\"") msg(Missing trailing `"` symbol to terminate the byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0033_unclosed_raw_string_at_eof.txt b/crates/syntax/test_data/lexer/err/0033_unclosed_raw_string_at_eof.txt
deleted file mode 100644
index 54e707b736..0000000000
--- a/crates/syntax/test_data/lexer/err/0033_unclosed_raw_string_at_eof.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 4 "r##\""
-> error0..4 token("r##\"") msg(Missing trailing `"` with `#` symbols to terminate the raw string literal)
diff --git a/crates/syntax/test_data/lexer/err/0034_unclosed_raw_string_with_ferris.txt b/crates/syntax/test_data/lexer/err/0034_unclosed_raw_string_with_ferris.txt
deleted file mode 100644
index 1f9889775f..0000000000
--- a/crates/syntax/test_data/lexer/err/0034_unclosed_raw_string_with_ferris.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 8 "r##\"πŸ¦€"
-> error0..8 token("r##\"πŸ¦€") msg(Missing trailing `"` with `#` symbols to terminate the raw string literal)
diff --git a/crates/syntax/test_data/lexer/err/0035_unclosed_raw_string_with_ascii_escape.txt b/crates/syntax/test_data/lexer/err/0035_unclosed_raw_string_with_ascii_escape.txt
deleted file mode 100644
index 93f6f72ae6..0000000000
--- a/crates/syntax/test_data/lexer/err/0035_unclosed_raw_string_with_ascii_escape.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 8 "r##\"\\x7f"
-> error0..8 token("r##\"\\x7f") msg(Missing trailing `"` with `#` symbols to terminate the raw string literal)
diff --git a/crates/syntax/test_data/lexer/err/0036_unclosed_raw_string_with_unicode_escape.txt b/crates/syntax/test_data/lexer/err/0036_unclosed_raw_string_with_unicode_escape.txt
deleted file mode 100644
index 1d2ebc60fd..0000000000
--- a/crates/syntax/test_data/lexer/err/0036_unclosed_raw_string_with_unicode_escape.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 12 "r##\"\\u{20AA}"
-> error0..12 token("r##\"\\u{20AA}") msg(Missing trailing `"` with `#` symbols to terminate the raw string literal)
diff --git a/crates/syntax/test_data/lexer/err/0037_unclosed_raw_string_with_space.txt b/crates/syntax/test_data/lexer/err/0037_unclosed_raw_string_with_space.txt
deleted file mode 100644
index c567ab7e28..0000000000
--- a/crates/syntax/test_data/lexer/err/0037_unclosed_raw_string_with_space.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 5 "r##\" "
-> error0..5 token("r##\" ") msg(Missing trailing `"` with `#` symbols to terminate the raw string literal)
diff --git a/crates/syntax/test_data/lexer/err/0038_unclosed_raw_string_with_slash.txt b/crates/syntax/test_data/lexer/err/0038_unclosed_raw_string_with_slash.txt
deleted file mode 100644
index 343b20323a..0000000000
--- a/crates/syntax/test_data/lexer/err/0038_unclosed_raw_string_with_slash.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 5 "r##\"\\"
-> error0..5 token("r##\"\\") msg(Missing trailing `"` with `#` symbols to terminate the raw string literal)
diff --git a/crates/syntax/test_data/lexer/err/0039_unclosed_raw_string_with_slash_n.txt b/crates/syntax/test_data/lexer/err/0039_unclosed_raw_string_with_slash_n.txt
deleted file mode 100644
index 041a427375..0000000000
--- a/crates/syntax/test_data/lexer/err/0039_unclosed_raw_string_with_slash_n.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 6 "r##\"\\n"
-> error0..6 token("r##\"\\n") msg(Missing trailing `"` with `#` symbols to terminate the raw string literal)
diff --git a/crates/syntax/test_data/lexer/err/0040_unclosed_raw_byte_string_at_eof.txt b/crates/syntax/test_data/lexer/err/0040_unclosed_raw_byte_string_at_eof.txt
deleted file mode 100644
index efaa1cafd9..0000000000
--- a/crates/syntax/test_data/lexer/err/0040_unclosed_raw_byte_string_at_eof.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE_STRING 5 "br##\""
-> error0..5 token("br##\"") msg(Missing trailing `"` with `#` symbols to terminate the raw byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0041_unclosed_raw_byte_string_with_ferris.txt b/crates/syntax/test_data/lexer/err/0041_unclosed_raw_byte_string_with_ferris.txt
deleted file mode 100644
index b6c938f94e..0000000000
--- a/crates/syntax/test_data/lexer/err/0041_unclosed_raw_byte_string_with_ferris.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE_STRING 9 "br##\"πŸ¦€"
-> error0..9 token("br##\"πŸ¦€") msg(Missing trailing `"` with `#` symbols to terminate the raw byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0042_unclosed_raw_byte_string_with_ascii_escape.txt b/crates/syntax/test_data/lexer/err/0042_unclosed_raw_byte_string_with_ascii_escape.txt
deleted file mode 100644
index f82efe49ac..0000000000
--- a/crates/syntax/test_data/lexer/err/0042_unclosed_raw_byte_string_with_ascii_escape.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE_STRING 9 "br##\"\\x7f"
-> error0..9 token("br##\"\\x7f") msg(Missing trailing `"` with `#` symbols to terminate the raw byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0043_unclosed_raw_byte_string_with_unicode_escape.txt b/crates/syntax/test_data/lexer/err/0043_unclosed_raw_byte_string_with_unicode_escape.txt
deleted file mode 100644
index 4e4a576961..0000000000
--- a/crates/syntax/test_data/lexer/err/0043_unclosed_raw_byte_string_with_unicode_escape.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE_STRING 13 "br##\"\\u{20AA}"
-> error0..13 token("br##\"\\u{20AA}") msg(Missing trailing `"` with `#` symbols to terminate the raw byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0044_unclosed_raw_byte_string_with_space.txt b/crates/syntax/test_data/lexer/err/0044_unclosed_raw_byte_string_with_space.txt
deleted file mode 100644
index 0018c8623c..0000000000
--- a/crates/syntax/test_data/lexer/err/0044_unclosed_raw_byte_string_with_space.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE_STRING 6 "br##\" "
-> error0..6 token("br##\" ") msg(Missing trailing `"` with `#` symbols to terminate the raw byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0045_unclosed_raw_byte_string_with_slash.txt b/crates/syntax/test_data/lexer/err/0045_unclosed_raw_byte_string_with_slash.txt
deleted file mode 100644
index c3ba4ae82b..0000000000
--- a/crates/syntax/test_data/lexer/err/0045_unclosed_raw_byte_string_with_slash.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE_STRING 6 "br##\"\\"
-> error0..6 token("br##\"\\") msg(Missing trailing `"` with `#` symbols to terminate the raw byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0046_unclosed_raw_byte_string_with_slash_n.txt b/crates/syntax/test_data/lexer/err/0046_unclosed_raw_byte_string_with_slash_n.txt
deleted file mode 100644
index 7bda72276f..0000000000
--- a/crates/syntax/test_data/lexer/err/0046_unclosed_raw_byte_string_with_slash_n.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE_STRING 7 "br##\"\\n"
-> error0..7 token("br##\"\\n") msg(Missing trailing `"` with `#` symbols to terminate the raw byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0047_unstarted_raw_string_at_eof.txt b/crates/syntax/test_data/lexer/err/0047_unstarted_raw_string_at_eof.txt
deleted file mode 100644
index ce92d2ff75..0000000000
--- a/crates/syntax/test_data/lexer/err/0047_unstarted_raw_string_at_eof.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 3 "r##"
-> error0..3 token("r##") msg(Missing `"` symbol after `#` symbols to begin the raw string literal)
diff --git a/crates/syntax/test_data/lexer/err/0048_unstarted_raw_byte_string_at_eof.txt b/crates/syntax/test_data/lexer/err/0048_unstarted_raw_byte_string_at_eof.txt
deleted file mode 100644
index a75d9030c4..0000000000
--- a/crates/syntax/test_data/lexer/err/0048_unstarted_raw_byte_string_at_eof.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-BYTE_STRING 4 "br##"
-> error0..4 token("br##") msg(Missing `"` symbol after `#` symbols to begin the raw byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0049_unstarted_raw_string_with_ascii.txt b/crates/syntax/test_data/lexer/err/0049_unstarted_raw_string_with_ascii.txt
deleted file mode 100644
index 516e0b78ed..0000000000
--- a/crates/syntax/test_data/lexer/err/0049_unstarted_raw_string_with_ascii.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-STRING 4 "r## "
-IDENT 1 "I"
-WHITESPACE 1 " "
-IDENT 4 "lack"
-WHITESPACE 1 " "
-IDENT 1 "a"
-WHITESPACE 1 " "
-IDENT 5 "quote"
-BANG 1 "!"
-> error0..4 token("r## ") msg(Missing `"` symbol after `#` symbols to begin the raw string literal)
diff --git a/crates/syntax/test_data/lexer/err/0050_unstarted_raw_byte_string_with_ascii.txt b/crates/syntax/test_data/lexer/err/0050_unstarted_raw_byte_string_with_ascii.txt
deleted file mode 100644
index 2f8a6f5f29..0000000000
--- a/crates/syntax/test_data/lexer/err/0050_unstarted_raw_byte_string_with_ascii.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-BYTE_STRING 5 "br## "
-IDENT 1 "I"
-WHITESPACE 1 " "
-IDENT 4 "lack"
-WHITESPACE 1 " "
-IDENT 1 "a"
-WHITESPACE 1 " "
-IDENT 5 "quote"
-BANG 1 "!"
-> error0..5 token("br## ") msg(Missing `"` symbol after `#` symbols to begin the raw byte string literal)
diff --git a/crates/syntax/test_data/lexer/err/0051_unclosed_block_comment_at_eof.txt b/crates/syntax/test_data/lexer/err/0051_unclosed_block_comment_at_eof.txt
deleted file mode 100644
index 2a256e9dff..0000000000
--- a/crates/syntax/test_data/lexer/err/0051_unclosed_block_comment_at_eof.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-COMMENT 2 "/*"
-> error0..2 token("/*") msg(Missing trailing `*/` symbols to terminate the block comment)
diff --git a/crates/syntax/test_data/lexer/err/0052_unclosed_block_comment_with_content.txt b/crates/syntax/test_data/lexer/err/0052_unclosed_block_comment_with_content.txt
deleted file mode 100644
index 8e8490302a..0000000000
--- a/crates/syntax/test_data/lexer/err/0052_unclosed_block_comment_with_content.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-COMMENT 11 "/* comment\n"
-> error0..11 token("/* comment\n") msg(Missing trailing `*/` symbols to terminate the block comment)
diff --git a/crates/syntax/test_data/lexer/err/0053_unclosed_nested_block_comment_entirely.txt b/crates/syntax/test_data/lexer/err/0053_unclosed_nested_block_comment_entirely.txt
deleted file mode 100644
index b7d28fc05d..0000000000
--- a/crates/syntax/test_data/lexer/err/0053_unclosed_nested_block_comment_entirely.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-COMMENT 9 "/* /* /*\n"
-> error0..9 token("/* /* /*\n") msg(Missing trailing `*/` symbols to terminate the block comment)
diff --git a/crates/syntax/test_data/lexer/err/0054_unclosed_nested_block_comment_partially.txt b/crates/syntax/test_data/lexer/err/0054_unclosed_nested_block_comment_partially.txt
deleted file mode 100644
index 4742d2c12c..0000000000
--- a/crates/syntax/test_data/lexer/err/0054_unclosed_nested_block_comment_partially.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-COMMENT 25 "/** /*! /* comment */ */\n"
-> error0..25 token("/** /*! /* comment */ */\n") msg(Missing trailing `*/` symbols to terminate the block comment)
diff --git a/crates/syntax/test_data/lexer/err/0055_empty_int.txt b/crates/syntax/test_data/lexer/err/0055_empty_int.txt
deleted file mode 100644
index bcd094b6ef..0000000000
--- a/crates/syntax/test_data/lexer/err/0055_empty_int.txt
+++ /dev/null
@@ -1,39 +0,0 @@
-INT_NUMBER 2 "0b"
-WHITESPACE 1 "\n"
-INT_NUMBER 2 "0o"
-WHITESPACE 1 "\n"
-INT_NUMBER 2 "0x"
-WHITESPACE 2 "\n\n"
-INT_NUMBER 3 "0b_"
-WHITESPACE 1 "\n"
-INT_NUMBER 3 "0o_"
-WHITESPACE 1 "\n"
-INT_NUMBER 3 "0x_"
-WHITESPACE 2 "\n\n"
-INT_NUMBER 9 "0bnoDigit"
-WHITESPACE 1 "\n"
-INT_NUMBER 9 "0onoDigit"
-WHITESPACE 1 "\n"
-INT_NUMBER 9 "0xnoDigit"
-WHITESPACE 2 "\n\n"
-INT_NUMBER 3 "0xG"
-WHITESPACE 1 "\n"
-INT_NUMBER 3 "0xg"
-WHITESPACE 2 "\n\n"
-INT_NUMBER 4 "0x_g"
-WHITESPACE 1 "\n"
-INT_NUMBER 4 "0x_G"
-WHITESPACE 1 "\n"
-> error0..2 token("0b") msg(Missing digits after the integer base prefix)
-> error3..5 token("0o") msg(Missing digits after the integer base prefix)
-> error6..8 token("0x") msg(Missing digits after the integer base prefix)
-> error10..13 token("0b_") msg(Missing digits after the integer base prefix)
-> error14..17 token("0o_") msg(Missing digits after the integer base prefix)
-> error18..21 token("0x_") msg(Missing digits after the integer base prefix)
-> error23..32 token("0bnoDigit") msg(Missing digits after the integer base prefix)
-> error33..42 token("0onoDigit") msg(Missing digits after the integer base prefix)
-> error43..52 token("0xnoDigit") msg(Missing digits after the integer base prefix)
-> error54..57 token("0xG") msg(Missing digits after the integer base prefix)
-> error58..61 token("0xg") msg(Missing digits after the integer base prefix)
-> error63..67 token("0x_g") msg(Missing digits after the integer base prefix)
-> error68..72 token("0x_G") msg(Missing digits after the integer base prefix)
diff --git a/crates/syntax/test_data/lexer/err/0056_empty_exponent.txt b/crates/syntax/test_data/lexer/err/0056_empty_exponent.txt
deleted file mode 100644
index 6a645a6a44..0000000000
--- a/crates/syntax/test_data/lexer/err/0056_empty_exponent.txt
+++ /dev/null
@@ -1,62 +0,0 @@
-FLOAT_NUMBER 2 "0e"
-WHITESPACE 1 "\n"
-FLOAT_NUMBER 2 "0E"
-WHITESPACE 2 "\n\n"
-FLOAT_NUMBER 4 "42e+"
-WHITESPACE 1 "\n"
-FLOAT_NUMBER 4 "42e-"
-WHITESPACE 1 "\n"
-FLOAT_NUMBER 4 "42E+"
-WHITESPACE 1 "\n"
-FLOAT_NUMBER 4 "42E-"
-WHITESPACE 2 "\n\n"
-INT_NUMBER 2 "42"
-DOT 1 "."
-IDENT 1 "e"
-PLUS 1 "+"
-WHITESPACE 1 "\n"
-INT_NUMBER 2 "42"
-DOT 1 "."
-IDENT 1 "e"
-MINUS 1 "-"
-WHITESPACE 1 "\n"
-INT_NUMBER 2 "42"
-DOT 1 "."
-IDENT 1 "E"
-PLUS 1 "+"
-WHITESPACE 1 "\n"
-INT_NUMBER 2 "42"
-DOT 1 "."
-IDENT 1 "E"
-MINUS 1 "-"
-WHITESPACE 2 "\n\n"
-FLOAT_NUMBER 6 "42.2e+"
-WHITESPACE 1 "\n"
-FLOAT_NUMBER 6 "42.2e-"
-WHITESPACE 1 "\n"
-FLOAT_NUMBER 6 "42.2E+"
-WHITESPACE 1 "\n"
-FLOAT_NUMBER 6 "42.2E-"
-WHITESPACE 2 "\n\n"
-FLOAT_NUMBER 9 "42.2e+f32"
-WHITESPACE 1 "\n"
-FLOAT_NUMBER 9 "42.2e-f32"
-WHITESPACE 1 "\n"
-FLOAT_NUMBER 9 "42.2E+f32"
-WHITESPACE 1 "\n"
-FLOAT_NUMBER 9 "42.2E-f32"
-WHITESPACE 1 "\n"
-> error0..2 token("0e") msg(Missing digits after the exponent symbol)
-> error3..5 token("0E") msg(Missing digits after the exponent symbol)
-> error7..11 token("42e+") msg(Missing digits after the exponent symbol)
-> error12..16 token("42e-") msg(Missing digits after the exponent symbol)
-> error17..21 token("42E+") msg(Missing digits after the exponent symbol)
-> error22..26 token("42E-") msg(Missing digits after the exponent symbol)
-> error53..59 token("42.2e+") msg(Missing digits after the exponent symbol)
-> error60..66 token("42.2e-") msg(Missing digits after the exponent symbol)
-> error67..73 token("42.2E+") msg(Missing digits after the exponent symbol)
-> error74..80 token("42.2E-") msg(Missing digits after the exponent symbol)
-> error82..91 token("42.2e+f32") msg(Missing digits after the exponent symbol)
-> error92..101 token("42.2e-f32") msg(Missing digits after the exponent symbol)
-> error102..111 token("42.2E+f32") msg(Missing digits after the exponent symbol)
-> error112..121 token("42.2E-f32") msg(Missing digits after the exponent symbol)
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
deleted file mode 100644
index b746404d22..0000000000
--- a/crates/syntax/test_data/lexer/err/0057_lifetime_starts_with_a_number.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-LIFETIME_IDENT 2 "'1"
-WHITESPACE 1 "\n"
-LIFETIME_IDENT 10 "'1lifetime"
-WHITESPACE 1 "\n"
-> error0..2 token("'1") msg(Lifetime name cannot start with a number)
-> error3..13 token("'1lifetime") msg(Lifetime name cannot start with a number)
diff --git a/crates/syntax/test_data/lexer/ok/0001_hello.txt b/crates/syntax/test_data/lexer/ok/0001_hello.txt
deleted file mode 100644
index 27a5940a9c..0000000000
--- a/crates/syntax/test_data/lexer/ok/0001_hello.txt
+++ /dev/null
@@ -1,3 +0,0 @@
-IDENT 5 "hello"
-WHITESPACE 1 " "
-IDENT 5 "world"
diff --git a/crates/syntax/test_data/lexer/ok/0002_whitespace.txt b/crates/syntax/test_data/lexer/ok/0002_whitespace.txt
deleted file mode 100644
index 01d260918e..0000000000
--- a/crates/syntax/test_data/lexer/ok/0002_whitespace.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-IDENT 1 "a"
-WHITESPACE 1 " "
-IDENT 1 "b"
-WHITESPACE 2 " "
-IDENT 1 "c"
-WHITESPACE 1 "\n"
-IDENT 1 "d"
-WHITESPACE 2 "\n\n"
-IDENT 1 "e"
-WHITESPACE 1 "\t"
-IDENT 1 "f"
-WHITESPACE 1 "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0003_ident.txt b/crates/syntax/test_data/lexer/ok/0003_ident.txt
deleted file mode 100644
index 4a0d5c0531..0000000000
--- a/crates/syntax/test_data/lexer/ok/0003_ident.txt
+++ /dev/null
@@ -1,14 +0,0 @@
-IDENT 3 "foo"
-WHITESPACE 1 " "
-IDENT 4 "foo_"
-WHITESPACE 1 " "
-IDENT 4 "_foo"
-WHITESPACE 1 " "
-UNDERSCORE 1 "_"
-WHITESPACE 1 " "
-IDENT 2 "__"
-WHITESPACE 1 " "
-IDENT 1 "x"
-WHITESPACE 1 " "
-IDENT 12 "ΠΏΡ€ΠΈΠ²Π΅Ρ‚"
-WHITESPACE 1 "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0004_numbers.txt b/crates/syntax/test_data/lexer/ok/0004_numbers.txt
deleted file mode 100644
index e19fc5789e..0000000000
--- a/crates/syntax/test_data/lexer/ok/0004_numbers.txt
+++ /dev/null
@@ -1,57 +0,0 @@
-INT_NUMBER 1 "0"
-WHITESPACE 1 " "
-INT_NUMBER 2 "00"
-WHITESPACE 1 " "
-INT_NUMBER 2 "0_"
-WHITESPACE 1 " "
-FLOAT_NUMBER 2 "0."
-WHITESPACE 1 " "
-INT_NUMBER 2 "0z"
-WHITESPACE 1 "\n"
-INT_NUMBER 5 "01790"
-WHITESPACE 1 " "
-INT_NUMBER 6 "0b1790"
-WHITESPACE 1 " "
-INT_NUMBER 6 "0o1790"
-WHITESPACE 1 " "
-INT_NUMBER 18 "0x1790aAbBcCdDeEfF"
-WHITESPACE 1 " "
-INT_NUMBER 6 "001279"
-WHITESPACE 1 " "
-INT_NUMBER 6 "0_1279"
-WHITESPACE 1 " "
-FLOAT_NUMBER 6 "0.1279"
-WHITESPACE 1 " "
-FLOAT_NUMBER 6 "0e1279"
-WHITESPACE 1 " "
-FLOAT_NUMBER 6 "0E1279"
-WHITESPACE 1 "\n"
-INT_NUMBER 1 "0"
-DOT 1 "."
-DOT 1 "."
-INT_NUMBER 1 "2"
-WHITESPACE 1 "\n"
-INT_NUMBER 1 "0"
-DOT 1 "."
-IDENT 3 "foo"
-L_PAREN 1 "("
-R_PAREN 1 ")"
-WHITESPACE 1 "\n"
-FLOAT_NUMBER 4 "0e+1"
-WHITESPACE 1 "\n"
-INT_NUMBER 1 "0"
-DOT 1 "."
-IDENT 1 "e"
-PLUS 1 "+"
-INT_NUMBER 1 "1"
-WHITESPACE 1 "\n"
-FLOAT_NUMBER 6 "0.0E-2"
-WHITESPACE 1 "\n"
-FLOAT_NUMBER 26 "0___0.10000____0000e+111__"
-WHITESPACE 1 "\n"
-INT_NUMBER 4 "1i64"
-WHITESPACE 1 " "
-FLOAT_NUMBER 7 "92.0f32"
-WHITESPACE 1 " "
-INT_NUMBER 5 "11__s"
-WHITESPACE 1 "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0005_symbols.txt b/crates/syntax/test_data/lexer/ok/0005_symbols.txt
deleted file mode 100644
index 2049c2f1d6..0000000000
--- a/crates/syntax/test_data/lexer/ok/0005_symbols.txt
+++ /dev/null
@@ -1,77 +0,0 @@
-SEMICOLON 1 ";"
-WHITESPACE 1 " "
-COMMA 1 ","
-WHITESPACE 1 " "
-L_PAREN 1 "("
-WHITESPACE 1 " "
-R_PAREN 1 ")"
-WHITESPACE 1 " "
-L_CURLY 1 "{"
-WHITESPACE 1 " "
-R_CURLY 1 "}"
-WHITESPACE 1 " "
-L_BRACK 1 "["
-WHITESPACE 1 " "
-R_BRACK 1 "]"
-WHITESPACE 1 " "
-L_ANGLE 1 "<"
-WHITESPACE 1 " "
-R_ANGLE 1 ">"
-WHITESPACE 1 " "
-AT 1 "@"
-WHITESPACE 1 " "
-POUND 1 "#"
-WHITESPACE 1 " "
-TILDE 1 "~"
-WHITESPACE 1 " "
-QUESTION 1 "?"
-WHITESPACE 1 " "
-DOLLAR 1 "$"
-WHITESPACE 1 " "
-AMP 1 "&"
-WHITESPACE 1 " "
-PIPE 1 "|"
-WHITESPACE 1 " "
-PLUS 1 "+"
-WHITESPACE 1 " "
-STAR 1 "*"
-WHITESPACE 1 " "
-SLASH 1 "/"
-WHITESPACE 1 " "
-CARET 1 "^"
-WHITESPACE 1 " "
-PERCENT 1 "%"
-WHITESPACE 1 "\n"
-DOT 1 "."
-WHITESPACE 1 " "
-DOT 1 "."
-DOT 1 "."
-WHITESPACE 1 " "
-DOT 1 "."
-DOT 1 "."
-DOT 1 "."
-WHITESPACE 1 " "
-DOT 1 "."
-DOT 1 "."
-EQ 1 "="
-WHITESPACE 1 "\n"
-COLON 1 ":"
-WHITESPACE 1 " "
-COLON 1 ":"
-COLON 1 ":"
-WHITESPACE 1 "\n"
-EQ 1 "="
-WHITESPACE 1 " "
-EQ 1 "="
-R_ANGLE 1 ">"
-WHITESPACE 1 "\n"
-BANG 1 "!"
-WHITESPACE 1 " "
-BANG 1 "!"
-EQ 1 "="
-WHITESPACE 1 "\n"
-MINUS 1 "-"
-WHITESPACE 1 " "
-MINUS 1 "-"
-R_ANGLE 1 ">"
-WHITESPACE 1 "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0006_chars.txt b/crates/syntax/test_data/lexer/ok/0006_chars.txt
deleted file mode 100644
index 756477dc91..0000000000
--- a/crates/syntax/test_data/lexer/ok/0006_chars.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-CHAR 3 "'x'"
-WHITESPACE 1 " "
-CHAR 3 "' '"
-WHITESPACE 1 " "
-CHAR 3 "'0'"
-WHITESPACE 1 " "
-CHAR 7 "'hello'"
-WHITESPACE 1 " "
-CHAR 6 "'\\x7f'"
-WHITESPACE 1 " "
-CHAR 4 "'\\n'"
-WHITESPACE 1 " "
-CHAR 4 "'\\\\'"
-WHITESPACE 1 " "
-CHAR 4 "'\\''"
-WHITESPACE 1 "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0007_lifetimes.txt b/crates/syntax/test_data/lexer/ok/0007_lifetimes.txt
deleted file mode 100644
index 32ed9ed506..0000000000
--- a/crates/syntax/test_data/lexer/ok/0007_lifetimes.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-LIFETIME_IDENT 2 "'a"
-WHITESPACE 1 " "
-LIFETIME_IDENT 4 "'foo"
-WHITESPACE 1 " "
-LIFETIME_IDENT 12 "'foo_bar_baz"
-WHITESPACE 1 " "
-LIFETIME_IDENT 2 "'_"
-WHITESPACE 1 "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0008_byte_strings.txt b/crates/syntax/test_data/lexer/ok/0008_byte_strings.txt
deleted file mode 100644
index 06d6bdd1f9..0000000000
--- a/crates/syntax/test_data/lexer/ok/0008_byte_strings.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-BYTE 3 "b''"
-WHITESPACE 1 " "
-BYTE 4 "b'x'"
-WHITESPACE 1 " "
-BYTE_STRING 6 "b\"foo\""
-WHITESPACE 1 " "
-BYTE_STRING 4 "br\"\""
-WHITESPACE 1 "\n"
-BYTE 6 "b''suf"
-WHITESPACE 1 " "
-BYTE_STRING 5 "b\"\"ix"
-WHITESPACE 1 " "
-BYTE_STRING 6 "br\"\"br"
-WHITESPACE 1 "\n"
-BYTE 5 "b'\\n'"
-WHITESPACE 1 " "
-BYTE 5 "b'\\\\'"
-WHITESPACE 1 " "
-BYTE 5 "b'\\''"
-WHITESPACE 1 " "
-BYTE 8 "b'hello'"
-WHITESPACE 1 "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0009_strings.txt b/crates/syntax/test_data/lexer/ok/0009_strings.txt
deleted file mode 100644
index 988a8877bd..0000000000
--- a/crates/syntax/test_data/lexer/ok/0009_strings.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-STRING 7 "\"hello\""
-WHITESPACE 1 " "
-STRING 8 "r\"world\""
-WHITESPACE 1 " "
-STRING 17 "\"\\n\\\"\\\\no escape\""
-WHITESPACE 1 " "
-STRING 12 "\"multi\nline\""
-WHITESPACE 1 "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0010_single_line_comments.txt b/crates/syntax/test_data/lexer/ok/0010_single_line_comments.txt
deleted file mode 100644
index 98a3818c06..0000000000
--- a/crates/syntax/test_data/lexer/ok/0010_single_line_comments.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-SHEBANG 19 "#!/usr/bin/env bash"
-WHITESPACE 1 "\n"
-COMMENT 8 "// hello"
-WHITESPACE 1 "\n"
-COMMENT 9 "//! World"
-WHITESPACE 1 "\n"
-COMMENT 19 "//!! Inner line doc"
-WHITESPACE 1 "\n"
-COMMENT 18 "/// Outer line doc"
-WHITESPACE 1 "\n"
-COMMENT 19 "//// Just a comment"
-WHITESPACE 2 "\n\n"
-COMMENT 2 "//"
-WHITESPACE 1 "\n"
-COMMENT 3 "//!"
-WHITESPACE 1 "\n"
-COMMENT 4 "//!!"
-WHITESPACE 1 "\n"
-COMMENT 3 "///"
-WHITESPACE 1 "\n"
-COMMENT 4 "////"
-WHITESPACE 1 "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0011_keywords.txt b/crates/syntax/test_data/lexer/ok/0011_keywords.txt
deleted file mode 100644
index 22c00eefb6..0000000000
--- a/crates/syntax/test_data/lexer/ok/0011_keywords.txt
+++ /dev/null
@@ -1,64 +0,0 @@
-ASYNC_KW 5 "async"
-WHITESPACE 1 " "
-FN_KW 2 "fn"
-WHITESPACE 1 " "
-USE_KW 3 "use"
-WHITESPACE 1 " "
-STRUCT_KW 6 "struct"
-WHITESPACE 1 " "
-TRAIT_KW 5 "trait"
-WHITESPACE 1 " "
-ENUM_KW 4 "enum"
-WHITESPACE 1 " "
-IMPL_KW 4 "impl"
-WHITESPACE 1 " "
-TRUE_KW 4 "true"
-WHITESPACE 1 " "
-FALSE_KW 5 "false"
-WHITESPACE 1 " "
-AS_KW 2 "as"
-WHITESPACE 1 " "
-EXTERN_KW 6 "extern"
-WHITESPACE 1 " "
-CRATE_KW 5 "crate"
-WHITESPACE 1 "\n"
-MOD_KW 3 "mod"
-WHITESPACE 1 " "
-PUB_KW 3 "pub"
-WHITESPACE 1 " "
-SELF_KW 4 "self"
-WHITESPACE 1 " "
-SUPER_KW 5 "super"
-WHITESPACE 1 " "
-IN_KW 2 "in"
-WHITESPACE 1 " "
-WHERE_KW 5 "where"
-WHITESPACE 1 " "
-FOR_KW 3 "for"
-WHITESPACE 1 " "
-LOOP_KW 4 "loop"
-WHITESPACE 1 " "
-WHILE_KW 5 "while"
-WHITESPACE 1 " "
-IF_KW 2 "if"
-WHITESPACE 1 " "
-MATCH_KW 5 "match"
-WHITESPACE 1 " "
-CONST_KW 5 "const"
-WHITESPACE 1 "\n"
-STATIC_KW 6 "static"
-WHITESPACE 1 " "
-MUT_KW 3 "mut"
-WHITESPACE 1 " "
-TYPE_KW 4 "type"
-WHITESPACE 1 " "
-REF_KW 3 "ref"
-WHITESPACE 1 " "
-LET_KW 3 "let"
-WHITESPACE 1 " "
-ELSE_KW 4 "else"
-WHITESPACE 1 " "
-MOVE_KW 4 "move"
-WHITESPACE 1 " "
-RETURN_KW 6 "return"
-WHITESPACE 1 "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0012_block_comment.txt b/crates/syntax/test_data/lexer/ok/0012_block_comment.txt
deleted file mode 100644
index 2618e287e6..0000000000
--- a/crates/syntax/test_data/lexer/ok/0012_block_comment.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-COMMENT 5 "/* */"
-WHITESPACE 1 "\n"
-COMMENT 4 "/**/"
-WHITESPACE 1 "\n"
-COMMENT 11 "/* /* */ */"
-WHITESPACE 1 "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0013_raw_strings.txt b/crates/syntax/test_data/lexer/ok/0013_raw_strings.txt
deleted file mode 100644
index db0d5ffd14..0000000000
--- a/crates/syntax/test_data/lexer/ok/0013_raw_strings.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-STRING 36 "r###\"this is a r##\"raw\"## string\"###"
-WHITESPACE 1 "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0014_raw_ident.txt b/crates/syntax/test_data/lexer/ok/0014_raw_ident.txt
deleted file mode 100644
index 484689693b..0000000000
--- a/crates/syntax/test_data/lexer/ok/0014_raw_ident.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-IDENT 11 "r#raw_ident"
-WHITESPACE 1 "\n"