mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
12 lines
368 B
Plaintext
12 lines
368 B
Plaintext
error: `#[panic_handler]` function is not allowed to have `#[track_caller]`
|
|
--> $DIR/panic-handler-with-track-caller.rs:10:1
|
|
|
|
|
LL | #[track_caller]
|
|
| ^^^^^^^^^^^^^^^
|
|
LL |
|
|
LL | fn panic(info: &PanicInfo) -> ! {
|
|
| ------------------------------- `#[panic_handler]` function is not allowed to have `#[target_feature]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|