rust/tests/ui/feature-gates/feature-gate-unsized_locals.rs
2023-01-11 09:32:08 +00:00

6 lines
57 B
Rust

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