rust/tests/ui/parser/issues/issue-49040.rs

4 lines
103 B
Rust

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