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

7 lines
124 B
Rust

fn main() {
let unused = ();
#![allow(unused_variables)] //~ ERROR not permitted in this context
fn foo() {}
}