Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-def/src/macro_expansion_tests/mbe/regression.rs')
| -rw-r--r-- | crates/hir-def/src/macro_expansion_tests/mbe/regression.rs | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/crates/hir-def/src/macro_expansion_tests/mbe/regression.rs b/crates/hir-def/src/macro_expansion_tests/mbe/regression.rs index d2505e7caf..8358a46f0a 100644 --- a/crates/hir-def/src/macro_expansion_tests/mbe/regression.rs +++ b/crates/hir-def/src/macro_expansion_tests/mbe/regression.rs @@ -830,8 +830,7 @@ macro_rules! rgb_color { /* parse error: expected COMMA */ /* parse error: expected R_ANGLE */ /* parse error: expected SEMICOLON */ -/* parse error: expected SEMICOLON */ -/* parse error: expected expression */ +/* parse error: expected expression, item or let statement */ pub fn new() { let _ = 0as u32<<(8+8); } @@ -848,21 +847,21 @@ pub fn new() { // [email protected] "{" // [email protected] "let" // [email protected] "_" // [email protected] "=" // [email protected] "0" // [email protected] "as" // [email protected] "u32" // [email protected] "<" @@ -877,9 +876,9 @@ pub fn new() { // [email protected] "8" // [email protected] "+" -// [email protected] "8" +// [email protected] "8" // [email protected] ")" // [email protected] ";" |