Sign in
fuchsia
/
third_party
/
rust
/
d3e2cec29225a46298ec4ebf082f34ebd7cfeecf
/
.
/
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
{};
}