]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2091-track-caller/error-with-start.stderr
Auto merge of #75137 - Aaron1011:fix/hygiene-skip-expndata, r=petrochenkov
[rust.git] / src / test / ui / rfc-2091-track-caller / error-with-start.stderr
1 error: `start` is not allowed to be `#[track_caller]`
2   --> $DIR/error-with-start.rs:4:1
3    |
4 LL |   #[track_caller]
5    |   ^^^^^^^^^^^^^^^
6 LL | / fn start(_argc: isize, _argv: *const *const u8) -> isize {
7 LL | |     panic!("{}: oh no", std::panic::Location::caller());
8 LL | | }
9    | |_- `start` is not allowed to be `#[track_caller]`
10
11 error: aborting due to previous error
12