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