Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
parser
/
if-block-unreachable-expr.rs
blob: 4063a33708402aa0b52a8a7995200455411e736d [
file
] [
log
] [
blame
]
// check-pass
// This regressed from 1.20 -> 1.21 -- the condition is unreachable,
// but it's still an expression, and should parse fine.
fn
main
()
{
if
{
if
true
{
return
;
}
else
{
return
;
};
}
{}
}