From 4c7eb59e8161fd7bd2da89fc8c8d73c32bcd789b Mon Sep 17 00:00:00 2001 From: Eduard-Mihai Burtescu Date: Mon, 16 Dec 2019 15:56:47 +0200 Subject: rustc_macros: don't limit the -Zmacro-backtrace suggestion to extern macros. --- src/test/ui/missing/missing-semicolon-warning.stderr | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/test/ui/missing') diff --git a/src/test/ui/missing/missing-semicolon-warning.stderr b/src/test/ui/missing/missing-semicolon-warning.stderr index b4001aba288..ecaefd47de0 100644 --- a/src/test/ui/missing/missing-semicolon-warning.stderr +++ b/src/test/ui/missing/missing-semicolon-warning.stderr @@ -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) -- cgit 1.4.1-3-g733a5