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

7 lines
124 B
Rust

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