1 error[E0152]: found duplicate lang item `panic_impl`
2 --> $DIR/panic-handler-duplicate.rs:15:1
4 LL | fn panic2(info: &PanicInfo) -> ! {
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 note: the lang item is first defined here
8 --> $DIR/panic-handler-duplicate.rs:10:1
10 LL | fn panic(info: &PanicInfo) -> ! {
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0152`.