Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
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 `{`