2020-01-10 08:36:22 -06:00
|
|
|
error[E0152]: found duplicate lang item `panic_impl`
|
2020-06-17 13:05:30 -05:00
|
|
|
--> $DIR/duplicate_entry_error.rs:11:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2023-11-22 22:45:42 -06:00
|
|
|
LL | / fn panic_impl(info: &PanicInfo) -> ! {
|
|
|
|
LL | |
|
|
|
|
LL | | loop {}
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2020-01-22 17:57:38 -06:00
|
|
|
= note: the lang item is first defined in crate `std` (which `duplicate_entry_error` depends on)
|
2020-06-17 13:05:30 -05:00
|
|
|
= note: first definition in `std` loaded from SYSROOT/libstd-*.rlib
|
2020-06-27 16:54:19 -05:00
|
|
|
= note: second definition in the local crate (`duplicate_entry_error`)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0152`.
|