rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros.
This commit is contained in:
parent
ab080973cb
commit
4c7eb59e81
280 changed files with 888 additions and 119 deletions
|
|
@ -8,6 +8,7 @@ LL | fn main() { m!(0, 0; 0, 0); }
|
|||
| --------------- in this macro invocation
|
||||
|
|
||||
= note: this was erroneously allowed and will become a hard error in a future release
|
||||
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
warning: expected `;`, found `println`
|
||||
--> $DIR/missing-semicolon-warning.rs:7:12
|
||||
|
|
@ -19,4 +20,5 @@ LL | fn main() { m!(0, 0; 0, 0); }
|
|||
| --------------- in this macro invocation
|
||||
|
|
||||
= note: this was erroneously allowed and will become a hard error in a future release
|
||||
= note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue