Function rustc_incremental::load_query_result_cache
source · pub fn load_query_result_cache<'a, C: OnDiskCache<'a>>(
sess: &'a Session
) -> Option<C>
Expand description
Attempts to load the query result cache from disk
If we are not in incremental compilation mode, returns None
.
Otherwise, tries to load the query result cache from disk,
creating an empty cache if it could not be loaded.