about summary refs log tree commit diff
path: root/src/test/ui/panic-handler
diff options
context:
space:
mode:
authorTomas Tauber <2410580+tomtau@users.noreply.github.com>2019-09-27 21:32:04 +0800
committerTomas Tauber <2410580+tomtau@users.noreply.github.com>2019-09-27 22:56:23 +0800
commitac9aed56e4dc62c4959ae0c14cec585994302c93 (patch)
tree662e775cef1564ba959e05a578cd5ca197c0d51f /src/test/ui/panic-handler
parent59367b074f1523353dddefa678ffe3cac9fd4e50 (diff)
getting more context for duplicate lang items (fixes #60561)
Where possible, the error message includes the name of the crate
that brought in the crate with duplicate lang items (which
helps with debugging). This information is passed on from cstore
using the `extern_crate` query.
Diffstat (limited to 'src/test/ui/panic-handler')
-rw-r--r--src/test/ui/panic-handler/panic-handler-std.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/panic-handler/panic-handler-std.stderr b/src/test/ui/panic-handler/panic-handler-std.stderr
index 32240311116..e6d24348ca8 100644
--- a/src/test/ui/panic-handler/panic-handler-std.stderr
+++ b/src/test/ui/panic-handler/panic-handler-std.stderr
@@ -6,7 +6,7 @@ LL | |     loop {}
 LL | | }
    | |_^
    |
-   = note: first defined in crate `std`.
+   = note: first defined in crate `std` (which `panic_handler_std` depends on).
 
 error: argument should be `&PanicInfo`
   --> $DIR/panic-handler-std.rs:7:16