2020-01-10 14:36:22 +00:00
|
|
|
error[E0152]: found duplicate lang item `panic_impl`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/panic-handler-std.rs:7:1
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
LL | / fn panic(info: PanicInfo) -> ! {
|
|
|
|
LL | | loop {}
|
|
|
|
LL | | }
|
|
|
|
| |_^
|
|
|
|
|
|
2020-01-10 14:36:22 +00:00
|
|
|
= note: first defined in crate `std` (which `panic_handler_std` depends on)
|
2018-08-08 14:28:26 +02:00
|
|
|
|
2018-08-23 00:33:32 -07:00
|
|
|
error: argument should be `&PanicInfo`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/panic-handler-std.rs:7:16
|
2018-08-23 00:33:32 -07:00
|
|
|
|
|
|
|
|
LL | fn panic(info: PanicInfo) -> ! {
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0152`.
|