fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

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