Trait rustc::ty::maps::config::QueryDescription[][src]

pub trait QueryDescription<'tcx>: QueryConfig<'tcx> {
    fn describe(tcx: TyCtxt, key: Self::Key) -> String;

    fn cache_on_disk(_: Self::Key) -> bool { ... }
fn try_load_from_disk(
        _: TyCtxt<'_, 'tcx, 'tcx>,
        _: SerializedDepNodeIndex
    ) -> Option<Self::Value> { ... } }
🔬 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?

Required Methods

🔬 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?

Provided Methods

🔬 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?

🔬 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?

Implementors