]> git.proxmox.com Git - rustc.git/blame - src/test/ui/rfc-2091-track-caller/error-with-main.stderr
New upstream version 1.47.0~beta.2+dfsg1
[rustc.git] / src / test / ui / rfc-2091-track-caller / error-with-main.stderr
CommitLineData
f9652781
XL
1error: `main` function is not allowed to be `#[track_caller]`
2 --> $DIR/error-with-main.rs:1:1
3 |
3dfed10e
XL
4LL | #[track_caller]
5 | ^^^^^^^^^^^^^^^
6LL | fn main() {
7 | --------- `main` function is not allowed to be `#[track_caller]`
f9652781
XL
8
9error: aborting due to previous error
10