rust/tests/ui/rfcs/rfc-2091-track-caller/error-with-main.stderr

11 lines
301 B
Plaintext

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 1 previous error