blob: 0bbf13761488d0209e6f1d9a403582b99efaa7fb [file] [log] [blame] [edit]
// https://github.com/rust-lang/rust/issues/70724
fn a() -> i32 {
3
}
pub fn main() {
assert_eq!(a, 0);
//~^ ERROR binary operation `==` cannot
//~| ERROR mismatched types
//~| ERROR doesn't implement
}