blob: c45541e08b23706526c783550e706dceb6dccc74 [file] [log] [blame] [edit]
//@ run-rustfix
pub fn func<F>() where F: FnOnce -> () {}
//~^ ERROR expected one of
//~| NOTE expected one of
//~| NOTE `Fn` bounds require arguments in parentheses
fn main() {}