1 2 3 4 5 6 7 8 9
fn foo(s: &i32) -> &i32 { let xs; xs } fn main() { let y; if foo == y {} //~^ ERROR binary operation `==` cannot be applied to type }