]>
Commit | Line | Data |
---|---|---|
dfeec247 | 1 | error[E0152]: found duplicate lang item `panic_impl` |
f035d41b | 2 | --> $DIR/duplicate_entry_error.rs:11:1 |
b7449926 XL |
3 | | |
4 | LL | / fn panic_impl(info: &PanicInfo) -> ! { | |
532ac7d7 | 5 | LL | | |
b7449926 XL |
6 | LL | | loop {} |
7 | LL | | } | |
8 | | |_^ | |
9 | | | |
74b04a01 | 10 | = note: the lang item is first defined in crate `std` (which `duplicate_entry_error` depends on) |
f035d41b XL |
11 | = note: first definition in `std` loaded from SYSROOT/libstd-*.rlib |
12 | = note: second definition in the local crate (`duplicate_entry_error`) | |
b7449926 XL |
13 | |
14 | error: aborting due to previous error | |
15 | ||
16 | For more information about this error, try `rustc --explain E0152`. |