blob: d553c02379c37a1684a4f8250ddc73654ba53419 [file] [log] [blame]
error[E0152]: duplicate lang item found: `panic_impl`.
--> $DIR/panic-implementation-duplicate.rs:26:1
|
LL | / fn panic2(info: &PanicInfo) -> ! { //~ ERROR duplicate lang item found: `panic_impl`.
LL | | loop {}
LL | | }
| |_^
|
note: first defined here.
--> $DIR/panic-implementation-duplicate.rs:21:1
|
LL | / fn panic(info: &PanicInfo) -> ! {
LL | | loop {}
LL | | }
| |_^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0152`.