You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#![allow(unreachable_code)]
|
|
#![allow(unused_labels)]
|
|
|
|
fn main() {
|
|
'outer: loop {
|
|
println!("Entered the outer loop");
|
|
|
|
'inner: loop {
|
|
println!("Entered the inner loop");
|
|
|
|
break 'outer;
|
|
}
|
|
|
|
println!("This point will never be reached");
|
|
}
|
|
|
|
println!("Exited the outer loop");
|
|
}
|