1
Fork 0

outlives/env: Fix comment that lost surrounding context.

This commit is contained in:
Niko Matsakis 2017-12-04 10:42:46 -05:00
parent a3935961f0
commit 7409ffd17e

View file

@ -162,9 +162,8 @@ impl<'a, 'gcx: 'tcx, 'tcx: 'a> OutlivesEnvironment<'tcx> {
) where ) where
I: IntoIterator<Item = OutlivesBound<'tcx>>, I: IntoIterator<Item = OutlivesBound<'tcx>>,
{ {
// But also record other relationships, such as `T:'x`, // Record relationships such as `T:'x` that don't go into the
// that don't go into the free-region-map but which we use // free-region-map but which we use here.
// here.
for outlives_bound in outlives_bounds { for outlives_bound in outlives_bounds {
debug!("add_outlives_bounds: outlives_bound={:?}", outlives_bound); debug!("add_outlives_bounds: outlives_bound={:?}", outlives_bound);
match outlives_bound { match outlives_bound {