Skip to content

Commit 146ee66

Browse files
committed
Auto merge of #1451 - RalfJung:rustup, r=RalfJung
rustup
2 parents b8ecc9a + 5c5b61f commit 146ee66

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4fb54ed484e2239a3e9eff3be17df00d2a162be3
1+
ff4a2533a0720f9cdd86e02eafa3725f07aa7752

src/eval.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
6363
main_id: DefId,
6464
config: MiriConfig,
6565
) -> InterpResult<'tcx, (InterpCx<'mir, 'tcx, Evaluator<'mir, 'tcx>>, MPlaceTy<'tcx, Tag>)> {
66-
let tcx_at = tcx.at(rustc_span::source_map::DUMMY_SP);
6766
let param_env = ty::ParamEnv::reveal_all();
6867
let layout_cx = LayoutCx { tcx, param_env };
6968
let mut ecx = InterpCx::new(
70-
tcx_at,
69+
tcx,
70+
rustc_span::source_map::DUMMY_SP,
7171
param_env,
7272
Evaluator::new(config.communicate, config.validate, layout_cx),
7373
MemoryExtra::new(

0 commit comments

Comments
 (0)