fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0152]: found duplicate lang item `panic_impl` 2 --> $DIR/panic-handler-std.rs:7:1 3 | 4LL | / fn panic(info: PanicInfo) -> ! { 5LL | | loop {} 6LL | | } 7 | |_^ 8 | 9 = note: the lang item is first defined in crate `std` (which `panic_handler_std` depends on) 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`.