Skip to content

Commit 25471ba

Browse files
amandasystemslcnr
andauthored
Update compiler/rustc_borrowck/src/eliminate_placeholders.rs
Co-authored-by: lcnr <[email protected]>
1 parent 0fff598 commit 25471ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_borrowck/src/eliminate_placeholders.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ impl RegionTracker {
115115
}
116116

117117
/// Returns `true` if during the annotated SCC reaches a placeholder
118-
/// with a universe larger than the smallest reachable one, `false` otherwise.
118+
/// with a universe larger than the smallest nameable universe of any
119+
/// reachable existential region.
119120
pub(crate) fn has_incompatible_universes(&self) -> bool {
120121
self.max_nameable_universe().cannot_name(self.max_placeholder_universe_reached)
121122
}

0 commit comments

Comments
 (0)