Skip to content

Commit 4d8b12f

Browse files
committed
Auto merge of #117507 - nnethercote:rustc_span, r=Nilstrieb
`rustc_span` cleanups Just some things I found while looking over this crate. r? `@oli-obk`
2 parents 61eb17f + f730d7e commit 4d8b12f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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::{DUMMY_SP, SpanData, Symbol};
88
use rustc_target::abi::{Align, Size};
99

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

src/eval.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
267267
let layout_cx = LayoutCx { tcx, param_env };
268268
let mut ecx = InterpCx::new(
269269
tcx,
270-
rustc_span::source_map::DUMMY_SP,
270+
rustc_span::DUMMY_SP,
271271
param_env,
272272
MiriMachine::new(config, layout_cx),
273273
);

0 commit comments

Comments
 (0)