Skip to content

Commit cd3c388

Browse files
committed
create_and_capture_lifetime_defs -> create_lifetime_defs
1 parent 1380062 commit cd3c388

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

compiler/rustc_ast_lowering/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1349,7 +1349,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
13491349
lifetime_collector::lifetimes_in_bounds(&lctx.resolver, bounds);
13501350
debug!(?lifetimes_in_bounds);
13511351

1352-
collected_lifetimes = lctx.create_and_capture_lifetime_defs(
1352+
collected_lifetimes = lctx.create_lifetime_defs(
13531353
opaque_ty_def_id,
13541354
&lifetimes_in_bounds,
13551355
&mut new_remapping,
@@ -1447,7 +1447,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
14471447
hir::OwnerNode::Item(self.arena.alloc(opaque_ty_item))
14481448
}
14491449

1450-
fn create_and_capture_lifetime_defs(
1450+
fn create_lifetime_defs(
14511451
&mut self,
14521452
parent_def_id: LocalDefId,
14531453
lifetimes_in_bounds: &[Lifetime],
@@ -1743,7 +1743,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
17431743
lifetime_collector::lifetimes_in_ret_ty(&this.resolver, output);
17441744
debug!(?lifetimes_in_bounds);
17451745

1746-
captures.extend(this.create_and_capture_lifetime_defs(
1746+
captures.extend(this.create_lifetime_defs(
17471747
opaque_ty_def_id,
17481748
&lifetimes_in_bounds,
17491749
&mut new_remapping,

0 commit comments

Comments
 (0)