@@ -64,7 +64,7 @@ LL | let i = m!();
6464 |
6565 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
6666
67- warning : trailing semicolon in macro used in expression position
67+ error : trailing semicolon in macro used in expression position
6868 --> $DIR/macro-context.rs:3:15
6969 |
7070LL | () => ( i ; typeof );
@@ -75,15 +75,15 @@ LL | let i = m!();
7575 |
7676 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
7777 = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
78- = note: `#[warn (semicolon_in_expressions_from_macros)]` on by default
79- = note: this warning originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
78+ = note: `#[deny (semicolon_in_expressions_from_macros)]` on by default
79+ = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
8080
81- error: aborting due to 6 previous errors; 1 warning emitted
81+ error: aborting due to 7 previous errors
8282
8383Some errors have detailed explanations: E0412, E0425.
8484For more information about an error, try `rustc --explain E0412`.
8585Future incompatibility report: Future breakage diagnostic:
86- warning : trailing semicolon in macro used in expression position
86+ error : trailing semicolon in macro used in expression position
8787 --> $DIR/macro-context.rs:3:15
8888 |
8989LL | () => ( i ; typeof );
@@ -94,6 +94,6 @@ LL | let i = m!();
9494 |
9595 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
9696 = note: for more information, see issue #79813 <https://github.com/rust-lang/rust/issues/79813>
97- = note: `#[warn (semicolon_in_expressions_from_macros)]` on by default
98- = note: this warning originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
97+ = note: `#[deny (semicolon_in_expressions_from_macros)]` on by default
98+ = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
9999
0 commit comments