diff --git a/tests/error-tests/tests/macro-expansion-inside-1.rs b/tests/error-tests/tests/macro-expansion-inside-1.rs index 4a30872..a35eef3 100644 --- a/tests/error-tests/tests/macro-expansion-inside-1.rs +++ b/tests/error-tests/tests/macro-expansion-inside-1.rs @@ -6,5 +6,5 @@ mod macro_expansion_inside_mod1; /*BEGIN*/example_bad_syntax!{}/*END*/ // ~HELP(>=1.20.0) in this macro invocation // ~HELP(>=1.20.0,<1.34.0-beta) in this macro invocation -// ~MSG(>=1.20.0) See Primary: macro_expansion_inside_mod1.rs:11 -// ~MSG(>=1.20.0,<1.34.0-beta) See Primary: macro_expansion_inside_mod1.rs:11 +// ~MSG(>=1.20.0) See Primary: macro_expansion_inside_mod1.rs:12 +// ~MSG(>=1.20.0,<1.34.0-beta) See Primary: macro_expansion_inside_mod1.rs:12 diff --git a/tests/error-tests/tests/macro-expansion-outside-1.rs b/tests/error-tests/tests/macro-expansion-outside-1.rs index 9efb105..cbefe20 100644 --- a/tests/error-tests/tests/macro-expansion-outside-1.rs +++ b/tests/error-tests/tests/macro-expansion-outside-1.rs @@ -8,7 +8,7 @@ extern crate dcrate; /*BEGIN*/example_bad_syntax!{}/*END*/ // ^^^^^^^^^^^^^^^^^^^^^HELP(>=1.44.0-beta) in this macro invocation -// ^^^^^^^^^^^^^^^^^^^^^ERR(>=1.71.0-beta) in this macro invocation +// ^^^^^^^^^^^^^^^^^^^^^ERR(>=1.71.0-beta,<1.98.0-beta) in this macro invocation // ^^^^^^^^^^^^^^^^^^^^^MSG(>=1.44.0-beta) See Primary: lib.rs:20 // ~ERR(>=1.20.0,<1.44.0-beta) /expected one of .*, found `:`/ // ~ERR(>=1.20.0,<1.44.0-beta) this error originates in a macro outside of the current crate diff --git a/tests/error-tests/tests/macro_expansion_inside_mod1.rs b/tests/error-tests/tests/macro_expansion_inside_mod1.rs index 1f59afb..19fe6f3 100644 --- a/tests/error-tests/tests/macro_expansion_inside_mod1.rs +++ b/tests/error-tests/tests/macro_expansion_inside_mod1.rs @@ -3,9 +3,10 @@ macro_rules! example_bad_syntax { () => { enum E { // ^ERR(>=1.71.0-beta) while parsing this enum -// ^^^^HELP(>=1.71.0-beta) perhaps you meant to use `struct` here -// ^^^^HELP(>=1.71.0-beta) /Accept Replacement:.*/ -// ^^^^MSG(>=1.71.0-beta) See Primary: ↓:11 +// ^MSG(>=1.98.0-beta) See Primary: ↓:12 +// ^^^^HELP(>=1.71.0-beta,<1.98.0-beta) perhaps you meant to use `struct` here +// ^^^^HELP(>=1.71.0-beta,<1.98.0-beta) /Accept Replacement:.*/ +// ^^^^MSG(>=1.71.0-beta,<1.98.0-beta) See Primary: ↓:12 // This is somewhat of an odd example, since rustc gives two // syntax errors. Kind(x: u32) @@ -18,6 +19,12 @@ macro_rules! example_bad_syntax { // ^MSG(>=1.20.0,<1.34.0-beta) See Also: macro-expansion-inside-1.rs:6 // ^HELP(>=1.71.0-beta) enum variants can be // ^MSG(>=1.71.0-beta) See Also: ↑:4 +// ^HELP(>=1.98.0-beta) if you meant to write +// ^HELP(>=1.98.0-beta) /Accept Replacement:.*/ +// ^HELP(>=1.98.0-beta) if you meant to create +// ^HELP(>=1.98.0-beta) /Accept Replacement:.*/ +// ^HELP(>=1.98.0-beta) if you meant to create +// ^HELP(>=1.98.0-beta) /Accept Replacement:.*/ } } }