diff options
| author | Young-Flash <dongyang@apache.org> | 2024-01-11 19:51:45 +0800 |
|---|---|---|
| committer | Young-Flash <dongyang@apache.org> | 2024-01-11 19:51:45 +0800 |
| commit | afe05fe1d869c1ca759a6604cd486d5acee87f80 (patch) | |
| tree | 1c7fcdc32fd95c394b6b24e476a0440ebf6b97a7 | |
| parent | e6dd522761ded0e73ff2dfeed2ef598fcb508819 (diff) | |
| download | rust-afe05fe1d869c1ca759a6604cd486d5acee87f80.tar.gz rust-afe05fe1d869c1ca759a6604cd486d5acee87f80.zip | |
fix broken test
| -rw-r--r-- | crates/parser/test_data/parser/err/0036_partial_use.rast | 41 |
1 files changed, 17 insertions, 24 deletions
diff --git a/crates/parser/test_data/parser/err/0036_partial_use.rast b/crates/parser/test_data/parser/err/0036_partial_use.rast index 13e76e68307..ad4bc89e83a 100644 --- a/crates/parser/test_data/parser/err/0036_partial_use.rast +++ b/crates/parser/test_data/parser/err/0036_partial_use.rast @@ -22,30 +22,23 @@ SOURCE_FILE IDENT "Error" ERROR SEMICOLON ";" - WHITESPACE "\n" - ERROR - USE_KW "use" - WHITESPACE " " - USE_TREE - PATH - PATH - PATH_SEGMENT - NAME_REF - IDENT "std" - COLON2 "::" - PATH_SEGMENT - NAME_REF - IDENT "io" - ERROR - SEMICOLON ";" + WHITESPACE "\n" + USE + USE_KW "use" + WHITESPACE " " + USE_TREE + PATH + PATH + PATH_SEGMENT + NAME_REF + IDENT "std" + COLON2 "::" + PATH_SEGMENT + NAME_REF + IDENT "io" + SEMICOLON ";" WHITESPACE "\n" error 22: expected COMMA error 22: expected one of `*`, `::`, `{`, `self`, `super` or an identifier -error 23: expected COMMA -error 24: expected one of `*`, `::`, `{`, `self`, `super` or an identifier -error 27: expected COMMA -error 35: expected COMMA -error 35: expected one of `*`, `::`, `{`, `self`, `super` or an identifier -error 36: expected COMMA -error 36: expected R_CURLY -error 36: expected SEMICOLON +error 23: expected R_CURLY +error 23: expected SEMICOLON |
