aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-08-13 17:50:50 +0100
committerGitHub <[email protected]>2020-08-13 17:50:50 +0100
commit3d6fd620e80050d68e6da55aabad2ca780ba2323 (patch)
tree1ee2aaf3f2b3ae4901ddd03985b5d217d1521612 /crates/syntax
parent018a6cac072767dfd630c22e6d9ce134b7bb09af (diff)
parentef462ed6af7ae8e0d30894baefe6ba1ff49aab8f (diff)
Merge #5751
5751: Better recovery in `use foo::;` r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/syntax')
-rw-r--r--crates/syntax/test_data/parser/inline/err/0015_empty_segment.rast8
1 files changed, 3 insertions, 5 deletions
diff --git a/crates/syntax/test_data/parser/inline/err/0015_empty_segment.rast b/crates/syntax/test_data/parser/inline/err/0015_empty_segment.rast
index 2f59d0606..e872526d9 100644
--- a/crates/syntax/test_data/parser/inline/err/0015_empty_segment.rast
+++ b/crates/syntax/test_data/parser/inline/err/0015_empty_segment.rast
@@ -2,14 +2,12 @@ [email protected]
2 [email protected] 2 [email protected]
3 [email protected] "use" 3 [email protected] "use"
4 [email protected] " " 4 [email protected] " "
5 [email protected]2 5 [email protected]1
6 [email protected]2 6 [email protected]1
7 [email protected] 7 [email protected]
8 [email protected] 8 [email protected]
9 [email protected] "crate" 9 [email protected] "crate"
10 [email protected] "::" 10 [email protected] "::"
11 [email protected] 11 [email protected] ";"
12 [email protected] ";"
13 [email protected] "\n" 12 [email protected] "\n"
14error 11..11: expected identifier 13error 11..11: expected identifier
15error 12..12: expected SEMICOLON