mirror of
https://git.proxmox.com/git/rustc
synced 2026-03-28 04:02:54 +00:00
12 lines
366 B
Plaintext
12 lines
366 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 `#[track_caller]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|