]>
Commit | Line | Data |
---|---|---|
f9652781 XL |
1 | error: `main` function is not allowed to be `#[track_caller]` |
2 | --> $DIR/error-with-main.rs:1:1 | |
3 | | | |
3dfed10e XL |
4 | LL | #[track_caller] |
5 | | ^^^^^^^^^^^^^^^ | |
6 | LL | fn main() { | |
7 | | --------- `main` function is not allowed to be `#[track_caller]` | |
f9652781 XL |
8 | |
9 | error: aborting due to previous error | |
10 |