]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-70724-add_type_neq_err_label-unwrap.rs
Add 'compiler/rustc_smir/' from commit '9abcb5c7b574cf316eb23d3f469187bb86ba3019'
[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 }