Skip to content

Commit

Permalink
Auto merge of #117507 - nnethercote:rustc_span, r=Nilstrieb
Browse files Browse the repository at this point in the history
`rustc_span` cleanups

Just some things I found while looking over this crate.

r? `@oli-obk`
  • Loading branch information
bors committed Nov 3, 2023
2 parents 61eb17f + f730d7e commit 4d8b12f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::num::NonZeroU64;
use log::trace;

use rustc_errors::DiagnosticMessage;
use rustc_span::{source_map::DUMMY_SP, SpanData, Symbol};
use rustc_span::{DUMMY_SP, SpanData, Symbol};
use rustc_target::abi::{Align, Size};

use crate::borrow_tracker::stacked_borrows::diagnostics::TagHistory;
Expand Down
2 changes: 1 addition & 1 deletion src/eval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ pub fn create_ecx<'mir, 'tcx: 'mir>(
let layout_cx = LayoutCx { tcx, param_env };
let mut ecx = InterpCx::new(
tcx,
rustc_span::source_map::DUMMY_SP,
rustc_span::DUMMY_SP,
param_env,
MiriMachine::new(config, layout_cx),
);
Expand Down

0 comments on commit 4d8b12f

Please sign in to comment.