summaryrefslogtreecommitdiffstats
path: root/src/test/ui/rfc-2091-track-caller/error-with-main.stderr
blob: 7e2ec35241423c5d4dfd1ed55737d6402da3fbb8 (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]
   | ^^^^^^^^^^^^^^^
LL | fn main() {
   | --------- `main` function is not allowed to be `#[track_caller]`

error: aborting due to previous error