Move CachingSourceMapView to libsyntax_pos.
This commit is contained in:
parent
ce301075c0
commit
ea0c354758
3 changed files with 5 additions and 4 deletions
|
@ -1,12 +1,11 @@
|
|||
//! ICH - Incremental Compilation Hash
|
||||
|
||||
crate use rustc_data_structures::fingerprint::Fingerprint;
|
||||
pub use self::caching_source_map_view::CachingSourceMapView;
|
||||
pub use syntax_pos::CachingSourceMapView;
|
||||
pub use self::hcx::{StableHashingContextProvider, StableHashingContext, NodeIdHashingMode,
|
||||
hash_stable_trait_impls};
|
||||
use syntax::symbol::{Symbol, sym};
|
||||
|
||||
mod caching_source_map_view;
|
||||
mod hcx;
|
||||
|
||||
mod impls_hir;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use rustc_data_structures::sync::Lrc;
|
||||
use syntax::source_map::SourceMap;
|
||||
use syntax_pos::{BytePos, SourceFile};
|
||||
use crate::source_map::SourceMap;
|
||||
use crate::{BytePos, SourceFile};
|
||||
|
||||
#[derive(Clone)]
|
||||
struct CacheEntry {
|
|
@ -18,6 +18,8 @@ use rustc_serialize::{Encodable, Decodable, Encoder, Decoder};
|
|||
use rustc_macros::HashStable_Generic;
|
||||
|
||||
pub mod source_map;
|
||||
mod caching_source_map_view;
|
||||
pub use self::caching_source_map_view::CachingSourceMapView;
|
||||
|
||||
pub mod edition;
|
||||
use edition::Edition;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue