pub trait QueryConfig<Qcx>: Copywhere
    Qcx: QueryContext,{
    type Key: DepNodeParams<<Qcx as HasDepContext>::DepContext> + Eq + Hash + Copy + Debug;
    type Value: Debug + Copy;
    type Cache: QueryCache<Key = Self::Key, Value = Self::Value>;

Show 16 methods // Required methods fn name(self) -> &'static str; fn query_state<'a>( self, tcx: Qcx ) -> &'a QueryState<Self::Key, <Qcx as HasDepContext>::DepKind> where Qcx: 'a; fn query_cache<'a>(self, tcx: Qcx) -> &'a Self::Cache where Qcx: 'a; fn cache_on_disk( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> bool; fn execute_query( self, tcx: <Qcx as HasDepContext>::DepContext, k: Self::Key ) -> Self::Value; fn compute(self, tcx: Qcx, key: Self::Key) -> Self::Value; fn try_load_from_disk( self, qcx: Qcx, idx: &Self::Key ) -> Option<fn(_: Qcx, _: SerializedDepNodeIndex) -> Option<Self::Value>>; fn loadable_from_disk( self, qcx: Qcx, key: &Self::Key, idx: SerializedDepNodeIndex ) -> bool; fn anon(self) -> bool; fn eval_always(self) -> bool; fn depth_limit(self) -> bool; fn feedable(self) -> bool; fn dep_kind(self) -> <Qcx as HasDepContext>::DepKind; fn handle_cycle_error(self) -> HandleCycleError; fn hash_result( self ) -> Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>; // Provided method fn construct_dep_node( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> DepNode<<Qcx as HasDepContext>::DepKind> { ... }
}

Required Associated Types§

source

type Key: DepNodeParams<<Qcx as HasDepContext>::DepContext> + Eq + Hash + Copy + Debug

source

type Value: Debug + Copy

source

type Cache: QueryCache<Key = Self::Key, Value = Self::Value>

Required Methods§

source

fn name(self) -> &'static str

source

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

source

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

source

fn cache_on_disk( self, tcx: <Qcx as HasDepContext>::DepContext, key: &Self::Key ) -> bool

source

fn execute_query( self, tcx: <Qcx as HasDepContext>::DepContext, k: Self::Key ) -> Self::Value

source

fn compute(self, tcx: Qcx, key: Self::Key) -> Self::Value

source

fn try_load_from_disk( self, qcx: Qcx, idx: &Self::Key ) -> Option<fn(_: Qcx, _: SerializedDepNodeIndex) -> Option<Self::Value>>

source

fn loadable_from_disk( self, qcx: Qcx, key: &Self::Key, idx: SerializedDepNodeIndex ) -> bool

source

fn anon(self) -> bool

source

fn eval_always(self) -> bool

source

fn depth_limit(self) -> bool

source

fn feedable(self) -> bool

source

fn dep_kind(self) -> <Qcx as HasDepContext>::DepKind

source

fn handle_cycle_error(self) -> HandleCycleError

source

fn hash_result( self ) -> Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>

Provided Methods§

source

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

Implementors§

source§

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

§

type Key = DefId

§

type Value = AdtDef<'tcx>

§

type Cache = DefaultCache<DefId, AdtDef<'tcx>>

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = DefId

§

type Value = &'tcx [Ty<'tcx>]

§

type Cache = DefaultCache<DefId, &'tcx [Ty<'tcx>]>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = DefId

§

type Value = &'tcx [DefId]

§

type Cache = DefaultCache<DefId, &'tcx [DefId]>

source§

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

source§

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

source§

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

§

type Key = DefId

§

type Value = &'tcx [DefId]

§

type Cache = DefaultCache<DefId, &'tcx [DefId]>

source§

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

§

type Key = DefId

§

type Value = &'tcx List<Ty<'tcx>>

§

type Cache = DefaultCache<DefId, &'tcx List<Ty<'tcx>>>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = ()

§

type Value = ()

§

type Cache = SingleCache<()>

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 = Result<(), NoSolution>

§

type Cache = DefaultCache<Canonical<'tcx, (ParamEnv<'tcx>, Ty<'tcx>, Ty<'tcx>)>, Result<(), NoSolution>>

source§

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

source§

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

source§

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

source§

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

source§

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

§

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

§

type Value = Result<&'tcx ImplSource<'tcx, ()>, CodegenObligationError>

§

type Cache = DefaultCache<(ParamEnv<'tcx>, Binder<'tcx, TraitRef<'tcx>>), Result<&'tcx ImplSource<'tcx, ()>, CodegenObligationError>>

source§

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

§

type Key = Symbol

§

type Value = &'tcx CodegenUnit<'tcx>

§

type Cache = DefaultCache<Symbol, &'tcx CodegenUnit<'tcx>>

source§

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

§

type Key = ()

§

type Value = &'tcx UnordSet<DefId>

§

type Cache = SingleCache<&'tcx UnordSet<DefId>>

source§

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

source§

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

source§

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

§

type Key = ()

§

type Value = (&'tcx UnordSet<DefId>, &'tcx [CodegenUnit<'tcx>])

§

type Cache = SingleCache<(&'tcx UnordSet<DefId>, &'tcx [CodegenUnit<'tcx>])>

source§

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

source§

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

source§

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

source§

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

§

type Key = (Symbol, u32, u32)

§

type Value = ConstValue<'tcx>

§

type Cache = DefaultCache<(Symbol, u32, u32), ConstValue<'tcx>>

source§

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

source§

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

source§

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

§

type Key = InstanceDef<'tcx>

§

type Value = &'tcx CoverageInfo

§

type Cache = DefaultCache<InstanceDef<'tcx>, &'tcx CoverageInfo>

source§

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

§

type Key = DefId

§

type Value = &'tcx Vec<&'tcx CodeRegion, Global>

§

type Cache = DefaultCache<DefId, &'tcx Vec<&'tcx CodeRegion, Global>>

source§

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

source§

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

§

type Key = ()

§

type Value = &'tcx Steal<Crate>

§

type Cache = SingleCache<&'tcx Steal<Crate>>

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = ()

§

type Value = ()

§

type Cache = SingleCache<()>

source§

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

source§

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

§

type Key = ()

§

type Value = &'tcx CrateVariancesMap<'tcx>

§

type Cache = SingleCache<&'tcx CrateVariancesMap<'tcx>>

source§

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

§

type Key = ()

§

type Value = &'tcx [CrateNum]

§

type Cache = SingleCache<&'tcx [CrateNum]>

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = CrateNum

§

type Value = &'tcx [(DefId, LangItem)]

§

type Cache = VecCache<CrateNum, &'tcx [(DefId, LangItem)]>

source§

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

§

type Key = CrateNum

§

type Value = &'tcx [(Symbol, Option<Symbol>)]

§

type Cache = VecCache<CrateNum, &'tcx [(Symbol, Option<Symbol>)]>

source§

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

source§

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

source§

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

§

type Key = ParamEnvAnd<'tcx, ConstantKind<'tcx>>

§

type Value = ConstantKind<'tcx>

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, ConstantKind<'tcx>>, ConstantKind<'tcx>>

source§

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

§

type Key = Const<'tcx>

§

type Value = DestructuredConst<'tcx>

§

type Cache = DefaultCache<Const<'tcx>, DestructuredConst<'tcx>>

source§

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

source§

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

source§

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

§

type Key = LocalDefId

§

type Value = &'tcx TypeckResults<'tcx>

§

type Cache = VecCache<LocalDefId, &'tcx TypeckResults<'tcx>>

§

type Key = DefId

§

type Value = &'tcx [DefId]

§

type Cache = DefaultCache<DefId, &'tcx [DefId]>

source§

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

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Ty<'tcx>>>

§

type Value = Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, DropckOutlivesResult<'tcx>>>, NoSolution>

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Ty<'tcx>>>, Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, DropckOutlivesResult<'tcx>>>, NoSolution>>

source§

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

source§

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

§

type Key = ()

§

type Value = ()

§

type Cache = SingleCache<()>

source§

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

source§

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

source§

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

§

type Key = Ty<'tcx>

§

type Value = Ty<'tcx>

§

type Cache = DefaultCache<Ty<'tcx>, Ty<'tcx>>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = DefId

§

type Value = &'tcx [(Predicate<'tcx>, Span)]

§

type Cache = DefaultCache<DefId, &'tcx [(Predicate<'tcx>, Span)]>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = CrateNum

§

type Value = &'tcx String

§

type Cache = VecCache<CrateNum, &'tcx String>

source§

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

§

type Key = ()

§

type Value = &'tcx Features

§

type Cache = SingleCache<&'tcx Features>

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 = Result<&'tcx FnAbi<'tcx, Ty<'tcx>>, FnAbiError<'tcx>>

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, (Binder<'tcx, FnSig<'tcx>>, &'tcx List<Ty<'tcx>>)>, Result<&'tcx FnAbi<'tcx, Ty<'tcx>>, FnAbiError<'tcx>>>

source§

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

§

type Key = ParamEnvAnd<'tcx, (Instance<'tcx>, &'tcx List<Ty<'tcx>>)>

§

type Value = Result<&'tcx FnAbi<'tcx, Ty<'tcx>>, FnAbiError<'tcx>>

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, (Instance<'tcx>, &'tcx List<Ty<'tcx>>)>, Result<&'tcx FnAbi<'tcx, Ty<'tcx>>, FnAbiError<'tcx>>>

source§

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

§

type Key = DefId

§

type Value = &'tcx [Ident]

§

type Cache = DefaultCache<DefId, &'tcx [Ident]>

source§

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

§

type Key = DefId

§

type Value = EarlyBinder<Binder<'tcx, FnSig<'tcx>>>

§

type Cache = DefaultCache<DefId, EarlyBinder<Binder<'tcx, FnSig<'tcx>>>>

source§

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

source§

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

source§

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

source§

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

§

type Key = DefId

§

type Value = &'tcx Generics

§

type Cache = DefaultCache<DefId, &'tcx Generics>

source§

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

source§

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

§

type Key = ()

§

type Value = &'tcx Vec<String, Global>

§

type Cache = SingleCache<&'tcx Vec<String, Global>>

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = ParamEnvAnd<'tcx, Ty<'tcx>>

§

type Value = bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, Ty<'tcx>>, bool>

source§

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

§

type Key = Ty<'tcx>

§

type Value = bool

§

type Cache = DefaultCache<Ty<'tcx>, bool>

source§

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

source§

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

§

type Key = OwnerId

§

type Value = &'tcx AttributeMap<'tcx>

§

type Cache = VecCache<OwnerId, &'tcx AttributeMap<'tcx>>

source§

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

§

type Key = ()

§

type Value = &'tcx Crate<'tcx>

§

type Cache = SingleCache<&'tcx Crate<'tcx>>

source§

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

§

type Key = ()

§

type Value = &'tcx ModuleItems

§

type Cache = SingleCache<&'tcx ModuleItems>

source§

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

source§

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

§

type Key = OwnerId

§

type Value = Option<Owner<'tcx>>

§

type Cache = VecCache<OwnerId, Option<Owner<'tcx>>>

source§

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

§

type Key = OwnerId

§

type Value = MaybeOwner<&'tcx OwnerNodes<'tcx>>

§

type Cache = VecCache<OwnerId, MaybeOwner<&'tcx OwnerNodes<'tcx>>>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Ty<'tcx>>>

§

type Value = Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, Vec<OutlivesBound<'tcx>, Global>>>, NoSolution>

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Ty<'tcx>>>, Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, Vec<OutlivesBound<'tcx>, Global>>>, NoSolution>>

source§

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

source§

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

source§

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

§

type Key = ()

§

type Value = &'tcx CratePredicatesMap<'tcx>

§

type Cache = SingleCache<&'tcx CratePredicatesMap<'tcx>>

source§

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

§

type Key = DefId

§

type Value = &'tcx [(Clause<'tcx>, Span)]

§

type Cache = DefaultCache<DefId, &'tcx [(Clause<'tcx>, Span)]>

source§

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

source§

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

§

type Key = Ty<'tcx>

§

type Value = InhabitedPredicate<'tcx>

§

type Cache = DefaultCache<Ty<'tcx>, InhabitedPredicate<'tcx>>

source§

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

§

type Key = DefId

§

type Value = &'tcx [DefId]

§

type Cache = DefaultCache<DefId, &'tcx [DefId]>

source§

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

source§

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

source§

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

source§

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

§

type Key = ParamEnvAnd<'tcx, Ty<'tcx>>

§

type Value = bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, Ty<'tcx>>, bool>

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = ParamEnvAnd<'tcx, Ty<'tcx>>

§

type Value = bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, Ty<'tcx>>, bool>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = ParamEnvAnd<'tcx, Ty<'tcx>>

§

type Value = bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, Ty<'tcx>>, bool>

source§

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

source§

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

§

type Key = ParamEnvAnd<'tcx, Ty<'tcx>>

§

type Value = bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, Ty<'tcx>>, bool>

source§

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

source§

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

source§

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

§

type Key = DefId

§

type Value = &'tcx [Attribute]

§

type Cache = DefaultCache<DefId, &'tcx [Attribute]>

source§

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

§

type Key = DefId

§

type Value = EarlyBinder<&'tcx List<Predicate<'tcx>>>

§

type Cache = DefaultCache<DefId, EarlyBinder<&'tcx List<Predicate<'tcx>>>>

source§

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

source§

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

§

type Key = ParamEnvAnd<'tcx, Ty<'tcx>>

§

type Value = Result<TyAndLayout<'tcx, Ty<'tcx>>, LayoutError<'tcx>>

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, Ty<'tcx>>, Result<TyAndLayout<'tcx, Ty<'tcx>>, LayoutError<'tcx>>>

source§

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

§

type Key = ()

§

type Value = &'tcx LibFeatures

§

type Cache = SingleCache<&'tcx LibFeatures>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = ()

§

type Value = &'tcx Steal<Box<dyn MetadataLoader + Sync + Send + 'static, Global>>

§

type Cache = SingleCache<&'tcx Steal<Box<dyn MetadataLoader + Sync + Send + 'static, Global>>>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = DefId

§

type Value = &'tcx Body<'tcx>

§

type Cache = DefaultCache<DefId, &'tcx Body<'tcx>>

source§

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

§

type Key = (LocalDefId, DefId)

§

type Value = &'tcx Body<'tcx>

§

type Cache = DefaultCache<(LocalDefId, DefId), &'tcx Body<'tcx>>

source§

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

§

type Key = DefId

§

type Value = &'tcx GeneratorLayout<'tcx>

§

type Cache = DefaultCache<DefId, &'tcx GeneratorLayout<'tcx>>

source§

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

§

type Key = InstanceDef<'tcx>

§

type Value = &'tcx [(DefId, &'tcx List<GenericArg<'tcx>>)]

§

type Cache = DefaultCache<InstanceDef<'tcx>, &'tcx [(DefId, &'tcx List<GenericArg<'tcx>>)]>

source§

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

source§

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

§

type Key = WithOptConstParam<LocalDefId>

§

type Value = (&'tcx Steal<Body<'tcx>>, &'tcx Steal<IndexVec<Promoted, Body<'tcx>>>)

§

type Cache = DefaultCache<WithOptConstParam<LocalDefId>, (&'tcx Steal<Body<'tcx>>, &'tcx Steal<IndexVec<Promoted, Body<'tcx>>>)>

source§

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

§

type Key = InstanceDef<'tcx>

§

type Value = &'tcx Body<'tcx>

§

type Cache = DefaultCache<InstanceDef<'tcx>, &'tcx Body<'tcx>>

source§

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

source§

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

§

type Key = CrateNum

§

type Value = &'tcx [LangItem]

§

type Cache = VecCache<CrateNum, &'tcx [LangItem]>

source§

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

§

type Key = DefId

§

type Value = &'tcx [ModChild]

§

type Cache = DefaultCache<DefId, &'tcx [ModChild]>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = ParamEnvAnd<'tcx, Ty<'tcx>>

§

type Value = bool

§

type Cache = DefaultCache<ParamEnvAnd<'tcx, Ty<'tcx>>, bool>

source§

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

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, AliasTy<'tcx>>>

§

type Value = Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, NormalizationResult<'tcx>>>, NoSolution>

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, AliasTy<'tcx>>>, Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, NormalizationResult<'tcx>>>, NoSolution>>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = DefId

§

type Value = &'tcx Body<'tcx>

§

type Cache = DefaultCache<DefId, &'tcx Body<'tcx>>

source§

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

source§

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

source§

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

§

type Key = DefId

§

type Value = &'tcx [DefId]

§

type Cache = DefaultCache<DefId, &'tcx [DefId]>

source§

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

source§

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

§

type Key = DefId

§

type Value = ParamEnv<'tcx>

§

type Cache = DefaultCache<DefId, ParamEnv<'tcx>>

source§

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

§

type Key = DefId

§

type Value = ParamEnv<'tcx>

§

type Cache = DefaultCache<DefId, ParamEnv<'tcx>>

source§

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

§

type Key = DefId

§

type Value = &'tcx BitSet<u32>

§

type Cache = DefaultCache<DefId, &'tcx BitSet<u32>>

source§

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

source§

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

§

type Key = ()

§

type Value = &'tcx [CrateNum]

§

type Cache = SingleCache<&'tcx [CrateNum]>

source§

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

source§

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

source§

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

source§

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

§

type Key = DefId

§

type Value = &'tcx IndexVec<Promoted, Body<'tcx>>

§

type Cache = DefaultCache<DefId, &'tcx IndexVec<Promoted, Body<'tcx>>>

source§

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

§

type Key = (LocalDefId, DefId)

§

type Value = &'tcx IndexVec<Promoted, Body<'tcx>>

§

type Cache = DefaultCache<(LocalDefId, DefId), &'tcx IndexVec<Promoted, Body<'tcx>>>

source§

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

source§

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

source§

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

§

type Key = DefId

§

type Value = &'tcx ScopeTree

§

type Cache = DefaultCache<DefId, &'tcx ScopeTree>

source§

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

§

type Key = ()

§

type Value = &'tcx IndexSet<Ident, BuildHasherDefault<FxHasher>>

§

type Cache = SingleCache<&'tcx IndexSet<Ident, BuildHasherDefault<FxHasher>>>

source§

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

§

type Key = DefId

§

type Value = &'tcx String

§

type Cache = DefaultCache<DefId, &'tcx String>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = &'tcx List<Predicate<'tcx>>

§

type Value = &'tcx List<Predicate<'tcx>>

§

type Cache = DefaultCache<&'tcx List<Predicate<'tcx>>, &'tcx List<Predicate<'tcx>>>

source§

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

source§

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

source§

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

source§

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

§

type Key = DefId

§

type Value = &'tcx Graph

§

type Cache = DefaultCache<DefId, &'tcx Graph>

source§

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

source§

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

source§

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

§

type Key = ()

§

type Value = &'tcx Index

§

type Cache = SingleCache<&'tcx Index>

source§

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

§

type Key = (DefId, &'tcx List<GenericArg<'tcx>>)

§

type Value = bool

§

type Cache = DefaultCache<(DefId, &'tcx List<GenericArg<'tcx>>), bool>

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = Instance<'tcx>

§

type Value = SymbolName<'tcx>

§

type Cache = DefaultCache<Instance<'tcx>, SymbolName<'tcx>>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Key = DefId

§

type Value = &'tcx TraitDef

§

type Cache = DefaultCache<DefId, &'tcx TraitDef>

source§

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

source§

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

§

type Key = CrateNum

§

type Value = &'tcx [DefId]

§

type Cache = VecCache<CrateNum, &'tcx [DefId]>

source§

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

source§

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

§

type Key = CrateNum

§

type Value = &'tcx [DefId]

§

type Cache = VecCache<CrateNum, &'tcx [DefId]>

source§

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

source§

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

§

type Key = ()

§

type Value = &'tcx HashMap<DefId, Symbol, BuildHasherDefault<FxHasher>>

§

type Cache = SingleCache<&'tcx HashMap<DefId, Symbol, BuildHasherDefault<FxHasher>>>

source§

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

source§

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

source§

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

source§

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

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, AscribeUserType<'tcx>>>

§

type Value = Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, ()>>, NoSolution>

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, AscribeUserType<'tcx>>>, Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, ()>>, NoSolution>>

source§

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

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Eq<'tcx>>>

§

type Value = Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, ()>>, NoSolution>

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Eq<'tcx>>>, Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, ()>>, NoSolution>>

source§

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

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Normalize<FnSig<'tcx>>>>

§

type Value = Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, FnSig<'tcx>>>, NoSolution>

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Normalize<FnSig<'tcx>>>>, Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, FnSig<'tcx>>>, NoSolution>>

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 = Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, Binder<'tcx, FnSig<'tcx>>>>, NoSolution>

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Normalize<Binder<'tcx, FnSig<'tcx>>>>>, Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, Binder<'tcx, FnSig<'tcx>>>>, NoSolution>>

source§

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

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Normalize<Predicate<'tcx>>>>

§

type Value = Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, Predicate<'tcx>>>, NoSolution>

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Normalize<Predicate<'tcx>>>>, Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, Predicate<'tcx>>>, NoSolution>>

source§

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

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Normalize<Ty<'tcx>>>>

§

type Value = Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, Ty<'tcx>>>, NoSolution>

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Normalize<Ty<'tcx>>>>, Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, Ty<'tcx>>>, NoSolution>>

source§

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

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, ProvePredicate<'tcx>>>

§

type Value = Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, ()>>, NoSolution>

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, ProvePredicate<'tcx>>>, Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, ()>>, NoSolution>>

source§

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

§

type Key = Canonical<'tcx, ParamEnvAnd<'tcx, Subtype<'tcx>>>

§

type Value = Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, ()>>, NoSolution>

§

type Cache = DefaultCache<Canonical<'tcx, ParamEnvAnd<'tcx, Subtype<'tcx>>>, Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, ()>>, NoSolution>>

source§

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

source§

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

§

type Key = LocalDefId

§

type Value = &'tcx TypeckResults<'tcx>

§

type Cache = VecCache<LocalDefId, &'tcx TypeckResults<'tcx>>

source§

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

§

type Key = (LocalDefId, DefId)

§

type Value = &'tcx TypeckResults<'tcx>

§

type Cache = DefaultCache<(LocalDefId, DefId), &'tcx TypeckResults<'tcx>>

source§

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

§

type Key = ()

§

type Value = ()

§

type Cache = SingleCache<()>

source§

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

source§

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

source§

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

§

type Key = DefId

§

type Value = &'tcx BitSet<u32>

§

type Cache = DefaultCache<DefId, &'tcx BitSet<u32>>

source§

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

source§

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

§

type Key = &'tcx List<GenericArg<'tcx>>

§

type Value = Option<CrateNum>

§

type Cache = DefaultCache<&'tcx List<GenericArg<'tcx>>, Option<CrateNum>>

source§

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

§

type Key = ()

§

type Value = &'tcx UnordMap<DefId, HashMap<&'tcx List<GenericArg<'tcx>>, CrateNum, BuildHasherDefault<FxHasher>>>

§

type Cache = SingleCache<&'tcx UnordMap<DefId, HashMap<&'tcx List<GenericArg<'tcx>>, CrateNum, BuildHasherDefault<FxHasher>>>>

source§

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

§

type Key = DefId

§

type Value = Option<&'tcx HashMap<&'tcx List<GenericArg<'tcx>>, CrateNum, BuildHasherDefault<FxHasher>>>

§

type Cache = DefaultCache<DefId, Option<&'tcx HashMap<&'tcx List<GenericArg<'tcx>>, CrateNum, BuildHasherDefault<FxHasher>>>>

source§

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

source§

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

source§

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

source§

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

§

type Key = (Ty<'tcx>, ValTree<'tcx>)

§

type Value = ConstValue<'tcx>

§

type Cache = DefaultCache<(Ty<'tcx>, ValTree<'tcx>), ConstValue<'tcx>>

source§

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

§

type Key = DefId

§

type Value = &'tcx [Variance]

§

type Cache = DefaultCache<DefId, &'tcx [Variance]>

source§

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

source§

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

§

type Key = ()

§

type Value = &'tcx UnordMap<DefId, DefId>

§

type Cache = SingleCache<&'tcx UnordMap<DefId, DefId>>

source§

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

§

type Key = (Ty<'tcx>, Option<Binder<'tcx, ExistentialTraitRef<'tcx>>>)

§

type Value = AllocId

§

type Cache = DefaultCache<(Ty<'tcx>, Option<Binder<'tcx, ExistentialTraitRef<'tcx>>>), AllocId>

source§

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

§

type Key = Binder<'tcx, TraitRef<'tcx>>

§

type Value = &'tcx [VtblEntry<'tcx>]

§

type Cache = DefaultCache<Binder<'tcx, TraitRef<'tcx>>, &'tcx [VtblEntry<'tcx>]>

source§

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

§

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

§

type Value = Option<usize>

§

type Cache = DefaultCache<(Ty<'tcx>, Ty<'tcx>), Option<usize>>

source§

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