Normalize syntax::source_map imports.
This commit is contained in:
parent
766fba3fdc
commit
75e4783f63
83 changed files with 122 additions and 131 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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::*;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue