Skip to content

Commit 53a2943

Browse files
authored
Merge pull request #52 from MakiSonomura/main
Rename struct_tail_erasing_lifetimes to struct_tail_for_codegen
2 parents a5a0368 + 2c127dd commit 53a2943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unsize.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ pub(crate) fn unsized_info<'tcx>(
400400
) -> CILNode {
401401
let (source, target) =
402402
fx.tcx()
403-
.struct_lockstep_tails_erasing_lifetimes(source, target, ParamEnv::reveal_all());
403+
.struct_lockstep_tails_for_codegen(source, target, ParamEnv::reveal_all());
404404
match (&source.kind(), &target.kind()) {
405405
(&TyKind::Array(_, len), &TyKind::Slice(_)) => conv_usize!(ldc_i64!(len
406406
.eval_target_usize(fx.tcx(), ParamEnv::reveal_all())

0 commit comments

Comments
 (0)