rust/tests/ui/error-codes/E0152-duplicate-lang-items.stderr

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

18 lines
571 B
Text
Raw Normal View History

error[E0152]: found duplicate lang item `panic_impl`
--> $DIR/E0152-duplicate-lang-items.rs:16:1
2018-08-08 14:28:26 +02:00
|
2023-11-23 04:45:42 +00:00
LL | / fn panic_impl(info: &PanicInfo) -> ! {
LL | |
LL | |
2023-11-23 04:45:42 +00:00
LL | | loop {}
LL | | }
| |_^
2018-08-08 14:28:26 +02:00
|
2025-03-13 17:30:30 -06:00
= note: the lang item is first defined in crate `std` (which `E0152_duplicate_lang_items` depends on)
= note: first definition in `std` loaded from SYSROOT/libstd-*.rlib
2025-03-13 17:30:30 -06:00
= note: second definition in the local crate (`E0152_duplicate_lang_items`)
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`.