mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
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
|
|
|