blob: 2bb48d3657617df7f6fee9e21aed428d8f69f541 [file] [log] [blame]
fn foo(s: &i32) -> &i32 {
let xs;
xs
}
fn main() {
let y;
if foo == y {}
//~^ ERROR binary operation `==` cannot be applied to type
}