blob: c45541e08b23706526c783550e706dceb6dccc74 (
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() {}
 
  |