fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
505 B17 linesraw
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`.