fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
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)]; 11LL | | 12LL | | fn foo() {} 13 | |__^ consider adding a `main` function to `$DIR/issue-49040.rs` 14 15error: aborting due to 2 previous errors 16 17For more information about this error, try `rustc --explain E0601`.