]> git.lizzy.rs Git - rust.git/blob - tests/ui/panic-handler/panic-handler-std.stderr
check -Z query-dep-graph is enabled if -Z dump-dep-graph (#106736)
[rust.git] / tests / ui / panic-handler / panic-handler-std.stderr
1 error[E0152]: found duplicate lang item `panic_impl`
2   --> $DIR/panic-handler-std.rs:8:1
3    |
4 LL | fn panic(info: PanicInfo) -> ! {
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: the lang item is first defined in crate `std` (which `panic_handler_std` depends on)
8    = note: first definition in `std` loaded from SYSROOT/libstd-*.rlib
9    = note: second definition in the local crate (`panic_handler_std`)
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0152`.