summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-unsized_locals.rs
blob: 3686e7b37f4c442e3127df748b00eadf2c02849e (plain)
1
2
3
4
5
fn f(f: dyn FnOnce()) {}
//~^ ERROR E0277

fn main() {
}