fn play1(b: i32) -> i32 {
let mut res = 0;
let mut i = 1;
'calculation: while i < b {
res += i;
if res + i >= 99 {
break 'calculation;
}
if res + i >= 99 {
break 'calculation;
}
if res + i < 99 {
continue 'calculation;
}
i += 1;
}
res
}
debug point 0: label_hirid = 108
debug point 2 : resolved_node_id = 91
debug point 3 : ref = 108
debug point 2 : resolved_node_id = 122
debug point 3 : ref = 75
../LLVM/hack/rust.rs:25:19: error: failed to lookup compiled label
25 | break 'calculation;
| ^~~~~~~~~~~~
debug point 1 : resolved_node_id = 140
debug point 2 : ref = 86
../LLVM/hack/rust.rs:28:22: error: failed to lookup compiled label
28 | continue 'calculation;
| ^~~~~~~~~~~~
the label is resolved in the first time only
the label is resolved in the first time only