mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-24 00:31:53 +00:00
11 lines
301 B
Plaintext
11 lines
301 B
Plaintext
error: `main` function is not allowed to be `#[track_caller]`
|
|
--> $DIR/error-with-main.rs:1:1
|
|
|
|
|
LL | #[track_caller]
|
|
| ^^^^^^^^^^^^^^^ help: remove this annotation
|
|
LL | fn main() {
|
|
| --------- `main` function is not allowed to be `#[track_caller]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|