fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
461 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: the lang item is 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`.