@@ -64,7 +64,7 @@ LL | let i = m!();
64
64
|
65
65
= note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info)
66
66
67
- warning : trailing semicolon in macro used in expression position
67
+ error : trailing semicolon in macro used in expression position
68
68
--> $DIR/macro-context.rs:3:15
69
69
|
70
70
LL | () => ( i ; typeof );
@@ -75,15 +75,15 @@ LL | let i = m!();
75
75
|
76
76
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
77
77
= 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)
80
80
81
- error: aborting due to 6 previous errors; 1 warning emitted
81
+ error: aborting due to 7 previous errors
82
82
83
83
Some errors have detailed explanations: E0412, E0425.
84
84
For more information about an error, try `rustc --explain E0412`.
85
85
Future 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
87
87
--> $DIR/macro-context.rs:3:15
88
88
|
89
89
LL | () => ( i ; typeof );
@@ -94,6 +94,6 @@ LL | let i = m!();
94
94
|
95
95
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
96
96
= 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)
99
99
0 commit comments