mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
fmt
This commit is contained in:
parent
f5fd967283
commit
ec6fe118d9
@ -270,12 +270,8 @@ pub fn create_ecx<'tcx>(
|
||||
) -> InterpResult<'tcx, InterpCx<'tcx, MiriMachine<'tcx>>> {
|
||||
let typing_env = ty::TypingEnv::fully_monomorphized();
|
||||
let layout_cx = LayoutCx::new(tcx, typing_env);
|
||||
let mut ecx = InterpCx::new(
|
||||
tcx,
|
||||
rustc_span::DUMMY_SP,
|
||||
typing_env,
|
||||
MiriMachine::new(config, layout_cx),
|
||||
);
|
||||
let mut ecx =
|
||||
InterpCx::new(tcx, rustc_span::DUMMY_SP, typing_env, MiriMachine::new(config, layout_cx));
|
||||
|
||||
// Some parts of initialization require a full `InterpCx`.
|
||||
MiriMachine::late_init(&mut ecx, config, {
|
||||
|
Loading…
Reference in New Issue
Block a user