File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ mod macro_expansion_inside_mod1;
6
6
/*BEGIN*/ example_bad_syntax ! { } /*END*/
7
7
// ~HELP(>=1.20.0) in this macro invocation
8
8
// ~HELP(>=1.20.0,<1.34.0-beta) in this macro invocation
9
- // ~MSG(>=1.20.0) See Primary: macro_expansion_inside_mod1.rs:8
10
- // ~MSG(>=1.20.0,<1.34.0-beta) See Primary: macro_expansion_inside_mod1.rs:7
9
+ // ~MSG(>=1.20.0) See Primary: macro_expansion_inside_mod1.rs:11
10
+ // ~MSG(>=1.20.0,<1.34.0-beta) See Primary: macro_expansion_inside_mod1.rs:11
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ macro_rules! example_bad_syntax {
3
3
( ) => {
4
4
enum E {
5
5
// ^ERR(>=1.71.0-beta) while parsing this enum
6
+ // ^^^^HELP(>=1.71.0-beta) perhaps you meant to use `struct` here
7
+ // ^^^^HELP(>=1.71.0-beta) /Accept Replacement:.*/
8
+ // ^^^^MSG(>=1.71.0-beta) See Primary: ↓:11
6
9
// This is somewhat of an odd example, since rustc gives two
7
10
// syntax errors.
8
11
Kind ( x: u32 )
@@ -14,6 +17,7 @@ macro_rules! example_bad_syntax {
14
17
// ^ERR(>=1.18.0,<1.34.0-beta) expected one of
15
18
// ^MSG(>=1.20.0,<1.34.0-beta) See Also: macro-expansion-inside-1.rs:6
16
19
// ^HELP(>=1.71.0-beta) enum variants can be
20
+ // ^MSG(>=1.71.0-beta) See Also: ↑:4
17
21
}
18
22
}
19
23
}
You can’t perform that action at this time.
0 commit comments