fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

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