pub struct QueryCtxt<'tcx> {
    pub tcx: TyCtxt<'tcx>,
    pub queries: &'tcx Queries<'tcx>,
}

Fields§

§tcx: TyCtxt<'tcx>§queries: &'tcx Queries<'tcx>

Implementations§

source§

impl<'tcx> QueryCtxt<'tcx>

source

pub fn from_tcx(tcx: TyCtxt<'tcx>) -> Self

source

pub(crate) fn on_disk_cache(self) -> Option<&'tcx OnDiskCache<'tcx>>

source

pub(crate) fn encode_query_results( self, encoder: &mut CacheEncoder<'_, 'tcx>, query_result_index: &mut Vec<(SerializedDepNodeIndex, AbsoluteBytePos)> )

source

pub fn try_print_query_stack( self, query: Option<QueryJobId>, handler: &Handler, num_frames: Option<usize> ) -> usize

Trait Implementations§

source§

impl<'tcx> Clone for QueryCtxt<'tcx>

source§

fn clone(&self) -> QueryCtxt<'tcx>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'tcx> Deref for QueryCtxt<'tcx>

§

type Target = TyCtxt<'tcx>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl<'tcx> HasDepContext for QueryCtxt<'tcx>

§

type DepKind = DepKind

§

type DepContext = TyCtxt<'tcx>

source§

fn dep_context(&self) -> &Self::DepContext

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for adt_def<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for adt_destructor<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for adt_drop_tys<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for adt_dtorck_constraint<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for adt_significant_drop_tys<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for adt_sized_constraint<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for all_diagnostic_items<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for all_local_trait_impls<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for alloc_error_handler_kind<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for allocator_kind<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for analysis<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for asm_target_features<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for associated_item<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for associated_item_def_ids<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for associated_items<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for associated_type_for_impl_trait_in_trait<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for associated_types_for_impl_traits_in_associated_fn<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for assumed_wf_types<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for asyncness<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for backend_optimization_level<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_expectations<'tcx>

§

type Key = Option<Symbol>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Option<Symbol>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_generator_obligations<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_is_object_safe<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_liveness<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_match<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_mod_attrs<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_mod_const_bodies<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_mod_deathness<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_mod_impl_wf<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_mod_item_types<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_mod_loops<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_mod_naked_functions<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_mod_privacy<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_mod_type_wf<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_mod_unstable_api_usage<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_private_in_public<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_tys_might_be_eq<'tcx>

§

type Key = Canonical<'tcx, (ParamEnv<'tcx>, Ty<'tcx>, Ty<'tcx>)>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Canonical<'tcx, (ParamEnv<'tcx>, Ty<'tcx>, Ty<'tcx>)>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_validity_requirement<'tcx>

§

type Key = (ValidityRequirement, ParamEnvAnd<'tcx, Ty<'tcx>>)

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<(ValidityRequirement, ParamEnvAnd<'tcx, Ty<'tcx>>), Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for check_well_formed<'tcx>

§

type Key = OwnerId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<OwnerId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for closure_typeinfo<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for codegen_fn_attrs<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for codegen_select_candidate<'tcx>

§

type Key = (ParamEnv<'tcx>, Binder<'tcx, TraitRef<'tcx>>)

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<(ParamEnv<'tcx>, Binder<'tcx, TraitRef<'tcx>>), Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for codegen_unit<'tcx>

§

type Key = Symbol

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Symbol, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for codegened_and_inlined_items<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for coerce_unsized_info<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for coherent_trait<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for collect_and_partition_mono_items<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for collect_mod_item_types<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for collect_return_position_impl_trait_in_trait_tys<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for compare_impl_const<'tcx>

§

type Key = (LocalDefId, DefId)

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<(LocalDefId, DefId), Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for const_caller_location<'tcx>

§

type Key = (Symbol, u32, u32)

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<(Symbol, u32, u32), Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for const_param_default<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for constness<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for coverageinfo<'tcx>

§

type Key = InstanceDef<'tcx>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<InstanceDef<'tcx>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for covered_code_regions<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for crate_extern_paths<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for crate_for_resolver<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for crate_hash<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for crate_host_hash<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for crate_incoherent_impls<'tcx>

§

type Key = (CrateNum, SimplifiedType)

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<(CrateNum, SimplifiedType), Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for crate_inherent_impls<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for crate_inherent_impls_overlap_check<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for crate_name<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for crate_variances<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for crates<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for debugger_visualizers<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for deduced_param_attrs<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for def_ident_span<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for def_span<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for defined_lang_items<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for defined_lib_features<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for dep_kind<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for dependency_formats<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for deref_mir_constant<'tcx>

§

type Key = ParamEnvAnd<'tcx, ConstantKind<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, ConstantKind<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for destructure_const<'tcx>

§

type Key = Const<'tcx>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Const<'tcx>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for diagnostic_hir_wf_check<'tcx>

§

type Key = (Predicate<'tcx>, WellFormedLoc)

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<(Predicate<'tcx>, WellFormedLoc), Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for diagnostic_items<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for diagnostic_only_typeck<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for dropck_outlives<'tcx>

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Ty<'tcx>>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Ty<'tcx>>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for dylib_dependency_formats<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for early_lint_checks<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for effective_visibilities<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for entry_fn<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for erase_regions_ty<'tcx>

§

type Key = Ty<'tcx>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Ty<'tcx>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for eval_to_allocation_raw<'tcx>

§

type Key = ParamEnvAnd<'tcx, GlobalId<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, GlobalId<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for eval_to_const_value_raw<'tcx>

§

type Key = ParamEnvAnd<'tcx, GlobalId<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, GlobalId<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for eval_to_valtree<'tcx>

§

type Key = ParamEnvAnd<'tcx, GlobalId<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, GlobalId<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for evaluate_goal<'tcx>

§

type Key = Canonical<'tcx, ChalkEnvironmentAndGoal<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Canonical<'tcx, ChalkEnvironmentAndGoal<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for evaluate_obligation<'tcx>

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Predicate<'tcx>>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Predicate<'tcx>>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for explicit_item_bounds<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for explicit_predicates_of<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for expn_that_defined<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for exported_symbols<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for extern_crate<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for extern_mod_stmt_cnum<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for extra_filename<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for features_query<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for fn_abi_of_fn_ptr<'tcx>

§

type Key = ParamEnvAnd<'tcx, (Binder<'tcx, FnSig<'tcx>>, &'tcx List<Ty<'tcx>>)>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, (Binder<'tcx, FnSig<'tcx>>, &'tcx List<Ty<'tcx>>)>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for fn_abi_of_instance<'tcx>

§

type Key = ParamEnvAnd<'tcx, (Instance<'tcx>, &'tcx List<Ty<'tcx>>)>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, (Instance<'tcx>, &'tcx List<Ty<'tcx>>)>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for fn_arg_names<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for fn_sig<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for foreign_modules<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for generator_diagnostic_data<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for generator_kind<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for generics_of<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for get_lang_items<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for global_backend_features<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for has_alloc_error_handler<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for has_ffi_unwind_calls<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for has_global_allocator<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for has_panic_handler<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for has_significant_drop_raw<'tcx>

§

type Key = ParamEnvAnd<'tcx, Ty<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, Ty<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for has_structural_eq_impls<'tcx>

§

type Key = Ty<'tcx>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Ty<'tcx>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for has_typeck_results<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for hir_attrs<'tcx>

§

type Key = OwnerId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<OwnerId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for hir_crate<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for hir_crate_items<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for hir_module_items<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for hir_owner<'tcx>

§

type Key = OwnerId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<OwnerId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for hir_owner_nodes<'tcx>

§

type Key = OwnerId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<OwnerId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for hir_owner_parent<'tcx>

§

type Key = OwnerId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<OwnerId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for impl_defaultness<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for impl_item_implementor_ids<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for impl_parent<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for impl_polarity<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for impl_trait_ref<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for implementations_of_trait<'tcx>

§

type Key = (CrateNum, DefId)

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<(CrateNum, DefId), Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for implied_outlives_bounds<'tcx>

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Ty<'tcx>>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Ty<'tcx>>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for implied_predicates_of<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for in_scope_traits_map<'tcx>

§

type Key = OwnerId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<OwnerId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for incoherent_impls<'tcx>

§

type Key = SimplifiedType

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<SimplifiedType, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for inferred_outlives_crate<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for inferred_outlives_of<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for inhabited_predicate_adt<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for inhabited_predicate_type<'tcx>

§

type Key = Ty<'tcx>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Ty<'tcx>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for inherent_impls<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for instance_def_size_estimate<'tcx>

§

type Key = InstanceDef<'tcx>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<InstanceDef<'tcx>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_codegened_item<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_compiler_builtins<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_copy_raw<'tcx>

§

type Key = ParamEnvAnd<'tcx, Ty<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, Ty<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_ctfe_mir_available<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_doc_hidden<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_doc_notable_trait<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_foreign_item<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_freeze_raw<'tcx>

§

type Key = ParamEnvAnd<'tcx, Ty<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, Ty<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_impossible_method<'tcx>

§

type Key = (DefId, DefId)

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<(DefId, DefId), Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_intrinsic<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_late_bound_map<'tcx>

§

type Key = OwnerId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<OwnerId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_mir_available<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_no_builtins<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_panic_runtime<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_private_dep<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_profiler_runtime<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_promotable_const_fn<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_reachable_non_generic<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_sized_raw<'tcx>

§

type Key = ParamEnvAnd<'tcx, Ty<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, Ty<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_type_alias_impl_trait<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_unpin_raw<'tcx>

§

type Key = ParamEnvAnd<'tcx, Ty<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, Ty<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for is_unreachable_local_definition<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for issue33140_self_ty<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for item_attrs<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for item_bounds<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for late_bound_vars_map<'tcx>

§

type Key = OwnerId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<OwnerId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for layout_of<'tcx>

§

type Key = ParamEnvAnd<'tcx, Ty<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, Ty<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for lib_features<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for limits<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for lint_expectations<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for lint_mod<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for lit_to_const<'tcx>

§

type Key = LitToConstInput<'tcx>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<LitToConstInput<'tcx>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for lit_to_mir_constant<'tcx>

§

type Key = LitToConstInput<'tcx>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<LitToConstInput<'tcx>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for live_symbols_and_ignored_derived_traits<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for lookup_const_stability<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for lookup_default_body_stability<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for lookup_deprecation_entry<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for lookup_stability<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for maybe_unused_trait_imports<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for metadata_loader<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for method_autoderef_steps<'tcx>

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Ty<'tcx>>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Ty<'tcx>>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for mir_borrowck<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for mir_built<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for mir_callgraph_reachable<'tcx>

§

type Key = (Instance<'tcx>, LocalDefId)

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<(Instance<'tcx>, LocalDefId), Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for mir_const<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for mir_const_qualif<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for mir_drops_elaborated_and_const_checked<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for mir_for_ctfe<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for mir_generator_witnesses<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for mir_inliner_callees<'tcx>

§

type Key = InstanceDef<'tcx>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<InstanceDef<'tcx>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for mir_keys<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for mir_promoted<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for mir_shims<'tcx>

§

type Key = InstanceDef<'tcx>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<InstanceDef<'tcx>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for missing_extern_crate_item<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for missing_lang_items<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for module_children<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for named_variable_map<'tcx>

§

type Key = OwnerId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<OwnerId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for names_imported_by_glob_use<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for native_libraries<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for native_library<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for needs_drop_raw<'tcx>

§

type Key = ParamEnvAnd<'tcx, Ty<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, Ty<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for normalize_projection_ty<'tcx>

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, AliasTy<'tcx>>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, AliasTy<'tcx>>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for object_lifetime_default<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for object_safety_violations<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for opt_def_kind<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for opt_local_def_id_to_hir_id<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for optimized_mir<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for orphan_check_impl<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for output_filenames<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for own_existential_vtable_entries<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for panic_in_drop_strategy<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for param_env<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for param_env_reveal_all_normalized<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for params_in_repr<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for parent_module_from_def_id<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for postorder_cnums<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for predicates_defined_on<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for predicates_of<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for proc_macro_decls_static<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for promoted_mir<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for reachable_non_generics<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for reachable_set<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for region_scope_tree<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for registered_tools<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for rendered_const<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for representability<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for representability_adt_ty<'tcx>

§

type Key = Ty<'tcx>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Ty<'tcx>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for required_panic_strategy<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for resolutions<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for resolve_bound_vars<'tcx>

§

type Key = OwnerId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<OwnerId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for resolve_instance<'tcx>

§

type Key = ParamEnvAnd<'tcx, (DefId, &'tcx List<GenericArg<'tcx>>)>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, (DefId, &'tcx List<GenericArg<'tcx>>)>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for resolver_for_lowering<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for reveal_opaque_types_in_bounds<'tcx>

§

type Key = &'tcx List<Predicate<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<&'tcx List<Predicate<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for shallow_lint_levels_on<'tcx>

§

type Key = OwnerId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<OwnerId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for should_inherit_track_caller<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for source_span<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for specialization_graph_of<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for specializes<'tcx>

§

type Key = (DefId, DefId)

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<(DefId, DefId), Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for stability_implications<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for stability_index<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for subst_and_check_impossible_predicates<'tcx>

§

type Key = (DefId, &'tcx List<GenericArg<'tcx>>)

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<(DefId, &'tcx List<GenericArg<'tcx>>), Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for super_predicates_of<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for super_predicates_that_define_assoc_type<'tcx>

§

type Key = (DefId, Ident)

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<(DefId, Ident), Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for supported_target_features<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for symbol_mangling_version<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for symbol_name<'tcx>

§

type Key = Instance<'tcx>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Instance<'tcx>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for thir_abstract_const<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for thir_body<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for thir_check_unsafety<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for thir_flat<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for thir_tree<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for trait_def<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for trait_explicit_predicates_and_bounds<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for trait_impls_in_crate<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for trait_impls_of<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for traits_in_crate<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for trigger_delay_span_bug<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for trimmed_def_paths<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for try_destructure_mir_constant<'tcx>

§

type Key = ParamEnvAnd<'tcx, ConstantKind<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, ConstantKind<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for try_normalize_generic_arg_after_erasing_regions<'tcx>

§

type Key = ParamEnvAnd<'tcx, GenericArg<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, GenericArg<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for type_of<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for type_op_ascribe_user_type<'tcx>

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, AscribeUserType<'tcx>>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, AscribeUserType<'tcx>>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for type_op_eq<'tcx>

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Eq<'tcx>>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Eq<'tcx>>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for type_op_normalize_fn_sig<'tcx>

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Normalize<FnSig<'tcx>>>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Normalize<FnSig<'tcx>>>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for type_op_normalize_poly_fn_sig<'tcx>

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Normalize<Binder<'tcx, FnSig<'tcx>>>>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Normalize<Binder<'tcx, FnSig<'tcx>>>>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for type_op_normalize_predicate<'tcx>

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Normalize<Predicate<'tcx>>>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Normalize<Predicate<'tcx>>>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for type_op_normalize_ty<'tcx>

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Normalize<Ty<'tcx>>>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Normalize<Ty<'tcx>>>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for type_op_prove_predicate<'tcx>

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, ProvePredicate<'tcx>>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, ProvePredicate<'tcx>>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for type_op_subtype<'tcx>

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Subtype<'tcx>>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Subtype<'tcx>>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for type_param_predicates<'tcx>

§

type Key = (LocalDefId, LocalDefId, Ident)

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<(LocalDefId, LocalDefId, Ident), Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for typeck<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for typeck_item_bodies<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for unsafety_check_result<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for unsizing_params_for_adt<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for unused_generic_params<'tcx>

§

type Key = InstanceDef<'tcx>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<InstanceDef<'tcx>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for upstream_drop_glue_for<'tcx>

§

type Key = &'tcx List<GenericArg<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<&'tcx List<GenericArg<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for upstream_monomorphizations<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for upstream_monomorphizations_for<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for upvars_mentioned<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for used_crate_source<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for used_trait_imports<'tcx>

§

type Key = LocalDefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<LocalDefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for valtree_to_const_val<'tcx>

§

type Key = (Ty<'tcx>, ValTree<'tcx>)

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<(Ty<'tcx>, ValTree<'tcx>), Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for variances_of<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for visibility<'tcx>

§

type Key = DefId

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<DefId, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for visible_parent_map<'tcx>

§

type Key = ()

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = SingleCache<Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for vtable_allocation<'tcx>

§

type Key = (Ty<'tcx>, Option<Binder<'tcx, ExistentialTraitRef<'tcx>>>)

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<(Ty<'tcx>, Option<Binder<'tcx, ExistentialTraitRef<'tcx>>>), Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for vtable_entries<'tcx>

§

type Key = Binder<'tcx, TraitRef<'tcx>>

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<Binder<'tcx, TraitRef<'tcx>>, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for vtable_trait_upcasting_coercion_new_vptr_slot<'tcx>

§

type Key = (Ty<'tcx>, Ty<'tcx>)

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = DefaultCache<(Ty<'tcx>, Ty<'tcx>), Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl<'tcx> QueryConfig<QueryCtxt<'tcx>> for wasm_import_module_map<'tcx>

§

type Key = CrateNum

§

type Value = Erased<impl Copy>

source§

fn name(self) -> &'static str

source§

fn format_value(self) -> fn(_: &Self::Value) -> String

source§

fn cache_on_disk(self, tcx: TyCtxt<'tcx>, key: &Self::Key) -> bool

§

type Cache = VecCache<CrateNum, Erased<impl Copy>>

source§

fn query_state<'a>( self, tcx: QueryCtxt<'tcx> ) -> &'a QueryState<Self::Key, DepKind>where QueryCtxt<'tcx>: 'a,

source§

fn query_cache<'a>(self, tcx: QueryCtxt<'tcx>) -> &'a Self::Cachewhere 'tcx: 'a,

source§

fn execute_query(self, tcx: TyCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn compute(self, qcx: QueryCtxt<'tcx>, key: Self::Key) -> Self::Value

source§

fn try_load_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key ) -> TryLoadFromDisk<QueryCtxt<'tcx>, Self::Value>

source§

fn loadable_from_disk( self, _qcx: QueryCtxt<'tcx>, _key: &Self::Key, _index: SerializedDepNodeIndex ) -> bool

source§

fn value_from_cycle_error( self, tcx: TyCtxt<'tcx>, cycle: &[QueryInfo<DepKind>] ) -> Self::Value

Synthesize an error value to let compilation continue after a cycle.
source§

fn anon(self) -> bool

source§

fn eval_always(self) -> bool

source§

fn depth_limit(self) -> bool

source§

fn feedable(self) -> bool

source§

fn dep_kind(self) -> DepKind

source§

fn handle_cycle_error(self) -> HandleCycleError

source§

fn hash_result(self) -> HashResult<Self::Value>

source§

fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind>

source§

impl QueryContext for QueryCtxt<'_>

source§

fn start_query<R>( self, token: QueryJobId, depth_limit: bool, diagnostics: Option<&Lock<ThinVec<Diagnostic>>>, compute: impl FnOnce() -> R ) -> R

Executes a job by changing the ImplicitCtxt to point to the new query job while it executes. It returns the diagnostics captured during execution and the actual result.

source§

fn next_job_id(self) -> QueryJobId

source§

fn current_query_job(self) -> Option<QueryJobId>

Get the query information from the TLS context.
source§

fn try_collect_active_jobs(self) -> Option<QueryMap<DepKind>>

source§

fn load_side_effects( self, prev_dep_node_index: SerializedDepNodeIndex ) -> QuerySideEffects

Load side effects associated to the node in the previous session.
source§

fn store_side_effects( self, dep_node_index: DepNodeIndex, side_effects: QuerySideEffects )

Register diagnostics for the given node, for use in next session.
source§

fn store_side_effects_for_anon_node( self, dep_node_index: DepNodeIndex, side_effects: QuerySideEffects )

Register diagnostics for the given node, for use in next session.
source§

fn depth_limit_error(self, job: QueryJobId)

source§

impl<'tcx> Copy for QueryCtxt<'tcx>

Auto Trait Implementations§

§

impl<'tcx> !RefUnwindSafe for QueryCtxt<'tcx>

§

impl<'tcx> !Send for QueryCtxt<'tcx>

§

impl<'tcx> !Sync for QueryCtxt<'tcx>

§

impl<'tcx> Unpin for QueryCtxt<'tcx>

§

impl<'tcx> !UnwindSafe for QueryCtxt<'tcx>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 16 bytes