2020-01-10 14:36:22 +00:00
|
|
|
error[E0152]: found duplicate lang item `panic_impl`
|
2020-06-17 11:05:30 -07:00
|
|
|
--> $DIR/panic-handler-std.rs:8:1
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2020-08-12 17:02:14 -04:00
|
|
|
LL | fn panic(info: PanicInfo) -> ! {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
= note: the lang item is first defined in crate `std` (which `panic_handler_std` depends on)
|
2020-06-17 11:05:30 -07:00
|
|
|
= note: first definition in `std` loaded from SYSROOT/libstd-*.rlib
|
2020-06-27 14:54:19 -07:00
|
|
|
= note: second definition in the local crate (`panic_handler_std`)
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2022-11-06 16:28:07 +00:00
|
|
|
error: aborting due to previous error
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0152`.
|