summary refs log tree commit diff
path: root/src/test/ui/issues/issue-49040.stderr
blob: 4134d6aa5446898b8a7c6d7776dadce199002886 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error: expected item, found `;`
  --> $DIR/issue-49040.rs:1:28
   |
LL | #![allow(unused_variables)];
   |                            ^ help: remove this semicolon

error[E0601]: `main` function not found in crate `issue_49040`
  --> $DIR/issue-49040.rs:1:1
   |
LL | / #![allow(unused_variables)];
LL | |
LL | | fn foo() {}
   | |__^ consider adding a `main` function to `$DIR/issue-49040.rs`

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0601`.