]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-70724-add_type_neq_err_label-unwrap.rs
Merge commit 'a5d597637dcb78dc73f93561ce474f23d4177c35' into clippyup
[rust.git] / src / test / ui / issues / issue-70724-add_type_neq_err_label-unwrap.rs
1 fn a() -> i32 {
2     3
3 }
4
5 pub fn main() {
6     assert_eq!(a, 0);
7     //~^ ERROR binary operation `==` cannot
8     //~| ERROR mismatched types
9     //~| ERROR doesn't implement
10 }