blob: b8eec3b6b250525d86deb390b57aaaa7456db474 [file] [log] [blame]
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() {}