granite-rust/src/test/ui/duplicate_entry_error.stderr

17 lines
557 B
Text
Raw Normal View History

error[E0152]: found duplicate lang item `panic_impl`
--> $DIR/duplicate_entry_error.rs:11:1
2018-08-08 14:28:26 +02:00
|
LL | / fn panic_impl(info: &PanicInfo) -> ! {
2019-03-09 15:03:44 +03:00
LL | |
2018-08-08 14:28:26 +02:00
LL | | loop {}
LL | | }
| |_^
|
2020-01-22 23:57:38 +00:00
= note: the lang item is first defined in crate `std` (which `duplicate_entry_error` depends on)
= note: first definition in `std` loaded from SYSROOT/libstd-*.rlib
= note: second definition in `duplicate_entry_error` loaded from the local crate
2018-08-08 14:28:26 +02:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0152`.