Trait rustc::ty::maps::QueryConfig
[−]
[src]
🔬 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 = Result<DtorckConstraint<'tcx>, NoSolution>;
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 crate_variances<'tcx> type Key = CrateNum; type Value = Lrc<CrateVariancesMap>;
impl<'tcx> QueryConfig for variances_of<'tcx> type Key = DefId; type Value = Lrc<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 = Lrc<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 = Lrc<Vec<DefId>>;
impl<'tcx> QueryConfig for mir_keys<'tcx> type Key = CrateNum; type Value = Lrc<DefIdSet>;
impl<'tcx> QueryConfig for mir_const_qualif<'tcx> type Key = DefId; type Value = (u8, Lrc<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 = Lrc<DefIdSet>;
impl<'tcx> QueryConfig for has_typeck_tables<'tcx> type Key = DefId; type Value = bool;
impl<'tcx> QueryConfig for coherent_trait<'tcx> type Key = DefId; type Value = ();
impl<'tcx> QueryConfig for borrowck<'tcx> type Key = DefId; type Value = Lrc<BorrowCheckResult>;
impl<'tcx> QueryConfig for mir_borrowck<'tcx> type Key = DefId; type Value = Option<ClosureRegionRequirements<'tcx>>;
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, GlobalId<'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 = Lrc<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 = Lrc<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 = Lrc<[Attribute]>;
impl<'tcx> QueryConfig for trans_fn_attrs<'tcx> type Key = DefId; type Value = TransFnAttrs;
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 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 = Lrc<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 = Lrc<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 = Lrc<TraitImpls>;
impl<'tcx> QueryConfig for specialization_graph_of<'tcx> type Key = DefId; type Value = Lrc<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 = Lrc<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 = Lrc<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<Lrc<FxHashMap<ItemLocalId, Lrc<StableVec<TraitCandidate>>>>>;
impl<'tcx> QueryConfig for module_exports<'tcx> type Key = DefId; type Value = Option<Lrc<Vec<Export>>>;
impl<'tcx> QueryConfig for lint_levels<'tcx> type Key = CrateNum; type Value = Lrc<LintLevelMap>;
impl<'tcx> QueryConfig for impl_defaultness<'tcx> type Key = DefId; type Value = Defaultness;
impl<'tcx> QueryConfig for check_item_well_formed<'tcx> type Key = DefId; type Value = ();
impl<'tcx> QueryConfig for check_trait_item_well_formed<'tcx> type Key = DefId; type Value = ();
impl<'tcx> QueryConfig for check_impl_item_well_formed<'tcx> type Key = DefId; type Value = ();
impl<'tcx> QueryConfig for reachable_non_generics<'tcx> type Key = CrateNum; type Value = Lrc<DefIdSet>;
impl<'tcx> QueryConfig for is_reachable_non_generic<'tcx> type Key = DefId; type Value = bool;
impl<'tcx> QueryConfig for native_libraries<'tcx> type Key = CrateNum; type Value = Lrc<Vec<NativeLibrary>>;
impl<'tcx> QueryConfig for foreign_modules<'tcx> type Key = CrateNum; type Value = Lrc<Vec<ForeignModule>>;
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 = Lrc<Vec<DefId>>;
impl<'tcx> QueryConfig for all_trait_implementations<'tcx> type Key = CrateNum; type Value = Lrc<Vec<DefId>>;
impl<'tcx> QueryConfig for dllimport_foreign_items<'tcx> type Key = CrateNum; type Value = Lrc<FxHashSet<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 = Lrc<Vec<String>>;
impl<'tcx> QueryConfig for resolve_lifetimes<'tcx> type Key = CrateNum; type Value = Lrc<ResolveLifetimes>;
impl<'tcx> QueryConfig for named_region_map<'tcx> type Key = DefIndex; type Value = Option<Lrc<FxHashMap<ItemLocalId, Region>>>;
impl<'tcx> QueryConfig for is_late_bound_map<'tcx> type Key = DefIndex; type Value = Option<Lrc<FxHashSet<ItemLocalId>>>;
impl<'tcx> QueryConfig for object_lifetime_defaults_map<'tcx> type Key = DefIndex; type Value = Option<Lrc<FxHashMap<ItemLocalId, Lrc<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 = Lrc<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 = Lrc<LanguageItems>;
impl<'tcx> QueryConfig for defined_lang_items<'tcx> type Key = CrateNum; type Value = Lrc<Vec<(DefId, usize)>>;
impl<'tcx> QueryConfig for missing_lang_items<'tcx> type Key = CrateNum; type Value = Lrc<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 = Lrc<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 = Lrc<CrateSource>;
impl<'tcx> QueryConfig for postorder_cnums<'tcx> type Key = CrateNum; type Value = Lrc<Vec<CrateNum>>;
impl<'tcx> QueryConfig for freevars<'tcx> type Key = DefId; type Value = Option<Lrc<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 = Lrc<Vec<(DefId, Span)>>;
impl<'tcx> QueryConfig for stability_index<'tcx> type Key = CrateNum; type Value = Lrc<Index<'tcx>>;
impl<'tcx> QueryConfig for all_crate_nums<'tcx> type Key = CrateNum; type Value = Lrc<Vec<CrateNum>>;
impl<'tcx> QueryConfig for exported_symbols<'tcx> type Key = CrateNum; type Value = Arc<Vec<(ExportedSymbol, 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 symbol_export_level<'tcx> type Key = DefId; type Value = SymbolExportLevel;
impl<'tcx> QueryConfig for is_translated_item<'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 erase_regions_ty<'tcx> type Key = Ty<'tcx>; type Value = Ty<'tcx>;
impl<'tcx> QueryConfig for normalize_projection_ty<'tcx> type Key = CanonicalProjectionGoal<'tcx>; type Value = Result<Lrc<Canonical<'tcx, QueryResult<'tcx, NormalizationResult<'tcx>>>>, NoSolution>;
impl<'tcx> QueryConfig for normalize_ty_after_erasing_regions<'tcx> type Key = ParamEnvAnd<'tcx, Ty<'tcx>>; type Value = Ty<'tcx>;
impl<'tcx> QueryConfig for dropck_outlives<'tcx> type Key = CanonicalTyGoal<'tcx>; type Value = Result<Lrc<Canonical<'tcx, QueryResult<'tcx, DropckOutlivesResult<'tcx>>>>, NoSolution>;
impl<'tcx> QueryConfig for substitute_normalize_and_test_predicates<'tcx> type Key = (DefId, &'tcx Substs<'tcx>); type Value = bool;
impl<'tcx> QueryConfig for target_features_whitelist<'tcx> type Key = CrateNum; type Value = Lrc<FxHashSet<String>>;
impl<'tcx> QueryConfig for instance_def_size_estimate<'tcx> type Key = InstanceDef<'tcx>; type Value = usize;
impl<'tcx> QueryConfig for features_query<'tcx> type Key = CrateNum; type Value = Lrc<Features>;
impl<'tcx> QueryConfig for program_clauses_for<'tcx> type Key = DefId; type Value = Lrc<Vec<Clause<'tcx>>>;
impl<'tcx> QueryConfig for wasm_custom_sections<'tcx> type Key = CrateNum; type Value = Lrc<Vec<DefId>>;
impl<'tcx> QueryConfig for wasm_import_module_map<'tcx> type Key = CrateNum; type Value = Lrc<FxHashMap<DefId, String>>;