rust/src/test/ui/panic-handler/panic-handler-duplicate.stderr

20 lines
461 B
Plaintext
Raw Normal View History

error[E0152]: found duplicate lang item `panic_impl`
2018-12-25 15:56:47 +00:00
--> $DIR/panic-handler-duplicate.rs:15:1
2018-08-08 12:28:26 +00:00
|
2019-03-09 12:03:44 +00:00
LL | / fn panic2(info: &PanicInfo) -> ! {
2018-08-08 12:28:26 +00:00
LL | | loop {}
LL | | }
| |_^
|
2020-01-22 23:57:38 +00:00
note: the lang item is first defined here
2018-12-25 15:56:47 +00:00
--> $DIR/panic-handler-duplicate.rs:10:1
2018-08-08 12:28:26 +00:00
|
LL | / fn panic(info: &PanicInfo) -> ! {
LL | | loop {}
LL | | }
| |_^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0152`.