blob: 72a8cd9823a4bdc32b1954e8d17e3c481e719633 [file] [log] [blame]
fn f<'r>(p: &'r mut fn(p: &mut ())) {
(*p)(()) //~ ERROR mismatched types
//~| expected `&mut ()`, found `()`
}
fn main() {}