mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
Remove an unnecessary loop label.
This commit is contained in:
parent
d8be00fd44
commit
4e2ef694f3
@ -24,7 +24,7 @@ pub(super) fn infer_predicates(
|
|||||||
|
|
||||||
// If new predicates were added then we need to re-calculate
|
// If new predicates were added then we need to re-calculate
|
||||||
// all crates since there could be new implied predicates.
|
// all crates since there could be new implied predicates.
|
||||||
'outer: loop {
|
loop {
|
||||||
let mut predicates_added = false;
|
let mut predicates_added = false;
|
||||||
|
|
||||||
// Visit all the crates and infer predicates
|
// Visit all the crates and infer predicates
|
||||||
@ -90,7 +90,7 @@ pub(super) fn infer_predicates(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !predicates_added {
|
if !predicates_added {
|
||||||
break 'outer;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user