blob: 2c776f414e04aa58634017661e9d647e4f9071d5 [file] [log] [blame]
//@ 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() {}