Skip to content

Commit 9fd6926

Browse files
committed
Merge from rustc
2 parents 94d4bba + 95d3304 commit 9fd6926

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)