1 2 3 4 5 6 7 8 9 10
fn a() -> i32 { 3 } pub fn main() { assert_eq!(a, 0); //~^ ERROR binary operation `==` cannot //~| ERROR mismatched types //~| ERROR doesn't implement }