summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2091-track-caller/error-with-main.stderr
blob: 6d6562dae3b6704fd3a582790272debd9fd88267 (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 previous error