blob: 4626544a5cd2bc8dc330b9c7b8f72d01c708dcb1 (
plain)
1
2
3
4
5
6
7
8
9
10
|
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
|