Get rid of 'b lifetime in lower_param_bounds_mut
This commit is contained in:
@@ -2249,12 +2249,11 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
|
|||||||
self.arena.alloc_from_iter(self.lower_param_bounds_mut(bounds, itctx))
|
self.arena.alloc_from_iter(self.lower_param_bounds_mut(bounds, itctx))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn lower_param_bounds_mut<'s, 'b>(
|
fn lower_param_bounds_mut<'s>(
|
||||||
&'s mut self,
|
&'s mut self,
|
||||||
bounds: &'s [GenericBound],
|
bounds: &'s [GenericBound],
|
||||||
itctx: &'b ImplTraitContext,
|
itctx: &'s ImplTraitContext,
|
||||||
) -> impl Iterator<Item = hir::GenericBound<'hir>> + Captures<'s> + Captures<'a> + Captures<'b>
|
) -> impl Iterator<Item = hir::GenericBound<'hir>> + Captures<'s> + Captures<'a> {
|
||||||
{
|
|
||||||
bounds.iter().map(move |bound| self.lower_param_bound(bound, itctx))
|
bounds.iter().map(move |bound| self.lower_param_bound(bound, itctx))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user