[−][src]Trait rustc_middle::ty::query::QueryConfig

pub trait QueryConfig {
    type Key: Clone + Eq + Debug + Hash;
    type Value;
    type Stored: Clone;

    pub const NAME: &'static str;
}

Associated Types

type Key: Clone + Eq + Debug + Hash[src]

type Value[src]

type Stored: Clone[src]

Loading content...

Associated Constants

pub const NAME: &'static str[src]

Loading content...

Implementors

impl<'tcx> QueryConfig for adt_def<'tcx>[src]

type Key = DefId

type Value = &'tcx AdtDef

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, &'tcx AdtDef>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for adt_destructor<'tcx>[src]

impl<'tcx> QueryConfig for adt_drop_tys<'tcx>[src]

type Key = DefId

type Value = Result<&'tcx List<Ty<'tcx>>, AlwaysRequiresDrop>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, Result<&'tcx List<Ty<'tcx>>, AlwaysRequiresDrop>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for adt_dtorck_constraint<'tcx>[src]

impl<'tcx> QueryConfig for adt_sized_constraint<'tcx>[src]

impl<'tcx> QueryConfig for all_crate_nums<'tcx>[src]

impl<'tcx> QueryConfig for all_diagnostic_items<'tcx>[src]

type Key = CrateNum

type Value = FxHashMap<Symbol, DefId>

type Stored = <<ArenaCacheSelector<'tcx> as CacheSelector<CrateNum, FxHashMap<Symbol, DefId>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for all_local_trait_impls<'tcx>[src]

type Key = CrateNum

type Value = &'tcx BTreeMap<DefId, Vec<HirId>>

type Stored = <<<CrateNum as Key>::CacheSelector as CacheSelector<CrateNum, &'tcx BTreeMap<DefId, Vec<HirId>>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for all_trait_implementations<'tcx>[src]

impl<'tcx> QueryConfig for all_traits<'tcx>[src]

impl<'tcx> QueryConfig for analysis<'tcx>[src]

impl<'tcx> QueryConfig for associated_item<'tcx>[src]

impl<'tcx> QueryConfig for associated_item_def_ids<'tcx>[src]

impl<'tcx> QueryConfig for associated_items<'tcx>[src]

type Key = DefId

type Value = AssociatedItems<'tcx>

type Stored = <<ArenaCacheSelector<'tcx> as CacheSelector<DefId, AssociatedItems<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for asyncness<'tcx>[src]

type Key = DefId

type Value = IsAsync

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, IsAsync>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for backend_optimization_level<'tcx>[src]

impl<'tcx> QueryConfig for check_impl_item_well_formed<'tcx>[src]

impl<'tcx> QueryConfig for check_item_well_formed<'tcx>[src]

impl<'tcx> QueryConfig for check_match<'tcx>[src]

type Key = DefId

type Value = ()

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, ()>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for check_mod_attrs<'tcx>[src]

impl<'tcx> QueryConfig for check_mod_const_bodies<'tcx>[src]

impl<'tcx> QueryConfig for check_mod_impl_wf<'tcx>[src]

impl<'tcx> QueryConfig for check_mod_intrinsics<'tcx>[src]

impl<'tcx> QueryConfig for check_mod_item_types<'tcx>[src]

impl<'tcx> QueryConfig for check_mod_liveness<'tcx>[src]

impl<'tcx> QueryConfig for check_mod_loops<'tcx>[src]

impl<'tcx> QueryConfig for check_mod_privacy<'tcx>[src]

impl<'tcx> QueryConfig for check_mod_unstable_api_usage<'tcx>[src]

impl<'tcx> QueryConfig for check_private_in_public<'tcx>[src]

type Key = CrateNum

type Value = ()

type Stored = <<<CrateNum as Key>::CacheSelector as CacheSelector<CrateNum, ()>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for check_trait_item_well_formed<'tcx>[src]

impl<'tcx> QueryConfig for codegen_fn_attrs<'tcx>[src]

impl<'tcx> QueryConfig for codegen_fulfill_obligation<'tcx>[src]

type Key = (ParamEnv<'tcx>, PolyTraitRef<'tcx>)

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

type Stored = <<<(ParamEnv<'tcx>, PolyTraitRef<'tcx>) as Key>::CacheSelector as CacheSelector<(ParamEnv<'tcx>, PolyTraitRef<'tcx>), Result<ImplSource<'tcx, ()>, ErrorReported>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for codegen_unit<'tcx>[src]

type Key = Symbol

type Value = &'tcx CodegenUnit<'tcx>

type Stored = <<<Symbol as Key>::CacheSelector as CacheSelector<Symbol, &'tcx CodegenUnit<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for coerce_unsized_info<'tcx>[src]

impl<'tcx> QueryConfig for coherent_trait<'tcx>[src]

type Key = DefId

type Value = ()

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, ()>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for collect_and_partition_mono_items<'tcx>[src]

impl<'tcx> QueryConfig for collect_mod_item_types<'tcx>[src]

impl<'tcx> QueryConfig for const_caller_location<'tcx>[src]

type Key = (Symbol, u32, u32)

type Value = ConstValue<'tcx>

type Stored = <<<(Symbol, u32, u32) as Key>::CacheSelector as CacheSelector<(Symbol, u32, u32), ConstValue<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for coverageinfo<'tcx>[src]

impl<'tcx> QueryConfig for crate_disambiguator<'tcx>[src]

impl<'tcx> QueryConfig for crate_extern_paths<'tcx>[src]

impl<'tcx> QueryConfig for crate_hash<'tcx>[src]

type Key = CrateNum

type Value = Svh

type Stored = <<<CrateNum as Key>::CacheSelector as CacheSelector<CrateNum, Svh>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for crate_host_hash<'tcx>[src]

impl<'tcx> QueryConfig for crate_inherent_impls<'tcx>[src]

impl<'tcx> QueryConfig for crate_inherent_impls_overlap_check<'tcx>[src]

type Key = CrateNum

type Value = ()

type Stored = <<<CrateNum as Key>::CacheSelector as CacheSelector<CrateNum, ()>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for crate_name<'tcx>[src]

impl<'tcx> QueryConfig for crate_variances<'tcx>[src]

impl<'tcx> QueryConfig for def_kind<'tcx>[src]

type Key = DefId

type Value = DefKind

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, DefKind>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for def_span<'tcx>[src]

type Key = DefId

type Value = Span

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, Span>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for defined_lang_items<'tcx>[src]

impl<'tcx> QueryConfig for defined_lib_features<'tcx>[src]

impl<'tcx> QueryConfig for dep_kind<'tcx>[src]

impl<'tcx> QueryConfig for dependency_formats<'tcx>[src]

impl<'tcx> QueryConfig for deref_const<'tcx>[src]

type Key = ParamEnvAnd<'tcx, &'tcx Const<'tcx>>

type Value = &'tcx Const<'tcx>

type Stored = <<<ParamEnvAnd<'tcx, &'tcx Const<'tcx>> as Key>::CacheSelector as CacheSelector<ParamEnvAnd<'tcx, &'tcx Const<'tcx>>, &'tcx Const<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for destructure_const<'tcx>[src]

type Key = ParamEnvAnd<'tcx, &'tcx Const<'tcx>>

type Value = DestructuredConst<'tcx>

type Stored = <<<ParamEnvAnd<'tcx, &'tcx Const<'tcx>> as Key>::CacheSelector as CacheSelector<ParamEnvAnd<'tcx, &'tcx Const<'tcx>>, DestructuredConst<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for diagnostic_items<'tcx>[src]

type Key = CrateNum

type Value = FxHashMap<Symbol, DefId>

type Stored = <<ArenaCacheSelector<'tcx> as CacheSelector<CrateNum, FxHashMap<Symbol, DefId>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for diagnostic_only_typeck<'tcx>[src]

type Key = LocalDefId

type Value = &'tcx TypeckResults<'tcx>

type Stored = <<<LocalDefId as Key>::CacheSelector as CacheSelector<LocalDefId, &'tcx TypeckResults<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for dllimport_foreign_items<'tcx>[src]

type Key = CrateNum

type Value = FxHashSet<DefId>

type Stored = <<ArenaCacheSelector<'tcx> as CacheSelector<CrateNum, FxHashSet<DefId>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for dropck_outlives<'tcx>[src]

impl<'tcx> QueryConfig for dylib_dependency_formats<'tcx>[src]

impl<'tcx> QueryConfig for entry_fn<'tcx>[src]

impl<'tcx> QueryConfig for erase_regions_ty<'tcx>[src]

type Key = Ty<'tcx>

type Value = Ty<'tcx>

type Stored = <<<Ty<'tcx> as Key>::CacheSelector as CacheSelector<Ty<'tcx>, Ty<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for eval_to_allocation_raw<'tcx>[src]

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

type Value = EvalToAllocationRawResult<'tcx>

type Stored = <<<ParamEnvAnd<'tcx, GlobalId<'tcx>> as Key>::CacheSelector as CacheSelector<ParamEnvAnd<'tcx, GlobalId<'tcx>>, EvalToAllocationRawResult<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for eval_to_const_value_raw<'tcx>[src]

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

type Value = EvalToConstValueResult<'tcx>

type Stored = <<<ParamEnvAnd<'tcx, GlobalId<'tcx>> as Key>::CacheSelector as CacheSelector<ParamEnvAnd<'tcx, GlobalId<'tcx>>, EvalToConstValueResult<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for evaluate_goal<'tcx>[src]

impl<'tcx> QueryConfig for evaluate_obligation<'tcx>[src]

impl<'tcx> QueryConfig for explicit_item_bounds<'tcx>[src]

impl<'tcx> QueryConfig for explicit_predicates_of<'tcx>[src]

type Key = DefId

type Value = GenericPredicates<'tcx>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, GenericPredicates<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for expn_that_defined<'tcx>[src]

type Key = DefId

type Value = ExpnId

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, ExpnId>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for exported_symbols<'tcx>[src]

impl<'tcx> QueryConfig for extern_crate<'tcx>[src]

type Key = DefId

type Value = Option<&'tcx ExternCrate>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, Option<&'tcx ExternCrate>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for extern_mod_stmt_cnum<'tcx>[src]

impl<'tcx> QueryConfig for extra_filename<'tcx>[src]

impl<'tcx> QueryConfig for features_query<'tcx>[src]

type Key = CrateNum

type Value = &'tcx Features

type Stored = <<<CrateNum as Key>::CacheSelector as CacheSelector<CrateNum, &'tcx Features>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for fn_arg_names<'tcx>[src]

impl<'tcx> QueryConfig for fn_sig<'tcx>[src]

type Key = DefId

type Value = PolyFnSig<'tcx>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, PolyFnSig<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for foreign_modules<'tcx>[src]

type Key = CrateNum

type Value = Lrc<FxHashMap<DefId, ForeignModule>>

type Stored = <<<CrateNum as Key>::CacheSelector as CacheSelector<CrateNum, Lrc<FxHashMap<DefId, ForeignModule>>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for generator_kind<'tcx>[src]

impl<'tcx> QueryConfig for generics_of<'tcx>[src]

type Key = DefId

type Value = Generics

type Stored = <<ArenaCacheSelector<'tcx> as CacheSelector<DefId, Generics>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for get_lang_items<'tcx>[src]

impl<'tcx> QueryConfig for get_lib_features<'tcx>[src]

impl<'tcx> QueryConfig for has_global_allocator<'tcx>[src]

impl<'tcx> QueryConfig for has_panic_handler<'tcx>[src]

impl<'tcx> QueryConfig for has_structural_eq_impls<'tcx>[src]

type Key = Ty<'tcx>

type Value = bool

type Stored = <<<Ty<'tcx> as Key>::CacheSelector as CacheSelector<Ty<'tcx>, bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for has_typeck_results<'tcx>[src]

type Key = DefId

type Value = bool

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for hir_crate<'tcx>[src]

type Key = CrateNum

type Value = &'tcx Crate<'tcx>

type Stored = <<<CrateNum as Key>::CacheSelector as CacheSelector<CrateNum, &'tcx Crate<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for hir_module_items<'tcx>[src]

impl<'tcx> QueryConfig for hir_owner<'tcx>[src]

type Key = LocalDefId

type Value = Option<&'tcx Owner<'tcx>>

type Stored = <<<LocalDefId as Key>::CacheSelector as CacheSelector<LocalDefId, Option<&'tcx Owner<'tcx>>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for hir_owner_nodes<'tcx>[src]

type Key = LocalDefId

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

type Stored = <<<LocalDefId as Key>::CacheSelector as CacheSelector<LocalDefId, Option<&'tcx OwnerNodes<'tcx>>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for impl_defaultness<'tcx>[src]

impl<'tcx> QueryConfig for impl_parent<'tcx>[src]

type Key = DefId

type Value = Option<DefId>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, Option<DefId>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for impl_polarity<'tcx>[src]

impl<'tcx> QueryConfig for impl_trait_ref<'tcx>[src]

type Key = DefId

type Value = Option<TraitRef<'tcx>>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, Option<TraitRef<'tcx>>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for implementations_of_trait<'tcx>[src]

impl<'tcx> QueryConfig for implied_outlives_bounds<'tcx>[src]

type Key = CanonicalTyGoal<'tcx>

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

type Stored = <<<CanonicalTyGoal<'tcx> as Key>::CacheSelector as CacheSelector<CanonicalTyGoal<'tcx>, Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, Vec<OutlivesBound<'tcx>>>>, NoSolution>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for in_scope_traits_map<'tcx>[src]

impl<'tcx> QueryConfig for index_hir<'tcx>[src]

type Key = CrateNum

type Value = &'tcx IndexedHir<'tcx>

type Stored = <<<CrateNum as Key>::CacheSelector as CacheSelector<CrateNum, &'tcx IndexedHir<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for inferred_outlives_crate<'tcx>[src]

impl<'tcx> QueryConfig for inferred_outlives_of<'tcx>[src]

impl<'tcx> QueryConfig for inherent_impls<'tcx>[src]

impl<'tcx> QueryConfig for instance_def_size_estimate<'tcx>[src]

type Key = InstanceDef<'tcx>

type Value = usize

type Stored = <<<InstanceDef<'tcx> as Key>::CacheSelector as CacheSelector<InstanceDef<'tcx>, usize>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for is_codegened_item<'tcx>[src]

type Key = DefId

type Value = bool

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for is_compiler_builtins<'tcx>[src]

impl<'tcx> QueryConfig for is_const_fn_raw<'tcx>[src]

type Key = DefId

type Value = bool

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for is_const_impl_raw<'tcx>[src]

type Key = DefId

type Value = bool

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for is_copy_raw<'tcx>[src]

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

type Value = bool

type Stored = <<<ParamEnvAnd<'tcx, Ty<'tcx>> as Key>::CacheSelector as CacheSelector<ParamEnvAnd<'tcx, Ty<'tcx>>, bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for is_dllimport_foreign_item<'tcx>[src]

type Key = DefId

type Value = bool

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for is_foreign_item<'tcx>[src]

type Key = DefId

type Value = bool

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for is_freeze_raw<'tcx>[src]

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

type Value = bool

type Stored = <<<ParamEnvAnd<'tcx, Ty<'tcx>> as Key>::CacheSelector as CacheSelector<ParamEnvAnd<'tcx, Ty<'tcx>>, bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for is_late_bound_map<'tcx>[src]

type Key = LocalDefId

type Value = Option<&'tcx FxHashSet<ItemLocalId>>

type Stored = <<<LocalDefId as Key>::CacheSelector as CacheSelector<LocalDefId, Option<&'tcx FxHashSet<ItemLocalId>>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for is_mir_available<'tcx>[src]

type Key = DefId

type Value = bool

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for is_no_builtins<'tcx>[src]

impl<'tcx> QueryConfig for is_panic_runtime<'tcx>[src]

impl<'tcx> QueryConfig for is_profiler_runtime<'tcx>[src]

impl<'tcx> QueryConfig for is_promotable_const_fn<'tcx>[src]

type Key = DefId

type Value = bool

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for is_reachable_non_generic<'tcx>[src]

type Key = DefId

type Value = bool

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for is_sized_raw<'tcx>[src]

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

type Value = bool

type Stored = <<<ParamEnvAnd<'tcx, Ty<'tcx>> as Key>::CacheSelector as CacheSelector<ParamEnvAnd<'tcx, Ty<'tcx>>, bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for is_statically_included_foreign_item<'tcx>[src]

type Key = DefId

type Value = bool

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for is_unreachable_local_definition<'tcx>[src]

type Key = DefId

type Value = bool

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for issue33140_self_ty<'tcx>[src]

type Key = DefId

type Value = Option<Ty<'tcx>>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, Option<Ty<'tcx>>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for item_attrs<'tcx>[src]

impl<'tcx> QueryConfig for item_bounds<'tcx>[src]

type Key = DefId

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

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, &'tcx List<Predicate<'tcx>>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for item_children<'tcx>[src]

impl<'tcx> QueryConfig for layout_raw<'tcx>[src]

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

type Value = Result<&'tcx Layout, LayoutError<'tcx>>

type Stored = <<<ParamEnvAnd<'tcx, Ty<'tcx>> as Key>::CacheSelector as CacheSelector<ParamEnvAnd<'tcx, Ty<'tcx>>, Result<&'tcx Layout, LayoutError<'tcx>>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for link_args<'tcx>[src]

impl<'tcx> QueryConfig for lint_levels<'tcx>[src]

impl<'tcx> QueryConfig for lint_mod<'tcx>[src]

impl<'tcx> QueryConfig for lit_to_const<'tcx>[src]

type Key = LitToConstInput<'tcx>

type Value = Result<&'tcx Const<'tcx>, LitToConstError>

type Stored = <<<LitToConstInput<'tcx> as Key>::CacheSelector as CacheSelector<LitToConstInput<'tcx>, Result<&'tcx Const<'tcx>, LitToConstError>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for lookup_const_stability<'tcx>[src]

type Key = DefId

type Value = Option<&'tcx ConstStability>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, Option<&'tcx ConstStability>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for lookup_deprecation_entry<'tcx>[src]

impl<'tcx> QueryConfig for lookup_stability<'tcx>[src]

type Key = DefId

type Value = Option<&'tcx Stability>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, Option<&'tcx Stability>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for maybe_unused_extern_crates<'tcx>[src]

impl<'tcx> QueryConfig for maybe_unused_trait_import<'tcx>[src]

impl<'tcx> QueryConfig for method_autoderef_steps<'tcx>[src]

impl<'tcx> QueryConfig for mir_abstract_const<'tcx>[src]

impl<'tcx> QueryConfig for mir_abstract_const_of_const_arg<'tcx>[src]

impl<'tcx> QueryConfig for mir_borrowck<'tcx>[src]

type Key = LocalDefId

type Value = &'tcx BorrowCheckResult<'tcx>

type Stored = <<<LocalDefId as Key>::CacheSelector as CacheSelector<LocalDefId, &'tcx BorrowCheckResult<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for mir_borrowck_const_arg<'tcx>[src]

impl<'tcx> QueryConfig for mir_built<'tcx>[src]

impl<'tcx> QueryConfig for mir_const<'tcx>[src]

impl<'tcx> QueryConfig for mir_const_qualif<'tcx>[src]

impl<'tcx> QueryConfig for mir_const_qualif_const_arg<'tcx>[src]

impl<'tcx> QueryConfig for mir_drops_elaborated_and_const_checked<'tcx>[src]

impl<'tcx> QueryConfig for mir_keys<'tcx>[src]

type Key = CrateNum

type Value = FxHashSet<LocalDefId>

type Stored = <<ArenaCacheSelector<'tcx> as CacheSelector<CrateNum, FxHashSet<LocalDefId>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for mir_promoted<'tcx>[src]

impl<'tcx> QueryConfig for mir_shims<'tcx>[src]

type Key = InstanceDef<'tcx>

type Value = Body<'tcx>

type Stored = <<ArenaCacheSelector<'tcx> as CacheSelector<InstanceDef<'tcx>, Body<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for missing_extern_crate_item<'tcx>[src]

impl<'tcx> QueryConfig for missing_lang_items<'tcx>[src]

impl<'tcx> QueryConfig for module_exports<'tcx>[src]

impl<'tcx> QueryConfig for named_region_map<'tcx>[src]

type Key = LocalDefId

type Value = Option<&'tcx FxHashMap<ItemLocalId, Region>>

type Stored = <<<LocalDefId as Key>::CacheSelector as CacheSelector<LocalDefId, Option<&'tcx FxHashMap<ItemLocalId, Region>>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for names_imported_by_glob_use<'tcx>[src]

type Key = LocalDefId

type Value = &'tcx FxHashSet<Symbol>

type Stored = <<<LocalDefId as Key>::CacheSelector as CacheSelector<LocalDefId, &'tcx FxHashSet<Symbol>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for native_libraries<'tcx>[src]

impl<'tcx> QueryConfig for native_library_kind<'tcx>[src]

impl<'tcx> QueryConfig for needs_drop_raw<'tcx>[src]

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

type Value = bool

type Stored = <<<ParamEnvAnd<'tcx, Ty<'tcx>> as Key>::CacheSelector as CacheSelector<ParamEnvAnd<'tcx, Ty<'tcx>>, bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for normalize_generic_arg_after_erasing_regions<'tcx>[src]

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

type Value = GenericArg<'tcx>

type Stored = <<<ParamEnvAnd<'tcx, GenericArg<'tcx>> as Key>::CacheSelector as CacheSelector<ParamEnvAnd<'tcx, GenericArg<'tcx>>, GenericArg<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for normalize_opaque_types<'tcx>[src]

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

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

type Stored = <<<&'tcx List<Predicate<'tcx>> as Key>::CacheSelector as CacheSelector<&'tcx List<Predicate<'tcx>>, &'tcx List<Predicate<'tcx>>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for normalize_projection_ty<'tcx>[src]

impl<'tcx> QueryConfig for object_lifetime_defaults_map<'tcx>[src]

impl<'tcx> QueryConfig for object_safety_violations<'tcx>[src]

impl<'tcx> QueryConfig for opt_const_param_of<'tcx>[src]

impl<'tcx> QueryConfig for optimized_mir<'tcx>[src]

type Key = DefId

type Value = &'tcx Body<'tcx>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, &'tcx Body<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for optimized_mir_of_const_arg<'tcx>[src]

type Key = (LocalDefId, DefId)

type Value = &'tcx Body<'tcx>

type Stored = <<<(LocalDefId, DefId) as Key>::CacheSelector as CacheSelector<(LocalDefId, DefId), &'tcx Body<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for original_crate_name<'tcx>[src]

impl<'tcx> QueryConfig for output_filenames<'tcx>[src]

impl<'tcx> QueryConfig for panic_strategy<'tcx>[src]

impl<'tcx> QueryConfig for param_env<'tcx>[src]

type Key = DefId

type Value = ParamEnv<'tcx>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, ParamEnv<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for param_env_reveal_all_normalized<'tcx>[src]

type Key = DefId

type Value = ParamEnv<'tcx>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, ParamEnv<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for parent_module_from_def_id<'tcx>[src]

impl<'tcx> QueryConfig for plugin_registrar_fn<'tcx>[src]

impl<'tcx> QueryConfig for postorder_cnums<'tcx>[src]

impl<'tcx> QueryConfig for predicates_defined_on<'tcx>[src]

type Key = DefId

type Value = GenericPredicates<'tcx>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, GenericPredicates<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for predicates_of<'tcx>[src]

type Key = DefId

type Value = GenericPredicates<'tcx>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, GenericPredicates<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for privacy_access_levels<'tcx>[src]

type Key = CrateNum

type Value = &'tcx AccessLevels

type Stored = <<<CrateNum as Key>::CacheSelector as CacheSelector<CrateNum, &'tcx AccessLevels>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for proc_macro_decls_static<'tcx>[src]

impl<'tcx> QueryConfig for projection_ty_from_predicates<'tcx>[src]

impl<'tcx> QueryConfig for promoted_mir<'tcx>[src]

type Key = DefId

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

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, &'tcx IndexVec<Promoted, Body<'tcx>>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for promoted_mir_of_const_arg<'tcx>[src]

impl<'tcx> QueryConfig for reachable_non_generics<'tcx>[src]

impl<'tcx> QueryConfig for reachable_set<'tcx>[src]

type Key = CrateNum

type Value = FxHashSet<LocalDefId>

type Stored = <<ArenaCacheSelector<'tcx> as CacheSelector<CrateNum, FxHashSet<LocalDefId>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for region_scope_tree<'tcx>[src]

type Key = DefId

type Value = &'tcx ScopeTree

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, &'tcx ScopeTree>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for rendered_const<'tcx>[src]

type Key = DefId

type Value = String

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, String>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for resolve_instance<'tcx>[src]

impl<'tcx> QueryConfig for resolve_instance_of_const_arg<'tcx>[src]

impl<'tcx> QueryConfig for resolve_lifetimes<'tcx>[src]

impl<'tcx> QueryConfig for specialization_graph_of<'tcx>[src]

type Key = DefId

type Value = Graph

type Stored = <<ArenaCacheSelector<'tcx> as CacheSelector<DefId, Graph>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for specializes<'tcx>[src]

impl<'tcx> QueryConfig for stability_index<'tcx>[src]

type Key = CrateNum

type Value = Index<'tcx>

type Stored = <<ArenaCacheSelector<'tcx> as CacheSelector<CrateNum, Index<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for static_mutability<'tcx>[src]

impl<'tcx> QueryConfig for subst_and_check_impossible_predicates<'tcx>[src]

type Key = (DefId, SubstsRef<'tcx>)

type Value = bool

type Stored = <<<(DefId, SubstsRef<'tcx>) as Key>::CacheSelector as CacheSelector<(DefId, SubstsRef<'tcx>), bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for super_predicates_of<'tcx>[src]

type Key = DefId

type Value = GenericPredicates<'tcx>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, GenericPredicates<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for supported_target_features<'tcx>[src]

type Key = CrateNum

type Value = FxHashMap<String, Option<Symbol>>

type Stored = <<ArenaCacheSelector<'tcx> as CacheSelector<CrateNum, FxHashMap<String, Option<Symbol>>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for symbol_mangling_version<'tcx>[src]

impl<'tcx> QueryConfig for symbol_name<'tcx>[src]

type Key = Instance<'tcx>

type Value = SymbolName<'tcx>

type Stored = <<<Instance<'tcx> as Key>::CacheSelector as CacheSelector<Instance<'tcx>, SymbolName<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for trait_def<'tcx>[src]

type Key = DefId

type Value = TraitDef

type Stored = <<ArenaCacheSelector<'tcx> as CacheSelector<DefId, TraitDef>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for trait_explicit_predicates_and_bounds<'tcx>[src]

impl<'tcx> QueryConfig for trait_impls_of<'tcx>[src]

impl<'tcx> QueryConfig for trait_of_item<'tcx>[src]

type Key = DefId

type Value = Option<DefId>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, Option<DefId>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for trigger_delay_span_bug<'tcx>[src]

type Key = DefId

type Value = ()

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, ()>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for trimmed_def_paths<'tcx>[src]

type Key = CrateNum

type Value = FxHashMap<DefId, Symbol>

type Stored = <<ArenaCacheSelector<'tcx> as CacheSelector<CrateNum, FxHashMap<DefId, Symbol>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for try_unify_abstract_consts<'tcx>[src]

impl<'tcx> QueryConfig for type_implements_trait<'tcx>[src]

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

type Value = bool

type Stored = <<<(DefId, Ty<'tcx>, SubstsRef<'tcx>, ParamEnv<'tcx>) as Key>::CacheSelector as CacheSelector<(DefId, Ty<'tcx>, SubstsRef<'tcx>, ParamEnv<'tcx>), bool>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for type_of<'tcx>[src]

type Key = DefId

type Value = Ty<'tcx>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, Ty<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for type_op_ascribe_user_type<'tcx>[src]

impl<'tcx> QueryConfig for type_op_eq<'tcx>[src]

impl<'tcx> QueryConfig for type_op_normalize_fn_sig<'tcx>[src]

type Key = CanonicalTypeOpNormalizeGoal<'tcx, FnSig<'tcx>>

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

type Stored = <<<CanonicalTypeOpNormalizeGoal<'tcx, FnSig<'tcx>> as Key>::CacheSelector as CacheSelector<CanonicalTypeOpNormalizeGoal<'tcx, FnSig<'tcx>>, Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, FnSig<'tcx>>>, NoSolution>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for type_op_normalize_poly_fn_sig<'tcx>[src]

impl<'tcx> QueryConfig for type_op_normalize_predicate<'tcx>[src]

impl<'tcx> QueryConfig for type_op_normalize_ty<'tcx>[src]

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

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

type Stored = <<<CanonicalTypeOpNormalizeGoal<'tcx, Ty<'tcx>> as Key>::CacheSelector as CacheSelector<CanonicalTypeOpNormalizeGoal<'tcx, Ty<'tcx>>, Result<&'tcx Canonical<'tcx, QueryResponse<'tcx, Ty<'tcx>>>, NoSolution>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for type_op_prove_predicate<'tcx>[src]

impl<'tcx> QueryConfig for type_op_subtype<'tcx>[src]

impl<'tcx> QueryConfig for type_param_predicates<'tcx>[src]

impl<'tcx> QueryConfig for typeck<'tcx>[src]

type Key = LocalDefId

type Value = &'tcx TypeckResults<'tcx>

type Stored = <<<LocalDefId as Key>::CacheSelector as CacheSelector<LocalDefId, &'tcx TypeckResults<'tcx>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for typeck_const_arg<'tcx>[src]

impl<'tcx> QueryConfig for typeck_item_bodies<'tcx>[src]

type Key = CrateNum

type Value = ()

type Stored = <<<CrateNum as Key>::CacheSelector as CacheSelector<CrateNum, ()>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for unsafe_derive_on_repr_packed<'tcx>[src]

impl<'tcx> QueryConfig for unsafety_check_result<'tcx>[src]

impl<'tcx> QueryConfig for unsafety_check_result_for_const_arg<'tcx>[src]

impl<'tcx> QueryConfig for unused_generic_params<'tcx>[src]

impl<'tcx> QueryConfig for upstream_drop_glue_for<'tcx>[src]

type Key = SubstsRef<'tcx>

type Value = Option<CrateNum>

type Stored = <<<SubstsRef<'tcx> as Key>::CacheSelector as CacheSelector<SubstsRef<'tcx>, Option<CrateNum>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for upstream_monomorphizations<'tcx>[src]

type Key = CrateNum

type Value = DefIdMap<FxHashMap<SubstsRef<'tcx>, CrateNum>>

type Stored = <<ArenaCacheSelector<'tcx> as CacheSelector<CrateNum, DefIdMap<FxHashMap<SubstsRef<'tcx>, CrateNum>>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for upstream_monomorphizations_for<'tcx>[src]

type Key = DefId

type Value = Option<&'tcx FxHashMap<SubstsRef<'tcx>, CrateNum>>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, Option<&'tcx FxHashMap<SubstsRef<'tcx>, CrateNum>>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for upvars_mentioned<'tcx>[src]

type Key = DefId

type Value = Option<&'tcx FxIndexMap<HirId, Upvar>>

type Stored = <<<DefId as Key>::CacheSelector as CacheSelector<DefId, Option<&'tcx FxIndexMap<HirId, Upvar>>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for used_crate_source<'tcx>[src]

impl<'tcx> QueryConfig for used_trait_imports<'tcx>[src]

type Key = LocalDefId

type Value = &'tcx FxHashSet<LocalDefId>

type Stored = <<<LocalDefId as Key>::CacheSelector as CacheSelector<LocalDefId, &'tcx FxHashSet<LocalDefId>>>::Cache as QueryStorage>::Stored

impl<'tcx> QueryConfig for variances_of<'tcx>[src]

impl<'tcx> QueryConfig for visibility<'tcx>[src]

impl<'tcx> QueryConfig for visible_parent_map<'tcx>[src]

impl<'tcx> QueryConfig for vtable_methods<'tcx>[src]

impl<'tcx> QueryConfig for wasm_import_module_map<'tcx>[src]

type Key = CrateNum

type Value = FxHashMap<DefId, String>

type Stored = <<ArenaCacheSelector<'tcx> as CacheSelector<CrateNum, FxHashMap<DefId, String>>>::Cache as QueryStorage>::Stored

Loading content...