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