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/custom_test_frameworks/mismatch.stderr | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test/ui/custom_test_frameworks') diff --git a/src/test/ui/custom_test_frameworks/mismatch.stderr b/src/test/ui/custom_test_frameworks/mismatch.stderr index 9e2688c6393..420ddbc3def 100644 --- a/src/test/ui/custom_test_frameworks/mismatch.stderr +++ b/src/test/ui/custom_test_frameworks/mismatch.stderr @@ -5,6 +5,7 @@ LL | fn wrong_kind(){} | ^^^^^^^^^^^^^^^^^ the trait `example_runner::Testable` is not implemented for `test::TestDescAndFn` | = note: required for the cast to the object type `dyn example_runner::Testable` + = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) error: aborting due to previous error -- cgit 1.4.1-3-g733a5