Skip to content

Commit d088db9

Browse files
committedJul 17, 2015
clarify that T does not contain 'a
·
1.88.01.3.0
1 parent 27188bb commit d088db9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/librustc/middle/traits/fulfill.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,8 +430,8 @@ fn process_predicate<'a,'tcx>(selcx: &mut SelectionContext<'a,'tcx>,
430430
obligation.clone(),
431431
CodeSelectionError(Unimplemented)))
432432
}
433-
// Otherwise, we have something of the form `for<'a> T: 'a`, which
434-
// we can treat as `T: 'static`.
433+
// Otherwise, we have something of the form
434+
// `for<'a> T: 'a where 'a not in T`, which we can treat as `T: 'static`.
435435
Some(t_a) => {
436436
register_region_obligation(t_a, ty::ReStatic,
437437
obligation.cause.clone(),

0 commit comments

Comments
 (0)
Please sign in to comment.