blob: bf331d8a6068e5861867161a0e6b4b1da18cc34b [file] [log] [blame]
fn thing(x: impl FnOnce(&u32)) {}
fn main() {
let f = |_| ();
thing(f); //~ERROR mismatched types
}