Trait rustc::ty::maps::QueryConfig
[−]
[src]
pub trait QueryConfig { type Key: Eq + Hash + Clone; type Value; }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Query configuration and description traits.
Associated Types
type Key: Eq + Hash + Clone
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
type Value
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Implementors
impl<'tcx> QueryConfig for type_of<'tcx> type Key = DefId; type Value = Ty<'tcx>;
impl<'tcx> QueryConfig for generics_of<'tcx> type Key = DefId; type Value = &'tcx Generics;
impl<'tcx> QueryConfig for predicates_of<'tcx> type Key = DefId; type Value = GenericPredicates<'tcx>;
impl<'tcx> QueryConfig for super_predicates_of<'tcx> type Key = DefId; type Value = GenericPredicates<'tcx>;
impl<'tcx> QueryConfig for type_param_predicates<'tcx> type Key = (DefId, DefId); type Value = GenericPredicates<'tcx>;
impl<'tcx> QueryConfig for trait_def<'tcx> type Key = DefId; type Value = &'tcx TraitDef;
impl<'tcx> QueryConfig for adt_def<'tcx> type Key = DefId; type Value = &'tcx AdtDef;
impl<'tcx> QueryConfig for adt_destructor<'tcx> type Key = DefId; type Value = Option<Destructor>;
impl<'tcx> QueryConfig for adt_sized_constraint<'tcx> type Key = DefId; type Value = &'tcx [Ty<'tcx>];
impl<'tcx> QueryConfig for adt_dtorck_constraint<'tcx> type Key = DefId; type Value = DtorckConstraint<'tcx>;
impl<'tcx> QueryConfig for is_const_fn<'tcx> type Key = DefId; type Value = bool;
impl<'tcx> QueryConfig for is_foreign_item<'tcx> type Key = DefId; type Value = bool;
impl<'tcx> QueryConfig for is_auto_impl<'tcx> type Key = DefId; type Value = bool;
impl<'tcx> QueryConfig for crate_variances<'tcx> type Key = CrateNum; type Value = Rc<CrateVariancesMap>;
impl<'tcx> QueryConfig for variances_of<'tcx> type Key = DefId; type Value = Rc<Vec<Variance>>;
impl<'tcx> QueryConfig for inferred_outlives_of<'tcx> type Key = DefId; type Value = Vec<Predicate<'tcx>>;
impl<'tcx> QueryConfig for associated_item_def_ids<'tcx> type Key = DefId; type Value = Rc<Vec<DefId>>;
impl<'tcx> QueryConfig for associated_item<'tcx> type Key = DefId; type Value = AssociatedItem;
impl<'tcx> QueryConfig for impl_trait_ref<'tcx> type Key = DefId; type Value = Option<TraitRef<'tcx>>;
impl<'tcx> QueryConfig for impl_polarity<'tcx> type Key = DefId; type Value = ImplPolarity;
impl<'tcx> QueryConfig for inherent_impls<'tcx> type Key = DefId; type Value = Rc<Vec<DefId>>;
impl<'tcx> QueryConfig for mir_keys<'tcx> type Key = CrateNum; type Value = Rc<DefIdSet>;
impl<'tcx> QueryConfig for mir_const_qualif<'tcx> type Key = DefId; type Value = (u8, Rc<IdxSetBuf<Local>>);
impl<'tcx> QueryConfig for mir_built<'tcx> type Key = DefId; type Value = &'tcx Steal<Mir<'tcx>>;
impl<'tcx> QueryConfig for mir_const<'tcx> type Key = DefId; type Value = &'tcx Steal<Mir<'tcx>>;
impl<'tcx> QueryConfig for mir_validated<'tcx> type Key = DefId; type Value = &'tcx Steal<Mir<'tcx>>;
impl<'tcx> QueryConfig for optimized_mir<'tcx> type Key = DefId; type Value = &'tcx Mir<'tcx>;
impl<'tcx> QueryConfig for unsafety_check_result<'tcx> type Key = DefId; type Value = UnsafetyCheckResult;
impl<'tcx> QueryConfig for unsafe_derive_on_repr_packed<'tcx> type Key = DefId; type Value = ();
impl<'tcx> QueryConfig for fn_sig<'tcx> type Key = DefId; type Value = PolyFnSig<'tcx>;
impl<'tcx> QueryConfig for coerce_unsized_info<'tcx> type Key = DefId; type Value = CoerceUnsizedInfo;
impl<'tcx> QueryConfig for typeck_item_bodies<'tcx> type Key = CrateNum; type Value = CompileResult;
impl<'tcx> QueryConfig for typeck_tables_of<'tcx> type Key = DefId; type Value = &'tcx TypeckTables<'tcx>;
impl<'tcx> QueryConfig for used_trait_imports<'tcx> type Key = DefId; type Value = Rc<DefIdSet>;
impl<'tcx> QueryConfig for has_typeck_tables<'tcx> type Key = DefId; type Value = bool;
impl<'tcx> QueryConfig for coherent_trait<'tcx> type Key = (CrateNum, DefId); type Value = ();
impl<'tcx> QueryConfig for borrowck<'tcx> type Key = DefId; type Value = Rc<BorrowCheckResult>;
impl<'tcx> QueryConfig for mir_borrowck<'tcx> type Key = DefId; type Value = Option<ClosureRegionRequirements>;
impl<'tcx> QueryConfig for crate_inherent_impls<'tcx> type Key = CrateNum; type Value = CrateInherentImpls;
impl<'tcx> QueryConfig for crate_inherent_impls_overlap_check<'tcx> type Key = CrateNum; type Value = ();
impl<'tcx> QueryConfig for const_eval<'tcx> type Key = ParamEnvAnd<'tcx, (DefId, &'tcx Substs<'tcx>)>; type Value = EvalResult<'tcx>;
impl<'tcx> QueryConfig for check_match<'tcx> type Key = DefId; type Value = Result<(), ErrorReported>;
impl<'tcx> QueryConfig for privacy_access_levels<'tcx> type Key = CrateNum; type Value = Rc<AccessLevels>;
impl<'tcx> QueryConfig for reachable_set<'tcx> type Key = CrateNum; type Value = ReachableSet;
impl<'tcx> QueryConfig for region_scope_tree<'tcx> type Key = DefId; type Value = Rc<ScopeTree>;
impl<'tcx> QueryConfig for mir_shims<'tcx> type Key = InstanceDef<'tcx>; type Value = &'tcx Mir<'tcx>;
impl<'tcx> QueryConfig for def_symbol_name<'tcx> type Key = DefId; type Value = SymbolName;
impl<'tcx> QueryConfig for symbol_name<'tcx> type Key = Instance<'tcx>; type Value = SymbolName;
impl<'tcx> QueryConfig for describe_def<'tcx> type Key = DefId; type Value = Option<Def>;
impl<'tcx> QueryConfig for def_span<'tcx> type Key = DefId; type Value = Span;
impl<'tcx> QueryConfig for lookup_stability<'tcx> type Key = DefId; type Value = Option<&'tcx Stability>;
impl<'tcx> QueryConfig for lookup_deprecation_entry<'tcx> type Key = DefId; type Value = Option<DeprecationEntry>;
impl<'tcx> QueryConfig for item_attrs<'tcx> type Key = DefId; type Value = Rc<[Attribute]>;
impl<'tcx> QueryConfig for fn_arg_names<'tcx> type Key = DefId; type Value = Vec<Name>;
impl<'tcx> QueryConfig for impl_parent<'tcx> type Key = DefId; type Value = Option<DefId>;
impl<'tcx> QueryConfig for trait_of_item<'tcx> type Key = DefId; type Value = Option<DefId>;
impl<'tcx> QueryConfig for is_exported_symbol<'tcx> type Key = DefId; type Value = bool;
impl<'tcx> QueryConfig for item_body_nested_bodies<'tcx> type Key = DefId; type Value = ExternBodyNestedBodies;
impl<'tcx> QueryConfig for const_is_rvalue_promotable_to_static<'tcx> type Key = DefId; type Value = bool;
impl<'tcx> QueryConfig for rvalue_promotable_map<'tcx> type Key = DefId; type Value = Rc<ItemLocalSet>;
impl<'tcx> QueryConfig for is_mir_available<'tcx> type Key = DefId; type Value = bool;
impl<'tcx> QueryConfig for vtable_methods<'tcx> type Key = PolyTraitRef<'tcx>; type Value = Rc<Vec<Option<(DefId, &'tcx Substs<'tcx>)>>>;
impl<'tcx> QueryConfig for trans_fulfill_obligation<'tcx> type Key = (ParamEnv<'tcx>, PolyTraitRef<'tcx>); type Value = Vtable<'tcx, ()>;
impl<'tcx> QueryConfig for trait_impls_of<'tcx> type Key = DefId; type Value = Rc<TraitImpls>;
impl<'tcx> QueryConfig for specialization_graph_of<'tcx> type Key = DefId; type Value = Rc<Graph>;
impl<'tcx> QueryConfig for is_object_safe<'tcx> type Key = DefId; type Value = bool;
impl<'tcx> QueryConfig for param_env<'tcx> type Key = DefId; type Value = ParamEnv<'tcx>;
impl<'tcx> QueryConfig for is_copy_raw<'tcx> type Key = ParamEnvAnd<'tcx, Ty<'tcx>>; type Value = bool;
impl<'tcx> QueryConfig for is_sized_raw<'tcx> type Key = ParamEnvAnd<'tcx, Ty<'tcx>>; type Value = bool;
impl<'tcx> QueryConfig for is_freeze_raw<'tcx> type Key = ParamEnvAnd<'tcx, Ty<'tcx>>; type Value = bool;
impl<'tcx> QueryConfig for needs_drop_raw<'tcx> type Key = ParamEnvAnd<'tcx, Ty<'tcx>>; type Value = bool;
impl<'tcx> QueryConfig for layout_raw<'tcx> type Key = ParamEnvAnd<'tcx, Ty<'tcx>>; type Value = Result<&'tcx LayoutDetails, LayoutError<'tcx>>;
impl<'tcx> QueryConfig for dylib_dependency_formats<'tcx> type Key = CrateNum; type Value = Rc<Vec<(CrateNum, LinkagePreference)>>;
impl<'tcx> QueryConfig for is_panic_runtime<'tcx> type Key = CrateNum; type Value = bool;
impl<'tcx> QueryConfig for is_compiler_builtins<'tcx> type Key = CrateNum; type Value = bool;
impl<'tcx> QueryConfig for has_global_allocator<'tcx> type Key = CrateNum; type Value = bool;
impl<'tcx> QueryConfig for is_sanitizer_runtime<'tcx> type Key = CrateNum; type Value = bool;
impl<'tcx> QueryConfig for is_profiler_runtime<'tcx> type Key = CrateNum; type Value = bool;
impl<'tcx> QueryConfig for panic_strategy<'tcx> type Key = CrateNum; type Value = PanicStrategy;
impl<'tcx> QueryConfig for is_no_builtins<'tcx> type Key = CrateNum; type Value = bool;
impl<'tcx> QueryConfig for extern_crate<'tcx> type Key = DefId; type Value = Rc<Option<ExternCrate>>;
impl<'tcx> QueryConfig for specializes<'tcx> type Key = (DefId, DefId); type Value = bool;
impl<'tcx> QueryConfig for in_scope_traits_map<'tcx> type Key = DefIndex; type Value = Option<Rc<FxHashMap<ItemLocalId, Rc<StableVec<TraitCandidate>>>>>;
impl<'tcx> QueryConfig for module_exports<'tcx> type Key = DefId; type Value = Option<Rc<Vec<Export>>>;
impl<'tcx> QueryConfig for lint_levels<'tcx> type Key = CrateNum; type Value = Rc<LintLevelMap>;
impl<'tcx> QueryConfig for impl_defaultness<'tcx> type Key = DefId; type Value = Defaultness;
impl<'tcx> QueryConfig for exported_symbol_ids<'tcx> type Key = CrateNum; type Value = Rc<DefIdSet>;
impl<'tcx> QueryConfig for native_libraries<'tcx> type Key = CrateNum; type Value = Rc<Vec<NativeLibrary>>;
impl<'tcx> QueryConfig for plugin_registrar_fn<'tcx> type Key = CrateNum; type Value = Option<DefId>;
impl<'tcx> QueryConfig for derive_registrar_fn<'tcx> type Key = CrateNum; type Value = Option<DefId>;
impl<'tcx> QueryConfig for crate_disambiguator<'tcx> type Key = CrateNum; type Value = CrateDisambiguator;
impl<'tcx> QueryConfig for crate_hash<'tcx> type Key = CrateNum; type Value = Svh;
impl<'tcx> QueryConfig for original_crate_name<'tcx> type Key = CrateNum; type Value = Symbol;
impl<'tcx> QueryConfig for implementations_of_trait<'tcx> type Key = (CrateNum, DefId); type Value = Rc<Vec<DefId>>;
impl<'tcx> QueryConfig for all_trait_implementations<'tcx> type Key = CrateNum; type Value = Rc<Vec<DefId>>;
impl<'tcx> QueryConfig for is_dllimport_foreign_item<'tcx> type Key = DefId; type Value = bool;
impl<'tcx> QueryConfig for is_statically_included_foreign_item<'tcx> type Key = DefId; type Value = bool;
impl<'tcx> QueryConfig for native_library_kind<'tcx> type Key = DefId; type Value = Option<NativeLibraryKind>;
impl<'tcx> QueryConfig for link_args<'tcx> type Key = CrateNum; type Value = Rc<Vec<String>>;
impl<'tcx> QueryConfig for resolve_lifetimes<'tcx> type Key = CrateNum; type Value = Rc<ResolveLifetimes>;
impl<'tcx> QueryConfig for named_region_map<'tcx> type Key = DefIndex; type Value = Option<Rc<FxHashMap<ItemLocalId, Region>>>;
impl<'tcx> QueryConfig for is_late_bound_map<'tcx> type Key = DefIndex; type Value = Option<Rc<FxHashSet<ItemLocalId>>>;
impl<'tcx> QueryConfig for object_lifetime_defaults_map<'tcx> type Key = DefIndex; type Value = Option<Rc<FxHashMap<ItemLocalId, Rc<Vec<ObjectLifetimeDefault>>>>>;
impl<'tcx> QueryConfig for visibility<'tcx> type Key = DefId; type Value = Visibility;
impl<'tcx> QueryConfig for dep_kind<'tcx> type Key = CrateNum; type Value = DepKind;
impl<'tcx> QueryConfig for crate_name<'tcx> type Key = CrateNum; type Value = Symbol;
impl<'tcx> QueryConfig for item_children<'tcx> type Key = DefId; type Value = Rc<Vec<Export>>;
impl<'tcx> QueryConfig for extern_mod_stmt_cnum<'tcx> type Key = DefId; type Value = Option<CrateNum>;
impl<'tcx> QueryConfig for get_lang_items<'tcx> type Key = CrateNum; type Value = Rc<LanguageItems>;
impl<'tcx> QueryConfig for defined_lang_items<'tcx> type Key = CrateNum; type Value = Rc<Vec<(DefId, usize)>>;
impl<'tcx> QueryConfig for missing_lang_items<'tcx> type Key = CrateNum; type Value = Rc<Vec<LangItem>>;
impl<'tcx> QueryConfig for extern_const_body<'tcx> type Key = DefId; type Value = ExternConstBody<'tcx>;
impl<'tcx> QueryConfig for visible_parent_map<'tcx> type Key = CrateNum; type Value = Rc<DefIdMap<DefId>>;
impl<'tcx> QueryConfig for missing_extern_crate_item<'tcx> type Key = CrateNum; type Value = bool;
impl<'tcx> QueryConfig for used_crate_source<'tcx> type Key = CrateNum; type Value = Rc<CrateSource>;
impl<'tcx> QueryConfig for postorder_cnums<'tcx> type Key = CrateNum; type Value = Rc<Vec<CrateNum>>;
impl<'tcx> QueryConfig for freevars<'tcx> type Key = DefId; type Value = Option<Rc<Vec<Freevar>>>;
impl<'tcx> QueryConfig for maybe_unused_trait_import<'tcx> type Key = DefId; type Value = bool;
impl<'tcx> QueryConfig for maybe_unused_extern_crates<'tcx> type Key = CrateNum; type Value = Rc<Vec<(DefId, Span)>>;
impl<'tcx> QueryConfig for stability_index<'tcx> type Key = CrateNum; type Value = Rc<Index<'tcx>>;
impl<'tcx> QueryConfig for all_crate_nums<'tcx> type Key = CrateNum; type Value = Rc<Vec<CrateNum>>;
impl<'tcx> QueryConfig for exported_symbols<'tcx> type Key = CrateNum; type Value = Arc<Vec<(String, Option<DefId>, SymbolExportLevel)>>;
impl<'tcx> QueryConfig for collect_and_partition_translation_items<'tcx> type Key = CrateNum; type Value = (Arc<DefIdSet>, Arc<Vec<Arc<CodegenUnit<'tcx>>>>);
impl<'tcx> QueryConfig for export_name<'tcx> type Key = DefId; type Value = Option<Symbol>;
impl<'tcx> QueryConfig for contains_extern_indicator<'tcx> type Key = DefId; type Value = bool;
impl<'tcx> QueryConfig for is_translated_function<'tcx> type Key = DefId; type Value = bool;
impl<'tcx> QueryConfig for codegen_unit<'tcx> type Key = InternedString; type Value = Arc<CodegenUnit<'tcx>>;
impl<'tcx> QueryConfig for compile_codegen_unit<'tcx> type Key = InternedString; type Value = Stats;
impl<'tcx> QueryConfig for output_filenames<'tcx> type Key = CrateNum; type Value = Arc<OutputFilenames>;
impl<'tcx> QueryConfig for has_copy_closures<'tcx> type Key = CrateNum; type Value = bool;
impl<'tcx> QueryConfig for has_clone_closures<'tcx> type Key = CrateNum; type Value = bool;
impl<'tcx> QueryConfig for erase_regions_ty<'tcx> type Key = Ty<'tcx>; type Value = Ty<'tcx>;
impl<'tcx> QueryConfig for fully_normalize_monormophic_ty<'tcx> type Key = Ty<'tcx>; type Value = Ty<'tcx>;