Skip to content

Commit 45d8049

Browse files
committed
Get rid of 'b lifetime in lower_param_bounds_mut
1 parent 8610550 commit 45d8049

File tree

1 file changed

+3
-4
lines changed
  • compiler/rustc_ast_lowering/src

1 file changed

+3
-4
lines changed

compiler/rustc_ast_lowering/src/lib.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -2249,12 +2249,11 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
22492249
self.arena.alloc_from_iter(self.lower_param_bounds_mut(bounds, itctx))
22502250
}
22512251

2252-
fn lower_param_bounds_mut<'s, 'b>(
2252+
fn lower_param_bounds_mut<'s>(
22532253
&'s mut self,
22542254
bounds: &'s [GenericBound],
2255-
itctx: &'b ImplTraitContext,
2256-
) -> impl Iterator<Item = hir::GenericBound<'hir>> + Captures<'s> + Captures<'a> + Captures<'b>
2257-
{
2255+
itctx: &'s ImplTraitContext,
2256+
) -> impl Iterator<Item = hir::GenericBound<'hir>> + Captures<'s> + Captures<'a> {
22582257
bounds.iter().map(move |bound| self.lower_param_bound(bound, itctx))
22592258
}
22602259

0 commit comments

Comments
 (0)