Module rustc::ty::maps::on_disk_cache [−][src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Re-exports
use dep_graph::DepNodeIndex; |
use dep_graph::SerializedDepNodeIndex; |
use errors::Diagnostic; |
use hir; |
use hir::def_id::CrateNum; |
use hir::def_id::DefIndex; |
use hir::def_id::DefId; |
use hir::def_id::LocalDefId; |
use hir::def_id::RESERVED_FOR_INCR_COMP_CACHE; |
use hir::def_id::LOCAL_CRATE; |
use hir::map::definitions::DefPathHash; |
use ich::CachingCodemapView; |
use ich::Fingerprint; |
use mir; |
use mir::interpret; |
use rustc_data_structures::fx::FxHashMap; |
use rustc_data_structures::sync::Lrc; |
use rustc_data_structures::sync::Lock; |
use rustc_data_structures::sync::HashMapExt; |
use rustc_data_structures::sync::Once; |
use rustc_data_structures::indexed_vec::IndexVec; |
use rustc_data_structures::indexed_vec::Idx; |
use rustc_serialize::Decodable; |
use rustc_serialize::Decoder; |
use rustc_serialize::Encodable; |
use rustc_serialize::Encoder; |
use rustc_serialize::opaque; |
use rustc_serialize::SpecializedDecoder; |
use rustc_serialize::SpecializedEncoder; |
use rustc_serialize::UseSpecializedDecodable; |
use rustc_serialize::UseSpecializedEncodable; |
use session::CrateDisambiguator; |
use session::Session; |
use std::cell::RefCell; |
use std::mem; |
use syntax::ast::NodeId; |
use syntax::codemap::CodeMap; |
use syntax::codemap::StableFilemapId; |
use syntax_pos::BytePos; |
use syntax_pos::Span; |
use syntax_pos::DUMMY_SP; |
use syntax_pos::FileMap; |
use syntax_pos::hygiene::Mark; |
use syntax_pos::hygiene::SyntaxContext; |
use syntax_pos::hygiene::ExpnInfo; |
use ty; |
use ty::codec as ty_codec; |
use ty::codec::TyDecoder; |
use ty::codec::TyEncoder; |
use ty::context::TyCtxt; |
use util::common::time; |
Modules
__ty_decoder_impl |
[ Experimental ]
|
Structs
AbsoluteBytePos |
[ Experimental ]
|
CacheDecoder |
[ Experimental ] A decoder that can read the incr. comp. cache. It is similar to the one
we use for crate metadata decoding in that it can rebase spans and
eventually will also handle things that contain |
CacheEncoder |
[ Experimental ]
|
FileMapIndex |
[ Experimental ]
|
Footer |
[ Experimental ]
|
IntEncodedWithFixedSize |
[ Experimental ]
|
OnDiskCache |
[ Experimental ]
|
Constants
TAG_CLEAR_CROSS_CRATE_CLEAR |
[ Experimental ]
|
TAG_CLEAR_CROSS_CRATE_SET |
[ Experimental ]
|
TAG_EXPANSION_INFO_INLINE |
[ Experimental ]
|
TAG_EXPANSION_INFO_SHORTHAND |
[ Experimental ]
|
TAG_FILE_FOOTER |
[ Experimental ]
|
TAG_INVALID_SPAN |
[ Experimental ]
|
TAG_NO_EXPANSION_INFO |
[ Experimental ]
|
TAG_VALID_SPAN |
[ Experimental ]
|
Traits
DecoderWithPosition |
[ Experimental ]
|
Functions
decode_tagged |
[ Experimental ]
|
encode_query_results |
[ Experimental ]
|
Type Definitions
EncodedDiagnostics |
[ Experimental ]
|
EncodedDiagnosticsIndex |
[ Experimental ]
|
EncodedQueryResultIndex |
[ Experimental ]
|