5 fn bar(a: i64) -> i64 {
15 //~^ ERROR binary operation `>` cannot be applied to type `fn() -> i32 {foo}` [E0369]
16 //~| ERROR mismatched types [E0308]
19 //~^ ERROR binary operation `>` cannot be applied to type `fn(i64) -> i64 {bar}` [E0369]
20 //~| ERROR mismatched types [E0308]
23 //~^ ERROR binary operation `>` cannot be applied to type `fn() -> i32 {foo}` [E0369]
26 //~^ ERROR binary operation `>` cannot be applied to type `fn() -> i32 {foo}` [E0369]
27 //~| ERROR mismatched types [E0308]
30 assert_eq!(Foo::Bar, i);
31 //~^ ERROR binary operation `==` cannot be applied to type `fn(usize) -> Foo {Foo::Bar}` [E0369]
32 //~| ERROR `fn(usize) -> Foo {Foo::Bar}` doesn't implement `std::fmt::Debug` [E0277]
33 //~| ERROR `fn(usize) -> Foo {Foo::Bar}` doesn't implement `std::fmt::Debug` [E0277]