diff options
author | Benjamin Coenen <[email protected]> | 2020-04-11 21:54:22 +0100 |
---|---|---|
committer | Benjamin Coenen <[email protected]> | 2020-04-11 22:45:09 +0100 |
commit | 93bfc2d05d36a47dc05a1799210327473d702dbc (patch) | |
tree | dee25e78b24b5d1b23d73ae1009bddbd060927cf /crates/ra_syntax/test_data/lexer | |
parent | d42346fed61f706d68fe888631a41ea5f2752d7f (diff) | |
parent | fd06fe7b13045185ab4e630b0044aa9d8bbcdf8a (diff) |
Improve autocompletion by looking on the type and name
Signed-off-by: Benjamin Coenen <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/lexer')
3 files changed, 5 insertions, 5 deletions
diff --git a/crates/ra_syntax/test_data/lexer/err/0049_unstarted_raw_string_with_ascii.txt b/crates/ra_syntax/test_data/lexer/err/0049_unstarted_raw_string_with_ascii.txt index 782dfd974..290e0bd7c 100644 --- a/crates/ra_syntax/test_data/lexer/err/0049_unstarted_raw_string_with_ascii.txt +++ b/crates/ra_syntax/test_data/lexer/err/0049_unstarted_raw_string_with_ascii.txt | |||
@@ -6,5 +6,5 @@ WHITESPACE 1 " " | |||
6 | IDENT 1 "a" | 6 | IDENT 1 "a" |
7 | WHITESPACE 1 " " | 7 | WHITESPACE 1 " " |
8 | IDENT 5 "quote" | 8 | IDENT 5 "quote" |
9 | EXCL 1 "!" | 9 | BANG 1 "!" |
10 | > error[0; 4) token("r## ") msg(Missing `"` symbol after `#` symbols to begin the raw string literal) | 10 | > error[0; 4) token("r## ") msg(Missing `"` symbol after `#` symbols to begin the raw string literal) |
diff --git a/crates/ra_syntax/test_data/lexer/err/0050_unstarted_raw_byte_string_with_ascii.txt b/crates/ra_syntax/test_data/lexer/err/0050_unstarted_raw_byte_string_with_ascii.txt index 59c40cd65..5c492906d 100644 --- a/crates/ra_syntax/test_data/lexer/err/0050_unstarted_raw_byte_string_with_ascii.txt +++ b/crates/ra_syntax/test_data/lexer/err/0050_unstarted_raw_byte_string_with_ascii.txt | |||
@@ -6,5 +6,5 @@ WHITESPACE 1 " " | |||
6 | IDENT 1 "a" | 6 | IDENT 1 "a" |
7 | WHITESPACE 1 " " | 7 | WHITESPACE 1 " " |
8 | IDENT 5 "quote" | 8 | IDENT 5 "quote" |
9 | EXCL 1 "!" | 9 | BANG 1 "!" |
10 | > error[0; 5) token("br## ") msg(Missing `"` symbol after `#` symbols to begin the raw byte string literal) | 10 | > error[0; 5) token("br## ") msg(Missing `"` symbol after `#` symbols to begin the raw byte string literal) |
diff --git a/crates/ra_syntax/test_data/lexer/ok/0005_symbols.txt b/crates/ra_syntax/test_data/lexer/ok/0005_symbols.txt index 469a90e42..2049c2f1d 100644 --- a/crates/ra_syntax/test_data/lexer/ok/0005_symbols.txt +++ b/crates/ra_syntax/test_data/lexer/ok/0005_symbols.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | SEMI 1 ";" | 1 | SEMICOLON 1 ";" |
2 | WHITESPACE 1 " " | 2 | WHITESPACE 1 " " |
3 | COMMA 1 "," | 3 | COMMA 1 "," |
4 | WHITESPACE 1 " " | 4 | WHITESPACE 1 " " |
@@ -65,9 +65,9 @@ WHITESPACE 1 " " | |||
65 | EQ 1 "=" | 65 | EQ 1 "=" |
66 | R_ANGLE 1 ">" | 66 | R_ANGLE 1 ">" |
67 | WHITESPACE 1 "\n" | 67 | WHITESPACE 1 "\n" |
68 | EXCL 1 "!" | 68 | BANG 1 "!" |
69 | WHITESPACE 1 " " | 69 | WHITESPACE 1 " " |
70 | EXCL 1 "!" | 70 | BANG 1 "!" |
71 | EQ 1 "=" | 71 | EQ 1 "=" |
72 | WHITESPACE 1 "\n" | 72 | WHITESPACE 1 "\n" |
73 | MINUS 1 "-" | 73 | MINUS 1 "-" |