about summary refs log tree commit diff
path: root/src/test/ui/panic-handler/panic-handler-duplicate.stderr
blob: 80deff23a87d1b801d0eb532502ef84313d6a0d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error[E0152]: duplicate lang item found: `panic_impl`.
  --> $DIR/panic-handler-duplicate.rs:15:1
   |
LL | / fn panic2(info: &PanicInfo) -> ! { //~ ERROR duplicate lang item found: `panic_impl`.
LL | |     loop {}
LL | | }
   | |_^
   |
note: first defined here.
  --> $DIR/panic-handler-duplicate.rs:10: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`.