os-rust/tests/ui/panic-handler/panic-handler-duplicate.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
463 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-duplicate.rs:15:1
2018-08-08 14:28:26 +02:00
|
2023-11-23 04:45:42 +00:00
LL | / fn panic2(info: &PanicInfo) -> ! {
LL | | loop {}
LL | | }
| |_^
2018-08-08 14:28:26 +02:00
|
2020-01-22 23:57:38 +00:00
note: the lang item is first defined here
2018-12-25 08:56:47 -07:00
--> $DIR/panic-handler-duplicate.rs:10:1
2018-08-08 14:28:26 +02:00
|
2023-11-23 04:45:42 +00:00
LL | / fn panic(info: &PanicInfo) -> ! {
LL | | loop {}
LL | | }
| |_^
2018-08-08 14:28:26 +02:00
error: aborting due to 1 previous error
2018-08-08 14:28:26 +02:00
For more information about this error, try `rustc --explain E0152`.