Sign in
fuchsia
/
third_party
/
rust
/
1e5ec0a12c73efdd9a492fdc7ab661d90dc5bcf5
/
.
/
tests
/
ui
/
typeck
/
issue-1871.rs
blob: f7a2bdd565989fa2f33eed20f13f0f5eaebbdff1 [
file
] [
log
] [
blame
]
// Tests that we don't generate a spurious error about f.honk's type
// being undeterminable
fn
main
()
{
let
f
=
42
;
let
_g
=
if
f
<
5
{
f
.
honk
()
//~ ERROR no method named `honk` found
}
else
{
()
};
}