1
Fork 0
rust/src/test/ui/panic-handler/panic-handler-std.stderr

20 lines
516 B
Text
Raw Normal View History

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 | | }
| |_^
|
= note: first defined in crate `std` (which `panic_handler_std` depends on)
2018-08-08 14:28:26 +02:00
error: argument should be `&PanicInfo`
2018-12-25 08:56:47 -07:00
--> $DIR/panic-handler-std.rs:7:16
|
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`.