Skip to content

Commit 1853daa

Browse files
committed
Auto merge of #3154 - rust-lang:rustup-2023-11-04, r=RalfJung
Automatic Rustup
2 parents 10211e9 + 70c78e6 commit 1853daa

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

rust-version

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
722b3eeb72b6bca6c38bbcbda57179f073f23431
1+
3aaa0f57b7b877ef58532a8de075d1e5a79142bf

src/diagnostics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use std::num::NonZeroU64;
44
use log::trace;
55

66
use rustc_errors::DiagnosticMessage;
7-
use rustc_span::{source_map::DUMMY_SP, SpanData, Symbol};
7+
use rustc_span::{SpanData, Symbol, DUMMY_SP};
88
use rustc_target::abi::{Align, Size};
99

1010
use crate::borrow_tracker::stacked_borrows::diagnostics::TagHistory;

src/eval.rs

+2-6
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,8 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
265265
) -> InterpResult<'tcx, InterpCx<'mir, 'tcx, MiriMachine<'mir, 'tcx>>> {
266266
let param_env = ty::ParamEnv::reveal_all();
267267
let layout_cx = LayoutCx { tcx, param_env };
268-
let mut ecx = InterpCx::new(
269-
tcx,
270-
rustc_span::source_map::DUMMY_SP,
271-
param_env,
272-
MiriMachine::new(config, layout_cx),
273-
);
268+
let mut ecx =
269+
InterpCx::new(tcx, rustc_span::DUMMY_SP, param_env, MiriMachine::new(config, layout_cx));
274270

275271
// Some parts of initialization require a full `InterpCx`.
276272
MiriMachine::late_init(&mut ecx, config, {

0 commit comments

Comments
 (0)