mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
clarify that T does not contain 'a
This commit is contained in:
@@ -430,8 +430,8 @@ fn process_predicate<'a,'tcx>(selcx: &mut SelectionContext<'a,'tcx>,
|
||||
obligation.clone(),
|
||||
CodeSelectionError(Unimplemented)))
|
||||
}
|
||||
// Otherwise, we have something of the form `for<'a> T: 'a`, which
|
||||
// we can treat as `T: 'static`.
|
||||
// Otherwise, we have something of the form
|
||||
// `for<'a> T: 'a where 'a not in T`, which we can treat as `T: 'static`.
|
||||
Some(t_a) => {
|
||||
register_region_obligation(t_a, ty::ReStatic,
|
||||
obligation.cause.clone(),
|
||||
|
||||
Reference in New Issue
Block a user