mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-03 09:32:42 +00:00
13 lines
329 B
Plaintext
13 lines
329 B
Plaintext
error: `#[panic_handler]` function required, but not found
|
|
|
|
error: `#[panic_handler]` attribute cannot be used on statics
|
|
--> $DIR/panic-handler-wrong-location.rs:6:1
|
|
|
|
|
LL | #[panic_handler]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
= help: `#[panic_handler]` can only be applied to functions
|
|
|
|
error: aborting due to 2 previous errors
|
|
|