Module rustc_middle::ty::query::on_disk_cache[−][src]

Modules

__ty_decoder_impl

Structs

AbsoluteBytePos
CacheDecoder

A decoder that can read from the incremental compilation 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 Ty instances.

CacheEncoder

An encoder that can write to the incremental compilation cache.

Footer
IntEncodedWithFixedSize
OnDiskCache

Provides an interface to incremental compilation data cached from the previous compilation session. This data will eventually include the results of a few selected queries (like typeck and mir_optimized) and any diagnostics that have been emitted during a query.

RawDefId

Represents a potentially invalid DefId. This is used during incremental compilation to represent a DefId from the previous compilation session, which may no longer be valid. This is used to help map a DefPathHash to a DefId in the current compilation session.

SourceFileIndex

Constants

TAG_EXPN_DATA
TAG_FILE_FOOTER
TAG_FULL_SPAN
TAG_PARTIAL_SPAN
TAG_SYNTAX_CONTEXT

Traits

DecoderWithPosition
OpaqueEncoder

Functions

decode_tagged
encode_query_results
make_local_def_path_hash_map

Type Definitions

EncodedDiagnostics
EncodedDiagnosticsIndex
EncodedQueryResultIndex