1 error[E0152]: found duplicate lang item `panic_impl`
2 --> $DIR/panic-handler-std.rs:8:1
4 LL | fn panic(info: PanicInfo) -> ! {
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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`)
11 error: argument should be `&PanicInfo`
12 --> $DIR/panic-handler-std.rs:8:16
14 LL | fn panic(info: PanicInfo) -> ! {
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0152`.