Skip to content

Commit 0fff598

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_borrowck/src/eliminate_placeholders.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ fn region_definitions<'tcx>(
172172
/// graph. For each strongly connected component in the constraint
173173
/// graph such that there is a series of constraints
174174
/// A: B: C: ... : X where
175-
/// A's universe is smaller than X's and A is a placeholder,
175+
/// A contains a placeholder whose universe cannot be named by X,
176176
/// add a constraint that A: 'static. This is a safe upper bound
177177
/// in the face of borrow checker/trait solver limitations that will
178178
/// eventually go away.

0 commit comments

Comments
 (0)