1 2 3 4 5 6 7
fn f<'r>(p: &'r mut fn(p: &mut ())) { (*p)(()) //~ ERROR mismatched types //~| NOTE expected `&mut ()`, found `()` //~| NOTE arguments to this function are incorrect } fn main() {}