]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2091-track-caller/error-with-main.stderr
Rollup merge of #99064 - lyming2007:issue-97687-fix, r=estebank
[rust.git] / src / test / ui / rfc-2091-track-caller / error-with-main.stderr
1 error: `main` function is not allowed to be `#[track_caller]`
2   --> $DIR/error-with-main.rs:1:1
3    |
4 LL | #[track_caller]
5    | ^^^^^^^^^^^^^^^
6 LL | fn main() {
7    | --------- `main` function is not allowed to be `#[track_caller]`
8
9 error: aborting due to previous error
10