Normalize syntax::source_map imports.

This commit is contained in:
Mazdak Farrokhzad 2020-01-01 19:25:28 +01:00
parent 766fba3fdc
commit 75e4783f63
83 changed files with 122 additions and 131 deletions

View file

@ -59,6 +59,7 @@ use rustc_data_structures::stable_hasher::{
use rustc_data_structures::sync::{Lock, Lrc, WorkerLocal};
use rustc_index::vec::{Idx, IndexVec};
use rustc_macros::HashStable;
use rustc_span::source_map::MultiSpan;
use rustc_span::Span;
use rustc_target::spec::abi;
use smallvec::SmallVec;
@ -75,7 +76,6 @@ use std::sync::Arc;
use syntax::ast;
use syntax::attr;
use syntax::expand::allocator::AllocatorKind;
use syntax::source_map::MultiSpan;
use syntax::symbol::{kw, sym, Symbol};
pub struct AllArenas {

View file

@ -21,10 +21,10 @@ use rustc_serialize::{
UseSpecializedDecodable, UseSpecializedEncodable,
};
use rustc_span::hygiene::{ExpnId, SyntaxContext};
use rustc_span::source_map::{SourceMap, StableSourceFileId};
use rustc_span::{BytePos, SourceFile, Span, DUMMY_SP};
use std::mem;
use syntax::ast::{Ident, NodeId};
use syntax::source_map::{SourceMap, StableSourceFileId};
const TAG_FILE_FOOTER: u128 = 0xC0FFEE_C0FFEE_C0FFEE_C0FFEE_C0FFEE;

View file

@ -20,12 +20,12 @@ use rustc_data_structures::fx::{FxHashMap, FxHasher};
use rustc_data_structures::sharded::Sharded;
use rustc_data_structures::sync::{Lock, Lrc};
use rustc_data_structures::thin_vec::ThinVec;
use rustc_span::source_map::DUMMY_SP;
use rustc_span::Span;
use std::collections::hash_map::Entry;
use std::hash::{Hash, Hasher};
use std::mem;
use std::ptr;
use syntax::source_map::DUMMY_SP;
use rustc_error_codes::*;