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 09:56:47 -06:00
--> $DIR/panic-handler-duplicate.rs:15:1
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | / fn panic2(info: &PanicInfo) -> ! {
2018-08-08 07:28:26 -05:00
LL | | loop {}
LL | | }
| |_^
|
2020-01-22 17:57:38 -06:00
note: the lang item is first defined here
2018-12-25 09:56:47 -06:00
--> $DIR/panic-handler-duplicate.rs:10:1
2018-08-08 07:28:26 -05: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`.