Struct rustc::ty::query::queries::substitute_normalize_and_test_predicates [−][src]
pub struct substitute_normalize_and_test_predicates<'tcx> { data: PhantomData<&'tcx ()>, }
🔬 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?
Fields
data: PhantomData<&'tcx ()>
🔬 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?
Methods
impl<'a, 'tcx, 'lcx> substitute_normalize_and_test_predicates<'tcx>
[src]
impl<'a, 'tcx, 'lcx> substitute_normalize_and_test_predicates<'tcx>
pub fn ensure(tcx: TyCtxt<'a, 'tcx, 'lcx>, key: (DefId, &'tcx Substs<'tcx>))
[src]
pub fn ensure(tcx: TyCtxt<'a, 'tcx, 'lcx>, key: (DefId, &'tcx Substs<'tcx>))
🔬 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?
Ensure that either this query has all green inputs or been executed. Executing query::ensure(D) is considered a read of the dep-node D.
This function is particularly useful when executing passes for their side-effects -- e.g., in order to report errors for erroneous programs.
Note: The optimization is only available during incr. comp.
Trait Implementations
impl<'tcx> QueryDescription<'tcx> for substitute_normalize_and_test_predicates<'tcx>
[src]
impl<'tcx> QueryDescription<'tcx> for substitute_normalize_and_test_predicates<'tcx>
fn describe(tcx: TyCtxt, key: (DefId, &'tcx Substs<'tcx>)) -> String
[src]
fn describe(tcx: TyCtxt, key: (DefId, &'tcx Substs<'tcx>)) -> String
🔬 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?
fn cache_on_disk(_: Self::Key) -> bool
[src]
fn cache_on_disk(_: Self::Key) -> bool
🔬 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?
fn try_load_from_disk(
_: TyCtxt<'_, 'tcx, 'tcx>,
_: SerializedDepNodeIndex
) -> Option<Self::Value>
[src]
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?
impl<'tcx> QueryConfig<'tcx> for substitute_normalize_and_test_predicates<'tcx>
[src]
impl<'tcx> QueryConfig<'tcx> for substitute_normalize_and_test_predicates<'tcx>
type Key = (DefId, &'tcx Substs<'tcx>)
🔬 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?
type Value = bool
🔬 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?
const NAME: &'static str
🔬 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?
NAME: &'static str = "substitute_normalize_and_test_predicates"
impl<'tcx> QueryAccessors<'tcx> for substitute_normalize_and_test_predicates<'tcx>
[src]
impl<'tcx> QueryAccessors<'tcx> for substitute_normalize_and_test_predicates<'tcx>
fn query(key: Self::Key) -> Query<'tcx>
[src]
fn query(key: Self::Key) -> Query<'tcx>
🔬 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?
fn query_cache<'a>(
tcx: TyCtxt<'a, 'tcx, '_>
) -> &'a Lock<QueryCache<'tcx, Self>>
[src]
fn query_cache<'a>(
tcx: TyCtxt<'a, 'tcx, '_>
) -> &'a Lock<QueryCache<'tcx, Self>>
🔬 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?
fn to_dep_node(tcx: TyCtxt<'_, 'tcx, '_>, key: &Self::Key) -> DepNode
[src]
fn to_dep_node(tcx: TyCtxt<'_, 'tcx, '_>, key: &Self::Key) -> DepNode
🔬 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?
fn compute(tcx: TyCtxt<'_, 'tcx, '_>, key: Self::Key) -> Self::Value
[src]
fn compute(tcx: TyCtxt<'_, 'tcx, '_>, key: Self::Key) -> 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?
fn handle_cycle_error(tcx: TyCtxt<'_, 'tcx, '_>) -> Self::Value
[src]
fn handle_cycle_error(tcx: TyCtxt<'_, 'tcx, '_>) -> 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?
Auto Trait Implementations
impl<'tcx> Send for substitute_normalize_and_test_predicates<'tcx>
impl<'tcx> Send for substitute_normalize_and_test_predicates<'tcx>
impl<'tcx> Sync for substitute_normalize_and_test_predicates<'tcx>
impl<'tcx> Sync for substitute_normalize_and_test_predicates<'tcx>