rust/tests/ui/parser/issues/issue-49040.rs
2023-01-11 09:32:08 +00:00

4 lines
103 B
Rust

#![allow(unused_variables)]; //~ ERROR expected item, found `;`
//~^ ERROR `main` function
fn foo() {}