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. --- .../ui/const-generics/array-impls/core-traits-no-impls-length-33.stderr | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test/ui/const-generics/array-impls') diff --git a/src/test/ui/const-generics/array-impls/core-traits-no-impls-length-33.stderr b/src/test/ui/const-generics/array-impls/core-traits-no-impls-length-33.stderr index d885c98dcb2..cba71db86a9 100644 --- a/src/test/ui/const-generics/array-impls/core-traits-no-impls-length-33.stderr +++ b/src/test/ui/const-generics/array-impls/core-traits-no-impls-length-33.stderr @@ -6,6 +6,7 @@ LL | println!("{:?}", [0_usize; 33]); | = note: required because of the requirements on the impl of `std::fmt::Debug` for `[usize; 33]` = note: required by `std::fmt::Debug::fmt` + = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: arrays only have std trait implementations for lengths 0..=32 --> $DIR/core-traits-no-impls-length-33.rs:10:16 -- cgit 1.4.1-3-g733a5