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