1 error: expected item, found `;`
2 --> $DIR/issue-49040.rs:1:28
4 LL | #![allow(unused_variables)];
5 | ^ help: remove this semicolon
7 error[E0601]: `main` function not found in crate `issue_49040`
8 --> $DIR/issue-49040.rs:1:1
10 LL | #![allow(unused_variables)];
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider adding a `main` function to `$DIR/issue-49040.rs`
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0601`.