blob: 2c776f414e04aa58634017661e9d647e4f9071d5 (
plain)
| 1
2
3
4
5
6
7
8
 | //@ 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() {}
 |