rust/tests/ui/feature-gates/feature-gate-unsized_locals.rs

6 lines
57 B
Rust

fn f(f: dyn FnOnce()) {}
//~^ ERROR E0277
fn main() {
}