Sign in
rust
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
binop
/
issue-77910-2.rs
blob: 5ea03e82b2fe930f59887970861b9ccc0716df28 [
file
] [
log
] [
blame
]
fn
foo
(
s
:
&
i32
)
->
&
i32
{
let
xs
;
xs
//~ ERROR: isn't initialized
}
fn
main
()
{
let
y
;
if
foo
==
y
{}
//~^ ERROR binary operation `==` cannot be applied to type
}