summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-70724-add_type_neq_err_label-unwrap.rs
blob: c2683157f797fa4bfaa58e7e8ae063a05cd1ec83 (plain)
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
}