1 2 3 4 5 6 7
fn main() { fn f() { } fn g() { } let x = f == g; //~^ ERROR binary operation `==` cannot be applied //~| ERROR mismatched types }