]> git.lizzy.rs Git - rust.git/blob - tests/ui/panic-handler/panic-handler-duplicate.stderr
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[rust.git] / tests / ui / panic-handler / panic-handler-duplicate.stderr
1 error[E0152]: found duplicate lang item `panic_impl`
2   --> $DIR/panic-handler-duplicate.rs:15:1
3    |
4 LL | fn panic2(info: &PanicInfo) -> ! {
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7 note: the lang item is first defined here
8   --> $DIR/panic-handler-duplicate.rs:10:1
9    |
10 LL | fn panic(info: &PanicInfo) -> ! {
11    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0152`.