Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
nll
/
assign-while-to-immutable.rs
blob: c803321b5087a5b00b726f77c8429b46c5044536 [
file
] [
log
] [
blame
]
// We used to incorrectly assign to `x` twice when generating MIR for this
// function, preventing this from compiling.
// check-pass
fn
main
()
{
let
x
=
while
false
{
break
;
};
let
y
=
'l: while break '
l
{};
}