1 // ignore-tidy-linelength
7 fn bar(a: i64) -> i64 {
13 //~^ ERROR binary operation `>` cannot be applied to type `fn() -> i32 {foo}` [E0369]
14 //~| ERROR mismatched types [E0308]
17 //~^ ERROR binary operation `>` cannot be applied to type `fn(i64) -> i64 {bar}` [E0369]
18 //~| ERROR mismatched types [E0308]
21 //~^ ERROR binary operation `>` cannot be applied to type `fn() -> i32 {foo}` [E0369]
24 //~^ ERROR binary operation `>` cannot be applied to type `fn() -> i32 {foo}` [E0369]
25 //~| ERROR mismatched types [E0308]