Skip to content

Commit 5d883a7

Browse files
committed
Auto merge of #108250 - nnethercote:rename-interner-funcs, r=compiler-errors
Rename interner funcs This PR cleans up some inconsistencies in interner naming. Best reviewed one commit at a time. r? `@compiler-errors`
2 parents 4d7f91a + 6aad3dc commit 5d883a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eval.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
363363
tcx,
364364
ty::ParamEnv::reveal_all(),
365365
start_id,
366-
tcx.intern_substs(&[ty::subst::GenericArg::from(main_ret_ty)]),
366+
tcx.mk_substs(&[ty::subst::GenericArg::from(main_ret_ty)]),
367367
)
368368
.unwrap()
369369
.unwrap();

0 commit comments

Comments
 (0)