MCPcopy Create free account
hub / github.com/Rust-for-Linux/klint / PersistentQuery

Interface PersistentQuery

src/ctxt.rs:48–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48pub(crate) trait PersistentQuery: QueryValueDecodable {
49 type LocalKey<'tcx>: Encodable<crate::serde::EncodeContext<'tcx>>;
50
51 fn into_crate_and_local<'tcx>(key: Self::Key<'tcx>) -> (CrateNum, Self::LocalKey<'tcx>);
52}
53
54pub struct AnalysisCtxt<'tcx> {
55 pub tcx: TyCtxt<'tcx>,

Callers

nothing calls this directly

Implementers 5

mir.rssrc/mir.rs
expectation.rssrc/preempt_count/expectation.rs
annotation.rssrc/preempt_count/annotation.rs
adjustment.rssrc/preempt_count/adjustment.rs
mod.rssrc/diagnostic_items/mod.rs

Calls

no outgoing calls

Tested by

no test coverage detected