]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binop/issue-77910-2.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / 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 }