Closed
Description
(using Rust compiled from commit dc4560d)
The following code fails to compile:
fn main() {
'outer: loop {
match () {
() => {
for std::uint::iterate(0, 8) |_| {
loop {
break 'outer;
}
}
},
}
}
}
with the following error:
/tmp/test.rs:7:24: 7:37 error: internal compiler error: Break to unknown label
/tmp/test.rs:7 break 'outer;
^~~~~~~~~~~~~
If you comment out the for
loop, it compiles fine.
Metadata
Metadata
Assignees
Labels
No labels