]> git.lizzy.rs Git - rust.git/blob - tests/ui/binop/issue-77910-2.rs
Don't resolve type var roots in point_at_expr_source_of_inferred_type
[rust.git] / tests / ui / binop / issue-77910-2.rs
1 fn foo(s: &i32) -> &i32 {
2     let xs;
3     xs
4 }
5 fn main() {
6     let y;
7     if foo == y {}
8     //~^ ERROR binary operation `==` cannot be applied to type
9 }