fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
399 B11 linesraw
1error[E0718]: `panic_impl` language item must be applied to a function
2  --> $DIR/panic-handler-wrong-location.rs:6:1
3   |
4LL | #[panic_handler]
5   | ^^^^^^^^^^^^^^^^ attribute should be applied to a function, not a static item
6
7error: `#[panic_handler]` function required, but not found
8
9error: aborting due to 2 previous errors
10
11For more information about this error, try `rustc --explain E0718`.