Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
if
/
if-without-block.rs
blob: 8a4c59f32613d46de81544441f3251730cda3811 [
file
] [
log
] [
blame
]
fn
main
()
{
let
n
=
1
;
if
5
==
{
//~^ NOTE this `if` expression has a condition, but no block
println
!(
"five"
);
}
}
//~^ ERROR expected `{`, found `}`
//~| NOTE expected `{`