rustc_middle/query/
mod.rs

1//!
2//! # The rustc Query System: Query Definitions and Modifiers
3//!
4//! The core processes in rustc are shipped as queries. Each query is a demand-driven function from some key to a value.
5//! The execution result of the function is cached and directly read during the next request, thereby improving compilation efficiency.
6//! Some results are saved locally and directly read during the next compilation, which are core of incremental compilation.
7//!
8//! ## How to Read This Module
9//!
10//! Each `query` block in this file defines a single query, specifying its key and value types, along with various modifiers.
11//! These query definitions are processed by the [`rustc_macros`], which expands them into the necessary boilerplate code
12//! for the query system—including the [`Providers`] struct (a function table for all query implementations, where each field is
13//! a function pointer to the actual provider), caching, and dependency graph integration.
14//! **Note:** The `Providers` struct is not a Rust trait, but a struct generated by the `rustc_macros` to hold all provider functions.
15//! The `rustc_macros` also supports a set of **query modifiers** (see below) that control the behavior of each query.
16//!
17//! The actual provider functions are implemented in various modules and registered into the `Providers` struct
18//! during compiler initialization (see [`rustc_interface::passes::DEFAULT_QUERY_PROVIDERS`]).
19//!
20//! [`rustc_macros`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_macros/index.html
21//! [`rustc_interface::passes::DEFAULT_QUERY_PROVIDERS`]: ../../rustc_interface/passes/static.DEFAULT_QUERY_PROVIDERS.html
22//!
23//! ## Query Modifiers
24//!
25//! Query modifiers are special flags that alter the behavior of a query. They are parsed and processed by the `rustc_macros`
26//! The main modifiers are:
27//!
28//! - `desc { ... }`: Sets the human-readable description for diagnostics and profiling. Required for every query.
29//! - `arena_cache`: Use an arena for in-memory caching of the query result.
30//! - `cache_on_disk_if { ... }`: Cache the query result to disk if the provided block evaluates to true.
31//! - `cycle_fatal`: If a dependency cycle is detected, abort compilation with a fatal error.
32//! - `cycle_delay_bug`: If a dependency cycle is detected, emit a delayed bug instead of aborting immediately.
33//! - `cycle_stash`: If a dependency cycle is detected, stash the error for later handling.
34//! - `no_hash`: Do not hash the query result for incremental compilation; just mark as dirty if recomputed.
35//! - `anon`: Make the query anonymous in the dependency graph (no dep node is created).
36//! - `eval_always`: Always evaluate the query, ignoring its dependencies and cached results.
37//! - `depth_limit`: Impose a recursion depth limit on the query to prevent stack overflows.
38//! - `separate_provide_extern`: Use separate provider functions for local and external crates.
39//! - `feedable`: Allow the query result to be set from another query ("fed" externally).
40//! - `return_result_from_ensure_ok`: When called via `tcx.ensure_ok()`, return `Result<(), ErrorGuaranteed>` instead of `()`.
41//!   If the query needs to be executed and returns an error, the error is returned to the caller.
42//!   Only valid for queries returning `Result<_, ErrorGuaranteed>`.
43//!
44//! For the up-to-date list, see the `QueryModifiers` struct in
45//! [`rustc_macros/src/query.rs`](https://github.com/rust-lang/rust/blob/HEAD/compiler/rustc_macros/src/query.rs)
46//! and for more details in incremental compilation, see the
47//! [Query modifiers in incremental compilation](https://rustc-dev-guide.rust-lang.org/queries/incremental-compilation-in-detail.html#query-modifiers) section of the rustc-dev-guide.
48//!
49//! ## Query Expansion and Code Generation
50//!
51//! The [`rustc_macros::rustc_queries`] macro expands each query definition into:
52//! - A method on [`TyCtxt`] (and [`TyCtxtAt`]) for invoking the query.
53//! - Provider traits and structs for supplying the query's value.
54//! - Caching and dependency graph integration.
55//! - Support for incremental compilation, disk caching, and arena allocation as controlled by the modifiers.
56//!
57//! [`rustc_macros::rustc_queries`]: ../../rustc_macros/macro.rustc_queries.html
58//!
59//! The macro-based approach allows the query system to be highly flexible and maintainable, while minimizing boilerplate.
60//!
61//! For more details, see the [rustc-dev-guide](https://rustc-dev-guide.rust-lang.org/query.html).
62
63#![allow(unused_parens)]
64
65use std::ffi::OsStr;
66use std::mem;
67use std::path::PathBuf;
68use std::sync::Arc;
69
70use rustc_abi::Align;
71use rustc_arena::TypedArena;
72use rustc_ast::expand::allocator::AllocatorKind;
73use rustc_ast::tokenstream::TokenStream;
74use rustc_data_structures::fx::{FxIndexMap, FxIndexSet};
75use rustc_data_structures::sorted_map::SortedMap;
76use rustc_data_structures::steal::Steal;
77use rustc_data_structures::svh::Svh;
78use rustc_data_structures::unord::{UnordMap, UnordSet};
79use rustc_errors::ErrorGuaranteed;
80use rustc_hir::attrs::{EiiDecl, EiiImpl, StrippedCfgItem};
81use rustc_hir::def::{DefKind, DocLinkResMap};
82use rustc_hir::def_id::{
83    CrateNum, DefId, DefIdMap, LocalDefId, LocalDefIdMap, LocalDefIdSet, LocalModDefId,
84};
85use rustc_hir::lang_items::{LangItem, LanguageItems};
86use rustc_hir::{Crate, ItemLocalId, ItemLocalMap, PreciseCapturingArgKind, TraitCandidate};
87use rustc_index::IndexVec;
88use rustc_lint_defs::LintId;
89use rustc_macros::rustc_queries;
90use rustc_query_system::ich::StableHashingContext;
91use rustc_query_system::query::{QueryMode, QueryState};
92use rustc_session::Limits;
93use rustc_session::config::{EntryFnType, OptLevel, OutputFilenames, SymbolManglingVersion};
94use rustc_session::cstore::{
95    CrateDepKind, CrateSource, ExternCrate, ForeignModule, LinkagePreference, NativeLib,
96};
97use rustc_session::lint::LintExpectationId;
98use rustc_span::def_id::LOCAL_CRATE;
99use rustc_span::source_map::Spanned;
100use rustc_span::{DUMMY_SP, LocalExpnId, Span, Symbol};
101use rustc_target::spec::PanicStrategy;
102use {rustc_abi as abi, rustc_ast as ast, rustc_hir as hir};
103
104pub use self::keys::{AsLocalKey, Key, LocalCrate};
105pub use self::plumbing::{IntoQueryParam, TyCtxtAt, TyCtxtEnsureDone, TyCtxtEnsureOk};
106use crate::infer::canonical::{self, Canonical};
107use crate::lint::LintExpectation;
108use crate::metadata::ModChild;
109use crate::middle::codegen_fn_attrs::{CodegenFnAttrs, SanitizerFnAttrs};
110use crate::middle::debugger_visualizer::DebuggerVisualizerFile;
111use crate::middle::deduced_param_attrs::DeducedParamAttrs;
112use crate::middle::exported_symbols::{ExportedSymbol, SymbolExportInfo};
113use crate::middle::lib_features::LibFeatures;
114use crate::middle::privacy::EffectiveVisibilities;
115use crate::middle::resolve_bound_vars::{ObjectLifetimeDefault, ResolveBoundVars, ResolvedArg};
116use crate::middle::stability::DeprecationEntry;
117use crate::mir::interpret::{
118    EvalStaticInitializerRawResult, EvalToAllocationRawResult, EvalToConstValueResult,
119    EvalToValTreeResult, GlobalId, LitToConstInput,
120};
121use crate::mir::mono::{
122    CodegenUnit, CollectionMode, MonoItem, MonoItemPartitions, NormalizationErrorInMono,
123};
124use crate::query::erase::{Erase, erase, restore};
125use crate::query::plumbing::{CyclePlaceholder, DynamicQuery};
126use crate::traits::query::{
127    CanonicalAliasGoal, CanonicalDropckOutlivesGoal, CanonicalImpliedOutlivesBoundsGoal,
128    CanonicalMethodAutoderefStepsGoal, CanonicalPredicateGoal, CanonicalTypeOpAscribeUserTypeGoal,
129    CanonicalTypeOpNormalizeGoal, CanonicalTypeOpProvePredicateGoal, DropckConstraint,
130    DropckOutlivesResult, MethodAutoderefStepsResult, NoSolution, NormalizationResult,
131    OutlivesBound,
132};
133use crate::traits::{
134    CodegenObligationError, DynCompatibilityViolation, EvaluationResult, ImplSource,
135    ObligationCause, OverflowError, WellFormedLoc, solve, specialization_graph,
136};
137use crate::ty::fast_reject::SimplifiedType;
138use crate::ty::layout::ValidityRequirement;
139use crate::ty::print::PrintTraitRefExt;
140use crate::ty::util::AlwaysRequiresDrop;
141use crate::ty::{
142    self, CrateInherentImpls, GenericArg, GenericArgsRef, PseudoCanonicalInput, SizedTraitKind, Ty,
143    TyCtxt, TyCtxtFeed,
144};
145use crate::{dep_graph, mir, thir};
146
147mod arena_cached;
148pub mod erase;
149pub(crate) mod inner;
150mod keys;
151pub mod on_disk_cache;
152#[macro_use]
153pub mod plumbing;
154
155// Each of these queries corresponds to a function pointer field in the
156// `Providers` struct for requesting a value of that type, and a method
157// on `tcx: TyCtxt` (and `tcx.at(span)`) for doing that request in a way
158// which memoizes and does dep-graph tracking, wrapping around the actual
159// `Providers` that the driver creates (using several `rustc_*` crates).
160//
161// The result type of each query must implement `Clone`, and additionally
162// `ty::query::values::Value`, which produces an appropriate placeholder
163// (error) value if the query resulted in a query cycle.
164// Queries marked with `cycle_fatal` do not need the latter implementation,
165// as they will raise an fatal error on query cycles instead.
166pub mod cached {
    use super::*;
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn derive_macro_expansion<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::derive_macro_expansion::Key<'tcx>)
        -> bool {
        let crate::query::Providers { derive_macro_expansion: _, .. };
        { true }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn trigger_delayed_bug<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::trigger_delayed_bug::Key<'tcx>) -> bool {
        let crate::query::Providers { trigger_delayed_bug: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn registered_tools<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::registered_tools::Key<'tcx>) -> bool {
        let crate::query::Providers { registered_tools: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn early_lint_checks<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::early_lint_checks::Key<'tcx>) -> bool {
        let crate::query::Providers { early_lint_checks: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn env_var_os<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::env_var_os::Key<'tcx>) -> bool {
        let crate::query::Providers { env_var_os: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn resolutions<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::resolutions::Key<'tcx>) -> bool {
        let crate::query::Providers { resolutions: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn resolver_for_lowering_raw<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::resolver_for_lowering_raw::Key<'tcx>)
        -> bool {
        let crate::query::Providers { resolver_for_lowering_raw: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn source_span<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::source_span::Key<'tcx>) -> bool {
        let crate::query::Providers { source_span: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn hir_crate<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::hir_crate::Key<'tcx>) -> bool {
        let crate::query::Providers { hir_crate: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn hir_crate_items<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::hir_crate_items::Key<'tcx>) -> bool {
        let crate::query::Providers { hir_crate_items: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn hir_module_items<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::hir_module_items::Key<'tcx>) -> bool {
        let crate::query::Providers { hir_module_items: _, .. };
        { true }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn local_def_id_to_hir_id<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::local_def_id_to_hir_id::Key<'tcx>)
        -> bool {
        let crate::query::Providers { local_def_id_to_hir_id: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn hir_owner_parent<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::hir_owner_parent::Key<'tcx>) -> bool {
        let crate::query::Providers { hir_owner_parent: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn opt_hir_owner_nodes<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::opt_hir_owner_nodes::Key<'tcx>) -> bool {
        let crate::query::Providers { opt_hir_owner_nodes: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn hir_attr_map<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::hir_attr_map::Key<'tcx>) -> bool {
        let crate::query::Providers { hir_attr_map: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn opt_ast_lowering_delayed_lints<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::opt_ast_lowering_delayed_lints::Key<'tcx>)
        -> bool {
        let crate::query::Providers { opt_ast_lowering_delayed_lints: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn const_param_default<'tcx>(_: TyCtxt<'tcx>,
        param: &crate::query::queries::const_param_default::Key<'tcx>)
        -> bool {
        let crate::query::Providers { const_param_default: _, .. };
        { param.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn const_of_item<'tcx>(_: TyCtxt<'tcx>,
        def_id: &crate::query::queries::const_of_item::Key<'tcx>) -> bool {
        let crate::query::Providers { const_of_item: _, .. };
        { def_id.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn type_of<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::type_of::Key<'tcx>) -> bool {
        let crate::query::Providers { type_of: _, .. };
        { key.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn type_of_opaque<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::type_of_opaque::Key<'tcx>) -> bool {
        let crate::query::Providers { type_of_opaque: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn type_of_opaque_hir_typeck<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::type_of_opaque_hir_typeck::Key<'tcx>)
        -> bool {
        let crate::query::Providers { type_of_opaque_hir_typeck: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn type_alias_is_lazy<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::type_alias_is_lazy::Key<'tcx>) -> bool {
        let crate::query::Providers { type_alias_is_lazy: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn collect_return_position_impl_trait_in_trait_tys<'tcx>(_:
            TyCtxt<'tcx>,
        key:
            &crate::query::queries::collect_return_position_impl_trait_in_trait_tys::Key<'tcx>)
        -> bool {
        let crate::query::Providers {
                collect_return_position_impl_trait_in_trait_tys: _, .. };
        { key.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn opaque_ty_origin<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::opaque_ty_origin::Key<'tcx>) -> bool {
        let crate::query::Providers { opaque_ty_origin: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn unsizing_params_for_adt<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::unsizing_params_for_adt::Key<'tcx>)
        -> bool {
        let crate::query::Providers { unsizing_params_for_adt: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn analysis<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::analysis::Key<'tcx>) -> bool {
        let crate::query::Providers { analysis: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_expectations<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::check_expectations::Key<'tcx>) -> bool {
        let crate::query::Providers { check_expectations: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn generics_of<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::generics_of::Key<'tcx>) -> bool {
        let crate::query::Providers { generics_of: _, .. };
        { key.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn predicates_of<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::predicates_of::Key<'tcx>) -> bool {
        let crate::query::Providers { predicates_of: _, .. };
        { key.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn opaque_types_defined_by<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::opaque_types_defined_by::Key<'tcx>)
        -> bool {
        let crate::query::Providers { opaque_types_defined_by: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn nested_bodies_within<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::nested_bodies_within::Key<'tcx>) -> bool {
        let crate::query::Providers { nested_bodies_within: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn explicit_item_bounds<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::explicit_item_bounds::Key<'tcx>)
        -> bool {
        let crate::query::Providers { explicit_item_bounds: _, .. };
        { key.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn explicit_item_self_bounds<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::explicit_item_self_bounds::Key<'tcx>)
        -> bool {
        let crate::query::Providers { explicit_item_self_bounds: _, .. };
        { key.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn item_bounds<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::item_bounds::Key<'tcx>) -> bool {
        let crate::query::Providers { item_bounds: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn item_self_bounds<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::item_self_bounds::Key<'tcx>) -> bool {
        let crate::query::Providers { item_self_bounds: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn item_non_self_bounds<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::item_non_self_bounds::Key<'tcx>) -> bool {
        let crate::query::Providers { item_non_self_bounds: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn impl_super_outlives<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::impl_super_outlives::Key<'tcx>) -> bool {
        let crate::query::Providers { impl_super_outlives: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn native_libraries<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::native_libraries::Key<'tcx>) -> bool {
        let crate::query::Providers { native_libraries: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn shallow_lint_levels_on<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::shallow_lint_levels_on::Key<'tcx>)
        -> bool {
        let crate::query::Providers { shallow_lint_levels_on: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn lint_expectations<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::lint_expectations::Key<'tcx>) -> bool {
        let crate::query::Providers { lint_expectations: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn lints_that_dont_need_to_run<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::lints_that_dont_need_to_run::Key<'tcx>)
        -> bool {
        let crate::query::Providers { lints_that_dont_need_to_run: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn expn_that_defined<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::expn_that_defined::Key<'tcx>) -> bool {
        let crate::query::Providers { expn_that_defined: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_panic_runtime<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_panic_runtime::Key<'tcx>) -> bool {
        let crate::query::Providers { is_panic_runtime: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn representability<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::representability::Key<'tcx>) -> bool {
        let crate::query::Providers { representability: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn representability_adt_ty<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::representability_adt_ty::Key<'tcx>)
        -> bool {
        let crate::query::Providers { representability_adt_ty: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn params_in_repr<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::params_in_repr::Key<'tcx>) -> bool {
        let crate::query::Providers { params_in_repr: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn thir_body<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::thir_body::Key<'tcx>) -> bool {
        let crate::query::Providers { thir_body: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn mir_keys<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::mir_keys::Key<'tcx>) -> bool {
        let crate::query::Providers { mir_keys: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn mir_const_qualif<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::mir_const_qualif::Key<'tcx>) -> bool {
        let crate::query::Providers { mir_const_qualif: _, .. };
        { key.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn mir_built<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::mir_built::Key<'tcx>) -> bool {
        let crate::query::Providers { mir_built: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn thir_abstract_const<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::thir_abstract_const::Key<'tcx>) -> bool {
        let crate::query::Providers { thir_abstract_const: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn mir_drops_elaborated_and_const_checked<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::mir_drops_elaborated_and_const_checked::Key<'tcx>)
        -> bool {
        let crate::query::Providers {
                mir_drops_elaborated_and_const_checked: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn mir_for_ctfe<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::mir_for_ctfe::Key<'tcx>) -> bool {
        let crate::query::Providers { mir_for_ctfe: _, .. };
        { key.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn mir_promoted<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::mir_promoted::Key<'tcx>) -> bool {
        let crate::query::Providers { mir_promoted: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn closure_typeinfo<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::closure_typeinfo::Key<'tcx>) -> bool {
        let crate::query::Providers { closure_typeinfo: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn closure_saved_names_of_captured_variables<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::closure_saved_names_of_captured_variables::Key<'tcx>)
        -> bool {
        let crate::query::Providers {
                closure_saved_names_of_captured_variables: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn mir_coroutine_witnesses<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::mir_coroutine_witnesses::Key<'tcx>)
        -> bool {
        let crate::query::Providers { mir_coroutine_witnesses: _, .. };
        { key.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_coroutine_obligations<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::check_coroutine_obligations::Key<'tcx>)
        -> bool {
        let crate::query::Providers { check_coroutine_obligations: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_potentially_region_dependent_goals<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::check_potentially_region_dependent_goals::Key<'tcx>)
        -> bool {
        let crate::query::Providers {
                check_potentially_region_dependent_goals: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn optimized_mir<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::optimized_mir::Key<'tcx>) -> bool {
        let crate::query::Providers { optimized_mir: _, .. };
        { key.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn coverage_attr_on<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::coverage_attr_on::Key<'tcx>) -> bool {
        let crate::query::Providers { coverage_attr_on: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn coverage_ids_info<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::coverage_ids_info::Key<'tcx>) -> bool {
        let crate::query::Providers { coverage_ids_info: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn promoted_mir<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::promoted_mir::Key<'tcx>) -> bool {
        let crate::query::Providers { promoted_mir: _, .. };
        { key.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn erase_and_anonymize_regions_ty<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::erase_and_anonymize_regions_ty::Key<'tcx>)
        -> bool {
        let crate::query::Providers { erase_and_anonymize_regions_ty: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn wasm_import_module_map<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::wasm_import_module_map::Key<'tcx>)
        -> bool {
        let crate::query::Providers { wasm_import_module_map: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn trait_explicit_predicates_and_bounds<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::trait_explicit_predicates_and_bounds::Key<'tcx>)
        -> bool {
        let crate::query::Providers { trait_explicit_predicates_and_bounds: _,
                .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn explicit_predicates_of<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::explicit_predicates_of::Key<'tcx>)
        -> bool {
        let crate::query::Providers { explicit_predicates_of: _, .. };
        { key.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn inferred_outlives_of<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::inferred_outlives_of::Key<'tcx>)
        -> bool {
        let crate::query::Providers { inferred_outlives_of: _, .. };
        { key.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn explicit_super_predicates_of<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::explicit_super_predicates_of::Key<'tcx>)
        -> bool {
        let crate::query::Providers { explicit_super_predicates_of: _, .. };
        { key.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn explicit_implied_predicates_of<'tcx>(_: TyCtxt<'tcx>,
        key:
            &crate::query::queries::explicit_implied_predicates_of::Key<'tcx>)
        -> bool {
        let crate::query::Providers { explicit_implied_predicates_of: _, .. };
        { key.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn explicit_supertraits_containing_assoc_item<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::explicit_supertraits_containing_assoc_item::Key<'tcx>)
        -> bool {
        let crate::query::Providers {
                explicit_supertraits_containing_assoc_item: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn const_conditions<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::const_conditions::Key<'tcx>) -> bool {
        let crate::query::Providers { const_conditions: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn explicit_implied_const_bounds<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::explicit_implied_const_bounds::Key<'tcx>)
        -> bool {
        let crate::query::Providers { explicit_implied_const_bounds: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn type_param_predicates<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::type_param_predicates::Key<'tcx>) -> bool {
        let crate::query::Providers { type_param_predicates: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn trait_def<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::trait_def::Key<'tcx>) -> bool {
        let crate::query::Providers { trait_def: _, .. };
        { key.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn adt_def<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::adt_def::Key<'tcx>) -> bool {
        let crate::query::Providers { adt_def: _, .. };
        { key.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn adt_destructor<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::adt_destructor::Key<'tcx>) -> bool {
        let crate::query::Providers { adt_destructor: _, .. };
        { key.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn adt_async_destructor<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::adt_async_destructor::Key<'tcx>)
        -> bool {
        let crate::query::Providers { adt_async_destructor: _, .. };
        { key.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn adt_sizedness_constraint<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::adt_sizedness_constraint::Key<'tcx>)
        -> bool {
        let crate::query::Providers { adt_sizedness_constraint: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn adt_dtorck_constraint<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::adt_dtorck_constraint::Key<'tcx>) -> bool {
        let crate::query::Providers { adt_dtorck_constraint: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn constness<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::constness::Key<'tcx>) -> bool {
        let crate::query::Providers { constness: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn asyncness<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::asyncness::Key<'tcx>) -> bool {
        let crate::query::Providers { asyncness: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_promotable_const_fn<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_promotable_const_fn::Key<'tcx>)
        -> bool {
        let crate::query::Providers { is_promotable_const_fn: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn coroutine_by_move_body_def_id<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::coroutine_by_move_body_def_id::Key<'tcx>)
        -> bool {
        let crate::query::Providers { coroutine_by_move_body_def_id: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn coroutine_kind<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::coroutine_kind::Key<'tcx>) -> bool {
        let crate::query::Providers { coroutine_kind: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn coroutine_for_closure<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::coroutine_for_closure::Key<'tcx>) -> bool {
        let crate::query::Providers { coroutine_for_closure: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn coroutine_hidden_types<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::coroutine_hidden_types::Key<'tcx>)
        -> bool {
        let crate::query::Providers { coroutine_hidden_types: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn crate_variances<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::crate_variances::Key<'tcx>) -> bool {
        let crate::query::Providers { crate_variances: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn variances_of<'tcx>(_: TyCtxt<'tcx>,
        def_id: &crate::query::queries::variances_of::Key<'tcx>) -> bool {
        let crate::query::Providers { variances_of: _, .. };
        { def_id.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn inferred_outlives_crate<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::inferred_outlives_crate::Key<'tcx>)
        -> bool {
        let crate::query::Providers { inferred_outlives_crate: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn associated_item_def_ids<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::associated_item_def_ids::Key<'tcx>)
        -> bool {
        let crate::query::Providers { associated_item_def_ids: _, .. };
        { key.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn associated_item<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::associated_item::Key<'tcx>) -> bool {
        let crate::query::Providers { associated_item: _, .. };
        { key.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn associated_items<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::associated_items::Key<'tcx>) -> bool {
        let crate::query::Providers { associated_items: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn impl_item_implementor_ids<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::impl_item_implementor_ids::Key<'tcx>)
        -> bool {
        let crate::query::Providers { impl_item_implementor_ids: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn associated_types_for_impl_traits_in_trait_or_impl<'tcx>(_:
            TyCtxt<'tcx>,
        _:
            &crate::query::queries::associated_types_for_impl_traits_in_trait_or_impl::Key<'tcx>)
        -> bool {
        let crate::query::Providers {
                associated_types_for_impl_traits_in_trait_or_impl: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn impl_trait_header<'tcx>(_: TyCtxt<'tcx>,
        impl_id: &crate::query::queries::impl_trait_header::Key<'tcx>)
        -> bool {
        let crate::query::Providers { impl_trait_header: _, .. };
        { impl_id.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn impl_self_is_guaranteed_unsized<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::impl_self_is_guaranteed_unsized::Key<'tcx>)
        -> bool {
        let crate::query::Providers { impl_self_is_guaranteed_unsized: _, ..
                };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn inherent_impls<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::inherent_impls::Key<'tcx>) -> bool {
        let crate::query::Providers { inherent_impls: _, .. };
        { key.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn incoherent_impls<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::incoherent_impls::Key<'tcx>) -> bool {
        let crate::query::Providers { incoherent_impls: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_transmutes<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::check_transmutes::Key<'tcx>) -> bool {
        let crate::query::Providers { check_transmutes: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_unsafety<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::check_unsafety::Key<'tcx>) -> bool {
        let crate::query::Providers { check_unsafety: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_tail_calls<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::check_tail_calls::Key<'tcx>) -> bool {
        let crate::query::Providers { check_tail_calls: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn assumed_wf_types<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::assumed_wf_types::Key<'tcx>) -> bool {
        let crate::query::Providers { assumed_wf_types: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn assumed_wf_types_for_rpitit<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::assumed_wf_types_for_rpitit::Key<'tcx>)
        -> bool {
        let crate::query::Providers { assumed_wf_types_for_rpitit: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn fn_sig<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::fn_sig::Key<'tcx>) -> bool {
        let crate::query::Providers { fn_sig: _, .. };
        { key.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn lint_mod<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::lint_mod::Key<'tcx>) -> bool {
        let crate::query::Providers { lint_mod: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_unused_traits<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::check_unused_traits::Key<'tcx>) -> bool {
        let crate::query::Providers { check_unused_traits: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_mod_attrs<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::check_mod_attrs::Key<'tcx>) -> bool {
        let crate::query::Providers { check_mod_attrs: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_mod_unstable_api_usage<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::check_mod_unstable_api_usage::Key<'tcx>)
        -> bool {
        let crate::query::Providers { check_mod_unstable_api_usage: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_mod_privacy<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::check_mod_privacy::Key<'tcx>) -> bool {
        let crate::query::Providers { check_mod_privacy: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn check_liveness<'tcx>(tcx: TyCtxt<'tcx>,
        key: &crate::query::queries::check_liveness::Key<'tcx>) -> bool {
        let crate::query::Providers { check_liveness: _, .. };
        { tcx.is_typeck_child(key.to_def_id()) }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn live_symbols_and_ignored_derived_traits<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::live_symbols_and_ignored_derived_traits::Key<'tcx>)
        -> bool {
        let crate::query::Providers {
                live_symbols_and_ignored_derived_traits: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_mod_deathness<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::check_mod_deathness::Key<'tcx>) -> bool {
        let crate::query::Providers { check_mod_deathness: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_type_wf<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::check_type_wf::Key<'tcx>) -> bool {
        let crate::query::Providers { check_type_wf: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn coerce_unsized_info<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::coerce_unsized_info::Key<'tcx>) -> bool {
        let crate::query::Providers { coerce_unsized_info: _, .. };
        { key.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn typeck<'tcx>(tcx: TyCtxt<'tcx>,
        key: &crate::query::queries::typeck::Key<'tcx>) -> bool {
        let crate::query::Providers { typeck: _, .. };
        { !tcx.is_typeck_child(key.to_def_id()) }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn used_trait_imports<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::used_trait_imports::Key<'tcx>) -> bool {
        let crate::query::Providers { used_trait_imports: _, .. };
        { true }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn coherent_trait<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::coherent_trait::Key<'tcx>) -> bool {
        let crate::query::Providers { coherent_trait: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn mir_borrowck<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::mir_borrowck::Key<'tcx>) -> bool {
        let crate::query::Providers { mir_borrowck: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn crate_inherent_impls<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::crate_inherent_impls::Key<'tcx>) -> bool {
        let crate::query::Providers { crate_inherent_impls: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn crate_inherent_impls_validity_check<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::crate_inherent_impls_validity_check::Key<'tcx>)
        -> bool {
        let crate::query::Providers { crate_inherent_impls_validity_check: _,
                .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn crate_inherent_impls_overlap_check<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::crate_inherent_impls_overlap_check::Key<'tcx>)
        -> bool {
        let crate::query::Providers { crate_inherent_impls_overlap_check: _,
                .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn orphan_check_impl<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::orphan_check_impl::Key<'tcx>) -> bool {
        let crate::query::Providers { orphan_check_impl: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn mir_callgraph_cyclic<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::mir_callgraph_cyclic::Key<'tcx>)
        -> bool {
        let crate::query::Providers { mir_callgraph_cyclic: _, .. };
        { true }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn mir_inliner_callees<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::mir_inliner_callees::Key<'tcx>) -> bool {
        let crate::query::Providers { mir_inliner_callees: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn tag_for_variant<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::tag_for_variant::Key<'tcx>) -> bool {
        let crate::query::Providers { tag_for_variant: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn eval_to_allocation_raw<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::eval_to_allocation_raw::Key<'tcx>)
        -> bool {
        let crate::query::Providers { eval_to_allocation_raw: _, .. };
        { true }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn eval_static_initializer<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::eval_static_initializer::Key<'tcx>)
        -> bool {
        let crate::query::Providers { eval_static_initializer: _, .. };
        { key.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn eval_to_const_value_raw<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::eval_to_const_value_raw::Key<'tcx>)
        -> bool {
        let crate::query::Providers { eval_to_const_value_raw: _, .. };
        { true }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn eval_to_valtree<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::eval_to_valtree::Key<'tcx>) -> bool {
        let crate::query::Providers { eval_to_valtree: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn valtree_to_const_val<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::valtree_to_const_val::Key<'tcx>) -> bool {
        let crate::query::Providers { valtree_to_const_val: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn lit_to_const<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::lit_to_const::Key<'tcx>) -> bool {
        let crate::query::Providers { lit_to_const: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_match<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::check_match::Key<'tcx>) -> bool {
        let crate::query::Providers { check_match: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn effective_visibilities<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::effective_visibilities::Key<'tcx>)
        -> bool {
        let crate::query::Providers { effective_visibilities: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_private_in_public<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::check_private_in_public::Key<'tcx>)
        -> bool {
        let crate::query::Providers { check_private_in_public: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn reachable_set<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::reachable_set::Key<'tcx>) -> bool {
        let crate::query::Providers { reachable_set: _, .. };
        { true }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn region_scope_tree<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::region_scope_tree::Key<'tcx>) -> bool {
        let crate::query::Providers { region_scope_tree: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn mir_shims<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::mir_shims::Key<'tcx>) -> bool {
        let crate::query::Providers { mir_shims: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn symbol_name<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::symbol_name::Key<'tcx>) -> bool {
        let crate::query::Providers { symbol_name: _, .. };
        { true }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn def_kind<'tcx>(_: TyCtxt<'tcx>,
        def_id: &crate::query::queries::def_kind::Key<'tcx>) -> bool {
        let crate::query::Providers { def_kind: _, .. };
        { def_id.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn def_span<'tcx>(_: TyCtxt<'tcx>,
        def_id: &crate::query::queries::def_span::Key<'tcx>) -> bool {
        let crate::query::Providers { def_span: _, .. };
        { def_id.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn def_ident_span<'tcx>(_: TyCtxt<'tcx>,
        def_id: &crate::query::queries::def_ident_span::Key<'tcx>) -> bool {
        let crate::query::Providers { def_ident_span: _, .. };
        { def_id.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn ty_span<'tcx>(_: TyCtxt<'tcx>,
        def_id: &crate::query::queries::ty_span::Key<'tcx>) -> bool {
        let crate::query::Providers { ty_span: _, .. };
        { true }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn lookup_stability<'tcx>(_: TyCtxt<'tcx>,
        def_id: &crate::query::queries::lookup_stability::Key<'tcx>) -> bool {
        let crate::query::Providers { lookup_stability: _, .. };
        { def_id.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn lookup_const_stability<'tcx>(_: TyCtxt<'tcx>,
        def_id: &crate::query::queries::lookup_const_stability::Key<'tcx>)
        -> bool {
        let crate::query::Providers { lookup_const_stability: _, .. };
        { def_id.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn lookup_default_body_stability<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::lookup_default_body_stability::Key<'tcx>)
        -> bool {
        let crate::query::Providers { lookup_default_body_stability: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn should_inherit_track_caller<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::should_inherit_track_caller::Key<'tcx>)
        -> bool {
        let crate::query::Providers { should_inherit_track_caller: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn inherited_align<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::inherited_align::Key<'tcx>) -> bool {
        let crate::query::Providers { inherited_align: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn lookup_deprecation_entry<'tcx>(_: TyCtxt<'tcx>,
        def_id: &crate::query::queries::lookup_deprecation_entry::Key<'tcx>)
        -> bool {
        let crate::query::Providers { lookup_deprecation_entry: _, .. };
        { def_id.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_doc_hidden<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_doc_hidden::Key<'tcx>) -> bool {
        let crate::query::Providers { is_doc_hidden: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_doc_notable_trait<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_doc_notable_trait::Key<'tcx>) -> bool {
        let crate::query::Providers { is_doc_notable_trait: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn attrs_for_def<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::attrs_for_def::Key<'tcx>) -> bool {
        let crate::query::Providers { attrs_for_def: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn codegen_fn_attrs<'tcx>(_: TyCtxt<'tcx>,
        def_id: &crate::query::queries::codegen_fn_attrs::Key<'tcx>) -> bool {
        let crate::query::Providers { codegen_fn_attrs: _, .. };
        { def_id.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn asm_target_features<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::asm_target_features::Key<'tcx>) -> bool {
        let crate::query::Providers { asm_target_features: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn fn_arg_idents<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::fn_arg_idents::Key<'tcx>) -> bool {
        let crate::query::Providers { fn_arg_idents: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn rendered_const<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::rendered_const::Key<'tcx>) -> bool {
        let crate::query::Providers { rendered_const: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn rendered_precise_capturing_args<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::rendered_precise_capturing_args::Key<'tcx>)
        -> bool {
        let crate::query::Providers { rendered_precise_capturing_args: _, ..
                };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn impl_parent<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::impl_parent::Key<'tcx>) -> bool {
        let crate::query::Providers { impl_parent: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn is_ctfe_mir_available<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::is_ctfe_mir_available::Key<'tcx>)
        -> bool {
        let crate::query::Providers { is_ctfe_mir_available: _, .. };
        { key.is_local() }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn is_mir_available<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::is_mir_available::Key<'tcx>) -> bool {
        let crate::query::Providers { is_mir_available: _, .. };
        { key.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn own_existential_vtable_entries<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::own_existential_vtable_entries::Key<'tcx>)
        -> bool {
        let crate::query::Providers { own_existential_vtable_entries: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn vtable_entries<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::vtable_entries::Key<'tcx>) -> bool {
        let crate::query::Providers { vtable_entries: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn first_method_vtable_slot<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::first_method_vtable_slot::Key<'tcx>)
        -> bool {
        let crate::query::Providers { first_method_vtable_slot: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn supertrait_vtable_slot<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::supertrait_vtable_slot::Key<'tcx>)
        -> bool {
        let crate::query::Providers { supertrait_vtable_slot: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn vtable_allocation<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::vtable_allocation::Key<'tcx>) -> bool {
        let crate::query::Providers { vtable_allocation: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn codegen_select_candidate<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::codegen_select_candidate::Key<'tcx>)
        -> bool {
        let crate::query::Providers { codegen_select_candidate: _, .. };
        { true }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn all_local_trait_impls<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::all_local_trait_impls::Key<'tcx>) -> bool {
        let crate::query::Providers { all_local_trait_impls: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn local_trait_impls<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::local_trait_impls::Key<'tcx>) -> bool {
        let crate::query::Providers { local_trait_impls: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn trait_impls_of<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::trait_impls_of::Key<'tcx>) -> bool {
        let crate::query::Providers { trait_impls_of: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn specialization_graph_of<'tcx>(_: TyCtxt<'tcx>,
        trait_id: &crate::query::queries::specialization_graph_of::Key<'tcx>)
        -> bool {
        let crate::query::Providers { specialization_graph_of: _, .. };
        { true }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn dyn_compatibility_violations<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::dyn_compatibility_violations::Key<'tcx>)
        -> bool {
        let crate::query::Providers { dyn_compatibility_violations: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_dyn_compatible<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_dyn_compatible::Key<'tcx>) -> bool {
        let crate::query::Providers { is_dyn_compatible: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn param_env<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::param_env::Key<'tcx>) -> bool {
        let crate::query::Providers { param_env: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn typing_env_normalized_for_post_analysis<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::typing_env_normalized_for_post_analysis::Key<'tcx>)
        -> bool {
        let crate::query::Providers {
                typing_env_normalized_for_post_analysis: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_copy_raw<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_copy_raw::Key<'tcx>) -> bool {
        let crate::query::Providers { is_copy_raw: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_use_cloned_raw<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_use_cloned_raw::Key<'tcx>) -> bool {
        let crate::query::Providers { is_use_cloned_raw: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_sized_raw<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_sized_raw::Key<'tcx>) -> bool {
        let crate::query::Providers { is_sized_raw: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_freeze_raw<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_freeze_raw::Key<'tcx>) -> bool {
        let crate::query::Providers { is_freeze_raw: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_unpin_raw<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_unpin_raw::Key<'tcx>) -> bool {
        let crate::query::Providers { is_unpin_raw: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_async_drop_raw<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_async_drop_raw::Key<'tcx>) -> bool {
        let crate::query::Providers { is_async_drop_raw: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn needs_drop_raw<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::needs_drop_raw::Key<'tcx>) -> bool {
        let crate::query::Providers { needs_drop_raw: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn needs_async_drop_raw<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::needs_async_drop_raw::Key<'tcx>) -> bool {
        let crate::query::Providers { needs_async_drop_raw: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn has_significant_drop_raw<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::has_significant_drop_raw::Key<'tcx>)
        -> bool {
        let crate::query::Providers { has_significant_drop_raw: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn has_structural_eq_impl<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::has_structural_eq_impl::Key<'tcx>)
        -> bool {
        let crate::query::Providers { has_structural_eq_impl: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn adt_drop_tys<'tcx>(_: TyCtxt<'tcx>,
        def_id: &crate::query::queries::adt_drop_tys::Key<'tcx>) -> bool {
        let crate::query::Providers { adt_drop_tys: _, .. };
        { true }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn adt_async_drop_tys<'tcx>(_: TyCtxt<'tcx>,
        def_id: &crate::query::queries::adt_async_drop_tys::Key<'tcx>)
        -> bool {
        let crate::query::Providers { adt_async_drop_tys: _, .. };
        { true }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn adt_significant_drop_tys<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::adt_significant_drop_tys::Key<'tcx>)
        -> bool {
        let crate::query::Providers { adt_significant_drop_tys: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn list_significant_drop_tys<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::list_significant_drop_tys::Key<'tcx>)
        -> bool {
        let crate::query::Providers { list_significant_drop_tys: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn layout_of<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::layout_of::Key<'tcx>) -> bool {
        let crate::query::Providers { layout_of: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn fn_abi_of_fn_ptr<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::fn_abi_of_fn_ptr::Key<'tcx>) -> bool {
        let crate::query::Providers { fn_abi_of_fn_ptr: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn fn_abi_of_instance<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::fn_abi_of_instance::Key<'tcx>) -> bool {
        let crate::query::Providers { fn_abi_of_instance: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn dylib_dependency_formats<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::dylib_dependency_formats::Key<'tcx>)
        -> bool {
        let crate::query::Providers { dylib_dependency_formats: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn dependency_formats<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::dependency_formats::Key<'tcx>) -> bool {
        let crate::query::Providers { dependency_formats: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_compiler_builtins<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_compiler_builtins::Key<'tcx>) -> bool {
        let crate::query::Providers { is_compiler_builtins: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn has_global_allocator<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::has_global_allocator::Key<'tcx>) -> bool {
        let crate::query::Providers { has_global_allocator: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn has_alloc_error_handler<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::has_alloc_error_handler::Key<'tcx>)
        -> bool {
        let crate::query::Providers { has_alloc_error_handler: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn has_panic_handler<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::has_panic_handler::Key<'tcx>) -> bool {
        let crate::query::Providers { has_panic_handler: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_profiler_runtime<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_profiler_runtime::Key<'tcx>) -> bool {
        let crate::query::Providers { is_profiler_runtime: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn has_ffi_unwind_calls<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::has_ffi_unwind_calls::Key<'tcx>)
        -> bool {
        let crate::query::Providers { has_ffi_unwind_calls: _, .. };
        { true }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn required_panic_strategy<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::required_panic_strategy::Key<'tcx>)
        -> bool {
        let crate::query::Providers { required_panic_strategy: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn panic_in_drop_strategy<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::panic_in_drop_strategy::Key<'tcx>)
        -> bool {
        let crate::query::Providers { panic_in_drop_strategy: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_no_builtins<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_no_builtins::Key<'tcx>) -> bool {
        let crate::query::Providers { is_no_builtins: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn symbol_mangling_version<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::symbol_mangling_version::Key<'tcx>)
        -> bool {
        let crate::query::Providers { symbol_mangling_version: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn extern_crate<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::extern_crate::Key<'tcx>) -> bool {
        let crate::query::Providers { extern_crate: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn specialization_enabled_in<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::specialization_enabled_in::Key<'tcx>)
        -> bool {
        let crate::query::Providers { specialization_enabled_in: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn specializes<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::specializes::Key<'tcx>) -> bool {
        let crate::query::Providers { specializes: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn in_scope_traits_map<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::in_scope_traits_map::Key<'tcx>) -> bool {
        let crate::query::Providers { in_scope_traits_map: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn defaultness<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::defaultness::Key<'tcx>) -> bool {
        let crate::query::Providers { defaultness: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn default_field<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::default_field::Key<'tcx>) -> bool {
        let crate::query::Providers { default_field: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_well_formed<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::check_well_formed::Key<'tcx>) -> bool {
        let crate::query::Providers { check_well_formed: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn enforce_impl_non_lifetime_params_are_constrained<'tcx>(_:
            TyCtxt<'tcx>,
        _:
            &crate::query::queries::enforce_impl_non_lifetime_params_are_constrained::Key<'tcx>)
        -> bool {
        let crate::query::Providers {
                enforce_impl_non_lifetime_params_are_constrained: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn reachable_non_generics<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::reachable_non_generics::Key<'tcx>)
        -> bool {
        let crate::query::Providers { reachable_non_generics: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn is_reachable_non_generic<'tcx>(_: TyCtxt<'tcx>,
        def_id: &crate::query::queries::is_reachable_non_generic::Key<'tcx>)
        -> bool {
        let crate::query::Providers { is_reachable_non_generic: _, .. };
        { def_id.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_unreachable_local_definition<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_unreachable_local_definition::Key<'tcx>)
        -> bool {
        let crate::query::Providers { is_unreachable_local_definition: _, ..
                };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn upstream_monomorphizations<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::upstream_monomorphizations::Key<'tcx>)
        -> bool {
        let crate::query::Providers { upstream_monomorphizations: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn upstream_monomorphizations_for<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::upstream_monomorphizations_for::Key<'tcx>)
        -> bool {
        let crate::query::Providers { upstream_monomorphizations_for: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn upstream_drop_glue_for<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::upstream_drop_glue_for::Key<'tcx>)
        -> bool {
        let crate::query::Providers { upstream_drop_glue_for: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn upstream_async_drop_glue_for<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::upstream_async_drop_glue_for::Key<'tcx>)
        -> bool {
        let crate::query::Providers { upstream_async_drop_glue_for: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn foreign_modules<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::foreign_modules::Key<'tcx>) -> bool {
        let crate::query::Providers { foreign_modules: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn clashing_extern_declarations<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::clashing_extern_declarations::Key<'tcx>)
        -> bool {
        let crate::query::Providers { clashing_extern_declarations: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn entry_fn<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::entry_fn::Key<'tcx>) -> bool {
        let crate::query::Providers { entry_fn: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn proc_macro_decls_static<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::proc_macro_decls_static::Key<'tcx>)
        -> bool {
        let crate::query::Providers { proc_macro_decls_static: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn crate_hash<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::crate_hash::Key<'tcx>) -> bool {
        let crate::query::Providers { crate_hash: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn crate_host_hash<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::crate_host_hash::Key<'tcx>) -> bool {
        let crate::query::Providers { crate_host_hash: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn extra_filename<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::extra_filename::Key<'tcx>) -> bool {
        let crate::query::Providers { extra_filename: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn crate_extern_paths<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::crate_extern_paths::Key<'tcx>) -> bool {
        let crate::query::Providers { crate_extern_paths: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn implementations_of_trait<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::implementations_of_trait::Key<'tcx>)
        -> bool {
        let crate::query::Providers { implementations_of_trait: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn crate_incoherent_impls<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::crate_incoherent_impls::Key<'tcx>)
        -> bool {
        let crate::query::Providers { crate_incoherent_impls: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn native_library<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::native_library::Key<'tcx>) -> bool {
        let crate::query::Providers { native_library: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn inherit_sig_for_delegation_item<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::inherit_sig_for_delegation_item::Key<'tcx>)
        -> bool {
        let crate::query::Providers { inherit_sig_for_delegation_item: _, ..
                };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn resolve_bound_vars<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::resolve_bound_vars::Key<'tcx>) -> bool {
        let crate::query::Providers { resolve_bound_vars: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn named_variable_map<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::named_variable_map::Key<'tcx>) -> bool {
        let crate::query::Providers { named_variable_map: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_late_bound_map<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_late_bound_map::Key<'tcx>) -> bool {
        let crate::query::Providers { is_late_bound_map: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn object_lifetime_default<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::object_lifetime_default::Key<'tcx>)
        -> bool {
        let crate::query::Providers { object_lifetime_default: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn late_bound_vars_map<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::late_bound_vars_map::Key<'tcx>) -> bool {
        let crate::query::Providers { late_bound_vars_map: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn opaque_captured_lifetimes<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::opaque_captured_lifetimes::Key<'tcx>)
        -> bool {
        let crate::query::Providers { opaque_captured_lifetimes: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn visibility<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::visibility::Key<'tcx>) -> bool {
        let crate::query::Providers { visibility: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn inhabited_predicate_adt<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::inhabited_predicate_adt::Key<'tcx>)
        -> bool {
        let crate::query::Providers { inhabited_predicate_adt: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn inhabited_predicate_type<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::inhabited_predicate_type::Key<'tcx>)
        -> bool {
        let crate::query::Providers { inhabited_predicate_type: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn dep_kind<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::dep_kind::Key<'tcx>) -> bool {
        let crate::query::Providers { dep_kind: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn crate_name<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::crate_name::Key<'tcx>) -> bool {
        let crate::query::Providers { crate_name: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn module_children<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::module_children::Key<'tcx>) -> bool {
        let crate::query::Providers { module_children: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn num_extern_def_ids<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::num_extern_def_ids::Key<'tcx>) -> bool {
        let crate::query::Providers { num_extern_def_ids: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn lib_features<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::lib_features::Key<'tcx>) -> bool {
        let crate::query::Providers { lib_features: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn stability_implications<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::stability_implications::Key<'tcx>)
        -> bool {
        let crate::query::Providers { stability_implications: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn intrinsic_raw<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::intrinsic_raw::Key<'tcx>) -> bool {
        let crate::query::Providers { intrinsic_raw: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn get_lang_items<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::get_lang_items::Key<'tcx>) -> bool {
        let crate::query::Providers { get_lang_items: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn all_diagnostic_items<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::all_diagnostic_items::Key<'tcx>) -> bool {
        let crate::query::Providers { all_diagnostic_items: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn defined_lang_items<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::defined_lang_items::Key<'tcx>) -> bool {
        let crate::query::Providers { defined_lang_items: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn diagnostic_items<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::diagnostic_items::Key<'tcx>) -> bool {
        let crate::query::Providers { diagnostic_items: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn missing_lang_items<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::missing_lang_items::Key<'tcx>) -> bool {
        let crate::query::Providers { missing_lang_items: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn visible_parent_map<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::visible_parent_map::Key<'tcx>) -> bool {
        let crate::query::Providers { visible_parent_map: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn trimmed_def_paths<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::trimmed_def_paths::Key<'tcx>) -> bool {
        let crate::query::Providers { trimmed_def_paths: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn missing_extern_crate_item<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::missing_extern_crate_item::Key<'tcx>)
        -> bool {
        let crate::query::Providers { missing_extern_crate_item: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn used_crate_source<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::used_crate_source::Key<'tcx>) -> bool {
        let crate::query::Providers { used_crate_source: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn debugger_visualizers<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::debugger_visualizers::Key<'tcx>) -> bool {
        let crate::query::Providers { debugger_visualizers: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn postorder_cnums<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::postorder_cnums::Key<'tcx>) -> bool {
        let crate::query::Providers { postorder_cnums: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_private_dep<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_private_dep::Key<'tcx>) -> bool {
        let crate::query::Providers { is_private_dep: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn allocator_kind<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::allocator_kind::Key<'tcx>) -> bool {
        let crate::query::Providers { allocator_kind: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn alloc_error_handler_kind<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::alloc_error_handler_kind::Key<'tcx>)
        -> bool {
        let crate::query::Providers { alloc_error_handler_kind: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn upvars_mentioned<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::upvars_mentioned::Key<'tcx>) -> bool {
        let crate::query::Providers { upvars_mentioned: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn crates<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::crates::Key<'tcx>) -> bool {
        let crate::query::Providers { crates: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn used_crates<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::used_crates::Key<'tcx>) -> bool {
        let crate::query::Providers { used_crates: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn duplicate_crate_names<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::duplicate_crate_names::Key<'tcx>) -> bool {
        let crate::query::Providers { duplicate_crate_names: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn traits<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::traits::Key<'tcx>) -> bool {
        let crate::query::Providers { traits: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn trait_impls_in_crate<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::trait_impls_in_crate::Key<'tcx>) -> bool {
        let crate::query::Providers { trait_impls_in_crate: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn stable_order_of_exportable_impls<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::stable_order_of_exportable_impls::Key<'tcx>)
        -> bool {
        let crate::query::Providers { stable_order_of_exportable_impls: _, ..
                };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn exportable_items<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::exportable_items::Key<'tcx>) -> bool {
        let crate::query::Providers { exportable_items: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn exported_non_generic_symbols<'tcx>(_: TyCtxt<'tcx>,
        cnum: &crate::query::queries::exported_non_generic_symbols::Key<'tcx>)
        -> bool {
        let crate::query::Providers { exported_non_generic_symbols: _, .. };
        { *cnum == LOCAL_CRATE }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn exported_generic_symbols<'tcx>(_: TyCtxt<'tcx>,
        cnum: &crate::query::queries::exported_generic_symbols::Key<'tcx>)
        -> bool {
        let crate::query::Providers { exported_generic_symbols: _, .. };
        { *cnum == LOCAL_CRATE }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn collect_and_partition_mono_items<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::collect_and_partition_mono_items::Key<'tcx>)
        -> bool {
        let crate::query::Providers { collect_and_partition_mono_items: _, ..
                };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_codegened_item<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_codegened_item::Key<'tcx>) -> bool {
        let crate::query::Providers { is_codegened_item: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn codegen_unit<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::codegen_unit::Key<'tcx>) -> bool {
        let crate::query::Providers { codegen_unit: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn backend_optimization_level<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::backend_optimization_level::Key<'tcx>)
        -> bool {
        let crate::query::Providers { backend_optimization_level: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn output_filenames<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::output_filenames::Key<'tcx>) -> bool {
        let crate::query::Providers { output_filenames: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn normalize_canonicalized_projection<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::normalize_canonicalized_projection::Key<'tcx>)
        -> bool {
        let crate::query::Providers { normalize_canonicalized_projection: _,
                .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn normalize_canonicalized_free_alias<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::normalize_canonicalized_free_alias::Key<'tcx>)
        -> bool {
        let crate::query::Providers { normalize_canonicalized_free_alias: _,
                .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn normalize_canonicalized_inherent_projection<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::normalize_canonicalized_inherent_projection::Key<'tcx>)
        -> bool {
        let crate::query::Providers {
                normalize_canonicalized_inherent_projection: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn try_normalize_generic_arg_after_erasing_regions<'tcx>(_:
            TyCtxt<'tcx>,
        _:
            &crate::query::queries::try_normalize_generic_arg_after_erasing_regions::Key<'tcx>)
        -> bool {
        let crate::query::Providers {
                try_normalize_generic_arg_after_erasing_regions: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn implied_outlives_bounds<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::implied_outlives_bounds::Key<'tcx>)
        -> bool {
        let crate::query::Providers { implied_outlives_bounds: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn dropck_outlives<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::dropck_outlives::Key<'tcx>) -> bool {
        let crate::query::Providers { dropck_outlives: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn evaluate_obligation<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::evaluate_obligation::Key<'tcx>) -> bool {
        let crate::query::Providers { evaluate_obligation: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn type_op_ascribe_user_type<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::type_op_ascribe_user_type::Key<'tcx>)
        -> bool {
        let crate::query::Providers { type_op_ascribe_user_type: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn type_op_prove_predicate<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::type_op_prove_predicate::Key<'tcx>)
        -> bool {
        let crate::query::Providers { type_op_prove_predicate: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn type_op_normalize_ty<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::type_op_normalize_ty::Key<'tcx>) -> bool {
        let crate::query::Providers { type_op_normalize_ty: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn type_op_normalize_clause<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::type_op_normalize_clause::Key<'tcx>)
        -> bool {
        let crate::query::Providers { type_op_normalize_clause: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn type_op_normalize_poly_fn_sig<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::type_op_normalize_poly_fn_sig::Key<'tcx>)
        -> bool {
        let crate::query::Providers { type_op_normalize_poly_fn_sig: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn type_op_normalize_fn_sig<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::type_op_normalize_fn_sig::Key<'tcx>)
        -> bool {
        let crate::query::Providers { type_op_normalize_fn_sig: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn instantiate_and_check_impossible_predicates<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::instantiate_and_check_impossible_predicates::Key<'tcx>)
        -> bool {
        let crate::query::Providers {
                instantiate_and_check_impossible_predicates: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn is_impossible_associated_item<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::is_impossible_associated_item::Key<'tcx>)
        -> bool {
        let crate::query::Providers { is_impossible_associated_item: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn method_autoderef_steps<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::method_autoderef_steps::Key<'tcx>)
        -> bool {
        let crate::query::Providers { method_autoderef_steps: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn evaluate_root_goal_for_proof_tree_raw<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::evaluate_root_goal_for_proof_tree_raw::Key<'tcx>)
        -> bool {
        let crate::query::Providers {
                evaluate_root_goal_for_proof_tree_raw: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn rust_target_features<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::rust_target_features::Key<'tcx>) -> bool {
        let crate::query::Providers { rust_target_features: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn implied_target_features<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::implied_target_features::Key<'tcx>)
        -> bool {
        let crate::query::Providers { implied_target_features: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn features_query<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::features_query::Key<'tcx>) -> bool {
        let crate::query::Providers { features_query: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn crate_for_resolver<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::crate_for_resolver::Key<'tcx>) -> bool {
        let crate::query::Providers { crate_for_resolver: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn resolve_instance_raw<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::resolve_instance_raw::Key<'tcx>) -> bool {
        let crate::query::Providers { resolve_instance_raw: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn reveal_opaque_types_in_bounds<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::reveal_opaque_types_in_bounds::Key<'tcx>)
        -> bool {
        let crate::query::Providers { reveal_opaque_types_in_bounds: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn limits<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::limits::Key<'tcx>) -> bool {
        let crate::query::Providers { limits: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn diagnostic_hir_wf_check<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::diagnostic_hir_wf_check::Key<'tcx>)
        -> bool {
        let crate::query::Providers { diagnostic_hir_wf_check: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn global_backend_features<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::global_backend_features::Key<'tcx>)
        -> bool {
        let crate::query::Providers { global_backend_features: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_validity_requirement<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::check_validity_requirement::Key<'tcx>)
        -> bool {
        let crate::query::Providers { check_validity_requirement: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn compare_impl_item<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::compare_impl_item::Key<'tcx>) -> bool {
        let crate::query::Providers { compare_impl_item: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn deduced_param_attrs<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::deduced_param_attrs::Key<'tcx>) -> bool {
        let crate::query::Providers { deduced_param_attrs: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn doc_link_resolutions<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::doc_link_resolutions::Key<'tcx>) -> bool {
        let crate::query::Providers { doc_link_resolutions: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn doc_link_traits_in_scope<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::doc_link_traits_in_scope::Key<'tcx>)
        -> bool {
        let crate::query::Providers { doc_link_traits_in_scope: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn stripped_cfg_items<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::stripped_cfg_items::Key<'tcx>) -> bool {
        let crate::query::Providers { stripped_cfg_items: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn generics_require_sized_self<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::generics_require_sized_self::Key<'tcx>)
        -> bool {
        let crate::query::Providers { generics_require_sized_self: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn cross_crate_inlinable<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::cross_crate_inlinable::Key<'tcx>) -> bool {
        let crate::query::Providers { cross_crate_inlinable: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_mono_item<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::check_mono_item::Key<'tcx>) -> bool {
        let crate::query::Providers { check_mono_item: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn skip_move_check_fns<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::skip_move_check_fns::Key<'tcx>) -> bool {
        let crate::query::Providers { skip_move_check_fns: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn items_of_instance<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::items_of_instance::Key<'tcx>) -> bool {
        let crate::query::Providers { items_of_instance: _, .. };
        { true }
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn size_estimate<'tcx>(_: TyCtxt<'tcx>,
        key: &crate::query::queries::size_estimate::Key<'tcx>) -> bool {
        let crate::query::Providers { size_estimate: _, .. };
        { true }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn anon_const_kind<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::anon_const_kind::Key<'tcx>) -> bool {
        let crate::query::Providers { anon_const_kind: _, .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn trivial_const<'tcx>(_: TyCtxt<'tcx>,
        def_id: &crate::query::queries::trivial_const::Key<'tcx>) -> bool {
        let crate::query::Providers { trivial_const: _, .. };
        { def_id.is_local() }
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn sanitizer_settings_for<'tcx>(_: TyCtxt<'tcx>,
        _: &crate::query::queries::sanitizer_settings_for::Key<'tcx>)
        -> bool {
        let crate::query::Providers { sanitizer_settings_for: _, .. };
        false
    }
    #[allow(rustc :: pass_by_value)]
    #[inline]
    pub fn check_externally_implementable_items<'tcx>(_: TyCtxt<'tcx>,
        _:
            &crate::query::queries::check_externally_implementable_items::Key<'tcx>)
        -> bool {
        let crate::query::Providers { check_externally_implementable_items: _,
                .. };
        false
    }
    #[allow(unused_variables, unused_braces, rustc :: pass_by_value)]
    #[inline]
    pub fn externally_implementable_items<'tcx>(_: TyCtxt<'tcx>,
        cnum:
            &crate::query::queries::externally_implementable_items::Key<'tcx>)
        -> bool {
        let crate::query::Providers { externally_implementable_items: _, .. };
        { *cnum == LOCAL_CRATE }
    }
}rustc_queries! {
167    /// Caches the expansion of a derive proc macro, e.g. `#[derive(Serialize)]`.
168    /// The key is:
169    /// - A unique key corresponding to the invocation of a macro.
170    /// - Token stream which serves as an input to the macro.
171    ///
172    /// The output is the token stream generated by the proc macro.
173    query derive_macro_expansion(key: (LocalExpnId, &'tcx TokenStream)) -> Result<&'tcx TokenStream, ()> {
174        desc { "expanding a derive (proc) macro" }
175        cache_on_disk_if { true }
176    }
177
178    /// This exists purely for testing the interactions between delayed bugs and incremental.
179    query trigger_delayed_bug(key: DefId) {
180        desc { "triggering a delayed bug for testing incremental" }
181    }
182
183    /// Collects the list of all tools registered using `#![register_tool]`.
184    query registered_tools(_: ()) -> &'tcx ty::RegisteredTools {
185        arena_cache
186        desc { "compute registered tools for crate" }
187    }
188
189    query early_lint_checks(_: ()) {
190        desc { "perform lints prior to AST lowering" }
191    }
192
193    /// Tracked access to environment variables.
194    ///
195    /// Useful for the implementation of `std::env!`, `proc-macro`s change
196    /// detection and other changes in the compiler's behaviour that is easier
197    /// to control with an environment variable than a flag.
198    ///
199    /// NOTE: This currently does not work with dependency info in the
200    /// analysis, codegen and linking passes, place extra code at the top of
201    /// `rustc_interface::passes::write_dep_info` to make that work.
202    query env_var_os(key: &'tcx OsStr) -> Option<&'tcx OsStr> {
203        // Environment variables are global state
204        eval_always
205        desc { "get the value of an environment variable" }
206    }
207
208    query resolutions(_: ()) -> &'tcx ty::ResolverGlobalCtxt {
209        desc { "getting the resolver outputs" }
210    }
211
212    query resolver_for_lowering_raw(_: ()) -> (&'tcx Steal<(ty::ResolverAstLowering, Arc<ast::Crate>)>, &'tcx ty::ResolverGlobalCtxt) {
213        eval_always
214        no_hash
215        desc { "getting the resolver for lowering" }
216    }
217
218    /// Return the span for a definition.
219    ///
220    /// Contrary to `def_span` below, this query returns the full absolute span of the definition.
221    /// This span is meant for dep-tracking rather than diagnostics. It should not be used outside
222    /// of rustc_middle::hir::source_map.
223    query source_span(key: LocalDefId) -> Span {
224        // Accesses untracked data
225        eval_always
226        desc { "getting the source span" }
227    }
228
229    /// Represents crate as a whole (as distinct from the top-level crate module).
230    ///
231    /// If you call `tcx.hir_crate(())` we will have to assume that any change
232    /// means that you need to be recompiled. This is because the `hir_crate`
233    /// query gives you access to all other items. To avoid this fate, do not
234    /// call `tcx.hir_crate(())`; instead, prefer wrappers like
235    /// [`TyCtxt::hir_visit_all_item_likes_in_crate`].
236    query hir_crate(key: ()) -> &'tcx Crate<'tcx> {
237        arena_cache
238        eval_always
239        desc { "getting the crate HIR" }
240    }
241
242    /// All items in the crate.
243    query hir_crate_items(_: ()) -> &'tcx rustc_middle::hir::ModuleItems {
244        arena_cache
245        eval_always
246        desc { "getting HIR crate items" }
247    }
248
249    /// The items in a module.
250    ///
251    /// This can be conveniently accessed by `tcx.hir_visit_item_likes_in_module`.
252    /// Avoid calling this query directly.
253    query hir_module_items(key: LocalModDefId) -> &'tcx rustc_middle::hir::ModuleItems {
254        arena_cache
255        desc { |tcx| "getting HIR module items in `{}`", tcx.def_path_str(key) }
256        cache_on_disk_if { true }
257    }
258
259    /// Returns HIR ID for the given `LocalDefId`.
260    query local_def_id_to_hir_id(key: LocalDefId) -> hir::HirId {
261        desc { |tcx| "getting HIR ID of `{}`", tcx.def_path_str(key) }
262        feedable
263    }
264
265    /// Gives access to the HIR node's parent for the HIR owner `key`.
266    ///
267    /// This can be conveniently accessed by `tcx.hir_*` methods.
268    /// Avoid calling this query directly.
269    query hir_owner_parent(key: hir::OwnerId) -> hir::HirId {
270        desc { |tcx| "getting HIR parent of `{}`", tcx.def_path_str(key) }
271    }
272
273    /// Gives access to the HIR nodes and bodies inside `key` if it's a HIR owner.
274    ///
275    /// This can be conveniently accessed by `tcx.hir_*` methods.
276    /// Avoid calling this query directly.
277    query opt_hir_owner_nodes(key: LocalDefId) -> Option<&'tcx hir::OwnerNodes<'tcx>> {
278        desc { |tcx| "getting HIR owner items in `{}`", tcx.def_path_str(key) }
279        feedable
280    }
281
282    /// Gives access to the HIR attributes inside the HIR owner `key`.
283    ///
284    /// This can be conveniently accessed by `tcx.hir_*` methods.
285    /// Avoid calling this query directly.
286    query hir_attr_map(key: hir::OwnerId) -> &'tcx hir::AttributeMap<'tcx> {
287        desc { |tcx| "getting HIR owner attributes in `{}`", tcx.def_path_str(key) }
288        feedable
289    }
290
291    /// Gives access to lints emitted during ast lowering.
292    ///
293    /// This can be conveniently accessed by `tcx.hir_*` methods.
294    /// Avoid calling this query directly.
295    query opt_ast_lowering_delayed_lints(key: hir::OwnerId) -> Option<&'tcx hir::lints::DelayedLints> {
296        desc { |tcx| "getting AST lowering delayed lints in `{}`", tcx.def_path_str(key) }
297    }
298
299    /// Returns the *default* of the const pararameter given by `DefId`.
300    ///
301    /// E.g., given `struct Ty<const N: usize = 3>;` this returns `3` for `N`.
302    query const_param_default(param: DefId) -> ty::EarlyBinder<'tcx, ty::Const<'tcx>> {
303        desc { |tcx| "computing the default for const parameter `{}`", tcx.def_path_str(param)  }
304        cache_on_disk_if { param.is_local() }
305        separate_provide_extern
306    }
307
308    /// Returns the const of the RHS of a (free or assoc) const item, if it is a `#[type_const]`.
309    ///
310    /// When a const item is used in a type-level expression, like in equality for an assoc const
311    /// projection, this allows us to retrieve the typesystem-appropriate representation of the
312    /// const value.
313    ///
314    /// This query will ICE if given a const that is not marked with `#[type_const]`.
315    query const_of_item(def_id: DefId) -> ty::EarlyBinder<'tcx, ty::Const<'tcx>> {
316        desc { |tcx| "computing the type-level value for `{}`", tcx.def_path_str(def_id)  }
317        cache_on_disk_if { def_id.is_local() }
318        separate_provide_extern
319    }
320
321    /// Returns the *type* of the definition given by `DefId`.
322    ///
323    /// For type aliases (whether eager or lazy) and associated types, this returns
324    /// the underlying aliased type (not the corresponding [alias type]).
325    ///
326    /// For opaque types, this returns and thus reveals the hidden type! If you
327    /// want to detect cycle errors use `type_of_opaque` instead.
328    ///
329    /// To clarify, for type definitions, this does *not* return the "type of a type"
330    /// (aka *kind* or *sort*) in the type-theoretical sense! It merely returns
331    /// the type primarily *associated with* it.
332    ///
333    /// # Panics
334    ///
335    /// This query will panic if the given definition doesn't (and can't
336    /// conceptually) have an (underlying) type.
337    ///
338    /// [alias type]: rustc_middle::ty::AliasTy
339    query type_of(key: DefId) -> ty::EarlyBinder<'tcx, Ty<'tcx>> {
340        desc { |tcx|
341            "{action} `{path}`",
342            action = match tcx.def_kind(key) {
343                DefKind::TyAlias => "expanding type alias",
344                DefKind::TraitAlias => "expanding trait alias",
345                _ => "computing type of",
346            },
347            path = tcx.def_path_str(key),
348        }
349        cache_on_disk_if { key.is_local() }
350        separate_provide_extern
351        feedable
352    }
353
354    /// Returns the *hidden type* of the opaque type given by `DefId` unless a cycle occurred.
355    ///
356    /// This is a specialized instance of [`Self::type_of`] that detects query cycles.
357    /// Unless `CyclePlaceholder` needs to be handled separately, call [`Self::type_of`] instead.
358    /// This is used to improve the error message in cases where revealing the hidden type
359    /// for auto-trait leakage cycles.
360    ///
361    /// # Panics
362    ///
363    /// This query will panic if the given definition is not an opaque type.
364    query type_of_opaque(key: DefId) -> Result<ty::EarlyBinder<'tcx, Ty<'tcx>>, CyclePlaceholder> {
365        desc { |tcx|
366            "computing type of opaque `{path}`",
367            path = tcx.def_path_str(key),
368        }
369        cycle_stash
370    }
371    query type_of_opaque_hir_typeck(key: LocalDefId) -> ty::EarlyBinder<'tcx, Ty<'tcx>> {
372        desc { |tcx|
373            "computing type of opaque `{path}` via HIR typeck",
374            path = tcx.def_path_str(key),
375        }
376    }
377
378    /// Returns whether the type alias given by `DefId` is lazy.
379    ///
380    /// I.e., if the type alias expands / ought to expand to a [free] [alias type]
381    /// instead of the underlying aliased type.
382    ///
383    /// Relevant for features `lazy_type_alias` and `type_alias_impl_trait`.
384    ///
385    /// # Panics
386    ///
387    /// This query *may* panic if the given definition is not a type alias.
388    ///
389    /// [free]: rustc_middle::ty::Free
390    /// [alias type]: rustc_middle::ty::AliasTy
391    query type_alias_is_lazy(key: DefId) -> bool {
392        desc { |tcx|
393            "computing whether the type alias `{path}` is lazy",
394            path = tcx.def_path_str(key),
395        }
396        separate_provide_extern
397    }
398
399    query collect_return_position_impl_trait_in_trait_tys(key: DefId)
400        -> Result<&'tcx DefIdMap<ty::EarlyBinder<'tcx, Ty<'tcx>>>, ErrorGuaranteed>
401    {
402        desc { "comparing an impl and trait method signature, inferring any hidden `impl Trait` types in the process" }
403        cache_on_disk_if { key.is_local() }
404        separate_provide_extern
405    }
406
407    query opaque_ty_origin(key: DefId) -> hir::OpaqueTyOrigin<DefId>
408    {
409        desc { "determine where the opaque originates from" }
410        separate_provide_extern
411    }
412
413    query unsizing_params_for_adt(key: DefId) -> &'tcx rustc_index::bit_set::DenseBitSet<u32>
414    {
415        arena_cache
416        desc { |tcx|
417            "determining what parameters of `{}` can participate in unsizing",
418            tcx.def_path_str(key),
419        }
420    }
421
422    /// The root query triggering all analysis passes like typeck or borrowck.
423    query analysis(key: ()) {
424        eval_always
425        desc { |tcx|
426            "running analysis passes on crate `{}`",
427            tcx.crate_name(LOCAL_CRATE),
428        }
429    }
430
431    /// This query checks the fulfillment of collected lint expectations.
432    /// All lint emitting queries have to be done before this is executed
433    /// to ensure that all expectations can be fulfilled.
434    ///
435    /// This is an extra query to enable other drivers (like rustdoc) to
436    /// only execute a small subset of the `analysis` query, while allowing
437    /// lints to be expected. In rustc, this query will be executed as part of
438    /// the `analysis` query and doesn't have to be called a second time.
439    ///
440    /// Tools can additionally pass in a tool filter. That will restrict the
441    /// expectations to only trigger for lints starting with the listed tool
442    /// name. This is useful for cases were not all linting code from rustc
443    /// was called. With the default `None` all registered lints will also
444    /// be checked for expectation fulfillment.
445    query check_expectations(key: Option<Symbol>) {
446        eval_always
447        desc { "checking lint expectations (RFC 2383)" }
448    }
449
450    /// Returns the *generics* of the definition given by `DefId`.
451    query generics_of(key: DefId) -> &'tcx ty::Generics {
452        desc { |tcx| "computing generics of `{}`", tcx.def_path_str(key) }
453        arena_cache
454        cache_on_disk_if { key.is_local() }
455        separate_provide_extern
456        feedable
457    }
458
459    /// Returns the (elaborated) *predicates* of the definition given by `DefId`
460    /// that must be proven true at usage sites (and which can be assumed at definition site).
461    ///
462    /// This is almost always *the* "predicates query" that you want.
463    ///
464    /// **Tip**: You can use `#[rustc_dump_predicates]` on an item to basically print
465    /// the result of this query for use in UI tests or for debugging purposes.
466    query predicates_of(key: DefId) -> ty::GenericPredicates<'tcx> {
467        desc { |tcx| "computing predicates of `{}`", tcx.def_path_str(key) }
468        cache_on_disk_if { key.is_local() }
469    }
470
471    query opaque_types_defined_by(
472        key: LocalDefId
473    ) -> &'tcx ty::List<LocalDefId> {
474        desc {
475            |tcx| "computing the opaque types defined by `{}`",
476            tcx.def_path_str(key.to_def_id())
477        }
478    }
479
480    /// A list of all bodies inside of `key`, nested bodies are always stored
481    /// before their parent.
482    query nested_bodies_within(
483        key: LocalDefId
484    ) -> &'tcx ty::List<LocalDefId> {
485        desc {
486            |tcx| "computing the coroutines defined within `{}`",
487            tcx.def_path_str(key.to_def_id())
488        }
489    }
490
491    /// Returns the explicitly user-written *bounds* on the associated or opaque type given by `DefId`
492    /// that must be proven true at definition site (and which can be assumed at usage sites).
493    ///
494    /// For associated types, these must be satisfied for an implementation
495    /// to be well-formed, and for opaque types, these are required to be
496    /// satisfied by the hidden type of the opaque.
497    ///
498    /// Bounds from the parent (e.g. with nested `impl Trait`) are not included.
499    ///
500    /// Syntactially, these are the bounds written on associated types in trait
501    /// definitions, or those after the `impl` keyword for an opaque:
502    ///
503    /// ```ignore (illustrative)
504    /// trait Trait { type X: Bound + 'lt; }
505    /// //                    ^^^^^^^^^^^
506    /// fn function() -> impl Debug + Display { /*...*/ }
507    /// //                    ^^^^^^^^^^^^^^^
508    /// ```
509    query explicit_item_bounds(key: DefId) -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
510        desc { |tcx| "finding item bounds for `{}`", tcx.def_path_str(key) }
511        cache_on_disk_if { key.is_local() }
512        separate_provide_extern
513        feedable
514    }
515
516    /// Returns the explicitly user-written *bounds* that share the `Self` type of the item.
517    ///
518    /// These are a subset of the [explicit item bounds] that may explicitly be used for things
519    /// like closure signature deduction.
520    ///
521    /// [explicit item bounds]: Self::explicit_item_bounds
522    query explicit_item_self_bounds(key: DefId) -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
523        desc { |tcx| "finding item bounds for `{}`", tcx.def_path_str(key) }
524        cache_on_disk_if { key.is_local() }
525        separate_provide_extern
526        feedable
527    }
528
529    /// Returns the (elaborated) *bounds* on the associated or opaque type given by `DefId`
530    /// that must be proven true at definition site (and which can be assumed at usage sites).
531    ///
532    /// Bounds from the parent (e.g. with nested `impl Trait`) are not included.
533    ///
534    /// **Tip**: You can use `#[rustc_dump_item_bounds]` on an item to basically print
535    /// the result of this query for use in UI tests or for debugging purposes.
536    ///
537    /// # Examples
538    ///
539    /// ```
540    /// trait Trait { type Assoc: Eq + ?Sized; }
541    /// ```
542    ///
543    /// While [`Self::explicit_item_bounds`] returns `[<Self as Trait>::Assoc: Eq]`
544    /// here, `item_bounds` returns:
545    ///
546    /// ```text
547    /// [
548    ///     <Self as Trait>::Assoc: Eq,
549    ///     <Self as Trait>::Assoc: PartialEq<<Self as Trait>::Assoc>
550    /// ]
551    /// ```
552    query item_bounds(key: DefId) -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
553        desc { |tcx| "elaborating item bounds for `{}`", tcx.def_path_str(key) }
554    }
555
556    query item_self_bounds(key: DefId) -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
557        desc { |tcx| "elaborating item assumptions for `{}`", tcx.def_path_str(key) }
558    }
559
560    query item_non_self_bounds(key: DefId) -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
561        desc { |tcx| "elaborating item assumptions for `{}`", tcx.def_path_str(key) }
562    }
563
564    query impl_super_outlives(key: DefId) -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
565        desc { |tcx| "elaborating supertrait outlives for trait of `{}`", tcx.def_path_str(key) }
566    }
567
568    /// Look up all native libraries this crate depends on.
569    /// These are assembled from the following places:
570    /// - `extern` blocks (depending on their `link` attributes)
571    /// - the `libs` (`-l`) option
572    query native_libraries(_: CrateNum) -> &'tcx Vec<NativeLib> {
573        arena_cache
574        desc { "looking up the native libraries of a linked crate" }
575        separate_provide_extern
576    }
577
578    query shallow_lint_levels_on(key: hir::OwnerId) -> &'tcx rustc_middle::lint::ShallowLintLevelMap {
579        arena_cache
580        desc { |tcx| "looking up lint levels for `{}`", tcx.def_path_str(key) }
581    }
582
583    query lint_expectations(_: ()) -> &'tcx Vec<(LintExpectationId, LintExpectation)> {
584        arena_cache
585        desc { "computing `#[expect]`ed lints in this crate" }
586    }
587
588    query lints_that_dont_need_to_run(_: ()) -> &'tcx UnordSet<LintId> {
589        arena_cache
590        desc { "Computing all lints that are explicitly enabled or with a default level greater than Allow" }
591    }
592
593    query expn_that_defined(key: DefId) -> rustc_span::ExpnId {
594        desc { |tcx| "getting the expansion that defined `{}`", tcx.def_path_str(key) }
595        separate_provide_extern
596    }
597
598    query is_panic_runtime(_: CrateNum) -> bool {
599        cycle_fatal
600        desc { "checking if the crate is_panic_runtime" }
601        separate_provide_extern
602    }
603
604    /// Checks whether a type is representable or infinitely sized
605    query representability(_: LocalDefId) -> rustc_middle::ty::Representability {
606        desc { "checking if `{}` is representable", tcx.def_path_str(key) }
607        // infinitely sized types will cause a cycle
608        cycle_delay_bug
609        // we don't want recursive representability calls to be forced with
610        // incremental compilation because, if a cycle occurs, we need the
611        // entire cycle to be in memory for diagnostics
612        anon
613    }
614
615    /// An implementation detail for the `representability` query
616    query representability_adt_ty(_: Ty<'tcx>) -> rustc_middle::ty::Representability {
617        desc { "checking if `{}` is representable", key }
618        cycle_delay_bug
619        anon
620    }
621
622    /// Set of param indexes for type params that are in the type's representation
623    query params_in_repr(key: DefId) -> &'tcx rustc_index::bit_set::DenseBitSet<u32> {
624        desc { "finding type parameters in the representation" }
625        arena_cache
626        no_hash
627        separate_provide_extern
628    }
629
630    /// Fetch the THIR for a given body. The THIR body gets stolen by unsafety checking unless
631    /// `-Zno-steal-thir` is on.
632    query thir_body(key: LocalDefId) -> Result<(&'tcx Steal<thir::Thir<'tcx>>, thir::ExprId), ErrorGuaranteed> {
633        // Perf tests revealed that hashing THIR is inefficient (see #85729).
634        no_hash
635        desc { |tcx| "building THIR for `{}`", tcx.def_path_str(key) }
636    }
637
638    /// Set of all the `DefId`s in this crate that have MIR associated with
639    /// them. This includes all the body owners, but also things like struct
640    /// constructors.
641    query mir_keys(_: ()) -> &'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId> {
642        arena_cache
643        desc { "getting a list of all mir_keys" }
644    }
645
646    /// Maps DefId's that have an associated `mir::Body` to the result
647    /// of the MIR const-checking pass. This is the set of qualifs in
648    /// the final value of a `const`.
649    query mir_const_qualif(key: DefId) -> mir::ConstQualifs {
650        desc { |tcx| "const checking `{}`", tcx.def_path_str(key) }
651        cache_on_disk_if { key.is_local() }
652        separate_provide_extern
653    }
654
655    /// Build the MIR for a given `DefId` and prepare it for const qualification.
656    ///
657    /// See the [rustc dev guide] for more info.
658    ///
659    /// [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/mir/construction.html
660    query mir_built(key: LocalDefId) -> &'tcx Steal<mir::Body<'tcx>> {
661        desc { |tcx| "building MIR for `{}`", tcx.def_path_str(key) }
662        feedable
663    }
664
665    /// Try to build an abstract representation of the given constant.
666    query thir_abstract_const(
667        key: DefId
668    ) -> Result<Option<ty::EarlyBinder<'tcx, ty::Const<'tcx>>>, ErrorGuaranteed> {
669        desc {
670            |tcx| "building an abstract representation for `{}`", tcx.def_path_str(key),
671        }
672        separate_provide_extern
673    }
674
675    query mir_drops_elaborated_and_const_checked(key: LocalDefId) -> &'tcx Steal<mir::Body<'tcx>> {
676        no_hash
677        desc { |tcx| "elaborating drops for `{}`", tcx.def_path_str(key) }
678    }
679
680    query mir_for_ctfe(
681        key: DefId
682    ) -> &'tcx mir::Body<'tcx> {
683        desc { |tcx| "caching mir of `{}` for CTFE", tcx.def_path_str(key) }
684        cache_on_disk_if { key.is_local() }
685        separate_provide_extern
686    }
687
688    query mir_promoted(key: LocalDefId) -> (
689        &'tcx Steal<mir::Body<'tcx>>,
690        &'tcx Steal<IndexVec<mir::Promoted, mir::Body<'tcx>>>
691    ) {
692        no_hash
693        desc { |tcx| "promoting constants in MIR for `{}`", tcx.def_path_str(key) }
694    }
695
696    query closure_typeinfo(key: LocalDefId) -> ty::ClosureTypeInfo<'tcx> {
697        desc {
698            |tcx| "finding symbols for captures of closure `{}`",
699            tcx.def_path_str(key)
700        }
701    }
702
703    /// Returns names of captured upvars for closures and coroutines.
704    ///
705    /// Here are some examples:
706    ///  - `name__field1__field2` when the upvar is captured by value.
707    ///  - `_ref__name__field` when the upvar is captured by reference.
708    ///
709    /// For coroutines this only contains upvars that are shared by all states.
710    query closure_saved_names_of_captured_variables(def_id: DefId) -> &'tcx IndexVec<abi::FieldIdx, Symbol> {
711        arena_cache
712        desc { |tcx| "computing debuginfo for closure `{}`", tcx.def_path_str(def_id) }
713        separate_provide_extern
714    }
715
716    query mir_coroutine_witnesses(key: DefId) -> Option<&'tcx mir::CoroutineLayout<'tcx>> {
717        arena_cache
718        desc { |tcx| "coroutine witness types for `{}`", tcx.def_path_str(key) }
719        cache_on_disk_if { key.is_local() }
720        separate_provide_extern
721    }
722
723    query check_coroutine_obligations(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
724        desc { |tcx| "verify auto trait bounds for coroutine interior type `{}`", tcx.def_path_str(key) }
725        return_result_from_ensure_ok
726    }
727
728    /// Used in case `mir_borrowck` fails to prove an obligation. We generally assume that
729    /// all goals we prove in MIR type check hold as we've already checked them in HIR typeck.
730    ///
731    /// However, we replace each free region in the MIR body with a unique region inference
732    /// variable. As we may rely on structural identity when proving goals this may cause a
733    /// goal to no longer hold. We store obligations for which this may happen during HIR
734    /// typeck in the `TypeckResults`. We then uniquify and reprove them in case MIR typeck
735    /// encounters an unexpected error. We expect this to result in an error when used and
736    /// delay a bug if it does not.
737    query check_potentially_region_dependent_goals(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
738        desc {
739            |tcx| "reproving potentially region dependent HIR typeck goals for `{}",
740            tcx.def_path_str(key)
741        }
742    }
743
744    /// MIR after our optimization passes have run. This is MIR that is ready
745    /// for codegen. This is also the only query that can fetch non-local MIR, at present.
746    query optimized_mir(key: DefId) -> &'tcx mir::Body<'tcx> {
747        desc { |tcx| "optimizing MIR for `{}`", tcx.def_path_str(key) }
748        cache_on_disk_if { key.is_local() }
749        separate_provide_extern
750    }
751
752    /// Checks for the nearest `#[coverage(off)]` or `#[coverage(on)]` on
753    /// this def and any enclosing defs, up to the crate root.
754    ///
755    /// Returns `false` if `#[coverage(off)]` was found, or `true` if
756    /// either `#[coverage(on)]` or no coverage attribute was found.
757    query coverage_attr_on(key: LocalDefId) -> bool {
758        desc { |tcx| "checking for `#[coverage(..)]` on `{}`", tcx.def_path_str(key) }
759        feedable
760    }
761
762    /// Scans through a function's MIR after MIR optimizations, to prepare the
763    /// information needed by codegen when `-Cinstrument-coverage` is active.
764    ///
765    /// This includes the details of where to insert `llvm.instrprof.increment`
766    /// intrinsics, and the expression tables to be embedded in the function's
767    /// coverage metadata.
768    ///
769    /// FIXME(Zalathar): This query's purpose has drifted a bit and should
770    /// probably be renamed, but that can wait until after the potential
771    /// follow-ups to #136053 have settled down.
772    ///
773    /// Returns `None` for functions that were not instrumented.
774    query coverage_ids_info(key: ty::InstanceKind<'tcx>) -> Option<&'tcx mir::coverage::CoverageIdsInfo> {
775        desc { |tcx| "retrieving coverage IDs info from MIR for `{}`", tcx.def_path_str(key.def_id()) }
776        arena_cache
777    }
778
779    /// The `DefId` is the `DefId` of the containing MIR body. Promoteds do not have their own
780    /// `DefId`. This function returns all promoteds in the specified body. The body references
781    /// promoteds by the `DefId` and the `mir::Promoted` index. This is necessary, because
782    /// after inlining a body may refer to promoteds from other bodies. In that case you still
783    /// need to use the `DefId` of the original body.
784    query promoted_mir(key: DefId) -> &'tcx IndexVec<mir::Promoted, mir::Body<'tcx>> {
785        desc { |tcx| "optimizing promoted MIR for `{}`", tcx.def_path_str(key) }
786        cache_on_disk_if { key.is_local() }
787        separate_provide_extern
788    }
789
790    /// Erases regions from `ty` to yield a new type.
791    /// Normally you would just use `tcx.erase_and_anonymize_regions(value)`,
792    /// however, which uses this query as a kind of cache.
793    query erase_and_anonymize_regions_ty(ty: Ty<'tcx>) -> Ty<'tcx> {
794        // This query is not expected to have input -- as a result, it
795        // is not a good candidates for "replay" because it is essentially a
796        // pure function of its input (and hence the expectation is that
797        // no caller would be green **apart** from just these
798        // queries). Making it anonymous avoids hashing the result, which
799        // may save a bit of time.
800        anon
801        desc { "erasing regions from `{}`", ty }
802    }
803
804    query wasm_import_module_map(_: CrateNum) -> &'tcx DefIdMap<String> {
805        arena_cache
806        desc { "getting wasm import module map" }
807    }
808
809    /// Returns the explicitly user-written *predicates and bounds* of the trait given by `DefId`.
810    ///
811    /// Traits are unusual, because predicates on associated types are
812    /// converted into bounds on that type for backwards compatibility:
813    ///
814    /// ```
815    /// trait X where Self::U: Copy { type U; }
816    /// ```
817    ///
818    /// becomes
819    ///
820    /// ```
821    /// trait X { type U: Copy; }
822    /// ```
823    ///
824    /// [`Self::explicit_predicates_of`] and [`Self::explicit_item_bounds`] will
825    /// then take the appropriate subsets of the predicates here.
826    ///
827    /// # Panics
828    ///
829    /// This query will panic if the given definition is not a trait.
830    query trait_explicit_predicates_and_bounds(key: LocalDefId) -> ty::GenericPredicates<'tcx> {
831        desc { |tcx| "computing explicit predicates of trait `{}`", tcx.def_path_str(key) }
832    }
833
834    /// Returns the explicitly user-written *predicates* of the definition given by `DefId`
835    /// that must be proven true at usage sites (and which can be assumed at definition site).
836    ///
837    /// You should probably use [`Self::predicates_of`] unless you're looking for
838    /// predicates with explicit spans for diagnostics purposes.
839    query explicit_predicates_of(key: DefId) -> ty::GenericPredicates<'tcx> {
840        desc { |tcx| "computing explicit predicates of `{}`", tcx.def_path_str(key) }
841        cache_on_disk_if { key.is_local() }
842        separate_provide_extern
843        feedable
844    }
845
846    /// Returns the *inferred outlives-predicates* of the item given by `DefId`.
847    ///
848    /// E.g., for `struct Foo<'a, T> { x: &'a T }`, this would return `[T: 'a]`.
849    ///
850    /// **Tip**: You can use `#[rustc_outlives]` on an item to basically print the
851    /// result of this query for use in UI tests or for debugging purposes.
852    query inferred_outlives_of(key: DefId) -> &'tcx [(ty::Clause<'tcx>, Span)] {
853        desc { |tcx| "computing inferred outlives-predicates of `{}`", tcx.def_path_str(key) }
854        cache_on_disk_if { key.is_local() }
855        separate_provide_extern
856        feedable
857    }
858
859    /// Returns the explicitly user-written *super-predicates* of the trait given by `DefId`.
860    ///
861    /// These predicates are unelaborated and consequently don't contain transitive super-predicates.
862    ///
863    /// This is a subset of the full list of predicates. We store these in a separate map
864    /// because we must evaluate them even during type conversion, often before the full
865    /// predicates are available (note that super-predicates must not be cyclic).
866    query explicit_super_predicates_of(key: DefId) -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
867        desc { |tcx| "computing the super predicates of `{}`", tcx.def_path_str(key) }
868        cache_on_disk_if { key.is_local() }
869        separate_provide_extern
870    }
871
872    /// The predicates of the trait that are implied during elaboration.
873    ///
874    /// This is a superset of the super-predicates of the trait, but a subset of the predicates
875    /// of the trait. For regular traits, this includes all super-predicates and their
876    /// associated type bounds. For trait aliases, currently, this includes all of the
877    /// predicates of the trait alias.
878    query explicit_implied_predicates_of(key: DefId) -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
879        desc { |tcx| "computing the implied predicates of `{}`", tcx.def_path_str(key) }
880        cache_on_disk_if { key.is_local() }
881        separate_provide_extern
882    }
883
884    /// The Ident is the name of an associated type.The query returns only the subset
885    /// of supertraits that define the given associated type. This is used to avoid
886    /// cycles in resolving type-dependent associated item paths like `T::Item`.
887    query explicit_supertraits_containing_assoc_item(
888        key: (DefId, rustc_span::Ident)
889    ) -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
890        desc { |tcx| "computing the super traits of `{}` with associated type name `{}`",
891            tcx.def_path_str(key.0),
892            key.1
893        }
894    }
895
896    /// Compute the conditions that need to hold for a conditionally-const item to be const.
897    /// That is, compute the set of `[const]` where clauses for a given item.
898    ///
899    /// This can be thought of as the `[const]` equivalent of `predicates_of`. These are the
900    /// predicates that need to be proven at usage sites, and can be assumed at definition.
901    ///
902    /// This query also computes the `[const]` where clauses for associated types, which are
903    /// not "const", but which have item bounds which may be `[const]`. These must hold for
904    /// the `[const]` item bound to hold.
905    query const_conditions(
906        key: DefId
907    ) -> ty::ConstConditions<'tcx> {
908        desc { |tcx| "computing the conditions for `{}` to be considered const",
909            tcx.def_path_str(key)
910        }
911        separate_provide_extern
912    }
913
914    /// Compute the const bounds that are implied for a conditionally-const item.
915    ///
916    /// This can be though of as the `[const]` equivalent of `explicit_item_bounds`. These
917    /// are the predicates that need to proven at definition sites, and can be assumed at
918    /// usage sites.
919    query explicit_implied_const_bounds(
920        key: DefId
921    ) -> ty::EarlyBinder<'tcx, &'tcx [(ty::PolyTraitRef<'tcx>, Span)]> {
922        desc { |tcx| "computing the implied `[const]` bounds for `{}`",
923            tcx.def_path_str(key)
924        }
925        separate_provide_extern
926    }
927
928    /// To avoid cycles within the predicates of a single item we compute
929    /// per-type-parameter predicates for resolving `T::AssocTy`.
930    query type_param_predicates(
931        key: (LocalDefId, LocalDefId, rustc_span::Ident)
932    ) -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
933        desc { |tcx| "computing the bounds for type parameter `{}`", tcx.hir_ty_param_name(key.1) }
934    }
935
936    query trait_def(key: DefId) -> &'tcx ty::TraitDef {
937        desc { |tcx| "computing trait definition for `{}`", tcx.def_path_str(key) }
938        arena_cache
939        cache_on_disk_if { key.is_local() }
940        separate_provide_extern
941    }
942    query adt_def(key: DefId) -> ty::AdtDef<'tcx> {
943        desc { |tcx| "computing ADT definition for `{}`", tcx.def_path_str(key) }
944        cache_on_disk_if { key.is_local() }
945        separate_provide_extern
946    }
947    query adt_destructor(key: DefId) -> Option<ty::Destructor> {
948        desc { |tcx| "computing `Drop` impl for `{}`", tcx.def_path_str(key) }
949        cache_on_disk_if { key.is_local() }
950        separate_provide_extern
951    }
952    query adt_async_destructor(key: DefId) -> Option<ty::AsyncDestructor> {
953        desc { |tcx| "computing `AsyncDrop` impl for `{}`", tcx.def_path_str(key) }
954        cache_on_disk_if { key.is_local() }
955        separate_provide_extern
956    }
957    query adt_sizedness_constraint(
958        key: (DefId, SizedTraitKind)
959    ) -> Option<ty::EarlyBinder<'tcx, Ty<'tcx>>> {
960        desc { |tcx| "computing the sizedness constraint for `{}`", tcx.def_path_str(key.0) }
961    }
962
963    query adt_dtorck_constraint(
964        key: DefId
965    ) -> &'tcx DropckConstraint<'tcx> {
966        desc { |tcx| "computing drop-check constraints for `{}`", tcx.def_path_str(key) }
967    }
968
969    /// Returns the constness of the function-like[^1] definition given by `DefId`.
970    ///
971    /// Tuple struct/variant constructors are *always* const, foreign functions are
972    /// *never* const. The rest is const iff marked with keyword `const` (or rather
973    /// its parent in the case of associated functions).
974    ///
975    /// <div class="warning">
976    ///
977    /// **Do not call this query** directly. It is only meant to cache the base data for the
978    /// higher-level functions. Consider using `is_const_fn` or `is_const_trait_impl` instead.
979    ///
980    /// Also note that neither of them takes into account feature gates, stability and
981    /// const predicates/conditions!
982    ///
983    /// </div>
984    ///
985    /// # Panics
986    ///
987    /// This query will panic if the given definition is not function-like[^1].
988    ///
989    /// [^1]: Tuple struct/variant constructors, closures and free, associated and foreign functions.
990    query constness(key: DefId) -> hir::Constness {
991        desc { |tcx| "checking if item is const: `{}`", tcx.def_path_str(key) }
992        separate_provide_extern
993        feedable
994    }
995
996    query asyncness(key: DefId) -> ty::Asyncness {
997        desc { |tcx| "checking if the function is async: `{}`", tcx.def_path_str(key) }
998        separate_provide_extern
999    }
1000
1001    /// Returns `true` if calls to the function may be promoted.
1002    ///
1003    /// This is either because the function is e.g., a tuple-struct or tuple-variant
1004    /// constructor, or because it has the `#[rustc_promotable]` attribute. The attribute should
1005    /// be removed in the future in favour of some form of check which figures out whether the
1006    /// function does not inspect the bits of any of its arguments (so is essentially just a
1007    /// constructor function).
1008    query is_promotable_const_fn(key: DefId) -> bool {
1009        desc { |tcx| "checking if item is promotable: `{}`", tcx.def_path_str(key) }
1010    }
1011
1012    /// The body of the coroutine, modified to take its upvars by move rather than by ref.
1013    ///
1014    /// This is used by coroutine-closures, which must return a different flavor of coroutine
1015    /// when called using `AsyncFnOnce::call_once`. It is produced by the `ByMoveBody` pass which
1016    /// is run right after building the initial MIR, and will only be populated for coroutines
1017    /// which come out of the async closure desugaring.
1018    query coroutine_by_move_body_def_id(def_id: DefId) -> DefId {
1019        desc { |tcx| "looking up the coroutine by-move body for `{}`", tcx.def_path_str(def_id) }
1020        separate_provide_extern
1021    }
1022
1023    /// Returns `Some(coroutine_kind)` if the node pointed to by `def_id` is a coroutine.
1024    query coroutine_kind(def_id: DefId) -> Option<hir::CoroutineKind> {
1025        desc { |tcx| "looking up coroutine kind of `{}`", tcx.def_path_str(def_id) }
1026        separate_provide_extern
1027        feedable
1028    }
1029
1030    query coroutine_for_closure(def_id: DefId) -> DefId {
1031        desc { |_tcx| "Given a coroutine-closure def id, return the def id of the coroutine returned by it" }
1032        separate_provide_extern
1033    }
1034
1035    query coroutine_hidden_types(
1036        def_id: DefId,
1037    ) -> ty::EarlyBinder<'tcx, ty::Binder<'tcx, ty::CoroutineWitnessTypes<TyCtxt<'tcx>>>> {
1038        desc { "looking up the hidden types stored across await points in a coroutine" }
1039    }
1040
1041    /// Gets a map with the variances of every item in the local crate.
1042    ///
1043    /// <div class="warning">
1044    ///
1045    /// **Do not call this query** directly, use [`Self::variances_of`] instead.
1046    ///
1047    /// </div>
1048    query crate_variances(_: ()) -> &'tcx ty::CrateVariancesMap<'tcx> {
1049        arena_cache
1050        desc { "computing the variances for items in this crate" }
1051    }
1052
1053    /// Returns the (inferred) variances of the item given by `DefId`.
1054    ///
1055    /// The list of variances corresponds to the list of (early-bound) generic
1056    /// parameters of the item (including its parents).
1057    ///
1058    /// **Tip**: You can use `#[rustc_variance]` on an item to basically print the
1059    /// result of this query for use in UI tests or for debugging purposes.
1060    query variances_of(def_id: DefId) -> &'tcx [ty::Variance] {
1061        desc { |tcx| "computing the variances of `{}`", tcx.def_path_str(def_id) }
1062        cache_on_disk_if { def_id.is_local() }
1063        separate_provide_extern
1064        cycle_delay_bug
1065    }
1066
1067    /// Gets a map with the inferred outlives-predicates of every item in the local crate.
1068    ///
1069    /// <div class="warning">
1070    ///
1071    /// **Do not call this query** directly, use [`Self::inferred_outlives_of`] instead.
1072    ///
1073    /// </div>
1074    query inferred_outlives_crate(_: ()) -> &'tcx ty::CratePredicatesMap<'tcx> {
1075        arena_cache
1076        desc { "computing the inferred outlives-predicates for items in this crate" }
1077    }
1078
1079    /// Maps from an impl/trait or struct/variant `DefId`
1080    /// to a list of the `DefId`s of its associated items or fields.
1081    query associated_item_def_ids(key: DefId) -> &'tcx [DefId] {
1082        desc { |tcx| "collecting associated items or fields of `{}`", tcx.def_path_str(key) }
1083        cache_on_disk_if { key.is_local() }
1084        separate_provide_extern
1085    }
1086
1087    /// Maps from a trait/impl item to the trait/impl item "descriptor".
1088    query associated_item(key: DefId) -> ty::AssocItem {
1089        desc { |tcx| "computing associated item data for `{}`", tcx.def_path_str(key) }
1090        cache_on_disk_if { key.is_local() }
1091        separate_provide_extern
1092        feedable
1093    }
1094
1095    /// Collects the associated items defined on a trait or impl.
1096    query associated_items(key: DefId) -> &'tcx ty::AssocItems {
1097        arena_cache
1098        desc { |tcx| "collecting associated items of `{}`", tcx.def_path_str(key) }
1099    }
1100
1101    /// Maps from associated items on a trait to the corresponding associated
1102    /// item on the impl specified by `impl_id`.
1103    ///
1104    /// For example, with the following code
1105    ///
1106    /// ```
1107    /// struct Type {}
1108    ///                         // DefId
1109    /// trait Trait {           // trait_id
1110    ///     fn f();             // trait_f
1111    ///     fn g() {}           // trait_g
1112    /// }
1113    ///
1114    /// impl Trait for Type {   // impl_id
1115    ///     fn f() {}           // impl_f
1116    ///     fn g() {}           // impl_g
1117    /// }
1118    /// ```
1119    ///
1120    /// The map returned for `tcx.impl_item_implementor_ids(impl_id)` would be
1121    ///`{ trait_f: impl_f, trait_g: impl_g }`
1122    query impl_item_implementor_ids(impl_id: DefId) -> &'tcx DefIdMap<DefId> {
1123        arena_cache
1124        desc { |tcx| "comparing impl items against trait for `{}`", tcx.def_path_str(impl_id) }
1125    }
1126
1127    /// Given the `item_def_id` of a trait or impl, return a mapping from associated fn def id
1128    /// to its associated type items that correspond to the RPITITs in its signature.
1129    query associated_types_for_impl_traits_in_trait_or_impl(item_def_id: DefId) -> &'tcx DefIdMap<Vec<DefId>> {
1130        arena_cache
1131        desc { |tcx| "synthesizing RPITIT items for the opaque types for methods in `{}`", tcx.def_path_str(item_def_id) }
1132        separate_provide_extern
1133    }
1134
1135    /// Given an `impl_id`, return the trait it implements along with some header information.
1136    query impl_trait_header(impl_id: DefId) -> ty::ImplTraitHeader<'tcx> {
1137        desc { |tcx| "computing trait implemented by `{}`", tcx.def_path_str(impl_id) }
1138        cache_on_disk_if { impl_id.is_local() }
1139        separate_provide_extern
1140    }
1141
1142    /// Given an `impl_def_id`, return true if the self type is guaranteed to be unsized due
1143    /// to either being one of the built-in unsized types (str/slice/dyn) or to be a struct
1144    /// whose tail is one of those types.
1145    query impl_self_is_guaranteed_unsized(impl_def_id: DefId) -> bool {
1146        desc { |tcx| "computing whether `{}` has a guaranteed unsized self type", tcx.def_path_str(impl_def_id) }
1147    }
1148
1149    /// Maps a `DefId` of a type to a list of its inherent impls.
1150    /// Contains implementations of methods that are inherent to a type.
1151    /// Methods in these implementations don't need to be exported.
1152    query inherent_impls(key: DefId) -> &'tcx [DefId] {
1153        desc { |tcx| "collecting inherent impls for `{}`", tcx.def_path_str(key) }
1154        cache_on_disk_if { key.is_local() }
1155        separate_provide_extern
1156    }
1157
1158    query incoherent_impls(key: SimplifiedType) -> &'tcx [DefId] {
1159        desc { |tcx| "collecting all inherent impls for `{:?}`", key }
1160    }
1161
1162    /// Unsafety-check this `LocalDefId`.
1163    query check_transmutes(key: LocalDefId) {
1164        desc { |tcx| "check transmute calls inside `{}`", tcx.def_path_str(key) }
1165    }
1166
1167    /// Unsafety-check this `LocalDefId`.
1168    query check_unsafety(key: LocalDefId) {
1169        desc { |tcx| "unsafety-checking `{}`", tcx.def_path_str(key) }
1170    }
1171
1172    /// Checks well-formedness of tail calls (`become f()`).
1173    query check_tail_calls(key: LocalDefId) -> Result<(), rustc_errors::ErrorGuaranteed> {
1174        desc { |tcx| "tail-call-checking `{}`", tcx.def_path_str(key) }
1175        return_result_from_ensure_ok
1176    }
1177
1178    /// Returns the types assumed to be well formed while "inside" of the given item.
1179    ///
1180    /// Note that we've liberated the late bound regions of function signatures, so
1181    /// this can not be used to check whether these types are well formed.
1182    query assumed_wf_types(key: LocalDefId) -> &'tcx [(Ty<'tcx>, Span)] {
1183        desc { |tcx| "computing the implied bounds of `{}`", tcx.def_path_str(key) }
1184    }
1185
1186    /// We need to store the assumed_wf_types for an RPITIT so that impls of foreign
1187    /// traits with return-position impl trait in traits can inherit the right wf types.
1188    query assumed_wf_types_for_rpitit(key: DefId) -> &'tcx [(Ty<'tcx>, Span)] {
1189        desc { |tcx| "computing the implied bounds of `{}`", tcx.def_path_str(key) }
1190        separate_provide_extern
1191    }
1192
1193    /// Computes the signature of the function.
1194    query fn_sig(key: DefId) -> ty::EarlyBinder<'tcx, ty::PolyFnSig<'tcx>> {
1195        desc { |tcx| "computing function signature of `{}`", tcx.def_path_str(key) }
1196        cache_on_disk_if { key.is_local() }
1197        separate_provide_extern
1198        cycle_delay_bug
1199    }
1200
1201    /// Performs lint checking for the module.
1202    query lint_mod(key: LocalModDefId) {
1203        desc { |tcx| "linting {}", describe_as_module(key, tcx) }
1204    }
1205
1206    query check_unused_traits(_: ()) {
1207        desc { "checking unused trait imports in crate" }
1208    }
1209
1210    /// Checks the attributes in the module.
1211    query check_mod_attrs(key: LocalModDefId) {
1212        desc { |tcx| "checking attributes in {}", describe_as_module(key, tcx) }
1213    }
1214
1215    /// Checks for uses of unstable APIs in the module.
1216    query check_mod_unstable_api_usage(key: LocalModDefId) {
1217        desc { |tcx| "checking for unstable API usage in {}", describe_as_module(key, tcx) }
1218    }
1219
1220    query check_mod_privacy(key: LocalModDefId) {
1221        desc { |tcx| "checking privacy in {}", describe_as_module(key.to_local_def_id(), tcx) }
1222    }
1223
1224    query check_liveness(key: LocalDefId) -> &'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx> {
1225        arena_cache
1226        desc { |tcx| "checking liveness of variables in `{}`", tcx.def_path_str(key.to_def_id()) }
1227        cache_on_disk_if(tcx) { tcx.is_typeck_child(key.to_def_id()) }
1228    }
1229
1230    /// Return the live symbols in the crate for dead code check.
1231    ///
1232    /// The second return value maps from ADTs to ignored derived traits (e.g. Debug and Clone).
1233    query live_symbols_and_ignored_derived_traits(_: ()) -> &'tcx Result<(
1234        LocalDefIdSet,
1235        LocalDefIdMap<FxIndexSet<DefId>>,
1236    ), ErrorGuaranteed> {
1237        arena_cache
1238        desc { "finding live symbols in crate" }
1239    }
1240
1241    query check_mod_deathness(key: LocalModDefId) {
1242        desc { |tcx| "checking deathness of variables in {}", describe_as_module(key, tcx) }
1243    }
1244
1245    query check_type_wf(key: ()) -> Result<(), ErrorGuaranteed> {
1246        desc { "checking that types are well-formed" }
1247        return_result_from_ensure_ok
1248    }
1249
1250    /// Caches `CoerceUnsized` kinds for impls on custom types.
1251    query coerce_unsized_info(key: DefId) -> Result<ty::adjustment::CoerceUnsizedInfo, ErrorGuaranteed> {
1252        desc { |tcx| "computing CoerceUnsized info for `{}`", tcx.def_path_str(key) }
1253        cache_on_disk_if { key.is_local() }
1254        separate_provide_extern
1255        return_result_from_ensure_ok
1256    }
1257
1258    query typeck(key: LocalDefId) -> &'tcx ty::TypeckResults<'tcx> {
1259        desc { |tcx| "type-checking `{}`", tcx.def_path_str(key) }
1260        cache_on_disk_if(tcx) { !tcx.is_typeck_child(key.to_def_id()) }
1261    }
1262
1263    query used_trait_imports(key: LocalDefId) -> &'tcx UnordSet<LocalDefId> {
1264        desc { |tcx| "finding used_trait_imports `{}`", tcx.def_path_str(key) }
1265        cache_on_disk_if { true }
1266    }
1267
1268    query coherent_trait(def_id: DefId) -> Result<(), ErrorGuaranteed> {
1269        desc { |tcx| "coherence checking all impls of trait `{}`", tcx.def_path_str(def_id) }
1270        return_result_from_ensure_ok
1271    }
1272
1273    /// Borrow-checks the given typeck root, e.g. functions, const/static items,
1274    /// and its children, e.g. closures, inline consts.
1275    query mir_borrowck(key: LocalDefId) -> Result<
1276        &'tcx FxIndexMap<LocalDefId, ty::DefinitionSiteHiddenType<'tcx>>,
1277        ErrorGuaranteed
1278    > {
1279        desc { |tcx| "borrow-checking `{}`", tcx.def_path_str(key) }
1280    }
1281
1282    /// Gets a complete map from all types to their inherent impls.
1283    ///
1284    /// <div class="warning">
1285    ///
1286    /// **Not meant to be used** directly outside of coherence.
1287    ///
1288    /// </div>
1289    query crate_inherent_impls(k: ()) -> (&'tcx CrateInherentImpls, Result<(), ErrorGuaranteed>) {
1290        desc { "finding all inherent impls defined in crate" }
1291    }
1292
1293    /// Checks all types in the crate for overlap in their inherent impls. Reports errors.
1294    ///
1295    /// <div class="warning">
1296    ///
1297    /// **Not meant to be used** directly outside of coherence.
1298    ///
1299    /// </div>
1300    query crate_inherent_impls_validity_check(_: ()) -> Result<(), ErrorGuaranteed> {
1301        desc { "check for inherent impls that should not be defined in crate" }
1302        return_result_from_ensure_ok
1303    }
1304
1305    /// Checks all types in the crate for overlap in their inherent impls. Reports errors.
1306    ///
1307    /// <div class="warning">
1308    ///
1309    /// **Not meant to be used** directly outside of coherence.
1310    ///
1311    /// </div>
1312    query crate_inherent_impls_overlap_check(_: ()) -> Result<(), ErrorGuaranteed> {
1313        desc { "check for overlap between inherent impls defined in this crate" }
1314        return_result_from_ensure_ok
1315    }
1316
1317    /// Checks whether all impls in the crate pass the overlap check, returning
1318    /// which impls fail it. If all impls are correct, the returned slice is empty.
1319    query orphan_check_impl(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
1320        desc { |tcx|
1321            "checking whether impl `{}` follows the orphan rules",
1322            tcx.def_path_str(key),
1323        }
1324        return_result_from_ensure_ok
1325    }
1326
1327    /// Return the set of (transitive) callees that may result in a recursive call to `key`,
1328    /// if we were able to walk all callees.
1329    query mir_callgraph_cyclic(key: LocalDefId) -> &'tcx Option<UnordSet<LocalDefId>> {
1330        cycle_fatal
1331        arena_cache
1332        desc { |tcx|
1333            "computing (transitive) callees of `{}` that may recurse",
1334            tcx.def_path_str(key),
1335        }
1336        cache_on_disk_if { true }
1337    }
1338
1339    /// Obtain all the calls into other local functions
1340    query mir_inliner_callees(key: ty::InstanceKind<'tcx>) -> &'tcx [(DefId, GenericArgsRef<'tcx>)] {
1341        cycle_fatal
1342        desc { |tcx|
1343            "computing all local function calls in `{}`",
1344            tcx.def_path_str(key.def_id()),
1345        }
1346    }
1347
1348    /// Computes the tag (if any) for a given type and variant.
1349    ///
1350    /// `None` means that the variant doesn't need a tag (because it is niched).
1351    ///
1352    /// # Panics
1353    ///
1354    /// This query will panic for uninhabited variants and if the passed type is not an enum.
1355    query tag_for_variant(
1356        key: PseudoCanonicalInput<'tcx, (Ty<'tcx>, abi::VariantIdx)>,
1357    ) -> Option<ty::ScalarInt> {
1358        desc { "computing variant tag for enum" }
1359    }
1360
1361    /// Evaluates a constant and returns the computed allocation.
1362    ///
1363    /// <div class="warning">
1364    ///
1365    /// **Do not call this query** directly, use [`Self::eval_to_const_value_raw`] or
1366    /// [`Self::eval_to_valtree`] instead.
1367    ///
1368    /// </div>
1369    query eval_to_allocation_raw(key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>)
1370        -> EvalToAllocationRawResult<'tcx> {
1371        desc { |tcx|
1372            "const-evaluating + checking `{}`",
1373            key.value.display(tcx)
1374        }
1375        cache_on_disk_if { true }
1376    }
1377
1378    /// Evaluate a static's initializer, returning the allocation of the initializer's memory.
1379    query eval_static_initializer(key: DefId) -> EvalStaticInitializerRawResult<'tcx> {
1380        desc { |tcx|
1381            "evaluating initializer of static `{}`",
1382            tcx.def_path_str(key)
1383        }
1384        cache_on_disk_if { key.is_local() }
1385        separate_provide_extern
1386        feedable
1387    }
1388
1389    /// Evaluates const items or anonymous constants[^1] into a representation
1390    /// suitable for the type system and const generics.
1391    ///
1392    /// <div class="warning">
1393    ///
1394    /// **Do not call this** directly, use one of the following wrappers:
1395    /// [`TyCtxt::const_eval_poly`], [`TyCtxt::const_eval_resolve`],
1396    /// [`TyCtxt::const_eval_instance`], or [`TyCtxt::const_eval_global_id`].
1397    ///
1398    /// </div>
1399    ///
1400    /// [^1]: Such as enum variant explicit discriminants or array lengths.
1401    query eval_to_const_value_raw(key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>)
1402        -> EvalToConstValueResult<'tcx> {
1403        desc { |tcx|
1404            "simplifying constant for the type system `{}`",
1405            key.value.display(tcx)
1406        }
1407        depth_limit
1408        cache_on_disk_if { true }
1409    }
1410
1411    /// Evaluate a constant and convert it to a type level constant or
1412    /// return `None` if that is not possible.
1413    query eval_to_valtree(
1414        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>
1415    ) -> EvalToValTreeResult<'tcx> {
1416        desc { "evaluating type-level constant" }
1417    }
1418
1419    /// Converts a type-level constant value into a MIR constant value.
1420    query valtree_to_const_val(key: ty::Value<'tcx>) -> mir::ConstValue {
1421        desc { "converting type-level constant value to MIR constant value"}
1422    }
1423
1424    // FIXME get rid of this with valtrees
1425    query lit_to_const(
1426        key: LitToConstInput<'tcx>
1427    ) -> ty::Const<'tcx> {
1428        desc { "converting literal to const" }
1429    }
1430
1431    query check_match(key: LocalDefId) -> Result<(), rustc_errors::ErrorGuaranteed> {
1432        desc { |tcx| "match-checking `{}`", tcx.def_path_str(key) }
1433        return_result_from_ensure_ok
1434    }
1435
1436    /// Performs part of the privacy check and computes effective visibilities.
1437    query effective_visibilities(_: ()) -> &'tcx EffectiveVisibilities {
1438        eval_always
1439        desc { "checking effective visibilities" }
1440    }
1441    query check_private_in_public(module_def_id: LocalModDefId) {
1442        desc { |tcx|
1443            "checking for private elements in public interfaces for {}",
1444            describe_as_module(module_def_id, tcx)
1445        }
1446    }
1447
1448    query reachable_set(_: ()) -> &'tcx LocalDefIdSet {
1449        arena_cache
1450        desc { "reachability" }
1451        cache_on_disk_if { true }
1452    }
1453
1454    /// Per-body `region::ScopeTree`. The `DefId` should be the owner `DefId` for the body;
1455    /// in the case of closures, this will be redirected to the enclosing function.
1456    query region_scope_tree(def_id: DefId) -> &'tcx crate::middle::region::ScopeTree {
1457        desc { |tcx| "computing drop scopes for `{}`", tcx.def_path_str(def_id) }
1458    }
1459
1460    /// Generates a MIR body for the shim.
1461    query mir_shims(key: ty::InstanceKind<'tcx>) -> &'tcx mir::Body<'tcx> {
1462        arena_cache
1463        desc {
1464            |tcx| "generating MIR shim for `{}`, instance={:?}",
1465            tcx.def_path_str(key.def_id()),
1466            key
1467        }
1468    }
1469
1470    /// The `symbol_name` query provides the symbol name for calling a
1471    /// given instance from the local crate. In particular, it will also
1472    /// look up the correct symbol name of instances from upstream crates.
1473    query symbol_name(key: ty::Instance<'tcx>) -> ty::SymbolName<'tcx> {
1474        desc { "computing the symbol for `{}`", key }
1475        cache_on_disk_if { true }
1476    }
1477
1478    query def_kind(def_id: DefId) -> DefKind {
1479        desc { |tcx| "looking up definition kind of `{}`", tcx.def_path_str(def_id) }
1480        cache_on_disk_if { def_id.is_local() }
1481        separate_provide_extern
1482        feedable
1483    }
1484
1485    /// Gets the span for the definition.
1486    query def_span(def_id: DefId) -> Span {
1487        desc { |tcx| "looking up span for `{}`", tcx.def_path_str(def_id) }
1488        cache_on_disk_if { def_id.is_local() }
1489        separate_provide_extern
1490        feedable
1491    }
1492
1493    /// Gets the span for the identifier of the definition.
1494    query def_ident_span(def_id: DefId) -> Option<Span> {
1495        desc { |tcx| "looking up span for `{}`'s identifier", tcx.def_path_str(def_id) }
1496        cache_on_disk_if { def_id.is_local() }
1497        separate_provide_extern
1498        feedable
1499    }
1500
1501    /// Gets the span for the type of the definition.
1502    /// Panics if it is not a definition that has a single type.
1503    query ty_span(def_id: LocalDefId) -> Span {
1504        desc { |tcx| "looking up span for `{}`'s type", tcx.def_path_str(def_id) }
1505        cache_on_disk_if { true }
1506    }
1507
1508    query lookup_stability(def_id: DefId) -> Option<hir::Stability> {
1509        desc { |tcx| "looking up stability of `{}`", tcx.def_path_str(def_id) }
1510        cache_on_disk_if { def_id.is_local() }
1511        separate_provide_extern
1512    }
1513
1514    query lookup_const_stability(def_id: DefId) -> Option<hir::ConstStability> {
1515        desc { |tcx| "looking up const stability of `{}`", tcx.def_path_str(def_id) }
1516        cache_on_disk_if { def_id.is_local() }
1517        separate_provide_extern
1518    }
1519
1520    query lookup_default_body_stability(def_id: DefId) -> Option<hir::DefaultBodyStability> {
1521        desc { |tcx| "looking up default body stability of `{}`", tcx.def_path_str(def_id) }
1522        separate_provide_extern
1523    }
1524
1525    query should_inherit_track_caller(def_id: DefId) -> bool {
1526        desc { |tcx| "computing should_inherit_track_caller of `{}`", tcx.def_path_str(def_id) }
1527    }
1528
1529    query inherited_align(def_id: DefId) -> Option<Align> {
1530        desc { |tcx| "computing inherited_align of `{}`", tcx.def_path_str(def_id) }
1531    }
1532
1533    query lookup_deprecation_entry(def_id: DefId) -> Option<DeprecationEntry> {
1534        desc { |tcx| "checking whether `{}` is deprecated", tcx.def_path_str(def_id) }
1535        cache_on_disk_if { def_id.is_local() }
1536        separate_provide_extern
1537    }
1538
1539    /// Determines whether an item is annotated with `#[doc(hidden)]`.
1540    query is_doc_hidden(def_id: DefId) -> bool {
1541        desc { |tcx| "checking whether `{}` is `doc(hidden)`", tcx.def_path_str(def_id) }
1542        separate_provide_extern
1543    }
1544
1545    /// Determines whether an item is annotated with `#[doc(notable_trait)]`.
1546    query is_doc_notable_trait(def_id: DefId) -> bool {
1547        desc { |tcx| "checking whether `{}` is `doc(notable_trait)`", tcx.def_path_str(def_id) }
1548    }
1549
1550    /// Returns the attributes on the item at `def_id`.
1551    ///
1552    /// Do not use this directly, use `tcx.get_attrs` instead.
1553    query attrs_for_def(def_id: DefId) -> &'tcx [hir::Attribute] {
1554        desc { |tcx| "collecting attributes of `{}`", tcx.def_path_str(def_id) }
1555        separate_provide_extern
1556    }
1557
1558    /// Returns the `CodegenFnAttrs` for the item at `def_id`.
1559    ///
1560    /// If possible, use `tcx.codegen_instance_attrs` instead. That function takes the
1561    /// instance kind into account.
1562    ///
1563    /// For example, the `#[naked]` attribute should be applied for `InstanceKind::Item`,
1564    /// but should not be applied if the instance kind is `InstanceKind::ReifyShim`.
1565    /// Using this query would include the attribute regardless of the actual instance
1566    /// kind at the call site.
1567    query codegen_fn_attrs(def_id: DefId) -> &'tcx CodegenFnAttrs {
1568        desc { |tcx| "computing codegen attributes of `{}`", tcx.def_path_str(def_id) }
1569        arena_cache
1570        cache_on_disk_if { def_id.is_local() }
1571        separate_provide_extern
1572        feedable
1573    }
1574
1575    query asm_target_features(def_id: DefId) -> &'tcx FxIndexSet<Symbol> {
1576        desc { |tcx| "computing target features for inline asm of `{}`", tcx.def_path_str(def_id) }
1577    }
1578
1579    query fn_arg_idents(def_id: DefId) -> &'tcx [Option<rustc_span::Ident>] {
1580        desc { |tcx| "looking up function parameter identifiers for `{}`", tcx.def_path_str(def_id) }
1581        separate_provide_extern
1582    }
1583
1584    /// Gets the rendered value of the specified constant or associated constant.
1585    /// Used by rustdoc.
1586    query rendered_const(def_id: DefId) -> &'tcx String {
1587        arena_cache
1588        desc { |tcx| "rendering constant initializer of `{}`", tcx.def_path_str(def_id) }
1589        separate_provide_extern
1590    }
1591
1592    /// Gets the rendered precise capturing args for an opaque for use in rustdoc.
1593    query rendered_precise_capturing_args(def_id: DefId) -> Option<&'tcx [PreciseCapturingArgKind<Symbol, Symbol>]> {
1594        desc { |tcx| "rendering precise capturing args for `{}`", tcx.def_path_str(def_id) }
1595        separate_provide_extern
1596    }
1597
1598    query impl_parent(def_id: DefId) -> Option<DefId> {
1599        desc { |tcx| "computing specialization parent impl of `{}`", tcx.def_path_str(def_id) }
1600        separate_provide_extern
1601    }
1602
1603    query is_ctfe_mir_available(key: DefId) -> bool {
1604        desc { |tcx| "checking if item has CTFE MIR available: `{}`", tcx.def_path_str(key) }
1605        cache_on_disk_if { key.is_local() }
1606        separate_provide_extern
1607    }
1608    query is_mir_available(key: DefId) -> bool {
1609        desc { |tcx| "checking if item has MIR available: `{}`", tcx.def_path_str(key) }
1610        cache_on_disk_if { key.is_local() }
1611        separate_provide_extern
1612    }
1613
1614    query own_existential_vtable_entries(
1615        key: DefId
1616    ) -> &'tcx [DefId] {
1617        desc { |tcx| "finding all existential vtable entries for trait `{}`", tcx.def_path_str(key) }
1618    }
1619
1620    query vtable_entries(key: ty::TraitRef<'tcx>)
1621                        -> &'tcx [ty::VtblEntry<'tcx>] {
1622        desc { |tcx| "finding all vtable entries for trait `{}`", tcx.def_path_str(key.def_id) }
1623    }
1624
1625    query first_method_vtable_slot(key: ty::TraitRef<'tcx>) -> usize {
1626        desc { |tcx| "finding the slot within the vtable of `{}` for the implementation of `{}`", key.self_ty(), key.print_only_trait_name() }
1627    }
1628
1629    query supertrait_vtable_slot(key: (Ty<'tcx>, Ty<'tcx>)) -> Option<usize> {
1630        desc { |tcx| "finding the slot within vtable for trait object `{}` vtable ptr during trait upcasting coercion from `{}` vtable",
1631            key.1, key.0 }
1632    }
1633
1634    query vtable_allocation(key: (Ty<'tcx>, Option<ty::ExistentialTraitRef<'tcx>>)) -> mir::interpret::AllocId {
1635        desc { |tcx| "vtable const allocation for <{} as {}>",
1636            key.0,
1637            key.1.map(|trait_ref| format!("{trait_ref}")).unwrap_or_else(|| "_".to_owned())
1638        }
1639    }
1640
1641    query codegen_select_candidate(
1642        key: PseudoCanonicalInput<'tcx, ty::TraitRef<'tcx>>
1643    ) -> Result<&'tcx ImplSource<'tcx, ()>, CodegenObligationError> {
1644        cache_on_disk_if { true }
1645        desc { |tcx| "computing candidate for `{}`", key.value }
1646    }
1647
1648    /// Return all `impl` blocks in the current crate.
1649    query all_local_trait_impls(_: ()) -> &'tcx rustc_data_structures::fx::FxIndexMap<DefId, Vec<LocalDefId>> {
1650        desc { "finding local trait impls" }
1651    }
1652
1653    /// Return all `impl` blocks of the given trait in the current crate.
1654    query local_trait_impls(trait_id: DefId) -> &'tcx [LocalDefId] {
1655        desc { "finding local trait impls of `{}`", tcx.def_path_str(trait_id) }
1656    }
1657
1658    /// Given a trait `trait_id`, return all known `impl` blocks.
1659    query trait_impls_of(trait_id: DefId) -> &'tcx ty::trait_def::TraitImpls {
1660        arena_cache
1661        desc { |tcx| "finding trait impls of `{}`", tcx.def_path_str(trait_id) }
1662    }
1663
1664    query specialization_graph_of(trait_id: DefId) -> Result<&'tcx specialization_graph::Graph, ErrorGuaranteed> {
1665        desc { |tcx| "building specialization graph of trait `{}`", tcx.def_path_str(trait_id) }
1666        cache_on_disk_if { true }
1667        return_result_from_ensure_ok
1668    }
1669    query dyn_compatibility_violations(trait_id: DefId) -> &'tcx [DynCompatibilityViolation] {
1670        desc { |tcx| "determining dyn-compatibility of trait `{}`", tcx.def_path_str(trait_id) }
1671    }
1672    query is_dyn_compatible(trait_id: DefId) -> bool {
1673        desc { |tcx| "checking if trait `{}` is dyn-compatible", tcx.def_path_str(trait_id) }
1674    }
1675
1676    /// Gets the ParameterEnvironment for a given item; this environment
1677    /// will be in "user-facing" mode, meaning that it is suitable for
1678    /// type-checking etc, and it does not normalize specializable
1679    /// associated types.
1680    ///
1681    /// You should almost certainly not use this. If you already have an InferCtxt, then
1682    /// you should also probably have a `ParamEnv` from when it was built. If you don't,
1683    /// then you should take a `TypingEnv` to ensure that you handle opaque types correctly.
1684    query param_env(def_id: DefId) -> ty::ParamEnv<'tcx> {
1685        desc { |tcx| "computing normalized predicates of `{}`", tcx.def_path_str(def_id) }
1686        feedable
1687    }
1688
1689    /// Like `param_env`, but returns the `ParamEnv` after all opaque types have been
1690    /// replaced with their hidden type. This is used in the old trait solver
1691    /// when in `PostAnalysis` mode and should not be called directly.
1692    query typing_env_normalized_for_post_analysis(def_id: DefId) -> ty::TypingEnv<'tcx> {
1693        desc { |tcx| "computing revealed normalized predicates of `{}`", tcx.def_path_str(def_id) }
1694    }
1695
1696    /// Trait selection queries. These are best used by invoking `ty.is_copy_modulo_regions()`,
1697    /// `ty.is_copy()`, etc, since that will prune the environment where possible.
1698    query is_copy_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1699        desc { "computing whether `{}` is `Copy`", env.value }
1700    }
1701    /// Trait selection queries. These are best used by invoking `ty.is_use_cloned_modulo_regions()`,
1702    /// `ty.is_use_cloned()`, etc, since that will prune the environment where possible.
1703    query is_use_cloned_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1704        desc { "computing whether `{}` is `UseCloned`", env.value }
1705    }
1706    /// Query backing `Ty::is_sized`.
1707    query is_sized_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1708        desc { "computing whether `{}` is `Sized`", env.value }
1709    }
1710    /// Query backing `Ty::is_freeze`.
1711    query is_freeze_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1712        desc { "computing whether `{}` is freeze", env.value }
1713    }
1714    /// Query backing `Ty::is_unpin`.
1715    query is_unpin_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1716        desc { "computing whether `{}` is `Unpin`", env.value }
1717    }
1718    /// Query backing `Ty::is_async_drop`.
1719    query is_async_drop_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1720        desc { "computing whether `{}` is `AsyncDrop`", env.value }
1721    }
1722    /// Query backing `Ty::needs_drop`.
1723    query needs_drop_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1724        desc { "computing whether `{}` needs drop", env.value }
1725    }
1726    /// Query backing `Ty::needs_async_drop`.
1727    query needs_async_drop_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1728        desc { "computing whether `{}` needs async drop", env.value }
1729    }
1730    /// Query backing `Ty::has_significant_drop_raw`.
1731    query has_significant_drop_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1732        desc { "computing whether `{}` has a significant drop", env.value }
1733    }
1734
1735    /// Query backing `Ty::is_structural_eq_shallow`.
1736    ///
1737    /// This is only correct for ADTs. Call `is_structural_eq_shallow` to handle all types
1738    /// correctly.
1739    query has_structural_eq_impl(ty: Ty<'tcx>) -> bool {
1740        desc {
1741            "computing whether `{}` implements `StructuralPartialEq`",
1742            ty
1743        }
1744    }
1745
1746    /// A list of types where the ADT requires drop if and only if any of
1747    /// those types require drop. If the ADT is known to always need drop
1748    /// then `Err(AlwaysRequiresDrop)` is returned.
1749    query adt_drop_tys(def_id: DefId) -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
1750        desc { |tcx| "computing when `{}` needs drop", tcx.def_path_str(def_id) }
1751        cache_on_disk_if { true }
1752    }
1753
1754    /// A list of types where the ADT requires async drop if and only if any of
1755    /// those types require async drop. If the ADT is known to always need async drop
1756    /// then `Err(AlwaysRequiresDrop)` is returned.
1757    query adt_async_drop_tys(def_id: DefId) -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
1758        desc { |tcx| "computing when `{}` needs async drop", tcx.def_path_str(def_id) }
1759        cache_on_disk_if { true }
1760    }
1761
1762    /// A list of types where the ADT requires drop if and only if any of those types
1763    /// has significant drop. A type marked with the attribute `rustc_insignificant_dtor`
1764    /// is considered to not be significant. A drop is significant if it is implemented
1765    /// by the user or does anything that will have any observable behavior (other than
1766    /// freeing up memory). If the ADT is known to have a significant destructor then
1767    /// `Err(AlwaysRequiresDrop)` is returned.
1768    query adt_significant_drop_tys(def_id: DefId) -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
1769        desc { |tcx| "computing when `{}` has a significant destructor", tcx.def_path_str(def_id) }
1770    }
1771
1772    /// Returns a list of types which (a) have a potentially significant destructor
1773    /// and (b) may be dropped as a result of dropping a value of some type `ty`
1774    /// (in the given environment).
1775    ///
1776    /// The idea of "significant" drop is somewhat informal and is used only for
1777    /// diagnostics and edition migrations. The idea is that a significant drop may have
1778    /// some visible side-effect on execution; freeing memory is NOT considered a side-effect.
1779    /// The rules are as follows:
1780    /// * Type with no explicit drop impl do not have significant drop.
1781    /// * Types with a drop impl are assumed to have significant drop unless they have a `#[rustc_insignificant_dtor]` annotation.
1782    ///
1783    /// Note that insignificant drop is a "shallow" property. A type like `Vec<LockGuard>` does not
1784    /// have significant drop but the type `LockGuard` does, and so if `ty  = Vec<LockGuard>`
1785    /// then the return value would be `&[LockGuard]`.
1786    /// *IMPORTANT*: *DO NOT* run this query before promoted MIR body is constructed,
1787    /// because this query partially depends on that query.
1788    /// Otherwise, there is a risk of query cycles.
1789    query list_significant_drop_tys(ty: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> &'tcx ty::List<Ty<'tcx>> {
1790        desc { |tcx| "computing when `{}` has a significant destructor", ty.value }
1791    }
1792
1793    /// Computes the layout of a type. Note that this implicitly
1794    /// executes in `TypingMode::PostAnalysis`, and will normalize the input type.
1795    query layout_of(
1796        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>
1797    ) -> Result<ty::layout::TyAndLayout<'tcx>, &'tcx ty::layout::LayoutError<'tcx>> {
1798        depth_limit
1799        desc { "computing layout of `{}`", key.value }
1800        // we emit our own error during query cycle handling
1801        cycle_delay_bug
1802    }
1803
1804    /// Compute a `FnAbi` suitable for indirect calls, i.e. to `fn` pointers.
1805    ///
1806    /// NB: this doesn't handle virtual calls - those should use `fn_abi_of_instance`
1807    /// instead, where the instance is an `InstanceKind::Virtual`.
1808    query fn_abi_of_fn_ptr(
1809        key: ty::PseudoCanonicalInput<'tcx, (ty::PolyFnSig<'tcx>, &'tcx ty::List<Ty<'tcx>>)>
1810    ) -> Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>, &'tcx ty::layout::FnAbiError<'tcx>> {
1811        desc { "computing call ABI of `{}` function pointers", key.value.0 }
1812    }
1813
1814    /// Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for
1815    /// direct calls to an `fn`.
1816    ///
1817    /// NB: that includes virtual calls, which are represented by "direct calls"
1818    /// to an `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`).
1819    query fn_abi_of_instance(
1820        key: ty::PseudoCanonicalInput<'tcx, (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)>
1821    ) -> Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>, &'tcx ty::layout::FnAbiError<'tcx>> {
1822        desc { "computing call ABI of `{}`", key.value.0 }
1823    }
1824
1825    query dylib_dependency_formats(_: CrateNum)
1826                                    -> &'tcx [(CrateNum, LinkagePreference)] {
1827        desc { "getting dylib dependency formats of crate" }
1828        separate_provide_extern
1829    }
1830
1831    query dependency_formats(_: ()) -> &'tcx Arc<crate::middle::dependency_format::Dependencies> {
1832        arena_cache
1833        desc { "getting the linkage format of all dependencies" }
1834    }
1835
1836    query is_compiler_builtins(_: CrateNum) -> bool {
1837        cycle_fatal
1838        desc { "checking if the crate is_compiler_builtins" }
1839        separate_provide_extern
1840    }
1841    query has_global_allocator(_: CrateNum) -> bool {
1842        // This query depends on untracked global state in CStore
1843        eval_always
1844        cycle_fatal
1845        desc { "checking if the crate has_global_allocator" }
1846        separate_provide_extern
1847    }
1848    query has_alloc_error_handler(_: CrateNum) -> bool {
1849        // This query depends on untracked global state in CStore
1850        eval_always
1851        cycle_fatal
1852        desc { "checking if the crate has_alloc_error_handler" }
1853        separate_provide_extern
1854    }
1855    query has_panic_handler(_: CrateNum) -> bool {
1856        cycle_fatal
1857        desc { "checking if the crate has_panic_handler" }
1858        separate_provide_extern
1859    }
1860    query is_profiler_runtime(_: CrateNum) -> bool {
1861        cycle_fatal
1862        desc { "checking if a crate is `#![profiler_runtime]`" }
1863        separate_provide_extern
1864    }
1865    query has_ffi_unwind_calls(key: LocalDefId) -> bool {
1866        desc { |tcx| "checking if `{}` contains FFI-unwind calls", tcx.def_path_str(key) }
1867        cache_on_disk_if { true }
1868    }
1869    query required_panic_strategy(_: CrateNum) -> Option<PanicStrategy> {
1870        cycle_fatal
1871        desc { "getting a crate's required panic strategy" }
1872        separate_provide_extern
1873    }
1874    query panic_in_drop_strategy(_: CrateNum) -> PanicStrategy {
1875        cycle_fatal
1876        desc { "getting a crate's configured panic-in-drop strategy" }
1877        separate_provide_extern
1878    }
1879    query is_no_builtins(_: CrateNum) -> bool {
1880        cycle_fatal
1881        desc { "getting whether a crate has `#![no_builtins]`" }
1882        separate_provide_extern
1883    }
1884    query symbol_mangling_version(_: CrateNum) -> SymbolManglingVersion {
1885        cycle_fatal
1886        desc { "getting a crate's symbol mangling version" }
1887        separate_provide_extern
1888    }
1889
1890    query extern_crate(def_id: CrateNum) -> Option<&'tcx ExternCrate> {
1891        eval_always
1892        desc { "getting crate's ExternCrateData" }
1893        separate_provide_extern
1894    }
1895
1896    query specialization_enabled_in(cnum: CrateNum) -> bool {
1897        desc { "checking whether the crate enabled `specialization`/`min_specialization`" }
1898        separate_provide_extern
1899    }
1900
1901    query specializes(_: (DefId, DefId)) -> bool {
1902        desc { "computing whether impls specialize one another" }
1903    }
1904    query in_scope_traits_map(_: hir::OwnerId)
1905        -> Option<&'tcx ItemLocalMap<Box<[TraitCandidate]>>> {
1906        desc { "getting traits in scope at a block" }
1907    }
1908
1909    /// Returns whether the impl or associated function has the `default` keyword.
1910    /// Note: This will ICE on inherent impl items. Consider using `AssocItem::defaultness`.
1911    query defaultness(def_id: DefId) -> hir::Defaultness {
1912        desc { |tcx| "looking up whether `{}` has `default`", tcx.def_path_str(def_id) }
1913        separate_provide_extern
1914        feedable
1915    }
1916
1917    /// Returns whether the field corresponding to the `DefId` has a default field value.
1918    query default_field(def_id: DefId) -> Option<DefId> {
1919        desc { |tcx| "looking up the `const` corresponding to the default for `{}`", tcx.def_path_str(def_id) }
1920        separate_provide_extern
1921    }
1922
1923    query check_well_formed(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
1924        desc { |tcx| "checking that `{}` is well-formed", tcx.def_path_str(key) }
1925        return_result_from_ensure_ok
1926    }
1927
1928    query enforce_impl_non_lifetime_params_are_constrained(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
1929        desc { |tcx| "checking that `{}`'s generics are constrained by the impl header", tcx.def_path_str(key) }
1930        return_result_from_ensure_ok
1931    }
1932
1933    // The `DefId`s of all non-generic functions and statics in the given crate
1934    // that can be reached from outside the crate.
1935    //
1936    // We expect this items to be available for being linked to.
1937    //
1938    // This query can also be called for `LOCAL_CRATE`. In this case it will
1939    // compute which items will be reachable to other crates, taking into account
1940    // the kind of crate that is currently compiled. Crates with only a
1941    // C interface have fewer reachable things.
1942    //
1943    // Does not include external symbols that don't have a corresponding DefId,
1944    // like the compiler-generated `main` function and so on.
1945    query reachable_non_generics(_: CrateNum)
1946        -> &'tcx DefIdMap<SymbolExportInfo> {
1947        arena_cache
1948        desc { "looking up the exported symbols of a crate" }
1949        separate_provide_extern
1950    }
1951    query is_reachable_non_generic(def_id: DefId) -> bool {
1952        desc { |tcx| "checking whether `{}` is an exported symbol", tcx.def_path_str(def_id) }
1953        cache_on_disk_if { def_id.is_local() }
1954        separate_provide_extern
1955    }
1956    query is_unreachable_local_definition(def_id: LocalDefId) -> bool {
1957        desc { |tcx|
1958            "checking whether `{}` is reachable from outside the crate",
1959            tcx.def_path_str(def_id),
1960        }
1961    }
1962
1963    /// The entire set of monomorphizations the local crate can safely
1964    /// link to because they are exported from upstream crates. Do
1965    /// not depend on this directly, as its value changes anytime
1966    /// a monomorphization gets added or removed in any upstream
1967    /// crate. Instead use the narrower `upstream_monomorphizations_for`,
1968    /// `upstream_drop_glue_for`, `upstream_async_drop_glue_for`, or,
1969    /// even better, `Instance::upstream_monomorphization()`.
1970    query upstream_monomorphizations(_: ()) -> &'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>, CrateNum>> {
1971        arena_cache
1972        desc { "collecting available upstream monomorphizations" }
1973    }
1974
1975    /// Returns the set of upstream monomorphizations available for the
1976    /// generic function identified by the given `def_id`. The query makes
1977    /// sure to make a stable selection if the same monomorphization is
1978    /// available in multiple upstream crates.
1979    ///
1980    /// You likely want to call `Instance::upstream_monomorphization()`
1981    /// instead of invoking this query directly.
1982    query upstream_monomorphizations_for(def_id: DefId)
1983        -> Option<&'tcx UnordMap<GenericArgsRef<'tcx>, CrateNum>>
1984    {
1985        desc { |tcx|
1986            "collecting available upstream monomorphizations for `{}`",
1987            tcx.def_path_str(def_id),
1988        }
1989        separate_provide_extern
1990    }
1991
1992    /// Returns the upstream crate that exports drop-glue for the given
1993    /// type (`args` is expected to be a single-item list containing the
1994    /// type one wants drop-glue for).
1995    ///
1996    /// This is a subset of `upstream_monomorphizations_for` in order to
1997    /// increase dep-tracking granularity. Otherwise adding or removing any
1998    /// type with drop-glue in any upstream crate would invalidate all
1999    /// functions calling drop-glue of an upstream type.
2000    ///
2001    /// You likely want to call `Instance::upstream_monomorphization()`
2002    /// instead of invoking this query directly.
2003    ///
2004    /// NOTE: This query could easily be extended to also support other
2005    ///       common functions that have are large set of monomorphizations
2006    ///       (like `Clone::clone` for example).
2007    query upstream_drop_glue_for(args: GenericArgsRef<'tcx>) -> Option<CrateNum> {
2008        desc { "available upstream drop-glue for `{:?}`", args }
2009    }
2010
2011    /// Returns the upstream crate that exports async-drop-glue for
2012    /// the given type (`args` is expected to be a single-item list
2013    /// containing the type one wants async-drop-glue for).
2014    ///
2015    /// This is a subset of `upstream_monomorphizations_for` in order
2016    /// to increase dep-tracking granularity. Otherwise adding or
2017    /// removing any type with async-drop-glue in any upstream crate
2018    /// would invalidate all functions calling async-drop-glue of an
2019    /// upstream type.
2020    ///
2021    /// You likely want to call `Instance::upstream_monomorphization()`
2022    /// instead of invoking this query directly.
2023    ///
2024    /// NOTE: This query could easily be extended to also support other
2025    ///       common functions that have are large set of monomorphizations
2026    ///       (like `Clone::clone` for example).
2027    query upstream_async_drop_glue_for(args: GenericArgsRef<'tcx>) -> Option<CrateNum> {
2028        desc { "available upstream async-drop-glue for `{:?}`", args }
2029    }
2030
2031    /// Returns a list of all `extern` blocks of a crate.
2032    query foreign_modules(_: CrateNum) -> &'tcx FxIndexMap<DefId, ForeignModule> {
2033        arena_cache
2034        desc { "looking up the foreign modules of a linked crate" }
2035        separate_provide_extern
2036    }
2037
2038    /// Lint against `extern fn` declarations having incompatible types.
2039    query clashing_extern_declarations(_: ()) {
2040        desc { "checking `extern fn` declarations are compatible" }
2041    }
2042
2043    /// Identifies the entry-point (e.g., the `main` function) for a given
2044    /// crate, returning `None` if there is no entry point (such as for library crates).
2045    query entry_fn(_: ()) -> Option<(DefId, EntryFnType)> {
2046        desc { "looking up the entry function of a crate" }
2047    }
2048
2049    /// Finds the `rustc_proc_macro_decls` item of a crate.
2050    query proc_macro_decls_static(_: ()) -> Option<LocalDefId> {
2051        desc { "looking up the proc macro declarations for a crate" }
2052    }
2053
2054    // The macro which defines `rustc_metadata::provide_extern` depends on this query's name.
2055    // Changing the name should cause a compiler error, but in case that changes, be aware.
2056    //
2057    // The hash should not be calculated before the `analysis` pass is complete, specifically
2058    // until `tcx.untracked().definitions.freeze()` has been called, otherwise if incremental
2059    // compilation is enabled calculating this hash can freeze this structure too early in
2060    // compilation and cause subsequent crashes when attempting to write to `definitions`
2061    query crate_hash(_: CrateNum) -> Svh {
2062        eval_always
2063        desc { "looking up the hash a crate" }
2064        separate_provide_extern
2065    }
2066
2067    /// Gets the hash for the host proc macro. Used to support -Z dual-proc-macro.
2068    query crate_host_hash(_: CrateNum) -> Option<Svh> {
2069        eval_always
2070        desc { "looking up the hash of a host version of a crate" }
2071        separate_provide_extern
2072    }
2073
2074    /// Gets the extra data to put in each output filename for a crate.
2075    /// For example, compiling the `foo` crate with `extra-filename=-a` creates a `libfoo-b.rlib` file.
2076    query extra_filename(_: CrateNum) -> &'tcx String {
2077        arena_cache
2078        eval_always
2079        desc { "looking up the extra filename for a crate" }
2080        separate_provide_extern
2081    }
2082
2083    /// Gets the paths where the crate came from in the file system.
2084    query crate_extern_paths(_: CrateNum) -> &'tcx Vec<PathBuf> {
2085        arena_cache
2086        eval_always
2087        desc { "looking up the paths for extern crates" }
2088        separate_provide_extern
2089    }
2090
2091    /// Given a crate and a trait, look up all impls of that trait in the crate.
2092    /// Return `(impl_id, self_ty)`.
2093    query implementations_of_trait(_: (CrateNum, DefId)) -> &'tcx [(DefId, Option<SimplifiedType>)] {
2094        desc { "looking up implementations of a trait in a crate" }
2095        separate_provide_extern
2096    }
2097
2098    /// Collects all incoherent impls for the given crate and type.
2099    ///
2100    /// Do not call this directly, but instead use the `incoherent_impls` query.
2101    /// This query is only used to get the data necessary for that query.
2102    query crate_incoherent_impls(key: (CrateNum, SimplifiedType)) -> &'tcx [DefId] {
2103        desc { |tcx| "collecting all impls for a type in a crate" }
2104        separate_provide_extern
2105    }
2106
2107    /// Get the corresponding native library from the `native_libraries` query
2108    query native_library(def_id: DefId) -> Option<&'tcx NativeLib> {
2109        desc { |tcx| "getting the native library for `{}`", tcx.def_path_str(def_id) }
2110    }
2111
2112    query inherit_sig_for_delegation_item(def_id: LocalDefId) -> &'tcx [Ty<'tcx>] {
2113        desc { "inheriting delegation signature" }
2114    }
2115
2116    /// Does lifetime resolution on items. Importantly, we can't resolve
2117    /// lifetimes directly on things like trait methods, because of trait params.
2118    /// See `rustc_resolve::late::lifetimes` for details.
2119    query resolve_bound_vars(owner_id: hir::OwnerId) -> &'tcx ResolveBoundVars {
2120        arena_cache
2121        desc { |tcx| "resolving lifetimes for `{}`", tcx.def_path_str(owner_id) }
2122    }
2123    query named_variable_map(owner_id: hir::OwnerId) -> &'tcx SortedMap<ItemLocalId, ResolvedArg> {
2124        desc { |tcx| "looking up a named region inside `{}`", tcx.def_path_str(owner_id) }
2125    }
2126    query is_late_bound_map(owner_id: hir::OwnerId) -> Option<&'tcx FxIndexSet<ItemLocalId>> {
2127        desc { |tcx| "testing if a region is late bound inside `{}`", tcx.def_path_str(owner_id) }
2128    }
2129    /// Returns the *default lifetime* to be used if a trait object type were to be passed for
2130    /// the type parameter given by `DefId`.
2131    ///
2132    /// **Tip**: You can use `#[rustc_object_lifetime_default]` on an item to basically
2133    /// print the result of this query for use in UI tests or for debugging purposes.
2134    ///
2135    /// # Examples
2136    ///
2137    /// - For `T` in `struct Foo<'a, T: 'a>(&'a T);`, this would be `Param('a)`
2138    /// - For `T` in `struct Bar<'a, T>(&'a T);`, this would be `Empty`
2139    ///
2140    /// # Panics
2141    ///
2142    /// This query will panic if the given definition is not a type parameter.
2143    query object_lifetime_default(def_id: DefId) -> ObjectLifetimeDefault {
2144        desc { "looking up lifetime defaults for type parameter `{}`", tcx.def_path_str(def_id) }
2145        separate_provide_extern
2146    }
2147    query late_bound_vars_map(owner_id: hir::OwnerId)
2148        -> &'tcx SortedMap<ItemLocalId, Vec<ty::BoundVariableKind>> {
2149        desc { |tcx| "looking up late bound vars inside `{}`", tcx.def_path_str(owner_id) }
2150    }
2151    /// For an opaque type, return the list of (captured lifetime, inner generic param).
2152    /// ```ignore (illustrative)
2153    /// fn foo<'a: 'a, 'b, T>(&'b u8) -> impl Into<Self> + 'b { ... }
2154    /// ```
2155    ///
2156    /// We would return `[('a, '_a), ('b, '_b)]`, with `'a` early-bound and `'b` late-bound.
2157    ///
2158    /// After hir_ty_lowering, we get:
2159    /// ```ignore (pseudo-code)
2160    /// opaque foo::<'a>::opaque<'_a, '_b>: Into<Foo<'_a>> + '_b;
2161    ///                          ^^^^^^^^ inner generic params
2162    /// fn foo<'a>: for<'b> fn(&'b u8) -> foo::<'a>::opaque::<'a, 'b>
2163    ///                                                       ^^^^^^ captured lifetimes
2164    /// ```
2165    query opaque_captured_lifetimes(def_id: LocalDefId) -> &'tcx [(ResolvedArg, LocalDefId)] {
2166        desc { |tcx| "listing captured lifetimes for opaque `{}`", tcx.def_path_str(def_id) }
2167    }
2168
2169    /// Computes the visibility of the provided `def_id`.
2170    ///
2171    /// If the item from the `def_id` doesn't have a visibility, it will panic. For example
2172    /// a generic type parameter will panic if you call this method on it:
2173    ///
2174    /// ```
2175    /// use std::fmt::Debug;
2176    ///
2177    /// pub trait Foo<T: Debug> {}
2178    /// ```
2179    ///
2180    /// In here, if you call `visibility` on `T`, it'll panic.
2181    query visibility(def_id: DefId) -> ty::Visibility<DefId> {
2182        desc { |tcx| "computing visibility of `{}`", tcx.def_path_str(def_id) }
2183        separate_provide_extern
2184        feedable
2185    }
2186
2187    query inhabited_predicate_adt(key: DefId) -> ty::inhabitedness::InhabitedPredicate<'tcx> {
2188        desc { "computing the uninhabited predicate of `{:?}`", key }
2189    }
2190
2191    /// Do not call this query directly: invoke `Ty::inhabited_predicate` instead.
2192    query inhabited_predicate_type(key: Ty<'tcx>) -> ty::inhabitedness::InhabitedPredicate<'tcx> {
2193        desc { "computing the uninhabited predicate of `{}`", key }
2194    }
2195
2196    query dep_kind(_: CrateNum) -> CrateDepKind {
2197        eval_always
2198        desc { "fetching what a dependency looks like" }
2199        separate_provide_extern
2200    }
2201
2202    /// Gets the name of the crate.
2203    query crate_name(_: CrateNum) -> Symbol {
2204        feedable
2205        desc { "fetching what a crate is named" }
2206        separate_provide_extern
2207    }
2208    query module_children(def_id: DefId) -> &'tcx [ModChild] {
2209        desc { |tcx| "collecting child items of module `{}`", tcx.def_path_str(def_id) }
2210        separate_provide_extern
2211    }
2212
2213    /// Gets the number of definitions in a foreign crate.
2214    ///
2215    /// This allows external tools to iterate over all definitions in a foreign crate.
2216    ///
2217    /// This should never be used for the local crate, instead use `iter_local_def_id`.
2218    query num_extern_def_ids(_: CrateNum) -> usize {
2219        desc { "fetching the number of definitions in a crate" }
2220        separate_provide_extern
2221    }
2222
2223    query lib_features(_: CrateNum) -> &'tcx LibFeatures {
2224        desc { "calculating the lib features defined in a crate" }
2225        separate_provide_extern
2226        arena_cache
2227    }
2228    /// Mapping from feature name to feature name based on the `implied_by` field of `#[unstable]`
2229    /// attributes. If a `#[unstable(feature = "implier", implied_by = "impliee")]` attribute
2230    /// exists, then this map will have a `impliee -> implier` entry.
2231    ///
2232    /// This mapping is necessary unless both the `#[stable]` and `#[unstable]` attributes should
2233    /// specify their implications (both `implies` and `implied_by`). If only one of the two
2234    /// attributes do (as in the current implementation, `implied_by` in `#[unstable]`), then this
2235    /// mapping is necessary for diagnostics. When a "unnecessary feature attribute" error is
2236    /// reported, only the `#[stable]` attribute information is available, so the map is necessary
2237    /// to know that the feature implies another feature. If it were reversed, and the `#[stable]`
2238    /// attribute had an `implies` meta item, then a map would be necessary when avoiding a "use of
2239    /// unstable feature" error for a feature that was implied.
2240    query stability_implications(_: CrateNum) -> &'tcx UnordMap<Symbol, Symbol> {
2241        arena_cache
2242        desc { "calculating the implications between `#[unstable]` features defined in a crate" }
2243        separate_provide_extern
2244    }
2245    /// Whether the function is an intrinsic
2246    query intrinsic_raw(def_id: DefId) -> Option<rustc_middle::ty::IntrinsicDef> {
2247        desc { |tcx| "fetch intrinsic name if `{}` is an intrinsic", tcx.def_path_str(def_id) }
2248        separate_provide_extern
2249    }
2250    /// Returns the lang items defined in another crate by loading it from metadata.
2251    query get_lang_items(_: ()) -> &'tcx LanguageItems {
2252        arena_cache
2253        eval_always
2254        desc { "calculating the lang items map" }
2255    }
2256
2257    /// Returns all diagnostic items defined in all crates.
2258    query all_diagnostic_items(_: ()) -> &'tcx rustc_hir::diagnostic_items::DiagnosticItems {
2259        arena_cache
2260        eval_always
2261        desc { "calculating the diagnostic items map" }
2262    }
2263
2264    /// Returns the lang items defined in another crate by loading it from metadata.
2265    query defined_lang_items(_: CrateNum) -> &'tcx [(DefId, LangItem)] {
2266        desc { "calculating the lang items defined in a crate" }
2267        separate_provide_extern
2268    }
2269
2270    /// Returns the diagnostic items defined in a crate.
2271    query diagnostic_items(_: CrateNum) -> &'tcx rustc_hir::diagnostic_items::DiagnosticItems {
2272        arena_cache
2273        desc { "calculating the diagnostic items map in a crate" }
2274        separate_provide_extern
2275    }
2276
2277    query missing_lang_items(_: CrateNum) -> &'tcx [LangItem] {
2278        desc { "calculating the missing lang items in a crate" }
2279        separate_provide_extern
2280    }
2281
2282    /// The visible parent map is a map from every item to a visible parent.
2283    /// It prefers the shortest visible path to an item.
2284    /// Used for diagnostics, for example path trimming.
2285    /// The parents are modules, enums or traits.
2286    query visible_parent_map(_: ()) -> &'tcx DefIdMap<DefId> {
2287        arena_cache
2288        desc { "calculating the visible parent map" }
2289    }
2290    /// Collects the "trimmed", shortest accessible paths to all items for diagnostics.
2291    /// See the [provider docs](`rustc_middle::ty::print::trimmed_def_paths`) for more info.
2292    query trimmed_def_paths(_: ()) -> &'tcx DefIdMap<Symbol> {
2293        arena_cache
2294        desc { "calculating trimmed def paths" }
2295    }
2296    query missing_extern_crate_item(_: CrateNum) -> bool {
2297        eval_always
2298        desc { "seeing if we're missing an `extern crate` item for this crate" }
2299        separate_provide_extern
2300    }
2301    query used_crate_source(_: CrateNum) -> &'tcx Arc<CrateSource> {
2302        arena_cache
2303        eval_always
2304        desc { "looking at the source for a crate" }
2305        separate_provide_extern
2306    }
2307
2308    /// Returns the debugger visualizers defined for this crate.
2309    /// NOTE: This query has to be marked `eval_always` because it reads data
2310    ///       directly from disk that is not tracked anywhere else. I.e. it
2311    ///       represents a genuine input to the query system.
2312    query debugger_visualizers(_: CrateNum) -> &'tcx Vec<DebuggerVisualizerFile> {
2313        arena_cache
2314        desc { "looking up the debugger visualizers for this crate" }
2315        separate_provide_extern
2316        eval_always
2317    }
2318
2319    query postorder_cnums(_: ()) -> &'tcx [CrateNum] {
2320        eval_always
2321        desc { "generating a postorder list of CrateNums" }
2322    }
2323    /// Returns whether or not the crate with CrateNum 'cnum'
2324    /// is marked as a private dependency
2325    query is_private_dep(c: CrateNum) -> bool {
2326        eval_always
2327        desc { "checking whether crate `{}` is a private dependency", c }
2328        separate_provide_extern
2329    }
2330    query allocator_kind(_: ()) -> Option<AllocatorKind> {
2331        eval_always
2332        desc { "getting the allocator kind for the current crate" }
2333    }
2334    query alloc_error_handler_kind(_: ()) -> Option<AllocatorKind> {
2335        eval_always
2336        desc { "alloc error handler kind for the current crate" }
2337    }
2338
2339    query upvars_mentioned(def_id: DefId) -> Option<&'tcx FxIndexMap<hir::HirId, hir::Upvar>> {
2340        desc { |tcx| "collecting upvars mentioned in `{}`", tcx.def_path_str(def_id) }
2341    }
2342
2343    /// All available crates in the graph, including those that should not be user-facing
2344    /// (such as private crates).
2345    query crates(_: ()) -> &'tcx [CrateNum] {
2346        eval_always
2347        desc { "fetching all foreign CrateNum instances" }
2348    }
2349
2350    // Crates that are loaded non-speculatively (not for diagnostics or doc links).
2351    // FIXME: This is currently only used for collecting lang items, but should be used instead of
2352    // `crates` in most other cases too.
2353    query used_crates(_: ()) -> &'tcx [CrateNum] {
2354        eval_always
2355        desc { "fetching `CrateNum`s for all crates loaded non-speculatively" }
2356    }
2357
2358    /// All crates that share the same name as crate `c`.
2359    ///
2360    /// This normally occurs when multiple versions of the same dependency are present in the
2361    /// dependency tree.
2362    query duplicate_crate_names(c: CrateNum) -> &'tcx [CrateNum] {
2363        desc { "fetching `CrateNum`s with same name as `{c:?}`" }
2364    }
2365
2366    /// A list of all traits in a crate, used by rustdoc and error reporting.
2367    query traits(_: CrateNum) -> &'tcx [DefId] {
2368        desc { "fetching all traits in a crate" }
2369        separate_provide_extern
2370    }
2371
2372    query trait_impls_in_crate(_: CrateNum) -> &'tcx [DefId] {
2373        desc { "fetching all trait impls in a crate" }
2374        separate_provide_extern
2375    }
2376
2377    query stable_order_of_exportable_impls(_: CrateNum) -> &'tcx FxIndexMap<DefId, usize> {
2378        desc { "fetching the stable impl's order" }
2379        separate_provide_extern
2380    }
2381
2382    query exportable_items(_: CrateNum) -> &'tcx [DefId] {
2383        desc { "fetching all exportable items in a crate" }
2384        separate_provide_extern
2385    }
2386
2387    /// The list of non-generic symbols exported from the given crate.
2388    ///
2389    /// This is separate from exported_generic_symbols to avoid having
2390    /// to deserialize all non-generic symbols too for upstream crates
2391    /// in the upstream_monomorphizations query.
2392    ///
2393    /// - All names contained in `exported_non_generic_symbols(cnum)` are
2394    ///   guaranteed to correspond to a publicly visible symbol in `cnum`
2395    ///   machine code.
2396    /// - The `exported_non_generic_symbols` and `exported_generic_symbols`
2397    ///   sets of different crates do not intersect.
2398    query exported_non_generic_symbols(cnum: CrateNum) -> &'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)] {
2399        desc { "collecting exported non-generic symbols for crate `{}`", cnum}
2400        cache_on_disk_if { *cnum == LOCAL_CRATE }
2401        separate_provide_extern
2402    }
2403
2404    /// The list of generic symbols exported from the given crate.
2405    ///
2406    /// - All names contained in `exported_generic_symbols(cnum)` are
2407    ///   guaranteed to correspond to a publicly visible symbol in `cnum`
2408    ///   machine code.
2409    /// - The `exported_non_generic_symbols` and `exported_generic_symbols`
2410    ///   sets of different crates do not intersect.
2411    query exported_generic_symbols(cnum: CrateNum) -> &'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)] {
2412        desc { "collecting exported generic symbols for crate `{}`", cnum}
2413        cache_on_disk_if { *cnum == LOCAL_CRATE }
2414        separate_provide_extern
2415    }
2416
2417    query collect_and_partition_mono_items(_: ()) -> MonoItemPartitions<'tcx> {
2418        eval_always
2419        desc { "collect_and_partition_mono_items" }
2420    }
2421
2422    query is_codegened_item(def_id: DefId) -> bool {
2423        desc { |tcx| "determining whether `{}` needs codegen", tcx.def_path_str(def_id) }
2424    }
2425
2426    query codegen_unit(sym: Symbol) -> &'tcx CodegenUnit<'tcx> {
2427        desc { "getting codegen unit `{sym}`" }
2428    }
2429
2430    query backend_optimization_level(_: ()) -> OptLevel {
2431        desc { "optimization level used by backend" }
2432    }
2433
2434    /// Return the filenames where output artefacts shall be stored.
2435    ///
2436    /// This query returns an `&Arc` because codegen backends need the value even after the `TyCtxt`
2437    /// has been destroyed.
2438    query output_filenames(_: ()) -> &'tcx Arc<OutputFilenames> {
2439        feedable
2440        desc { "getting output filenames" }
2441        arena_cache
2442    }
2443
2444    /// <div class="warning">
2445    ///
2446    /// Do not call this query directly: Invoke `normalize` instead.
2447    ///
2448    /// </div>
2449    query normalize_canonicalized_projection(
2450        goal: CanonicalAliasGoal<'tcx>
2451    ) -> Result<
2452        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
2453        NoSolution,
2454    > {
2455        desc { "normalizing `{}`", goal.canonical.value.value }
2456    }
2457
2458    /// <div class="warning">
2459    ///
2460    /// Do not call this query directly: Invoke `normalize` instead.
2461    ///
2462    /// </div>
2463    query normalize_canonicalized_free_alias(
2464        goal: CanonicalAliasGoal<'tcx>
2465    ) -> Result<
2466        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
2467        NoSolution,
2468    > {
2469        desc { "normalizing `{}`", goal.canonical.value.value }
2470    }
2471
2472    /// <div class="warning">
2473    ///
2474    /// Do not call this query directly: Invoke `normalize` instead.
2475    ///
2476    /// </div>
2477    query normalize_canonicalized_inherent_projection(
2478        goal: CanonicalAliasGoal<'tcx>
2479    ) -> Result<
2480        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
2481        NoSolution,
2482    > {
2483        desc { "normalizing `{}`", goal.canonical.value.value }
2484    }
2485
2486    /// Do not call this query directly: invoke `try_normalize_erasing_regions` instead.
2487    query try_normalize_generic_arg_after_erasing_regions(
2488        goal: PseudoCanonicalInput<'tcx, GenericArg<'tcx>>
2489    ) -> Result<GenericArg<'tcx>, NoSolution> {
2490        desc { "normalizing `{}`", goal.value }
2491    }
2492
2493    query implied_outlives_bounds(
2494        key: (CanonicalImpliedOutlivesBoundsGoal<'tcx>, bool)
2495    ) -> Result<
2496        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, Vec<OutlivesBound<'tcx>>>>,
2497        NoSolution,
2498    > {
2499        desc { "computing implied outlives bounds for `{}` (hack disabled = {:?})", key.0.canonical.value.value.ty, key.1 }
2500    }
2501
2502    /// Do not call this query directly:
2503    /// invoke `DropckOutlives::new(dropped_ty)).fully_perform(typeck.infcx)` instead.
2504    query dropck_outlives(
2505        goal: CanonicalDropckOutlivesGoal<'tcx>
2506    ) -> Result<
2507        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, DropckOutlivesResult<'tcx>>>,
2508        NoSolution,
2509    > {
2510        desc { "computing dropck types for `{}`", goal.canonical.value.value.dropped_ty }
2511    }
2512
2513    /// Do not call this query directly: invoke `infcx.predicate_may_hold()` or
2514    /// `infcx.predicate_must_hold()` instead.
2515    query evaluate_obligation(
2516        goal: CanonicalPredicateGoal<'tcx>
2517    ) -> Result<EvaluationResult, OverflowError> {
2518        desc { "evaluating trait selection obligation `{}`", goal.canonical.value.value }
2519    }
2520
2521    /// Do not call this query directly: part of the `Eq` type-op
2522    query type_op_ascribe_user_type(
2523        goal: CanonicalTypeOpAscribeUserTypeGoal<'tcx>
2524    ) -> Result<
2525        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ()>>,
2526        NoSolution,
2527    > {
2528        desc { "evaluating `type_op_ascribe_user_type` `{:?}`", goal.canonical.value.value }
2529    }
2530
2531    /// Do not call this query directly: part of the `ProvePredicate` type-op
2532    query type_op_prove_predicate(
2533        goal: CanonicalTypeOpProvePredicateGoal<'tcx>
2534    ) -> Result<
2535        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ()>>,
2536        NoSolution,
2537    > {
2538        desc { "evaluating `type_op_prove_predicate` `{:?}`", goal.canonical.value.value }
2539    }
2540
2541    /// Do not call this query directly: part of the `Normalize` type-op
2542    query type_op_normalize_ty(
2543        goal: CanonicalTypeOpNormalizeGoal<'tcx, Ty<'tcx>>
2544    ) -> Result<
2545        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, Ty<'tcx>>>,
2546        NoSolution,
2547    > {
2548        desc { "normalizing `{}`", goal.canonical.value.value.value }
2549    }
2550
2551    /// Do not call this query directly: part of the `Normalize` type-op
2552    query type_op_normalize_clause(
2553        goal: CanonicalTypeOpNormalizeGoal<'tcx, ty::Clause<'tcx>>
2554    ) -> Result<
2555        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ty::Clause<'tcx>>>,
2556        NoSolution,
2557    > {
2558        desc { "normalizing `{:?}`", goal.canonical.value.value.value }
2559    }
2560
2561    /// Do not call this query directly: part of the `Normalize` type-op
2562    query type_op_normalize_poly_fn_sig(
2563        goal: CanonicalTypeOpNormalizeGoal<'tcx, ty::PolyFnSig<'tcx>>
2564    ) -> Result<
2565        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ty::PolyFnSig<'tcx>>>,
2566        NoSolution,
2567    > {
2568        desc { "normalizing `{:?}`", goal.canonical.value.value.value }
2569    }
2570
2571    /// Do not call this query directly: part of the `Normalize` type-op
2572    query type_op_normalize_fn_sig(
2573        goal: CanonicalTypeOpNormalizeGoal<'tcx, ty::FnSig<'tcx>>
2574    ) -> Result<
2575        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ty::FnSig<'tcx>>>,
2576        NoSolution,
2577    > {
2578        desc { "normalizing `{:?}`", goal.canonical.value.value.value }
2579    }
2580
2581    query instantiate_and_check_impossible_predicates(key: (DefId, GenericArgsRef<'tcx>)) -> bool {
2582        desc { |tcx|
2583            "checking impossible instantiated predicates: `{}`",
2584            tcx.def_path_str(key.0)
2585        }
2586    }
2587
2588    query is_impossible_associated_item(key: (DefId, DefId)) -> bool {
2589        desc { |tcx|
2590            "checking if `{}` is impossible to reference within `{}`",
2591            tcx.def_path_str(key.1),
2592            tcx.def_path_str(key.0),
2593        }
2594    }
2595
2596    query method_autoderef_steps(
2597        goal: CanonicalMethodAutoderefStepsGoal<'tcx>
2598    ) -> MethodAutoderefStepsResult<'tcx> {
2599        desc { "computing autoderef types for `{}`", goal.canonical.value.value.self_ty }
2600    }
2601
2602    /// Used by `-Znext-solver` to compute proof trees.
2603    query evaluate_root_goal_for_proof_tree_raw(
2604        goal: solve::CanonicalInput<'tcx>,
2605    ) -> (solve::QueryResult<'tcx>, &'tcx solve::inspect::Probe<TyCtxt<'tcx>>) {
2606        no_hash
2607        desc { "computing proof tree for `{}`", goal.canonical.value.goal.predicate }
2608    }
2609
2610    /// Returns the Rust target features for the current target. These are not always the same as LLVM target features!
2611    query rust_target_features(_: CrateNum) -> &'tcx UnordMap<String, rustc_target::target_features::Stability> {
2612        arena_cache
2613        eval_always
2614        desc { "looking up Rust target features" }
2615    }
2616
2617    query implied_target_features(feature: Symbol) -> &'tcx Vec<Symbol> {
2618        arena_cache
2619        eval_always
2620        desc { "looking up implied target features" }
2621    }
2622
2623    query features_query(_: ()) -> &'tcx rustc_feature::Features {
2624        feedable
2625        desc { "looking up enabled feature gates" }
2626    }
2627
2628    query crate_for_resolver((): ()) -> &'tcx Steal<(rustc_ast::Crate, rustc_ast::AttrVec)> {
2629        feedable
2630        no_hash
2631        desc { "the ast before macro expansion and name resolution" }
2632    }
2633
2634    /// Attempt to resolve the given `DefId` to an `Instance`, for the
2635    /// given generics args (`GenericArgsRef`), returning one of:
2636    ///  * `Ok(Some(instance))` on success
2637    ///  * `Ok(None)` when the `GenericArgsRef` are still too generic,
2638    ///    and therefore don't allow finding the final `Instance`
2639    ///  * `Err(ErrorGuaranteed)` when the `Instance` resolution process
2640    ///    couldn't complete due to errors elsewhere - this is distinct
2641    ///    from `Ok(None)` to avoid misleading diagnostics when an error
2642    ///    has already been/will be emitted, for the original cause.
2643    query resolve_instance_raw(
2644        key: ty::PseudoCanonicalInput<'tcx, (DefId, GenericArgsRef<'tcx>)>
2645    ) -> Result<Option<ty::Instance<'tcx>>, ErrorGuaranteed> {
2646        desc { "resolving instance `{}`", ty::Instance::new_raw(key.value.0, key.value.1) }
2647    }
2648
2649    query reveal_opaque_types_in_bounds(key: ty::Clauses<'tcx>) -> ty::Clauses<'tcx> {
2650        desc { "revealing opaque types in `{:?}`", key }
2651    }
2652
2653    query limits(key: ()) -> Limits {
2654        desc { "looking up limits" }
2655    }
2656
2657    /// Performs an HIR-based well-formed check on the item with the given `HirId`. If
2658    /// we get an `Unimplemented` error that matches the provided `Predicate`, return
2659    /// the cause of the newly created obligation.
2660    ///
2661    /// This is only used by error-reporting code to get a better cause (in particular, a better
2662    /// span) for an *existing* error. Therefore, it is best-effort, and may never handle
2663    /// all of the cases that the normal `ty::Ty`-based wfcheck does. This is fine,
2664    /// because the `ty::Ty`-based wfcheck is always run.
2665    query diagnostic_hir_wf_check(
2666        key: (ty::Predicate<'tcx>, WellFormedLoc)
2667    ) -> Option<&'tcx ObligationCause<'tcx>> {
2668        arena_cache
2669        eval_always
2670        no_hash
2671        desc { "performing HIR wf-checking for predicate `{:?}` at item `{:?}`", key.0, key.1 }
2672    }
2673
2674    /// The list of backend features computed from CLI flags (`-Ctarget-cpu`, `-Ctarget-feature`,
2675    /// `--target` and similar).
2676    query global_backend_features(_: ()) -> &'tcx Vec<String> {
2677        arena_cache
2678        eval_always
2679        desc { "computing the backend features for CLI flags" }
2680    }
2681
2682    query check_validity_requirement(key: (ValidityRequirement, ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)) -> Result<bool, &'tcx ty::layout::LayoutError<'tcx>> {
2683        desc { "checking validity requirement for `{}`: {}", key.1.value, key.0 }
2684    }
2685
2686    /// This takes the def-id of an associated item from a impl of a trait,
2687    /// and checks its validity against the trait item it corresponds to.
2688    ///
2689    /// Any other def id will ICE.
2690    query compare_impl_item(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
2691        desc { |tcx| "checking assoc item `{}` is compatible with trait definition", tcx.def_path_str(key) }
2692        return_result_from_ensure_ok
2693    }
2694
2695    query deduced_param_attrs(def_id: DefId) -> &'tcx [DeducedParamAttrs] {
2696        desc { |tcx| "deducing parameter attributes for {}", tcx.def_path_str(def_id) }
2697        separate_provide_extern
2698    }
2699
2700    query doc_link_resolutions(def_id: DefId) -> &'tcx DocLinkResMap {
2701        eval_always
2702        desc { "resolutions for documentation links for a module" }
2703        separate_provide_extern
2704    }
2705
2706    query doc_link_traits_in_scope(def_id: DefId) -> &'tcx [DefId] {
2707        eval_always
2708        desc { "traits in scope for documentation links for a module" }
2709        separate_provide_extern
2710    }
2711
2712    /// Get all item paths that were stripped by a `#[cfg]` in a particular crate.
2713    /// Should not be called for the local crate before the resolver outputs are created, as it
2714    /// is only fed there.
2715    query stripped_cfg_items(cnum: CrateNum) -> &'tcx [StrippedCfgItem] {
2716        desc { "getting cfg-ed out item names" }
2717        separate_provide_extern
2718    }
2719
2720    query generics_require_sized_self(def_id: DefId) -> bool {
2721        desc { "check whether the item has a `where Self: Sized` bound" }
2722    }
2723
2724    query cross_crate_inlinable(def_id: DefId) -> bool {
2725        desc { "whether the item should be made inlinable across crates" }
2726        separate_provide_extern
2727    }
2728
2729    /// Perform monomorphization-time checking on this item.
2730    /// This is used for lints/errors that can only be checked once the instance is fully
2731    /// monomorphized.
2732    query check_mono_item(key: ty::Instance<'tcx>) {
2733        desc { "monomorphization-time checking" }
2734    }
2735
2736    /// Builds the set of functions that should be skipped for the move-size check.
2737    query skip_move_check_fns(_: ()) -> &'tcx FxIndexSet<DefId> {
2738        arena_cache
2739        desc { "functions to skip for move-size check" }
2740    }
2741
2742    query items_of_instance(key: (ty::Instance<'tcx>, CollectionMode)) -> Result<(&'tcx [Spanned<MonoItem<'tcx>>], &'tcx [Spanned<MonoItem<'tcx>>]), NormalizationErrorInMono> {
2743        desc { "collecting items used by `{}`", key.0 }
2744        cache_on_disk_if { true }
2745    }
2746
2747    query size_estimate(key: ty::Instance<'tcx>) -> usize {
2748        desc { "estimating codegen size of `{}`", key }
2749        cache_on_disk_if { true }
2750    }
2751
2752    query anon_const_kind(def_id: DefId) -> ty::AnonConstKind {
2753        desc { |tcx| "looking up anon const kind of `{}`", tcx.def_path_str(def_id) }
2754        separate_provide_extern
2755    }
2756
2757    query trivial_const(def_id: DefId) -> Option<(mir::ConstValue, Ty<'tcx>)> {
2758        desc { |tcx| "checking if `{}` is a trivial const", tcx.def_path_str(def_id) }
2759        cache_on_disk_if { def_id.is_local() }
2760        separate_provide_extern
2761    }
2762
2763    /// Checks for the nearest `#[sanitize(xyz = "off")]` or
2764    /// `#[sanitize(xyz = "on")]` on this def and any enclosing defs, up to the
2765    /// crate root.
2766    ///
2767    /// Returns the sanitizer settings for this def.
2768    query sanitizer_settings_for(key: LocalDefId) -> SanitizerFnAttrs {
2769        desc { |tcx| "checking what set of sanitizers are enabled on `{}`", tcx.def_path_str(key) }
2770        feedable
2771    }
2772
2773    query check_externally_implementable_items(_: ()) {
2774        desc { "check externally implementable items" }
2775    }
2776
2777    /// Returns a list of all `externally implementable items` crate.
2778    query externally_implementable_items(cnum: CrateNum) -> &'tcx FxIndexMap<DefId, (EiiDecl, FxIndexMap<DefId, EiiImpl>)> {
2779        arena_cache
2780        desc { "looking up the externally implementable items of a crate" }
2781        cache_on_disk_if { *cnum == LOCAL_CRATE }
2782        separate_provide_extern
2783    }
2784}
2785
2786#[allow(unused_lifetimes)]
pub mod queries {
    pub mod derive_macro_expansion {
        use super::super::*;
        pub type Key<'tcx> = (LocalExpnId, &'tcx TokenStream);
        pub type Value<'tcx> = Result<&'tcx TokenStream, ()>;
        pub type LocalKey<'tcx> = (LocalExpnId, &'tcx TokenStream);
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Result<&'tcx TokenStream, ()>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <(LocalExpnId, &'tcx TokenStream) as
            keys::Key>::Cache<Erase<Result<&'tcx TokenStream, ()>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `derive_macro_expansion` has a key type `(LocalExpnId, & \'tcx TokenStream)` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `derive_macro_expansion` has a value type `Result < & \'tcx TokenStream, () >` that is too large");
                    };
                }
            };
    }
    pub mod trigger_delayed_bug {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ();
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (());
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<()>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `trigger_delayed_bug` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `trigger_delayed_bug` has a value type `()` that is too large");
                    };
                }
            };
    }
    pub mod registered_tools {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx ty::RegisteredTools;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx ty::RegisteredTools as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx ty::RegisteredTools as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx ty::RegisteredTools as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.registered_tools.alloc(v), value)
                    } else {
                        <&'tcx ty::RegisteredTools as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<&'tcx ty::RegisteredTools>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `registered_tools` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `registered_tools` has a value type `& \'tcx ty :: RegisteredTools` that is too large");
                    };
                }
            };
    }
    pub mod early_lint_checks {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = ();
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (());
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <() as keys::Key>::Cache<Erase<()>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `early_lint_checks` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `early_lint_checks` has a value type `()` that is too large");
                    };
                }
            };
    }
    pub mod env_var_os {
        use super::super::*;
        pub type Key<'tcx> = &'tcx OsStr;
        pub type Value<'tcx> = Option<&'tcx OsStr>;
        pub type LocalKey<'tcx> = &'tcx OsStr;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<&'tcx OsStr>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <&'tcx OsStr as keys::Key>::Cache<Erase<Option<&'tcx OsStr>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `env_var_os` has a key type `& \'tcx OsStr` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `env_var_os` has a value type `Option < & \'tcx OsStr >` that is too large");
                    };
                }
            };
    }
    pub mod resolutions {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx ty::ResolverGlobalCtxt;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx ty::ResolverGlobalCtxt);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<&'tcx ty::ResolverGlobalCtxt>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `resolutions` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `resolutions` has a value type `& \'tcx ty :: ResolverGlobalCtxt` that is too large");
                    };
                }
            };
    }
    pub mod resolver_for_lowering_raw {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> =
            (&'tcx Steal<(ty::ResolverAstLowering, Arc<ast::Crate>)>,
            &'tcx ty::ResolverGlobalCtxt);
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            ((&'tcx Steal<(ty::ResolverAstLowering, Arc<ast::Crate>)>,
            &'tcx ty::ResolverGlobalCtxt));
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as
            keys::Key>::Cache<Erase<(&'tcx Steal<(ty::ResolverAstLowering,
            Arc<ast::Crate>)>, &'tcx ty::ResolverGlobalCtxt)>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `resolver_for_lowering_raw` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `resolver_for_lowering_raw` has a value type `(& \'tcx Steal < (ty :: ResolverAstLowering, Arc < ast :: Crate >) > , & \'tcx\nty :: ResolverGlobalCtxt)` that is too large");
                    };
                }
            };
    }
    pub mod source_span {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = Span;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Span);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as keys::Key>::Cache<Erase<Span>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `source_span` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `source_span` has a value type `Span` that is too large");
                    };
                }
            };
    }
    pub mod hir_crate {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx Crate<'tcx>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx Crate<'tcx> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx Crate<'tcx> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx Crate<'tcx> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.hir_crate.alloc(v), value)
                    } else {
                        <&'tcx Crate<'tcx> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<&'tcx Crate<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `hir_crate` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `hir_crate` has a value type `& \'tcx Crate < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod hir_crate_items {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx rustc_middle::hir::ModuleItems;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx rustc_middle::hir::ModuleItems as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx rustc_middle::hir::ModuleItems
                                as ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx rustc_middle::hir::ModuleItems as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.hir_crate_items.alloc(v), value)
                    } else {
                        <&'tcx rustc_middle::hir::ModuleItems as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as
            keys::Key>::Cache<Erase<&'tcx rustc_middle::hir::ModuleItems>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `hir_crate_items` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `hir_crate_items` has a value type `& \'tcx rustc_middle :: hir :: ModuleItems` that is too large");
                    };
                }
            };
    }
    pub mod hir_module_items {
        use super::super::*;
        pub type Key<'tcx> = LocalModDefId;
        pub type Value<'tcx> = &'tcx rustc_middle::hir::ModuleItems;
        pub type LocalKey<'tcx> = LocalModDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx rustc_middle::hir::ModuleItems as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx rustc_middle::hir::ModuleItems
                                as ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx rustc_middle::hir::ModuleItems as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.hir_module_items.alloc(v), value)
                    } else {
                        <&'tcx rustc_middle::hir::ModuleItems as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <LocalModDefId as
            keys::Key>::Cache<Erase<&'tcx rustc_middle::hir::ModuleItems>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `hir_module_items` has a key type `LocalModDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `hir_module_items` has a value type `& \'tcx rustc_middle :: hir :: ModuleItems` that is too large");
                    };
                }
            };
    }
    pub mod local_def_id_to_hir_id {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = hir::HirId;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (hir::HirId);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as keys::Key>::Cache<Erase<hir::HirId>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `local_def_id_to_hir_id` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `local_def_id_to_hir_id` has a value type `hir :: HirId` that is too large");
                    };
                }
            };
    }
    pub mod hir_owner_parent {
        use super::super::*;
        pub type Key<'tcx> = hir::OwnerId;
        pub type Value<'tcx> = hir::HirId;
        pub type LocalKey<'tcx> = hir::OwnerId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (hir::HirId);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <hir::OwnerId as keys::Key>::Cache<Erase<hir::HirId>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `hir_owner_parent` has a key type `hir :: OwnerId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `hir_owner_parent` has a value type `hir :: HirId` that is too large");
                    };
                }
            };
    }
    pub mod opt_hir_owner_nodes {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = Option<&'tcx hir::OwnerNodes<'tcx>>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<&'tcx hir::OwnerNodes<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<Option<&'tcx hir::OwnerNodes<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `opt_hir_owner_nodes` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `opt_hir_owner_nodes` has a value type `Option < & \'tcx hir :: OwnerNodes < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod hir_attr_map {
        use super::super::*;
        pub type Key<'tcx> = hir::OwnerId;
        pub type Value<'tcx> = &'tcx hir::AttributeMap<'tcx>;
        pub type LocalKey<'tcx> = hir::OwnerId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx hir::AttributeMap<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <hir::OwnerId as
            keys::Key>::Cache<Erase<&'tcx hir::AttributeMap<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `hir_attr_map` has a key type `hir :: OwnerId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `hir_attr_map` has a value type `& \'tcx hir :: AttributeMap < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod opt_ast_lowering_delayed_lints {
        use super::super::*;
        pub type Key<'tcx> = hir::OwnerId;
        pub type Value<'tcx> = Option<&'tcx hir::lints::DelayedLints>;
        pub type LocalKey<'tcx> = hir::OwnerId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Option<&'tcx hir::lints::DelayedLints>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <hir::OwnerId as
            keys::Key>::Cache<Erase<Option<&'tcx hir::lints::DelayedLints>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `opt_ast_lowering_delayed_lints` has a key type `hir :: OwnerId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `opt_ast_lowering_delayed_lints` has a value type `Option < & \'tcx hir :: lints :: DelayedLints >` that is too large");
                    };
                }
            };
    }
    pub mod const_param_default {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::EarlyBinder<'tcx, ty::Const<'tcx>>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::EarlyBinder<'tcx, ty::Const<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx, ty::Const<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `const_param_default` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `const_param_default` has a value type `ty :: EarlyBinder < \'tcx, ty :: Const < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod const_of_item {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::EarlyBinder<'tcx, ty::Const<'tcx>>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::EarlyBinder<'tcx, ty::Const<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx, ty::Const<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `const_of_item` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `const_of_item` has a value type `ty :: EarlyBinder < \'tcx, ty :: Const < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod type_of {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::EarlyBinder<'tcx, Ty<'tcx>>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::EarlyBinder<'tcx, Ty<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx, Ty<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `type_of` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `type_of` has a value type `ty :: EarlyBinder < \'tcx, Ty < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod type_of_opaque {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            Result<ty::EarlyBinder<'tcx, Ty<'tcx>>, CyclePlaceholder>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<ty::EarlyBinder<'tcx, Ty<'tcx>>, CyclePlaceholder>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<Result<ty::EarlyBinder<'tcx, Ty<'tcx>>,
            CyclePlaceholder>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `type_of_opaque` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `type_of_opaque` has a value type `Result < ty :: EarlyBinder < \'tcx, Ty < \'tcx > > , CyclePlaceholder >` that is too large");
                    };
                }
            };
    }
    pub mod type_of_opaque_hir_typeck {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = ty::EarlyBinder<'tcx, Ty<'tcx>>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::EarlyBinder<'tcx, Ty<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx, Ty<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `type_of_opaque_hir_typeck` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `type_of_opaque_hir_typeck` has a value type `ty :: EarlyBinder < \'tcx, Ty < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod type_alias_is_lazy {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `type_alias_is_lazy` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `type_alias_is_lazy` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod collect_return_position_impl_trait_in_trait_tys {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            Result<&'tcx DefIdMap<ty::EarlyBinder<'tcx, Ty<'tcx>>>,
            ErrorGuaranteed>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx DefIdMap<ty::EarlyBinder<'tcx, Ty<'tcx>>>,
            ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<Result<&'tcx DefIdMap<ty::EarlyBinder<'tcx,
            Ty<'tcx>>>, ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `collect_return_position_impl_trait_in_trait_tys` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `collect_return_position_impl_trait_in_trait_tys` has a value type `Result < & \'tcx DefIdMap < ty :: EarlyBinder < \'tcx, Ty < \'tcx > > > ,\nErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod opaque_ty_origin {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = hir::OpaqueTyOrigin<DefId>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (hir::OpaqueTyOrigin<DefId>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<hir::OpaqueTyOrigin<DefId>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `opaque_ty_origin` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `opaque_ty_origin` has a value type `hir :: OpaqueTyOrigin < DefId >` that is too large");
                    };
                }
            };
    }
    pub mod unsizing_params_for_adt {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx rustc_index::bit_set::DenseBitSet<u32>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx rustc_index::bit_set::DenseBitSet<u32> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx rustc_index::bit_set::DenseBitSet<u32>
                                as ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx rustc_index::bit_set::DenseBitSet<u32> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.unsizing_params_for_adt.alloc(v),
                            value)
                    } else {
                        <&'tcx rustc_index::bit_set::DenseBitSet<u32> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<&'tcx rustc_index::bit_set::DenseBitSet<u32>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `unsizing_params_for_adt` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `unsizing_params_for_adt` has a value type `& \'tcx rustc_index :: bit_set :: DenseBitSet < u32 >` that is too large");
                    };
                }
            };
    }
    pub mod analysis {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = ();
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (());
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <() as keys::Key>::Cache<Erase<()>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `analysis` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `analysis` has a value type `()` that is too large");
                    };
                }
            };
    }
    pub mod check_expectations {
        use super::super::*;
        pub type Key<'tcx> = Option<Symbol>;
        pub type Value<'tcx> = ();
        pub type LocalKey<'tcx> = Option<Symbol>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (());
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <Option<Symbol> as keys::Key>::Cache<Erase<()>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_expectations` has a key type `Option < Symbol >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_expectations` has a value type `()` that is too large");
                    };
                }
            };
    }
    pub mod generics_of {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx ty::Generics;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx ty::Generics as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx ty::Generics as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx ty::Generics as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.generics_of.alloc(v), value)
                    } else {
                        <&'tcx ty::Generics as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx ty::Generics>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `generics_of` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `generics_of` has a value type `& \'tcx ty :: Generics` that is too large");
                    };
                }
            };
    }
    pub mod predicates_of {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::GenericPredicates<'tcx>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::GenericPredicates<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<ty::GenericPredicates<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `predicates_of` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `predicates_of` has a value type `ty :: GenericPredicates < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod opaque_types_defined_by {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = &'tcx ty::List<LocalDefId>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx ty::List<LocalDefId>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<&'tcx ty::List<LocalDefId>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `opaque_types_defined_by` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `opaque_types_defined_by` has a value type `& \'tcx ty :: List < LocalDefId >` that is too large");
                    };
                }
            };
    }
    pub mod nested_bodies_within {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = &'tcx ty::List<LocalDefId>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx ty::List<LocalDefId>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<&'tcx ty::List<LocalDefId>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `nested_bodies_within` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `nested_bodies_within` has a value type `& \'tcx ty :: List < LocalDefId >` that is too large");
                    };
                }
            };
    }
    pub mod explicit_item_bounds {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx,
            &'tcx [(ty::Clause<'tcx>, Span)]>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `explicit_item_bounds` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `explicit_item_bounds` has a value type `ty :: EarlyBinder < \'tcx, & \'tcx [(ty :: Clause < \'tcx > , Span)] >` that is too large");
                    };
                }
            };
    }
    pub mod explicit_item_self_bounds {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx,
            &'tcx [(ty::Clause<'tcx>, Span)]>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `explicit_item_self_bounds` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `explicit_item_self_bounds` has a value type `ty :: EarlyBinder < \'tcx, & \'tcx [(ty :: Clause < \'tcx > , Span)] >` that is too large");
                    };
                }
            };
    }
    pub mod item_bounds {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::EarlyBinder<'tcx, ty::Clauses<'tcx>>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::EarlyBinder<'tcx, ty::Clauses<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx,
            ty::Clauses<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `item_bounds` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `item_bounds` has a value type `ty :: EarlyBinder < \'tcx, ty :: Clauses < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod item_self_bounds {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::EarlyBinder<'tcx, ty::Clauses<'tcx>>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::EarlyBinder<'tcx, ty::Clauses<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx,
            ty::Clauses<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `item_self_bounds` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `item_self_bounds` has a value type `ty :: EarlyBinder < \'tcx, ty :: Clauses < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod item_non_self_bounds {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::EarlyBinder<'tcx, ty::Clauses<'tcx>>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::EarlyBinder<'tcx, ty::Clauses<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx,
            ty::Clauses<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `item_non_self_bounds` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `item_non_self_bounds` has a value type `ty :: EarlyBinder < \'tcx, ty :: Clauses < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod impl_super_outlives {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::EarlyBinder<'tcx, ty::Clauses<'tcx>>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::EarlyBinder<'tcx, ty::Clauses<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx,
            ty::Clauses<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `impl_super_outlives` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `impl_super_outlives` has a value type `ty :: EarlyBinder < \'tcx, ty :: Clauses < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod native_libraries {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx Vec<NativeLib>;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx Vec<NativeLib> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx Vec<NativeLib> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx Vec<NativeLib> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.native_libraries.alloc(v), value)
                    } else {
                        <&'tcx Vec<NativeLib> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<&'tcx Vec<NativeLib>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `native_libraries` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `native_libraries` has a value type `& \'tcx Vec < NativeLib >` that is too large");
                    };
                }
            };
    }
    pub mod shallow_lint_levels_on {
        use super::super::*;
        pub type Key<'tcx> = hir::OwnerId;
        pub type Value<'tcx> = &'tcx rustc_middle::lint::ShallowLintLevelMap;
        pub type LocalKey<'tcx> = hir::OwnerId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx rustc_middle::lint::ShallowLintLevelMap as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx rustc_middle::lint::ShallowLintLevelMap
                                as ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx rustc_middle::lint::ShallowLintLevelMap as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.shallow_lint_levels_on.alloc(v),
                            value)
                    } else {
                        <&'tcx rustc_middle::lint::ShallowLintLevelMap as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <hir::OwnerId as
            keys::Key>::Cache<Erase<&'tcx rustc_middle::lint::ShallowLintLevelMap>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `shallow_lint_levels_on` has a key type `hir :: OwnerId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `shallow_lint_levels_on` has a value type `& \'tcx rustc_middle :: lint :: ShallowLintLevelMap` that is too large");
                    };
                }
            };
    }
    pub mod lint_expectations {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> =
            &'tcx Vec<(LintExpectationId, LintExpectation)>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx Vec<(LintExpectationId, LintExpectation)> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx Vec<(LintExpectationId,
                                LintExpectation)> as ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx Vec<(LintExpectationId, LintExpectation)> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.lint_expectations.alloc(v), value)
                    } else {
                        <&'tcx Vec<(LintExpectationId, LintExpectation)> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as
            keys::Key>::Cache<Erase<&'tcx Vec<(LintExpectationId,
            LintExpectation)>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `lint_expectations` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `lint_expectations` has a value type `& \'tcx Vec < (LintExpectationId, LintExpectation) >` that is too large");
                    };
                }
            };
    }
    pub mod lints_that_dont_need_to_run {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx UnordSet<LintId>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx UnordSet<LintId> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx UnordSet<LintId> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx UnordSet<LintId> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.lints_that_dont_need_to_run.alloc(v),
                            value)
                    } else {
                        <&'tcx UnordSet<LintId> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<&'tcx UnordSet<LintId>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `lints_that_dont_need_to_run` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `lints_that_dont_need_to_run` has a value type `& \'tcx UnordSet < LintId >` that is too large");
                    };
                }
            };
    }
    pub mod expn_that_defined {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = rustc_span::ExpnId;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (rustc_span::ExpnId);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<rustc_span::ExpnId>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `expn_that_defined` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `expn_that_defined` has a value type `rustc_span :: ExpnId` that is too large");
                    };
                }
            };
    }
    pub mod is_panic_runtime {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <CrateNum as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_panic_runtime` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_panic_runtime` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod representability {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = rustc_middle::ty::Representability;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (rustc_middle::ty::Representability);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<rustc_middle::ty::Representability>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `representability` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `representability` has a value type `rustc_middle :: ty :: Representability` that is too large");
                    };
                }
            };
    }
    pub mod representability_adt_ty {
        use super::super::*;
        pub type Key<'tcx> = Ty<'tcx>;
        pub type Value<'tcx> = rustc_middle::ty::Representability;
        pub type LocalKey<'tcx> = Ty<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (rustc_middle::ty::Representability);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <Ty<'tcx> as
            keys::Key>::Cache<Erase<rustc_middle::ty::Representability>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `representability_adt_ty` has a key type `Ty < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `representability_adt_ty` has a value type `rustc_middle :: ty :: Representability` that is too large");
                    };
                }
            };
    }
    pub mod params_in_repr {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx rustc_index::bit_set::DenseBitSet<u32>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx rustc_index::bit_set::DenseBitSet<u32> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx rustc_index::bit_set::DenseBitSet<u32>
                                as ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx rustc_index::bit_set::DenseBitSet<u32> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.params_in_repr.alloc(v), value)
                    } else {
                        <&'tcx rustc_index::bit_set::DenseBitSet<u32> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<&'tcx rustc_index::bit_set::DenseBitSet<u32>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `params_in_repr` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `params_in_repr` has a value type `& \'tcx rustc_index :: bit_set :: DenseBitSet < u32 >` that is too large");
                    };
                }
            };
    }
    pub mod thir_body {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> =
            Result<(&'tcx Steal<thir::Thir<'tcx>>, thir::ExprId),
            ErrorGuaranteed>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<(&'tcx Steal<thir::Thir<'tcx>>, thir::ExprId),
            ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<Result<(&'tcx Steal<thir::Thir<'tcx>>,
            thir::ExprId), ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `thir_body` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `thir_body` has a value type `Result < (& \'tcx Steal < thir :: Thir < \'tcx > > , thir :: ExprId),\nErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod mir_keys {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> =
            &'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId>
                                as ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.mir_keys.alloc(v), value)
                    } else {
                        <&'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as
            keys::Key>::Cache<Erase<&'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_keys` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_keys` has a value type `& \'tcx rustc_data_structures :: fx :: FxIndexSet < LocalDefId >` that is too large");
                    };
                }
            };
    }
    pub mod mir_const_qualif {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = mir::ConstQualifs;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (mir::ConstQualifs);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<mir::ConstQualifs>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_const_qualif` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_const_qualif` has a value type `mir :: ConstQualifs` that is too large");
                    };
                }
            };
    }
    pub mod mir_built {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = &'tcx Steal<mir::Body<'tcx>>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx Steal<mir::Body<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<&'tcx Steal<mir::Body<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_built` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_built` has a value type `& \'tcx Steal < mir :: Body < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod thir_abstract_const {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            Result<Option<ty::EarlyBinder<'tcx, ty::Const<'tcx>>>,
            ErrorGuaranteed>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<Option<ty::EarlyBinder<'tcx, ty::Const<'tcx>>>,
            ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<Result<Option<ty::EarlyBinder<'tcx,
            ty::Const<'tcx>>>, ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `thir_abstract_const` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `thir_abstract_const` has a value type `Result < Option < ty :: EarlyBinder < \'tcx, ty :: Const < \'tcx > > > ,\nErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod mir_drops_elaborated_and_const_checked {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = &'tcx Steal<mir::Body<'tcx>>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx Steal<mir::Body<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<&'tcx Steal<mir::Body<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_drops_elaborated_and_const_checked` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_drops_elaborated_and_const_checked` has a value type `& \'tcx Steal < mir :: Body < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod mir_for_ctfe {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx mir::Body<'tcx>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx mir::Body<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx mir::Body<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_for_ctfe` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_for_ctfe` has a value type `& \'tcx mir :: Body < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod mir_promoted {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> =
            (&'tcx Steal<mir::Body<'tcx>>,
            &'tcx Steal<IndexVec<mir::Promoted, mir::Body<'tcx>>>);
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            ((&'tcx Steal<mir::Body<'tcx>>,
            &'tcx Steal<IndexVec<mir::Promoted, mir::Body<'tcx>>>));
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<(&'tcx Steal<mir::Body<'tcx>>,
            &'tcx Steal<IndexVec<mir::Promoted, mir::Body<'tcx>>>)>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_promoted` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_promoted` has a value type `(& \'tcx Steal < mir :: Body < \'tcx > > , & \'tcx Steal < IndexVec < mir ::\nPromoted, mir :: Body < \'tcx > > >)` that is too large");
                    };
                }
            };
    }
    pub mod closure_typeinfo {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = ty::ClosureTypeInfo<'tcx>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::ClosureTypeInfo<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<ty::ClosureTypeInfo<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `closure_typeinfo` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `closure_typeinfo` has a value type `ty :: ClosureTypeInfo < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod closure_saved_names_of_captured_variables {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx IndexVec<abi::FieldIdx, Symbol>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx IndexVec<abi::FieldIdx, Symbol> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx IndexVec<abi::FieldIdx, Symbol>
                                as ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx IndexVec<abi::FieldIdx, Symbol> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.closure_saved_names_of_captured_variables.alloc(v),
                            value)
                    } else {
                        <&'tcx IndexVec<abi::FieldIdx, Symbol> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<&'tcx IndexVec<abi::FieldIdx, Symbol>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `closure_saved_names_of_captured_variables` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `closure_saved_names_of_captured_variables` has a value type `& \'tcx IndexVec < abi :: FieldIdx, Symbol >` that is too large");
                    };
                }
            };
    }
    pub mod mir_coroutine_witnesses {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Option<&'tcx mir::CoroutineLayout<'tcx>>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<Option<&'tcx mir::CoroutineLayout<'tcx>> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<Option<&'tcx mir::CoroutineLayout<'tcx>>
                                as ArenaCached<'tcx>>::Allocated>() {
                        <Option<&'tcx mir::CoroutineLayout<'tcx>> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.mir_coroutine_witnesses.alloc(v),
                            value)
                    } else {
                        <Option<&'tcx mir::CoroutineLayout<'tcx>> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<Option<&'tcx mir::CoroutineLayout<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_coroutine_witnesses` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_coroutine_witnesses` has a value type `Option < & \'tcx mir :: CoroutineLayout < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod check_coroutine_obligations {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Result<(), ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<Result<(), ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_coroutine_obligations` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_coroutine_obligations` has a value type `Result < (), ErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod check_potentially_region_dependent_goals {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Result<(), ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<Result<(), ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_potentially_region_dependent_goals` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_potentially_region_dependent_goals` has a value type `Result < (), ErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod optimized_mir {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx mir::Body<'tcx>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx mir::Body<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx mir::Body<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `optimized_mir` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `optimized_mir` has a value type `& \'tcx mir :: Body < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod coverage_attr_on {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `coverage_attr_on` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `coverage_attr_on` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod coverage_ids_info {
        use super::super::*;
        pub type Key<'tcx> = ty::InstanceKind<'tcx>;
        pub type Value<'tcx> = Option<&'tcx mir::coverage::CoverageIdsInfo>;
        pub type LocalKey<'tcx> = ty::InstanceKind<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<Option<&'tcx mir::coverage::CoverageIdsInfo> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<Option<&'tcx mir::coverage::CoverageIdsInfo>
                                as ArenaCached<'tcx>>::Allocated>() {
                        <Option<&'tcx mir::coverage::CoverageIdsInfo> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.coverage_ids_info.alloc(v), value)
                    } else {
                        <Option<&'tcx mir::coverage::CoverageIdsInfo> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <ty::InstanceKind<'tcx> as
            keys::Key>::Cache<Erase<Option<&'tcx mir::coverage::CoverageIdsInfo>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `coverage_ids_info` has a key type `ty :: InstanceKind < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `coverage_ids_info` has a value type `Option < & \'tcx mir :: coverage :: CoverageIdsInfo >` that is too large");
                    };
                }
            };
    }
    pub mod promoted_mir {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx IndexVec<mir::Promoted, mir::Body<'tcx>>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (&'tcx IndexVec<mir::Promoted, mir::Body<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<&'tcx IndexVec<mir::Promoted,
            mir::Body<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `promoted_mir` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `promoted_mir` has a value type `& \'tcx IndexVec < mir :: Promoted, mir :: Body < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod erase_and_anonymize_regions_ty {
        use super::super::*;
        pub type Key<'tcx> = Ty<'tcx>;
        pub type Value<'tcx> = Ty<'tcx>;
        pub type LocalKey<'tcx> = Ty<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Ty<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <Ty<'tcx> as keys::Key>::Cache<Erase<Ty<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `erase_and_anonymize_regions_ty` has a key type `Ty < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `erase_and_anonymize_regions_ty` has a value type `Ty < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod wasm_import_module_map {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx DefIdMap<String>;
        pub type LocalKey<'tcx> = CrateNum;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx DefIdMap<String> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx DefIdMap<String> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx DefIdMap<String> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.wasm_import_module_map.alloc(v),
                            value)
                    } else {
                        <&'tcx DefIdMap<String> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<&'tcx DefIdMap<String>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `wasm_import_module_map` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `wasm_import_module_map` has a value type `& \'tcx DefIdMap < String >` that is too large");
                    };
                }
            };
    }
    pub mod trait_explicit_predicates_and_bounds {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = ty::GenericPredicates<'tcx>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::GenericPredicates<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<ty::GenericPredicates<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `trait_explicit_predicates_and_bounds` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `trait_explicit_predicates_and_bounds` has a value type `ty :: GenericPredicates < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod explicit_predicates_of {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::GenericPredicates<'tcx>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::GenericPredicates<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<ty::GenericPredicates<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `explicit_predicates_of` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `explicit_predicates_of` has a value type `ty :: GenericPredicates < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod inferred_outlives_of {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx [(ty::Clause<'tcx>, Span)];
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [(ty::Clause<'tcx>, Span)]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<&'tcx [(ty::Clause<'tcx>, Span)]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `inferred_outlives_of` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `inferred_outlives_of` has a value type `& \'tcx [(ty :: Clause < \'tcx > , Span)]` that is too large");
                    };
                }
            };
    }
    pub mod explicit_super_predicates_of {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx,
            &'tcx [(ty::Clause<'tcx>, Span)]>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `explicit_super_predicates_of` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `explicit_super_predicates_of` has a value type `ty :: EarlyBinder < \'tcx, & \'tcx [(ty :: Clause < \'tcx > , Span)] >` that is too large");
                    };
                }
            };
    }
    pub mod explicit_implied_predicates_of {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx,
            &'tcx [(ty::Clause<'tcx>, Span)]>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `explicit_implied_predicates_of` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `explicit_implied_predicates_of` has a value type `ty :: EarlyBinder < \'tcx, & \'tcx [(ty :: Clause < \'tcx > , Span)] >` that is too large");
                    };
                }
            };
    }
    pub mod explicit_supertraits_containing_assoc_item {
        use super::super::*;
        pub type Key<'tcx> = (DefId, rustc_span::Ident);
        pub type Value<'tcx> =
            ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>;
        pub type LocalKey<'tcx> = (DefId, rustc_span::Ident);
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <(DefId, rustc_span::Ident) as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx,
            &'tcx [(ty::Clause<'tcx>, Span)]>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `explicit_supertraits_containing_assoc_item` has a key type `(DefId, rustc_span :: Ident)` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `explicit_supertraits_containing_assoc_item` has a value type `ty :: EarlyBinder < \'tcx, & \'tcx [(ty :: Clause < \'tcx > , Span)] >` that is too large");
                    };
                }
            };
    }
    pub mod const_conditions {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::ConstConditions<'tcx>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::ConstConditions<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<ty::ConstConditions<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `const_conditions` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `const_conditions` has a value type `ty :: ConstConditions < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod explicit_implied_const_bounds {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            ty::EarlyBinder<'tcx, &'tcx [(ty::PolyTraitRef<'tcx>, Span)]>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::EarlyBinder<'tcx, &'tcx [(ty::PolyTraitRef<'tcx>, Span)]>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx,
            &'tcx [(ty::PolyTraitRef<'tcx>, Span)]>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `explicit_implied_const_bounds` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `explicit_implied_const_bounds` has a value type `ty :: EarlyBinder < \'tcx, & \'tcx [(ty :: PolyTraitRef < \'tcx > , Span)] >` that is too large");
                    };
                }
            };
    }
    pub mod type_param_predicates {
        use super::super::*;
        pub type Key<'tcx> = (LocalDefId, LocalDefId, rustc_span::Ident);
        pub type Value<'tcx> =
            ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>;
        pub type LocalKey<'tcx> = (LocalDefId, LocalDefId, rustc_span::Ident);
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <(LocalDefId, LocalDefId, rustc_span::Ident) as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx,
            &'tcx [(ty::Clause<'tcx>, Span)]>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `type_param_predicates` has a key type `(LocalDefId, LocalDefId, rustc_span :: Ident)` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `type_param_predicates` has a value type `ty :: EarlyBinder < \'tcx, & \'tcx [(ty :: Clause < \'tcx > , Span)] >` that is too large");
                    };
                }
            };
    }
    pub mod trait_def {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx ty::TraitDef;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx ty::TraitDef as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx ty::TraitDef as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx ty::TraitDef as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.trait_def.alloc(v), value)
                    } else {
                        <&'tcx ty::TraitDef as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx ty::TraitDef>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `trait_def` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `trait_def` has a value type `& \'tcx ty :: TraitDef` that is too large");
                    };
                }
            };
    }
    pub mod adt_def {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::AdtDef<'tcx>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::AdtDef<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<ty::AdtDef<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `adt_def` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `adt_def` has a value type `ty :: AdtDef < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod adt_destructor {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Option<ty::Destructor>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<ty::Destructor>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<Option<ty::Destructor>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `adt_destructor` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `adt_destructor` has a value type `Option < ty :: Destructor >` that is too large");
                    };
                }
            };
    }
    pub mod adt_async_destructor {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Option<ty::AsyncDestructor>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<ty::AsyncDestructor>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<Option<ty::AsyncDestructor>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `adt_async_destructor` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `adt_async_destructor` has a value type `Option < ty :: AsyncDestructor >` that is too large");
                    };
                }
            };
    }
    pub mod adt_sizedness_constraint {
        use super::super::*;
        pub type Key<'tcx> = (DefId, SizedTraitKind);
        pub type Value<'tcx> = Option<ty::EarlyBinder<'tcx, Ty<'tcx>>>;
        pub type LocalKey<'tcx> = (DefId, SizedTraitKind);
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Option<ty::EarlyBinder<'tcx, Ty<'tcx>>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <(DefId, SizedTraitKind) as
            keys::Key>::Cache<Erase<Option<ty::EarlyBinder<'tcx, Ty<'tcx>>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `adt_sizedness_constraint` has a key type `(DefId, SizedTraitKind)` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `adt_sizedness_constraint` has a value type `Option < ty :: EarlyBinder < \'tcx, Ty < \'tcx > > >` that is too large");
                    };
                }
            };
    }
    pub mod adt_dtorck_constraint {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx DropckConstraint<'tcx>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx DropckConstraint<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx DropckConstraint<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `adt_dtorck_constraint` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `adt_dtorck_constraint` has a value type `& \'tcx DropckConstraint < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod constness {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = hir::Constness;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (hir::Constness);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<hir::Constness>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `constness` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `constness` has a value type `hir :: Constness` that is too large");
                    };
                }
            };
    }
    pub mod asyncness {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::Asyncness;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::Asyncness);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<ty::Asyncness>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `asyncness` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `asyncness` has a value type `ty :: Asyncness` that is too large");
                    };
                }
            };
    }
    pub mod is_promotable_const_fn {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_promotable_const_fn` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_promotable_const_fn` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod coroutine_by_move_body_def_id {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = DefId;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (DefId);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<DefId>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `coroutine_by_move_body_def_id` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `coroutine_by_move_body_def_id` has a value type `DefId` that is too large");
                    };
                }
            };
    }
    pub mod coroutine_kind {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Option<hir::CoroutineKind>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<hir::CoroutineKind>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<Option<hir::CoroutineKind>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `coroutine_kind` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `coroutine_kind` has a value type `Option < hir :: CoroutineKind >` that is too large");
                    };
                }
            };
    }
    pub mod coroutine_for_closure {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = DefId;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (DefId);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<DefId>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `coroutine_for_closure` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `coroutine_for_closure` has a value type `DefId` that is too large");
                    };
                }
            };
    }
    pub mod coroutine_hidden_types {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            ty::EarlyBinder<'tcx,
            ty::Binder<'tcx, ty::CoroutineWitnessTypes<TyCtxt<'tcx>>>>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::EarlyBinder<'tcx,
            ty::Binder<'tcx, ty::CoroutineWitnessTypes<TyCtxt<'tcx>>>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx,
            ty::Binder<'tcx, ty::CoroutineWitnessTypes<TyCtxt<'tcx>>>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `coroutine_hidden_types` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `coroutine_hidden_types` has a value type `ty :: EarlyBinder < \'tcx, ty :: Binder < \'tcx, ty :: CoroutineWitnessTypes <\nTyCtxt < \'tcx > > > >` that is too large");
                    };
                }
            };
    }
    pub mod crate_variances {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx ty::CrateVariancesMap<'tcx>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx ty::CrateVariancesMap<'tcx> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx ty::CrateVariancesMap<'tcx> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx ty::CrateVariancesMap<'tcx> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.crate_variances.alloc(v), value)
                    } else {
                        <&'tcx ty::CrateVariancesMap<'tcx> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as
            keys::Key>::Cache<Erase<&'tcx ty::CrateVariancesMap<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_variances` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_variances` has a value type `& \'tcx ty :: CrateVariancesMap < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod variances_of {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx [ty::Variance];
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [ty::Variance]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx [ty::Variance]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `variances_of` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `variances_of` has a value type `& \'tcx [ty :: Variance]` that is too large");
                    };
                }
            };
    }
    pub mod inferred_outlives_crate {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx ty::CratePredicatesMap<'tcx>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx ty::CratePredicatesMap<'tcx> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx ty::CratePredicatesMap<'tcx> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx ty::CratePredicatesMap<'tcx> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.inferred_outlives_crate.alloc(v),
                            value)
                    } else {
                        <&'tcx ty::CratePredicatesMap<'tcx> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as
            keys::Key>::Cache<Erase<&'tcx ty::CratePredicatesMap<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `inferred_outlives_crate` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `inferred_outlives_crate` has a value type `& \'tcx ty :: CratePredicatesMap < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod associated_item_def_ids {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx [DefId];
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [DefId]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx [DefId]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `associated_item_def_ids` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `associated_item_def_ids` has a value type `& \'tcx [DefId]` that is too large");
                    };
                }
            };
    }
    pub mod associated_item {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::AssocItem;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::AssocItem);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<ty::AssocItem>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `associated_item` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `associated_item` has a value type `ty :: AssocItem` that is too large");
                    };
                }
            };
    }
    pub mod associated_items {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx ty::AssocItems;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx ty::AssocItems as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx ty::AssocItems as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx ty::AssocItems as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.associated_items.alloc(v), value)
                    } else {
                        <&'tcx ty::AssocItems as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx ty::AssocItems>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `associated_items` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `associated_items` has a value type `& \'tcx ty :: AssocItems` that is too large");
                    };
                }
            };
    }
    pub mod impl_item_implementor_ids {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx DefIdMap<DefId>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx DefIdMap<DefId> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx DefIdMap<DefId> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx DefIdMap<DefId> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.impl_item_implementor_ids.alloc(v),
                            value)
                    } else {
                        <&'tcx DefIdMap<DefId> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx DefIdMap<DefId>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `impl_item_implementor_ids` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `impl_item_implementor_ids` has a value type `& \'tcx DefIdMap < DefId >` that is too large");
                    };
                }
            };
    }
    pub mod associated_types_for_impl_traits_in_trait_or_impl {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx DefIdMap<Vec<DefId>>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx DefIdMap<Vec<DefId>> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx DefIdMap<Vec<DefId>> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx DefIdMap<Vec<DefId>> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.associated_types_for_impl_traits_in_trait_or_impl.alloc(v),
                            value)
                    } else {
                        <&'tcx DefIdMap<Vec<DefId>> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx DefIdMap<Vec<DefId>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `associated_types_for_impl_traits_in_trait_or_impl` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `associated_types_for_impl_traits_in_trait_or_impl` has a value type `& \'tcx DefIdMap < Vec < DefId > >` that is too large");
                    };
                }
            };
    }
    pub mod impl_trait_header {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::ImplTraitHeader<'tcx>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::ImplTraitHeader<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<ty::ImplTraitHeader<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `impl_trait_header` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `impl_trait_header` has a value type `ty :: ImplTraitHeader < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod impl_self_is_guaranteed_unsized {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `impl_self_is_guaranteed_unsized` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `impl_self_is_guaranteed_unsized` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod inherent_impls {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx [DefId];
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [DefId]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx [DefId]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `inherent_impls` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `inherent_impls` has a value type `& \'tcx [DefId]` that is too large");
                    };
                }
            };
    }
    pub mod incoherent_impls {
        use super::super::*;
        pub type Key<'tcx> = SimplifiedType;
        pub type Value<'tcx> = &'tcx [DefId];
        pub type LocalKey<'tcx> = SimplifiedType;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [DefId]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <SimplifiedType as keys::Key>::Cache<Erase<&'tcx [DefId]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `incoherent_impls` has a key type `SimplifiedType` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `incoherent_impls` has a value type `& \'tcx [DefId]` that is too large");
                    };
                }
            };
    }
    pub mod check_transmutes {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = ();
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (());
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <LocalDefId as keys::Key>::Cache<Erase<()>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_transmutes` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_transmutes` has a value type `()` that is too large");
                    };
                }
            };
    }
    pub mod check_unsafety {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = ();
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (());
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <LocalDefId as keys::Key>::Cache<Erase<()>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_unsafety` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_unsafety` has a value type `()` that is too large");
                    };
                }
            };
    }
    pub mod check_tail_calls {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = Result<(), rustc_errors::ErrorGuaranteed>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<(), rustc_errors::ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<Result<(),
            rustc_errors::ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_tail_calls` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_tail_calls` has a value type `Result < (), rustc_errors :: ErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod assumed_wf_types {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = &'tcx [(Ty<'tcx>, Span)];
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [(Ty<'tcx>, Span)]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as keys::Key>::Cache<Erase<&'tcx [(Ty<'tcx>, Span)]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `assumed_wf_types` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `assumed_wf_types` has a value type `& \'tcx [(Ty < \'tcx > , Span)]` that is too large");
                    };
                }
            };
    }
    pub mod assumed_wf_types_for_rpitit {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx [(Ty<'tcx>, Span)];
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [(Ty<'tcx>, Span)]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx [(Ty<'tcx>, Span)]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `assumed_wf_types_for_rpitit` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `assumed_wf_types_for_rpitit` has a value type `& \'tcx [(Ty < \'tcx > , Span)]` that is too large");
                    };
                }
            };
    }
    pub mod fn_sig {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::EarlyBinder<'tcx, ty::PolyFnSig<'tcx>>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::EarlyBinder<'tcx, ty::PolyFnSig<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<ty::EarlyBinder<'tcx,
            ty::PolyFnSig<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `fn_sig` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `fn_sig` has a value type `ty :: EarlyBinder < \'tcx, ty :: PolyFnSig < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod lint_mod {
        use super::super::*;
        pub type Key<'tcx> = LocalModDefId;
        pub type Value<'tcx> = ();
        pub type LocalKey<'tcx> = LocalModDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (());
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalModDefId as keys::Key>::Cache<Erase<()>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `lint_mod` has a key type `LocalModDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `lint_mod` has a value type `()` that is too large");
                    };
                }
            };
    }
    pub mod check_unused_traits {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = ();
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (());
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <() as keys::Key>::Cache<Erase<()>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_unused_traits` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_unused_traits` has a value type `()` that is too large");
                    };
                }
            };
    }
    pub mod check_mod_attrs {
        use super::super::*;
        pub type Key<'tcx> = LocalModDefId;
        pub type Value<'tcx> = ();
        pub type LocalKey<'tcx> = LocalModDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (());
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalModDefId as keys::Key>::Cache<Erase<()>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_mod_attrs` has a key type `LocalModDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_mod_attrs` has a value type `()` that is too large");
                    };
                }
            };
    }
    pub mod check_mod_unstable_api_usage {
        use super::super::*;
        pub type Key<'tcx> = LocalModDefId;
        pub type Value<'tcx> = ();
        pub type LocalKey<'tcx> = LocalModDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (());
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalModDefId as keys::Key>::Cache<Erase<()>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_mod_unstable_api_usage` has a key type `LocalModDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_mod_unstable_api_usage` has a value type `()` that is too large");
                    };
                }
            };
    }
    pub mod check_mod_privacy {
        use super::super::*;
        pub type Key<'tcx> = LocalModDefId;
        pub type Value<'tcx> = ();
        pub type LocalKey<'tcx> = LocalModDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (());
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalModDefId as keys::Key>::Cache<Erase<()>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_mod_privacy` has a key type `LocalModDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_mod_privacy` has a value type `()` that is too large");
                    };
                }
            };
    }
    pub mod check_liveness {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> =
            &'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx>
                                as ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.check_liveness.alloc(v), value)
                    } else {
                        <&'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<&'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_liveness` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_liveness` has a value type `& \'tcx rustc_index :: bit_set :: DenseBitSet < abi :: FieldIdx >` that is too large");
                    };
                }
            };
    }
    pub mod live_symbols_and_ignored_derived_traits {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> =
            &'tcx Result<(LocalDefIdSet, LocalDefIdMap<FxIndexSet<DefId>>),
            ErrorGuaranteed>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx Result<(LocalDefIdSet, LocalDefIdMap<FxIndexSet<DefId>>),
            ErrorGuaranteed> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx Result<(LocalDefIdSet,
                                LocalDefIdMap<FxIndexSet<DefId>>), ErrorGuaranteed> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx Result<(LocalDefIdSet,
                                LocalDefIdMap<FxIndexSet<DefId>>), ErrorGuaranteed> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.live_symbols_and_ignored_derived_traits.alloc(v),
                            value)
                    } else {
                        <&'tcx Result<(LocalDefIdSet,
                                LocalDefIdMap<FxIndexSet<DefId>>), ErrorGuaranteed> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as
            keys::Key>::Cache<Erase<&'tcx Result<(LocalDefIdSet,
            LocalDefIdMap<FxIndexSet<DefId>>), ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `live_symbols_and_ignored_derived_traits` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `live_symbols_and_ignored_derived_traits` has a value type `& \'tcx Result < (LocalDefIdSet, LocalDefIdMap < FxIndexSet < DefId > > ,),\nErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod check_mod_deathness {
        use super::super::*;
        pub type Key<'tcx> = LocalModDefId;
        pub type Value<'tcx> = ();
        pub type LocalKey<'tcx> = LocalModDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (());
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalModDefId as keys::Key>::Cache<Erase<()>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_mod_deathness` has a key type `LocalModDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_mod_deathness` has a value type `()` that is too large");
                    };
                }
            };
    }
    pub mod check_type_wf {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Result<(), ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<Result<(), ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_type_wf` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_type_wf` has a value type `Result < (), ErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod coerce_unsized_info {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            Result<ty::adjustment::CoerceUnsizedInfo, ErrorGuaranteed>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<ty::adjustment::CoerceUnsizedInfo, ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<Result<ty::adjustment::CoerceUnsizedInfo,
            ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `coerce_unsized_info` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `coerce_unsized_info` has a value type `Result < ty :: adjustment :: CoerceUnsizedInfo, ErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod typeck {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = &'tcx ty::TypeckResults<'tcx>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx ty::TypeckResults<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<&'tcx ty::TypeckResults<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `typeck` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `typeck` has a value type `& \'tcx ty :: TypeckResults < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod used_trait_imports {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = &'tcx UnordSet<LocalDefId>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx UnordSet<LocalDefId>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<&'tcx UnordSet<LocalDefId>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `used_trait_imports` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `used_trait_imports` has a value type `& \'tcx UnordSet < LocalDefId >` that is too large");
                    };
                }
            };
    }
    pub mod coherent_trait {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Result<(), ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<Result<(), ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `coherent_trait` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `coherent_trait` has a value type `Result < (), ErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod mir_borrowck {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> =
            Result<&'tcx FxIndexMap<LocalDefId,
            ty::DefinitionSiteHiddenType<'tcx>>, ErrorGuaranteed>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx FxIndexMap<LocalDefId,
            ty::DefinitionSiteHiddenType<'tcx>>, ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<Result<&'tcx FxIndexMap<LocalDefId,
            ty::DefinitionSiteHiddenType<'tcx>>, ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_borrowck` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_borrowck` has a value type `Result < & \'tcx FxIndexMap < LocalDefId, ty :: DefinitionSiteHiddenType < \'tcx\n> > , ErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod crate_inherent_impls {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> =
            (&'tcx CrateInherentImpls, Result<(), ErrorGuaranteed>);
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            ((&'tcx CrateInherentImpls, Result<(), ErrorGuaranteed>));
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as
            keys::Key>::Cache<Erase<(&'tcx CrateInherentImpls,
            Result<(), ErrorGuaranteed>)>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_inherent_impls` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_inherent_impls` has a value type `(& \'tcx CrateInherentImpls, Result < (), ErrorGuaranteed >)` that is too large");
                    };
                }
            };
    }
    pub mod crate_inherent_impls_validity_check {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Result<(), ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<Result<(), ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_inherent_impls_validity_check` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_inherent_impls_validity_check` has a value type `Result < (), ErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod crate_inherent_impls_overlap_check {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Result<(), ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<Result<(), ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_inherent_impls_overlap_check` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_inherent_impls_overlap_check` has a value type `Result < (), ErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod orphan_check_impl {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Result<(), ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<Result<(), ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `orphan_check_impl` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `orphan_check_impl` has a value type `Result < (), ErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod mir_callgraph_cyclic {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = &'tcx Option<UnordSet<LocalDefId>>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx Option<UnordSet<LocalDefId>> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx Option<UnordSet<LocalDefId>> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx Option<UnordSet<LocalDefId>> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.mir_callgraph_cyclic.alloc(v),
                            value)
                    } else {
                        <&'tcx Option<UnordSet<LocalDefId>> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<&'tcx Option<UnordSet<LocalDefId>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_callgraph_cyclic` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_callgraph_cyclic` has a value type `& \'tcx Option < UnordSet < LocalDefId > >` that is too large");
                    };
                }
            };
    }
    pub mod mir_inliner_callees {
        use super::super::*;
        pub type Key<'tcx> = ty::InstanceKind<'tcx>;
        pub type Value<'tcx> = &'tcx [(DefId, GenericArgsRef<'tcx>)];
        pub type LocalKey<'tcx> = ty::InstanceKind<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (&'tcx [(DefId, GenericArgsRef<'tcx>)]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::InstanceKind<'tcx> as
            keys::Key>::Cache<Erase<&'tcx [(DefId, GenericArgsRef<'tcx>)]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_inliner_callees` has a key type `ty :: InstanceKind < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_inliner_callees` has a value type `& \'tcx [(DefId, GenericArgsRef < \'tcx >)]` that is too large");
                    };
                }
            };
    }
    pub mod tag_for_variant {
        use super::super::*;
        pub type Key<'tcx> =
            PseudoCanonicalInput<'tcx, (Ty<'tcx>, abi::VariantIdx)>;
        pub type Value<'tcx> = Option<ty::ScalarInt>;
        pub type LocalKey<'tcx> =
            PseudoCanonicalInput<'tcx, (Ty<'tcx>, abi::VariantIdx)>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<ty::ScalarInt>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <PseudoCanonicalInput<'tcx, (Ty<'tcx>, abi::VariantIdx)> as
            keys::Key>::Cache<Erase<Option<ty::ScalarInt>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `tag_for_variant` has a key type `PseudoCanonicalInput < \'tcx, (Ty < \'tcx > , abi :: VariantIdx) >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `tag_for_variant` has a value type `Option < ty :: ScalarInt >` that is too large");
                    };
                }
            };
    }
    pub mod eval_to_allocation_raw {
        use super::super::*;
        pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>;
        pub type Value<'tcx> = EvalToAllocationRawResult<'tcx>;
        pub type LocalKey<'tcx> =
            ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (EvalToAllocationRawResult<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>> as
            keys::Key>::Cache<Erase<EvalToAllocationRawResult<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `eval_to_allocation_raw` has a key type `ty :: PseudoCanonicalInput < \'tcx, GlobalId < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `eval_to_allocation_raw` has a value type `EvalToAllocationRawResult < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod eval_static_initializer {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = EvalStaticInitializerRawResult<'tcx>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (EvalStaticInitializerRawResult<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<EvalStaticInitializerRawResult<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `eval_static_initializer` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `eval_static_initializer` has a value type `EvalStaticInitializerRawResult < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod eval_to_const_value_raw {
        use super::super::*;
        pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>;
        pub type Value<'tcx> = EvalToConstValueResult<'tcx>;
        pub type LocalKey<'tcx> =
            ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (EvalToConstValueResult<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>> as
            keys::Key>::Cache<Erase<EvalToConstValueResult<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `eval_to_const_value_raw` has a key type `ty :: PseudoCanonicalInput < \'tcx, GlobalId < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `eval_to_const_value_raw` has a value type `EvalToConstValueResult < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod eval_to_valtree {
        use super::super::*;
        pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>;
        pub type Value<'tcx> = EvalToValTreeResult<'tcx>;
        pub type LocalKey<'tcx> =
            ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (EvalToValTreeResult<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>> as
            keys::Key>::Cache<Erase<EvalToValTreeResult<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `eval_to_valtree` has a key type `ty :: PseudoCanonicalInput < \'tcx, GlobalId < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `eval_to_valtree` has a value type `EvalToValTreeResult < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod valtree_to_const_val {
        use super::super::*;
        pub type Key<'tcx> = ty::Value<'tcx>;
        pub type Value<'tcx> = mir::ConstValue;
        pub type LocalKey<'tcx> = ty::Value<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (mir::ConstValue);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::Value<'tcx> as keys::Key>::Cache<Erase<mir::ConstValue>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `valtree_to_const_val` has a key type `ty :: Value < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `valtree_to_const_val` has a value type `mir :: ConstValue` that is too large");
                    };
                }
            };
    }
    pub mod lit_to_const {
        use super::super::*;
        pub type Key<'tcx> = LitToConstInput<'tcx>;
        pub type Value<'tcx> = ty::Const<'tcx>;
        pub type LocalKey<'tcx> = LitToConstInput<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::Const<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LitToConstInput<'tcx> as
            keys::Key>::Cache<Erase<ty::Const<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `lit_to_const` has a key type `LitToConstInput < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `lit_to_const` has a value type `ty :: Const < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod check_match {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = Result<(), rustc_errors::ErrorGuaranteed>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<(), rustc_errors::ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<Result<(),
            rustc_errors::ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_match` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_match` has a value type `Result < (), rustc_errors :: ErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod effective_visibilities {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx EffectiveVisibilities;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx EffectiveVisibilities);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<&'tcx EffectiveVisibilities>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `effective_visibilities` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `effective_visibilities` has a value type `& \'tcx EffectiveVisibilities` that is too large");
                    };
                }
            };
    }
    pub mod check_private_in_public {
        use super::super::*;
        pub type Key<'tcx> = LocalModDefId;
        pub type Value<'tcx> = ();
        pub type LocalKey<'tcx> = LocalModDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (());
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalModDefId as keys::Key>::Cache<Erase<()>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_private_in_public` has a key type `LocalModDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_private_in_public` has a value type `()` that is too large");
                    };
                }
            };
    }
    pub mod reachable_set {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx LocalDefIdSet;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx LocalDefIdSet as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx LocalDefIdSet as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx LocalDefIdSet as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.reachable_set.alloc(v), value)
                    } else {
                        <&'tcx LocalDefIdSet as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<&'tcx LocalDefIdSet>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `reachable_set` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `reachable_set` has a value type `& \'tcx LocalDefIdSet` that is too large");
                    };
                }
            };
    }
    pub mod region_scope_tree {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx crate::middle::region::ScopeTree;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (&'tcx crate::middle::region::ScopeTree);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<&'tcx crate::middle::region::ScopeTree>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `region_scope_tree` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `region_scope_tree` has a value type `& \'tcx crate :: middle :: region :: ScopeTree` that is too large");
                    };
                }
            };
    }
    pub mod mir_shims {
        use super::super::*;
        pub type Key<'tcx> = ty::InstanceKind<'tcx>;
        pub type Value<'tcx> = &'tcx mir::Body<'tcx>;
        pub type LocalKey<'tcx> = ty::InstanceKind<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx mir::Body<'tcx> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx mir::Body<'tcx> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx mir::Body<'tcx> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.mir_shims.alloc(v), value)
                    } else {
                        <&'tcx mir::Body<'tcx> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <ty::InstanceKind<'tcx> as
            keys::Key>::Cache<Erase<&'tcx mir::Body<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_shims` has a key type `ty :: InstanceKind < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `mir_shims` has a value type `& \'tcx mir :: Body < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod symbol_name {
        use super::super::*;
        pub type Key<'tcx> = ty::Instance<'tcx>;
        pub type Value<'tcx> = ty::SymbolName<'tcx>;
        pub type LocalKey<'tcx> = ty::Instance<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::SymbolName<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::Instance<'tcx> as
            keys::Key>::Cache<Erase<ty::SymbolName<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `symbol_name` has a key type `ty :: Instance < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `symbol_name` has a value type `ty :: SymbolName < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod def_kind {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = DefKind;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (DefKind);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<DefKind>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `def_kind` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `def_kind` has a value type `DefKind` that is too large");
                    };
                }
            };
    }
    pub mod def_span {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Span;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Span);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<Span>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `def_span` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `def_span` has a value type `Span` that is too large");
                    };
                }
            };
    }
    pub mod def_ident_span {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Option<Span>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<Span>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<Option<Span>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `def_ident_span` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `def_ident_span` has a value type `Option < Span >` that is too large");
                    };
                }
            };
    }
    pub mod ty_span {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = Span;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Span);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as keys::Key>::Cache<Erase<Span>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `ty_span` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `ty_span` has a value type `Span` that is too large");
                    };
                }
            };
    }
    pub mod lookup_stability {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Option<hir::Stability>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<hir::Stability>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<Option<hir::Stability>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `lookup_stability` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `lookup_stability` has a value type `Option < hir :: Stability >` that is too large");
                    };
                }
            };
    }
    pub mod lookup_const_stability {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Option<hir::ConstStability>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<hir::ConstStability>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<Option<hir::ConstStability>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `lookup_const_stability` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `lookup_const_stability` has a value type `Option < hir :: ConstStability >` that is too large");
                    };
                }
            };
    }
    pub mod lookup_default_body_stability {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Option<hir::DefaultBodyStability>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<hir::DefaultBodyStability>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<Option<hir::DefaultBodyStability>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `lookup_default_body_stability` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `lookup_default_body_stability` has a value type `Option < hir :: DefaultBodyStability >` that is too large");
                    };
                }
            };
    }
    pub mod should_inherit_track_caller {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `should_inherit_track_caller` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `should_inherit_track_caller` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod inherited_align {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Option<Align>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<Align>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<Option<Align>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `inherited_align` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `inherited_align` has a value type `Option < Align >` that is too large");
                    };
                }
            };
    }
    pub mod lookup_deprecation_entry {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Option<DeprecationEntry>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<DeprecationEntry>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<Option<DeprecationEntry>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `lookup_deprecation_entry` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `lookup_deprecation_entry` has a value type `Option < DeprecationEntry >` that is too large");
                    };
                }
            };
    }
    pub mod is_doc_hidden {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_doc_hidden` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_doc_hidden` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod is_doc_notable_trait {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_doc_notable_trait` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_doc_notable_trait` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod attrs_for_def {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx [hir::Attribute];
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [hir::Attribute]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx [hir::Attribute]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `attrs_for_def` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `attrs_for_def` has a value type `& \'tcx [hir :: Attribute]` that is too large");
                    };
                }
            };
    }
    pub mod codegen_fn_attrs {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx CodegenFnAttrs;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx CodegenFnAttrs as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx CodegenFnAttrs as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx CodegenFnAttrs as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.codegen_fn_attrs.alloc(v), value)
                    } else {
                        <&'tcx CodegenFnAttrs as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx CodegenFnAttrs>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `codegen_fn_attrs` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `codegen_fn_attrs` has a value type `& \'tcx CodegenFnAttrs` that is too large");
                    };
                }
            };
    }
    pub mod asm_target_features {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx FxIndexSet<Symbol>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx FxIndexSet<Symbol>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx FxIndexSet<Symbol>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `asm_target_features` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `asm_target_features` has a value type `& \'tcx FxIndexSet < Symbol >` that is too large");
                    };
                }
            };
    }
    pub mod fn_arg_idents {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx [Option<rustc_span::Ident>];
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [Option<rustc_span::Ident>]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<&'tcx [Option<rustc_span::Ident>]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `fn_arg_idents` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `fn_arg_idents` has a value type `& \'tcx [Option < rustc_span :: Ident >]` that is too large");
                    };
                }
            };
    }
    pub mod rendered_const {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx String;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx String as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx String as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx String as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.rendered_const.alloc(v), value)
                    } else {
                        <&'tcx String as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx String>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `rendered_const` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `rendered_const` has a value type `& \'tcx String` that is too large");
                    };
                }
            };
    }
    pub mod rendered_precise_capturing_args {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            Option<&'tcx [PreciseCapturingArgKind<Symbol, Symbol>]>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Option<&'tcx [PreciseCapturingArgKind<Symbol, Symbol>]>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<Option<&'tcx [PreciseCapturingArgKind<Symbol,
            Symbol>]>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `rendered_precise_capturing_args` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `rendered_precise_capturing_args` has a value type `Option < & \'tcx [PreciseCapturingArgKind < Symbol, Symbol >] >` that is too large");
                    };
                }
            };
    }
    pub mod impl_parent {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Option<DefId>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<DefId>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<Option<DefId>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `impl_parent` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `impl_parent` has a value type `Option < DefId >` that is too large");
                    };
                }
            };
    }
    pub mod is_ctfe_mir_available {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_ctfe_mir_available` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_ctfe_mir_available` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod is_mir_available {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_mir_available` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_mir_available` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod own_existential_vtable_entries {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx [DefId];
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [DefId]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx [DefId]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `own_existential_vtable_entries` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `own_existential_vtable_entries` has a value type `& \'tcx [DefId]` that is too large");
                    };
                }
            };
    }
    pub mod vtable_entries {
        use super::super::*;
        pub type Key<'tcx> = ty::TraitRef<'tcx>;
        pub type Value<'tcx> = &'tcx [ty::VtblEntry<'tcx>];
        pub type LocalKey<'tcx> = ty::TraitRef<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [ty::VtblEntry<'tcx>]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::TraitRef<'tcx> as
            keys::Key>::Cache<Erase<&'tcx [ty::VtblEntry<'tcx>]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `vtable_entries` has a key type `ty :: TraitRef < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `vtable_entries` has a value type `& \'tcx [ty :: VtblEntry < \'tcx >]` that is too large");
                    };
                }
            };
    }
    pub mod first_method_vtable_slot {
        use super::super::*;
        pub type Key<'tcx> = ty::TraitRef<'tcx>;
        pub type Value<'tcx> = usize;
        pub type LocalKey<'tcx> = ty::TraitRef<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (usize);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::TraitRef<'tcx> as keys::Key>::Cache<Erase<usize>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `first_method_vtable_slot` has a key type `ty :: TraitRef < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `first_method_vtable_slot` has a value type `usize` that is too large");
                    };
                }
            };
    }
    pub mod supertrait_vtable_slot {
        use super::super::*;
        pub type Key<'tcx> = (Ty<'tcx>, Ty<'tcx>);
        pub type Value<'tcx> = Option<usize>;
        pub type LocalKey<'tcx> = (Ty<'tcx>, Ty<'tcx>);
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<usize>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <(Ty<'tcx>, Ty<'tcx>) as keys::Key>::Cache<Erase<Option<usize>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `supertrait_vtable_slot` has a key type `(Ty < \'tcx > , Ty < \'tcx >)` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `supertrait_vtable_slot` has a value type `Option < usize >` that is too large");
                    };
                }
            };
    }
    pub mod vtable_allocation {
        use super::super::*;
        pub type Key<'tcx> =
            (Ty<'tcx>, Option<ty::ExistentialTraitRef<'tcx>>);
        pub type Value<'tcx> = mir::interpret::AllocId;
        pub type LocalKey<'tcx> =
            (Ty<'tcx>, Option<ty::ExistentialTraitRef<'tcx>>);
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (mir::interpret::AllocId);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <(Ty<'tcx>, Option<ty::ExistentialTraitRef<'tcx>>) as
            keys::Key>::Cache<Erase<mir::interpret::AllocId>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `vtable_allocation` has a key type `(Ty < \'tcx > , Option < ty :: ExistentialTraitRef < \'tcx > >)` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `vtable_allocation` has a value type `mir :: interpret :: AllocId` that is too large");
                    };
                }
            };
    }
    pub mod codegen_select_candidate {
        use super::super::*;
        pub type Key<'tcx> = PseudoCanonicalInput<'tcx, ty::TraitRef<'tcx>>;
        pub type Value<'tcx> =
            Result<&'tcx ImplSource<'tcx, ()>, CodegenObligationError>;
        pub type LocalKey<'tcx> =
            PseudoCanonicalInput<'tcx, ty::TraitRef<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx ImplSource<'tcx, ()>, CodegenObligationError>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <PseudoCanonicalInput<'tcx, ty::TraitRef<'tcx>> as
            keys::Key>::Cache<Erase<Result<&'tcx ImplSource<'tcx, ()>,
            CodegenObligationError>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `codegen_select_candidate` has a key type `PseudoCanonicalInput < \'tcx, ty :: TraitRef < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `codegen_select_candidate` has a value type `Result < & \'tcx ImplSource < \'tcx, () > , CodegenObligationError >` that is too large");
                    };
                }
            };
    }
    pub mod all_local_trait_impls {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> =
            &'tcx rustc_data_structures::fx::FxIndexMap<DefId,
            Vec<LocalDefId>>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (&'tcx rustc_data_structures::fx::FxIndexMap<DefId,
            Vec<LocalDefId>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as
            keys::Key>::Cache<Erase<&'tcx rustc_data_structures::fx::FxIndexMap<DefId,
            Vec<LocalDefId>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `all_local_trait_impls` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `all_local_trait_impls` has a value type `& \'tcx rustc_data_structures :: fx :: FxIndexMap < DefId, Vec < LocalDefId > >` that is too large");
                    };
                }
            };
    }
    pub mod local_trait_impls {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx [LocalDefId];
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [LocalDefId]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx [LocalDefId]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `local_trait_impls` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `local_trait_impls` has a value type `& \'tcx [LocalDefId]` that is too large");
                    };
                }
            };
    }
    pub mod trait_impls_of {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx ty::trait_def::TraitImpls;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx ty::trait_def::TraitImpls as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx ty::trait_def::TraitImpls as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx ty::trait_def::TraitImpls as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.trait_impls_of.alloc(v), value)
                    } else {
                        <&'tcx ty::trait_def::TraitImpls as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<&'tcx ty::trait_def::TraitImpls>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `trait_impls_of` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `trait_impls_of` has a value type `& \'tcx ty :: trait_def :: TraitImpls` that is too large");
                    };
                }
            };
    }
    pub mod specialization_graph_of {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            Result<&'tcx specialization_graph::Graph, ErrorGuaranteed>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx specialization_graph::Graph, ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<Result<&'tcx specialization_graph::Graph,
            ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `specialization_graph_of` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `specialization_graph_of` has a value type `Result < & \'tcx specialization_graph :: Graph, ErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod dyn_compatibility_violations {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx [DynCompatibilityViolation];
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [DynCompatibilityViolation]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<&'tcx [DynCompatibilityViolation]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `dyn_compatibility_violations` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `dyn_compatibility_violations` has a value type `& \'tcx [DynCompatibilityViolation]` that is too large");
                    };
                }
            };
    }
    pub mod is_dyn_compatible {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_dyn_compatible` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_dyn_compatible` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod param_env {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::ParamEnv<'tcx>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::ParamEnv<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<ty::ParamEnv<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `param_env` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `param_env` has a value type `ty :: ParamEnv < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod typing_env_normalized_for_post_analysis {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::TypingEnv<'tcx>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::TypingEnv<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<ty::TypingEnv<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `typing_env_normalized_for_post_analysis` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `typing_env_normalized_for_post_analysis` has a value type `ty :: TypingEnv < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod is_copy_raw {
        use super::super::*;
        pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx, Ty<'tcx>> as
            keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_copy_raw` has a key type `ty :: PseudoCanonicalInput < \'tcx, Ty < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_copy_raw` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod is_use_cloned_raw {
        use super::super::*;
        pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx, Ty<'tcx>> as
            keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_use_cloned_raw` has a key type `ty :: PseudoCanonicalInput < \'tcx, Ty < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_use_cloned_raw` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod is_sized_raw {
        use super::super::*;
        pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx, Ty<'tcx>> as
            keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_sized_raw` has a key type `ty :: PseudoCanonicalInput < \'tcx, Ty < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_sized_raw` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod is_freeze_raw {
        use super::super::*;
        pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx, Ty<'tcx>> as
            keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_freeze_raw` has a key type `ty :: PseudoCanonicalInput < \'tcx, Ty < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_freeze_raw` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod is_unpin_raw {
        use super::super::*;
        pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx, Ty<'tcx>> as
            keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_unpin_raw` has a key type `ty :: PseudoCanonicalInput < \'tcx, Ty < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_unpin_raw` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod is_async_drop_raw {
        use super::super::*;
        pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx, Ty<'tcx>> as
            keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_async_drop_raw` has a key type `ty :: PseudoCanonicalInput < \'tcx, Ty < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_async_drop_raw` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod needs_drop_raw {
        use super::super::*;
        pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx, Ty<'tcx>> as
            keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `needs_drop_raw` has a key type `ty :: PseudoCanonicalInput < \'tcx, Ty < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `needs_drop_raw` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod needs_async_drop_raw {
        use super::super::*;
        pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx, Ty<'tcx>> as
            keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `needs_async_drop_raw` has a key type `ty :: PseudoCanonicalInput < \'tcx, Ty < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `needs_async_drop_raw` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod has_significant_drop_raw {
        use super::super::*;
        pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx, Ty<'tcx>> as
            keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `has_significant_drop_raw` has a key type `ty :: PseudoCanonicalInput < \'tcx, Ty < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `has_significant_drop_raw` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod has_structural_eq_impl {
        use super::super::*;
        pub type Key<'tcx> = Ty<'tcx>;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = Ty<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <Ty<'tcx> as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `has_structural_eq_impl` has a key type `Ty < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `has_structural_eq_impl` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod adt_drop_tys {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<Result<&'tcx ty::List<Ty<'tcx>>,
            AlwaysRequiresDrop>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `adt_drop_tys` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `adt_drop_tys` has a value type `Result < & \'tcx ty :: List < Ty < \'tcx > > , AlwaysRequiresDrop >` that is too large");
                    };
                }
            };
    }
    pub mod adt_async_drop_tys {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<Result<&'tcx ty::List<Ty<'tcx>>,
            AlwaysRequiresDrop>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `adt_async_drop_tys` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `adt_async_drop_tys` has a value type `Result < & \'tcx ty :: List < Ty < \'tcx > > , AlwaysRequiresDrop >` that is too large");
                    };
                }
            };
    }
    pub mod adt_significant_drop_tys {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<Result<&'tcx ty::List<Ty<'tcx>>,
            AlwaysRequiresDrop>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `adt_significant_drop_tys` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `adt_significant_drop_tys` has a value type `Result < & \'tcx ty :: List < Ty < \'tcx > > , AlwaysRequiresDrop >` that is too large");
                    };
                }
            };
    }
    pub mod list_significant_drop_tys {
        use super::super::*;
        pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        pub type Value<'tcx> = &'tcx ty::List<Ty<'tcx>>;
        pub type LocalKey<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx ty::List<Ty<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx, Ty<'tcx>> as
            keys::Key>::Cache<Erase<&'tcx ty::List<Ty<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `list_significant_drop_tys` has a key type `ty :: PseudoCanonicalInput < \'tcx, Ty < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `list_significant_drop_tys` has a value type `& \'tcx ty :: List < Ty < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod layout_of {
        use super::super::*;
        pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        pub type Value<'tcx> =
            Result<ty::layout::TyAndLayout<'tcx>,
            &'tcx ty::layout::LayoutError<'tcx>>;
        pub type LocalKey<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<ty::layout::TyAndLayout<'tcx>,
            &'tcx ty::layout::LayoutError<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx, Ty<'tcx>> as
            keys::Key>::Cache<Erase<Result<ty::layout::TyAndLayout<'tcx>,
            &'tcx ty::layout::LayoutError<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `layout_of` has a key type `ty :: PseudoCanonicalInput < \'tcx, Ty < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `layout_of` has a value type `Result < ty :: layout :: TyAndLayout < \'tcx > , & \'tcx ty :: layout ::\nLayoutError < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod fn_abi_of_fn_ptr {
        use super::super::*;
        pub type Key<'tcx> =
            ty::PseudoCanonicalInput<'tcx,
            (ty::PolyFnSig<'tcx>, &'tcx ty::List<Ty<'tcx>>)>;
        pub type Value<'tcx> =
            Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>,
            &'tcx ty::layout::FnAbiError<'tcx>>;
        pub type LocalKey<'tcx> =
            ty::PseudoCanonicalInput<'tcx,
            (ty::PolyFnSig<'tcx>, &'tcx ty::List<Ty<'tcx>>)>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>,
            &'tcx ty::layout::FnAbiError<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx,
            (ty::PolyFnSig<'tcx>, &'tcx ty::List<Ty<'tcx>>)> as
            keys::Key>::Cache<Erase<Result<&'tcx rustc_target::callconv::FnAbi<'tcx,
            Ty<'tcx>>, &'tcx ty::layout::FnAbiError<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `fn_abi_of_fn_ptr` has a key type `ty :: PseudoCanonicalInput < \'tcx,\n(ty :: PolyFnSig < \'tcx > , & \'tcx ty :: List < Ty < \'tcx > >) >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `fn_abi_of_fn_ptr` has a value type `Result < & \'tcx rustc_target :: callconv :: FnAbi < \'tcx, Ty < \'tcx > > , &\n\'tcx ty :: layout :: FnAbiError < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod fn_abi_of_instance {
        use super::super::*;
        pub type Key<'tcx> =
            ty::PseudoCanonicalInput<'tcx,
            (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)>;
        pub type Value<'tcx> =
            Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>,
            &'tcx ty::layout::FnAbiError<'tcx>>;
        pub type LocalKey<'tcx> =
            ty::PseudoCanonicalInput<'tcx,
            (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>,
            &'tcx ty::layout::FnAbiError<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx,
            (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)> as
            keys::Key>::Cache<Erase<Result<&'tcx rustc_target::callconv::FnAbi<'tcx,
            Ty<'tcx>>, &'tcx ty::layout::FnAbiError<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `fn_abi_of_instance` has a key type `ty :: PseudoCanonicalInput < \'tcx,\n(ty :: Instance < \'tcx > , & \'tcx ty :: List < Ty < \'tcx > >) >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `fn_abi_of_instance` has a value type `Result < & \'tcx rustc_target :: callconv :: FnAbi < \'tcx, Ty < \'tcx > > , &\n\'tcx ty :: layout :: FnAbiError < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod dylib_dependency_formats {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx [(CrateNum, LinkagePreference)];
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (&'tcx [(CrateNum, LinkagePreference)]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as
            keys::Key>::Cache<Erase<&'tcx [(CrateNum, LinkagePreference)]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `dylib_dependency_formats` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `dylib_dependency_formats` has a value type `& \'tcx [(CrateNum, LinkagePreference)]` that is too large");
                    };
                }
            };
    }
    pub mod dependency_formats {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> =
            &'tcx Arc<crate::middle::dependency_format::Dependencies>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx Arc<crate::middle::dependency_format::Dependencies> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx Arc<crate::middle::dependency_format::Dependencies>
                                as ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx Arc<crate::middle::dependency_format::Dependencies>
                                as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.dependency_formats.alloc(v), value)
                    } else {
                        <&'tcx Arc<crate::middle::dependency_format::Dependencies>
                                as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as
            keys::Key>::Cache<Erase<&'tcx Arc<crate::middle::dependency_format::Dependencies>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `dependency_formats` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `dependency_formats` has a value type `& \'tcx Arc < crate :: middle :: dependency_format :: Dependencies >` that is too large");
                    };
                }
            };
    }
    pub mod is_compiler_builtins {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <CrateNum as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_compiler_builtins` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_compiler_builtins` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod has_global_allocator {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <CrateNum as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `has_global_allocator` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `has_global_allocator` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod has_alloc_error_handler {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <CrateNum as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `has_alloc_error_handler` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `has_alloc_error_handler` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod has_panic_handler {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <CrateNum as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `has_panic_handler` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `has_panic_handler` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod is_profiler_runtime {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <CrateNum as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_profiler_runtime` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_profiler_runtime` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod has_ffi_unwind_calls {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `has_ffi_unwind_calls` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `has_ffi_unwind_calls` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod required_panic_strategy {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = Option<PanicStrategy>;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<PanicStrategy>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<Option<PanicStrategy>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `required_panic_strategy` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `required_panic_strategy` has a value type `Option < PanicStrategy >` that is too large");
                    };
                }
            };
    }
    pub mod panic_in_drop_strategy {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = PanicStrategy;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (PanicStrategy);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<PanicStrategy>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `panic_in_drop_strategy` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `panic_in_drop_strategy` has a value type `PanicStrategy` that is too large");
                    };
                }
            };
    }
    pub mod is_no_builtins {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <CrateNum as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_no_builtins` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_no_builtins` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod symbol_mangling_version {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = SymbolManglingVersion;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (SymbolManglingVersion);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<SymbolManglingVersion>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `symbol_mangling_version` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `symbol_mangling_version` has a value type `SymbolManglingVersion` that is too large");
                    };
                }
            };
    }
    pub mod extern_crate {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = Option<&'tcx ExternCrate>;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<&'tcx ExternCrate>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<Option<&'tcx ExternCrate>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `extern_crate` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `extern_crate` has a value type `Option < & \'tcx ExternCrate >` that is too large");
                    };
                }
            };
    }
    pub mod specialization_enabled_in {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <CrateNum as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `specialization_enabled_in` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `specialization_enabled_in` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod specializes {
        use super::super::*;
        pub type Key<'tcx> = (DefId, DefId);
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = (DefId, DefId);
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <(DefId, DefId) as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `specializes` has a key type `(DefId, DefId)` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `specializes` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod in_scope_traits_map {
        use super::super::*;
        pub type Key<'tcx> = hir::OwnerId;
        pub type Value<'tcx> =
            Option<&'tcx ItemLocalMap<Box<[TraitCandidate]>>>;
        pub type LocalKey<'tcx> = hir::OwnerId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Option<&'tcx ItemLocalMap<Box<[TraitCandidate]>>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <hir::OwnerId as
            keys::Key>::Cache<Erase<Option<&'tcx ItemLocalMap<Box<[TraitCandidate]>>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `in_scope_traits_map` has a key type `hir :: OwnerId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `in_scope_traits_map` has a value type `Option < & \'tcx ItemLocalMap < Box < [TraitCandidate] > > >` that is too large");
                    };
                }
            };
    }
    pub mod defaultness {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = hir::Defaultness;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (hir::Defaultness);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<hir::Defaultness>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `defaultness` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `defaultness` has a value type `hir :: Defaultness` that is too large");
                    };
                }
            };
    }
    pub mod default_field {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Option<DefId>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<DefId>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<Option<DefId>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `default_field` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `default_field` has a value type `Option < DefId >` that is too large");
                    };
                }
            };
    }
    pub mod check_well_formed {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Result<(), ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<Result<(), ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_well_formed` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_well_formed` has a value type `Result < (), ErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod enforce_impl_non_lifetime_params_are_constrained {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Result<(), ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<Result<(), ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `enforce_impl_non_lifetime_params_are_constrained` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `enforce_impl_non_lifetime_params_are_constrained` has a value type `Result < (), ErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod reachable_non_generics {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx DefIdMap<SymbolExportInfo>;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx DefIdMap<SymbolExportInfo> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx DefIdMap<SymbolExportInfo> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx DefIdMap<SymbolExportInfo> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.reachable_non_generics.alloc(v),
                            value)
                    } else {
                        <&'tcx DefIdMap<SymbolExportInfo> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <CrateNum as
            keys::Key>::Cache<Erase<&'tcx DefIdMap<SymbolExportInfo>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `reachable_non_generics` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `reachable_non_generics` has a value type `& \'tcx DefIdMap < SymbolExportInfo >` that is too large");
                    };
                }
            };
    }
    pub mod is_reachable_non_generic {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_reachable_non_generic` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_reachable_non_generic` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod is_unreachable_local_definition {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_unreachable_local_definition` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_unreachable_local_definition` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod upstream_monomorphizations {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> =
            &'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>, CrateNum>>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>, CrateNum>> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>,
                                CrateNum>> as ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>, CrateNum>> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.upstream_monomorphizations.alloc(v),
                            value)
                    } else {
                        <&'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>, CrateNum>> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as
            keys::Key>::Cache<Erase<&'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>,
            CrateNum>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `upstream_monomorphizations` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `upstream_monomorphizations` has a value type `& \'tcx DefIdMap < UnordMap < GenericArgsRef < \'tcx > , CrateNum > >` that is too large");
                    };
                }
            };
    }
    pub mod upstream_monomorphizations_for {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            Option<&'tcx UnordMap<GenericArgsRef<'tcx>, CrateNum>>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Option<&'tcx UnordMap<GenericArgsRef<'tcx>, CrateNum>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<Option<&'tcx UnordMap<GenericArgsRef<'tcx>,
            CrateNum>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `upstream_monomorphizations_for` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `upstream_monomorphizations_for` has a value type `Option < & \'tcx UnordMap < GenericArgsRef < \'tcx > , CrateNum > >` that is too large");
                    };
                }
            };
    }
    pub mod upstream_drop_glue_for {
        use super::super::*;
        pub type Key<'tcx> = GenericArgsRef<'tcx>;
        pub type Value<'tcx> = Option<CrateNum>;
        pub type LocalKey<'tcx> = GenericArgsRef<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<CrateNum>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <GenericArgsRef<'tcx> as
            keys::Key>::Cache<Erase<Option<CrateNum>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `upstream_drop_glue_for` has a key type `GenericArgsRef < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `upstream_drop_glue_for` has a value type `Option < CrateNum >` that is too large");
                    };
                }
            };
    }
    pub mod upstream_async_drop_glue_for {
        use super::super::*;
        pub type Key<'tcx> = GenericArgsRef<'tcx>;
        pub type Value<'tcx> = Option<CrateNum>;
        pub type LocalKey<'tcx> = GenericArgsRef<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<CrateNum>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <GenericArgsRef<'tcx> as
            keys::Key>::Cache<Erase<Option<CrateNum>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `upstream_async_drop_glue_for` has a key type `GenericArgsRef < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `upstream_async_drop_glue_for` has a value type `Option < CrateNum >` that is too large");
                    };
                }
            };
    }
    pub mod foreign_modules {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx FxIndexMap<DefId, ForeignModule>;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx FxIndexMap<DefId, ForeignModule> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx FxIndexMap<DefId, ForeignModule>
                                as ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx FxIndexMap<DefId, ForeignModule> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.foreign_modules.alloc(v), value)
                    } else {
                        <&'tcx FxIndexMap<DefId, ForeignModule> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <CrateNum as
            keys::Key>::Cache<Erase<&'tcx FxIndexMap<DefId, ForeignModule>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `foreign_modules` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `foreign_modules` has a value type `& \'tcx FxIndexMap < DefId, ForeignModule >` that is too large");
                    };
                }
            };
    }
    pub mod clashing_extern_declarations {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = ();
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (());
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <() as keys::Key>::Cache<Erase<()>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `clashing_extern_declarations` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `clashing_extern_declarations` has a value type `()` that is too large");
                    };
                }
            };
    }
    pub mod entry_fn {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = Option<(DefId, EntryFnType)>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<(DefId, EntryFnType)>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<Option<(DefId, EntryFnType)>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `entry_fn` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `entry_fn` has a value type `Option < (DefId, EntryFnType) >` that is too large");
                    };
                }
            };
    }
    pub mod proc_macro_decls_static {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = Option<LocalDefId>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<LocalDefId>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<Option<LocalDefId>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `proc_macro_decls_static` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `proc_macro_decls_static` has a value type `Option < LocalDefId >` that is too large");
                    };
                }
            };
    }
    pub mod crate_hash {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = Svh;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Svh);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <CrateNum as keys::Key>::Cache<Erase<Svh>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_hash` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_hash` has a value type `Svh` that is too large");
                    };
                }
            };
    }
    pub mod crate_host_hash {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = Option<Svh>;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<Svh>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<Option<Svh>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_host_hash` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_host_hash` has a value type `Option < Svh >` that is too large");
                    };
                }
            };
    }
    pub mod extra_filename {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx String;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx String as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx String as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx String as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.extra_filename.alloc(v), value)
                    } else {
                        <&'tcx String as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<&'tcx String>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `extra_filename` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `extra_filename` has a value type `& \'tcx String` that is too large");
                    };
                }
            };
    }
    pub mod crate_extern_paths {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx Vec<PathBuf>;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx Vec<PathBuf> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx Vec<PathBuf> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx Vec<PathBuf> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.crate_extern_paths.alloc(v), value)
                    } else {
                        <&'tcx Vec<PathBuf> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<&'tcx Vec<PathBuf>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_extern_paths` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_extern_paths` has a value type `& \'tcx Vec < PathBuf >` that is too large");
                    };
                }
            };
    }
    pub mod implementations_of_trait {
        use super::super::*;
        pub type Key<'tcx> = (CrateNum, DefId);
        pub type Value<'tcx> = &'tcx [(DefId, Option<SimplifiedType>)];
        pub type LocalKey<'tcx> = <(CrateNum, DefId) as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (&'tcx [(DefId, Option<SimplifiedType>)]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <(CrateNum, DefId) as
            keys::Key>::Cache<Erase<&'tcx [(DefId, Option<SimplifiedType>)]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `implementations_of_trait` has a key type `(CrateNum, DefId)` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `implementations_of_trait` has a value type `& \'tcx [(DefId, Option < SimplifiedType >)]` that is too large");
                    };
                }
            };
    }
    pub mod crate_incoherent_impls {
        use super::super::*;
        pub type Key<'tcx> = (CrateNum, SimplifiedType);
        pub type Value<'tcx> = &'tcx [DefId];
        pub type LocalKey<'tcx> =
            <(CrateNum, SimplifiedType) as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [DefId]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <(CrateNum, SimplifiedType) as
            keys::Key>::Cache<Erase<&'tcx [DefId]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_incoherent_impls` has a key type `(CrateNum, SimplifiedType)` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_incoherent_impls` has a value type `& \'tcx [DefId]` that is too large");
                    };
                }
            };
    }
    pub mod native_library {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Option<&'tcx NativeLib>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<&'tcx NativeLib>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<Option<&'tcx NativeLib>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `native_library` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `native_library` has a value type `Option < & \'tcx NativeLib >` that is too large");
                    };
                }
            };
    }
    pub mod inherit_sig_for_delegation_item {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = &'tcx [Ty<'tcx>];
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [Ty<'tcx>]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as keys::Key>::Cache<Erase<&'tcx [Ty<'tcx>]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `inherit_sig_for_delegation_item` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `inherit_sig_for_delegation_item` has a value type `& \'tcx [Ty < \'tcx >]` that is too large");
                    };
                }
            };
    }
    pub mod resolve_bound_vars {
        use super::super::*;
        pub type Key<'tcx> = hir::OwnerId;
        pub type Value<'tcx> = &'tcx ResolveBoundVars;
        pub type LocalKey<'tcx> = hir::OwnerId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx ResolveBoundVars as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx ResolveBoundVars as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx ResolveBoundVars as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.resolve_bound_vars.alloc(v), value)
                    } else {
                        <&'tcx ResolveBoundVars as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <hir::OwnerId as keys::Key>::Cache<Erase<&'tcx ResolveBoundVars>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `resolve_bound_vars` has a key type `hir :: OwnerId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `resolve_bound_vars` has a value type `& \'tcx ResolveBoundVars` that is too large");
                    };
                }
            };
    }
    pub mod named_variable_map {
        use super::super::*;
        pub type Key<'tcx> = hir::OwnerId;
        pub type Value<'tcx> = &'tcx SortedMap<ItemLocalId, ResolvedArg>;
        pub type LocalKey<'tcx> = hir::OwnerId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (&'tcx SortedMap<ItemLocalId, ResolvedArg>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <hir::OwnerId as
            keys::Key>::Cache<Erase<&'tcx SortedMap<ItemLocalId,
            ResolvedArg>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `named_variable_map` has a key type `hir :: OwnerId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `named_variable_map` has a value type `& \'tcx SortedMap < ItemLocalId, ResolvedArg >` that is too large");
                    };
                }
            };
    }
    pub mod is_late_bound_map {
        use super::super::*;
        pub type Key<'tcx> = hir::OwnerId;
        pub type Value<'tcx> = Option<&'tcx FxIndexSet<ItemLocalId>>;
        pub type LocalKey<'tcx> = hir::OwnerId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Option<&'tcx FxIndexSet<ItemLocalId>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <hir::OwnerId as
            keys::Key>::Cache<Erase<Option<&'tcx FxIndexSet<ItemLocalId>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_late_bound_map` has a key type `hir :: OwnerId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_late_bound_map` has a value type `Option < & \'tcx FxIndexSet < ItemLocalId > >` that is too large");
                    };
                }
            };
    }
    pub mod object_lifetime_default {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ObjectLifetimeDefault;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ObjectLifetimeDefault);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<ObjectLifetimeDefault>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `object_lifetime_default` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `object_lifetime_default` has a value type `ObjectLifetimeDefault` that is too large");
                    };
                }
            };
    }
    pub mod late_bound_vars_map {
        use super::super::*;
        pub type Key<'tcx> = hir::OwnerId;
        pub type Value<'tcx> =
            &'tcx SortedMap<ItemLocalId, Vec<ty::BoundVariableKind>>;
        pub type LocalKey<'tcx> = hir::OwnerId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (&'tcx SortedMap<ItemLocalId, Vec<ty::BoundVariableKind>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <hir::OwnerId as
            keys::Key>::Cache<Erase<&'tcx SortedMap<ItemLocalId,
            Vec<ty::BoundVariableKind>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `late_bound_vars_map` has a key type `hir :: OwnerId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `late_bound_vars_map` has a value type `& \'tcx SortedMap < ItemLocalId, Vec < ty :: BoundVariableKind > >` that is too large");
                    };
                }
            };
    }
    pub mod opaque_captured_lifetimes {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = &'tcx [(ResolvedArg, LocalDefId)];
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [(ResolvedArg, LocalDefId)]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<&'tcx [(ResolvedArg, LocalDefId)]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `opaque_captured_lifetimes` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `opaque_captured_lifetimes` has a value type `& \'tcx [(ResolvedArg, LocalDefId)]` that is too large");
                    };
                }
            };
    }
    pub mod visibility {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::Visibility<DefId>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::Visibility<DefId>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<ty::Visibility<DefId>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `visibility` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `visibility` has a value type `ty :: Visibility < DefId >` that is too large");
                    };
                }
            };
    }
    pub mod inhabited_predicate_adt {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::inhabitedness::InhabitedPredicate<'tcx>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::inhabitedness::InhabitedPredicate<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<ty::inhabitedness::InhabitedPredicate<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `inhabited_predicate_adt` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `inhabited_predicate_adt` has a value type `ty :: inhabitedness :: InhabitedPredicate < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod inhabited_predicate_type {
        use super::super::*;
        pub type Key<'tcx> = Ty<'tcx>;
        pub type Value<'tcx> = ty::inhabitedness::InhabitedPredicate<'tcx>;
        pub type LocalKey<'tcx> = Ty<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (ty::inhabitedness::InhabitedPredicate<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <Ty<'tcx> as
            keys::Key>::Cache<Erase<ty::inhabitedness::InhabitedPredicate<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `inhabited_predicate_type` has a key type `Ty < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `inhabited_predicate_type` has a value type `ty :: inhabitedness :: InhabitedPredicate < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod dep_kind {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = CrateDepKind;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (CrateDepKind);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<CrateDepKind>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `dep_kind` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `dep_kind` has a value type `CrateDepKind` that is too large");
                    };
                }
            };
    }
    pub mod crate_name {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = Symbol;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Symbol);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<Symbol>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_name` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_name` has a value type `Symbol` that is too large");
                    };
                }
            };
    }
    pub mod module_children {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx [ModChild];
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [ModChild]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx [ModChild]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `module_children` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `module_children` has a value type `& \'tcx [ModChild]` that is too large");
                    };
                }
            };
    }
    pub mod num_extern_def_ids {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = usize;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (usize);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <CrateNum as keys::Key>::Cache<Erase<usize>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `num_extern_def_ids` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `num_extern_def_ids` has a value type `usize` that is too large");
                    };
                }
            };
    }
    pub mod lib_features {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx LibFeatures;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx LibFeatures as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx LibFeatures as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx LibFeatures as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.lib_features.alloc(v), value)
                    } else {
                        <&'tcx LibFeatures as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<&'tcx LibFeatures>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `lib_features` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `lib_features` has a value type `& \'tcx LibFeatures` that is too large");
                    };
                }
            };
    }
    pub mod stability_implications {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx UnordMap<Symbol, Symbol>;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx UnordMap<Symbol, Symbol> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx UnordMap<Symbol, Symbol> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx UnordMap<Symbol, Symbol> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.stability_implications.alloc(v),
                            value)
                    } else {
                        <&'tcx UnordMap<Symbol, Symbol> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <CrateNum as
            keys::Key>::Cache<Erase<&'tcx UnordMap<Symbol, Symbol>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `stability_implications` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `stability_implications` has a value type `& \'tcx UnordMap < Symbol, Symbol >` that is too large");
                    };
                }
            };
    }
    pub mod intrinsic_raw {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Option<rustc_middle::ty::IntrinsicDef>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Option<rustc_middle::ty::IntrinsicDef>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<Option<rustc_middle::ty::IntrinsicDef>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `intrinsic_raw` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `intrinsic_raw` has a value type `Option < rustc_middle :: ty :: IntrinsicDef >` that is too large");
                    };
                }
            };
    }
    pub mod get_lang_items {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx LanguageItems;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx LanguageItems as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx LanguageItems as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx LanguageItems as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.get_lang_items.alloc(v), value)
                    } else {
                        <&'tcx LanguageItems as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<&'tcx LanguageItems>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `get_lang_items` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `get_lang_items` has a value type `& \'tcx LanguageItems` that is too large");
                    };
                }
            };
    }
    pub mod all_diagnostic_items {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> =
            &'tcx rustc_hir::diagnostic_items::DiagnosticItems;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx rustc_hir::diagnostic_items::DiagnosticItems as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx rustc_hir::diagnostic_items::DiagnosticItems
                                as ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx rustc_hir::diagnostic_items::DiagnosticItems as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.all_diagnostic_items.alloc(v),
                            value)
                    } else {
                        <&'tcx rustc_hir::diagnostic_items::DiagnosticItems as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as
            keys::Key>::Cache<Erase<&'tcx rustc_hir::diagnostic_items::DiagnosticItems>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `all_diagnostic_items` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `all_diagnostic_items` has a value type `& \'tcx rustc_hir :: diagnostic_items :: DiagnosticItems` that is too large");
                    };
                }
            };
    }
    pub mod defined_lang_items {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx [(DefId, LangItem)];
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [(DefId, LangItem)]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<&'tcx [(DefId, LangItem)]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `defined_lang_items` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `defined_lang_items` has a value type `& \'tcx [(DefId, LangItem)]` that is too large");
                    };
                }
            };
    }
    pub mod diagnostic_items {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> =
            &'tcx rustc_hir::diagnostic_items::DiagnosticItems;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx rustc_hir::diagnostic_items::DiagnosticItems as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx rustc_hir::diagnostic_items::DiagnosticItems
                                as ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx rustc_hir::diagnostic_items::DiagnosticItems as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.diagnostic_items.alloc(v), value)
                    } else {
                        <&'tcx rustc_hir::diagnostic_items::DiagnosticItems as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <CrateNum as
            keys::Key>::Cache<Erase<&'tcx rustc_hir::diagnostic_items::DiagnosticItems>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `diagnostic_items` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `diagnostic_items` has a value type `& \'tcx rustc_hir :: diagnostic_items :: DiagnosticItems` that is too large");
                    };
                }
            };
    }
    pub mod missing_lang_items {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx [LangItem];
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [LangItem]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<&'tcx [LangItem]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `missing_lang_items` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `missing_lang_items` has a value type `& \'tcx [LangItem]` that is too large");
                    };
                }
            };
    }
    pub mod visible_parent_map {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx DefIdMap<DefId>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx DefIdMap<DefId> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx DefIdMap<DefId> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx DefIdMap<DefId> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.visible_parent_map.alloc(v), value)
                    } else {
                        <&'tcx DefIdMap<DefId> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<&'tcx DefIdMap<DefId>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `visible_parent_map` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `visible_parent_map` has a value type `& \'tcx DefIdMap < DefId >` that is too large");
                    };
                }
            };
    }
    pub mod trimmed_def_paths {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx DefIdMap<Symbol>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx DefIdMap<Symbol> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx DefIdMap<Symbol> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx DefIdMap<Symbol> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.trimmed_def_paths.alloc(v), value)
                    } else {
                        <&'tcx DefIdMap<Symbol> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<&'tcx DefIdMap<Symbol>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `trimmed_def_paths` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `trimmed_def_paths` has a value type `& \'tcx DefIdMap < Symbol >` that is too large");
                    };
                }
            };
    }
    pub mod missing_extern_crate_item {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <CrateNum as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `missing_extern_crate_item` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `missing_extern_crate_item` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod used_crate_source {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx Arc<CrateSource>;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx Arc<CrateSource> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx Arc<CrateSource> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx Arc<CrateSource> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.used_crate_source.alloc(v), value)
                    } else {
                        <&'tcx Arc<CrateSource> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<&'tcx Arc<CrateSource>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `used_crate_source` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `used_crate_source` has a value type `& \'tcx Arc < CrateSource >` that is too large");
                    };
                }
            };
    }
    pub mod debugger_visualizers {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx Vec<DebuggerVisualizerFile>;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx Vec<DebuggerVisualizerFile> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx Vec<DebuggerVisualizerFile> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx Vec<DebuggerVisualizerFile> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.debugger_visualizers.alloc(v),
                            value)
                    } else {
                        <&'tcx Vec<DebuggerVisualizerFile> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <CrateNum as
            keys::Key>::Cache<Erase<&'tcx Vec<DebuggerVisualizerFile>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `debugger_visualizers` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `debugger_visualizers` has a value type `& \'tcx Vec < DebuggerVisualizerFile >` that is too large");
                    };
                }
            };
    }
    pub mod postorder_cnums {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx [CrateNum];
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [CrateNum]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<&'tcx [CrateNum]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `postorder_cnums` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `postorder_cnums` has a value type `& \'tcx [CrateNum]` that is too large");
                    };
                }
            };
    }
    pub mod is_private_dep {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <CrateNum as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_private_dep` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_private_dep` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod allocator_kind {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = Option<AllocatorKind>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<AllocatorKind>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<Option<AllocatorKind>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `allocator_kind` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `allocator_kind` has a value type `Option < AllocatorKind >` that is too large");
                    };
                }
            };
    }
    pub mod alloc_error_handler_kind {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = Option<AllocatorKind>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<AllocatorKind>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<Option<AllocatorKind>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `alloc_error_handler_kind` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `alloc_error_handler_kind` has a value type `Option < AllocatorKind >` that is too large");
                    };
                }
            };
    }
    pub mod upvars_mentioned {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> =
            Option<&'tcx FxIndexMap<hir::HirId, hir::Upvar>>;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Option<&'tcx FxIndexMap<hir::HirId, hir::Upvar>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<Option<&'tcx FxIndexMap<hir::HirId,
            hir::Upvar>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `upvars_mentioned` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `upvars_mentioned` has a value type `Option < & \'tcx FxIndexMap < hir :: HirId, hir :: Upvar > >` that is too large");
                    };
                }
            };
    }
    pub mod crates {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx [CrateNum];
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [CrateNum]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<&'tcx [CrateNum]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `crates` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `crates` has a value type `& \'tcx [CrateNum]` that is too large");
                    };
                }
            };
    }
    pub mod used_crates {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx [CrateNum];
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [CrateNum]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<&'tcx [CrateNum]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `used_crates` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `used_crates` has a value type `& \'tcx [CrateNum]` that is too large");
                    };
                }
            };
    }
    pub mod duplicate_crate_names {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx [CrateNum];
        pub type LocalKey<'tcx> = CrateNum;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [CrateNum]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<&'tcx [CrateNum]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `duplicate_crate_names` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `duplicate_crate_names` has a value type `& \'tcx [CrateNum]` that is too large");
                    };
                }
            };
    }
    pub mod traits {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx [DefId];
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [DefId]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<&'tcx [DefId]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `traits` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `traits` has a value type `& \'tcx [DefId]` that is too large");
                    };
                }
            };
    }
    pub mod trait_impls_in_crate {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx [DefId];
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [DefId]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<&'tcx [DefId]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `trait_impls_in_crate` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `trait_impls_in_crate` has a value type `& \'tcx [DefId]` that is too large");
                    };
                }
            };
    }
    pub mod stable_order_of_exportable_impls {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx FxIndexMap<DefId, usize>;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx FxIndexMap<DefId, usize>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as
            keys::Key>::Cache<Erase<&'tcx FxIndexMap<DefId, usize>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `stable_order_of_exportable_impls` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `stable_order_of_exportable_impls` has a value type `& \'tcx FxIndexMap < DefId, usize >` that is too large");
                    };
                }
            };
    }
    pub mod exportable_items {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx [DefId];
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [DefId]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<&'tcx [DefId]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `exportable_items` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `exportable_items` has a value type `& \'tcx [DefId]` that is too large");
                    };
                }
            };
    }
    pub mod exported_non_generic_symbols {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> =
            &'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)];
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (&'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as
            keys::Key>::Cache<Erase<&'tcx [(ExportedSymbol<'tcx>,
            SymbolExportInfo)]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `exported_non_generic_symbols` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `exported_non_generic_symbols` has a value type `& \'tcx [(ExportedSymbol < \'tcx > , SymbolExportInfo)]` that is too large");
                    };
                }
            };
    }
    pub mod exported_generic_symbols {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> =
            &'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)];
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (&'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as
            keys::Key>::Cache<Erase<&'tcx [(ExportedSymbol<'tcx>,
            SymbolExportInfo)]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `exported_generic_symbols` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `exported_generic_symbols` has a value type `& \'tcx [(ExportedSymbol < \'tcx > , SymbolExportInfo)]` that is too large");
                    };
                }
            };
    }
    pub mod collect_and_partition_mono_items {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = MonoItemPartitions<'tcx>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (MonoItemPartitions<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<MonoItemPartitions<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `collect_and_partition_mono_items` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `collect_and_partition_mono_items` has a value type `MonoItemPartitions < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod is_codegened_item {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_codegened_item` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_codegened_item` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod codegen_unit {
        use super::super::*;
        pub type Key<'tcx> = Symbol;
        pub type Value<'tcx> = &'tcx CodegenUnit<'tcx>;
        pub type LocalKey<'tcx> = Symbol;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx CodegenUnit<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <Symbol as keys::Key>::Cache<Erase<&'tcx CodegenUnit<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `codegen_unit` has a key type `Symbol` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `codegen_unit` has a value type `& \'tcx CodegenUnit < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod backend_optimization_level {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = OptLevel;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (OptLevel);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <() as keys::Key>::Cache<Erase<OptLevel>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `backend_optimization_level` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `backend_optimization_level` has a value type `OptLevel` that is too large");
                    };
                }
            };
    }
    pub mod output_filenames {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx Arc<OutputFilenames>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx Arc<OutputFilenames> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx Arc<OutputFilenames> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx Arc<OutputFilenames> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.output_filenames.alloc(v), value)
                    } else {
                        <&'tcx Arc<OutputFilenames> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<&'tcx Arc<OutputFilenames>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `output_filenames` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `output_filenames` has a value type `& \'tcx Arc < OutputFilenames >` that is too large");
                    };
                }
            };
    }
    pub mod normalize_canonicalized_projection {
        use super::super::*;
        pub type Key<'tcx> = CanonicalAliasGoal<'tcx>;
        pub type Value<'tcx> =
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution>;
        pub type LocalKey<'tcx> = CanonicalAliasGoal<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CanonicalAliasGoal<'tcx> as
            keys::Key>::Cache<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `normalize_canonicalized_projection` has a key type `CanonicalAliasGoal < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `normalize_canonicalized_projection` has a value type `Result < & \'tcx Canonical < \'tcx, canonical :: QueryResponse < \'tcx,\nNormalizationResult < \'tcx > > > , NoSolution, >` that is too large");
                    };
                }
            };
    }
    pub mod normalize_canonicalized_free_alias {
        use super::super::*;
        pub type Key<'tcx> = CanonicalAliasGoal<'tcx>;
        pub type Value<'tcx> =
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution>;
        pub type LocalKey<'tcx> = CanonicalAliasGoal<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CanonicalAliasGoal<'tcx> as
            keys::Key>::Cache<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `normalize_canonicalized_free_alias` has a key type `CanonicalAliasGoal < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `normalize_canonicalized_free_alias` has a value type `Result < & \'tcx Canonical < \'tcx, canonical :: QueryResponse < \'tcx,\nNormalizationResult < \'tcx > > > , NoSolution, >` that is too large");
                    };
                }
            };
    }
    pub mod normalize_canonicalized_inherent_projection {
        use super::super::*;
        pub type Key<'tcx> = CanonicalAliasGoal<'tcx>;
        pub type Value<'tcx> =
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution>;
        pub type LocalKey<'tcx> = CanonicalAliasGoal<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CanonicalAliasGoal<'tcx> as
            keys::Key>::Cache<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `normalize_canonicalized_inherent_projection` has a key type `CanonicalAliasGoal < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `normalize_canonicalized_inherent_projection` has a value type `Result < & \'tcx Canonical < \'tcx, canonical :: QueryResponse < \'tcx,\nNormalizationResult < \'tcx > > > , NoSolution, >` that is too large");
                    };
                }
            };
    }
    pub mod try_normalize_generic_arg_after_erasing_regions {
        use super::super::*;
        pub type Key<'tcx> = PseudoCanonicalInput<'tcx, GenericArg<'tcx>>;
        pub type Value<'tcx> = Result<GenericArg<'tcx>, NoSolution>;
        pub type LocalKey<'tcx> =
            PseudoCanonicalInput<'tcx, GenericArg<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Result<GenericArg<'tcx>, NoSolution>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <PseudoCanonicalInput<'tcx, GenericArg<'tcx>> as
            keys::Key>::Cache<Erase<Result<GenericArg<'tcx>, NoSolution>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `try_normalize_generic_arg_after_erasing_regions` has a key type `PseudoCanonicalInput < \'tcx, GenericArg < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `try_normalize_generic_arg_after_erasing_regions` has a value type `Result < GenericArg < \'tcx > , NoSolution >` that is too large");
                    };
                }
            };
    }
    pub mod implied_outlives_bounds {
        use super::super::*;
        pub type Key<'tcx> = (CanonicalImpliedOutlivesBoundsGoal<'tcx>, bool);
        pub type Value<'tcx> =
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, Vec<OutlivesBound<'tcx>>>>,
            NoSolution>;
        pub type LocalKey<'tcx> =
            (CanonicalImpliedOutlivesBoundsGoal<'tcx>, bool);
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, Vec<OutlivesBound<'tcx>>>>,
            NoSolution>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <(CanonicalImpliedOutlivesBoundsGoal<'tcx>, bool) as
            keys::Key>::Cache<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, Vec<OutlivesBound<'tcx>>>>,
            NoSolution>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `implied_outlives_bounds` has a key type `(CanonicalImpliedOutlivesBoundsGoal < \'tcx > , bool)` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `implied_outlives_bounds` has a value type `Result < & \'tcx Canonical < \'tcx, canonical :: QueryResponse < \'tcx, Vec <\nOutlivesBound < \'tcx > > > > , NoSolution, >` that is too large");
                    };
                }
            };
    }
    pub mod dropck_outlives {
        use super::super::*;
        pub type Key<'tcx> = CanonicalDropckOutlivesGoal<'tcx>;
        pub type Value<'tcx> =
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, DropckOutlivesResult<'tcx>>>,
            NoSolution>;
        pub type LocalKey<'tcx> = CanonicalDropckOutlivesGoal<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, DropckOutlivesResult<'tcx>>>,
            NoSolution>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CanonicalDropckOutlivesGoal<'tcx> as
            keys::Key>::Cache<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, DropckOutlivesResult<'tcx>>>,
            NoSolution>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `dropck_outlives` has a key type `CanonicalDropckOutlivesGoal < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `dropck_outlives` has a value type `Result < & \'tcx Canonical < \'tcx, canonical :: QueryResponse < \'tcx,\nDropckOutlivesResult < \'tcx > > > , NoSolution, >` that is too large");
                    };
                }
            };
    }
    pub mod evaluate_obligation {
        use super::super::*;
        pub type Key<'tcx> = CanonicalPredicateGoal<'tcx>;
        pub type Value<'tcx> = Result<EvaluationResult, OverflowError>;
        pub type LocalKey<'tcx> = CanonicalPredicateGoal<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<EvaluationResult, OverflowError>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CanonicalPredicateGoal<'tcx> as
            keys::Key>::Cache<Erase<Result<EvaluationResult, OverflowError>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `evaluate_obligation` has a key type `CanonicalPredicateGoal < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `evaluate_obligation` has a value type `Result < EvaluationResult, OverflowError >` that is too large");
                    };
                }
            };
    }
    pub mod type_op_ascribe_user_type {
        use super::super::*;
        pub type Key<'tcx> = CanonicalTypeOpAscribeUserTypeGoal<'tcx>;
        pub type Value<'tcx> =
            Result<&'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ()>>,
            NoSolution>;
        pub type LocalKey<'tcx> = CanonicalTypeOpAscribeUserTypeGoal<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ()>>,
            NoSolution>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CanonicalTypeOpAscribeUserTypeGoal<'tcx> as
            keys::Key>::Cache<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ()>>, NoSolution>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `type_op_ascribe_user_type` has a key type `CanonicalTypeOpAscribeUserTypeGoal < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `type_op_ascribe_user_type` has a value type `Result < & \'tcx Canonical < \'tcx, canonical :: QueryResponse < \'tcx, () > > ,\nNoSolution, >` that is too large");
                    };
                }
            };
    }
    pub mod type_op_prove_predicate {
        use super::super::*;
        pub type Key<'tcx> = CanonicalTypeOpProvePredicateGoal<'tcx>;
        pub type Value<'tcx> =
            Result<&'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ()>>,
            NoSolution>;
        pub type LocalKey<'tcx> = CanonicalTypeOpProvePredicateGoal<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ()>>,
            NoSolution>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CanonicalTypeOpProvePredicateGoal<'tcx> as
            keys::Key>::Cache<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ()>>, NoSolution>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `type_op_prove_predicate` has a key type `CanonicalTypeOpProvePredicateGoal < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `type_op_prove_predicate` has a value type `Result < & \'tcx Canonical < \'tcx, canonical :: QueryResponse < \'tcx, () > > ,\nNoSolution, >` that is too large");
                    };
                }
            };
    }
    pub mod type_op_normalize_ty {
        use super::super::*;
        pub type Key<'tcx> = CanonicalTypeOpNormalizeGoal<'tcx, Ty<'tcx>>;
        pub type Value<'tcx> =
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, Ty<'tcx>>>, NoSolution>;
        pub type LocalKey<'tcx> =
            CanonicalTypeOpNormalizeGoal<'tcx, Ty<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, Ty<'tcx>>>, NoSolution>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CanonicalTypeOpNormalizeGoal<'tcx, Ty<'tcx>> as
            keys::Key>::Cache<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, Ty<'tcx>>>, NoSolution>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `type_op_normalize_ty` has a key type `CanonicalTypeOpNormalizeGoal < \'tcx, Ty < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `type_op_normalize_ty` has a value type `Result < & \'tcx Canonical < \'tcx, canonical :: QueryResponse < \'tcx, Ty < \'tcx\n> > > , NoSolution, >` that is too large");
                    };
                }
            };
    }
    pub mod type_op_normalize_clause {
        use super::super::*;
        pub type Key<'tcx> =
            CanonicalTypeOpNormalizeGoal<'tcx, ty::Clause<'tcx>>;
        pub type Value<'tcx> =
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::Clause<'tcx>>>, NoSolution>;
        pub type LocalKey<'tcx> =
            CanonicalTypeOpNormalizeGoal<'tcx, ty::Clause<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::Clause<'tcx>>>, NoSolution>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CanonicalTypeOpNormalizeGoal<'tcx, ty::Clause<'tcx>> as
            keys::Key>::Cache<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::Clause<'tcx>>>, NoSolution>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `type_op_normalize_clause` has a key type `CanonicalTypeOpNormalizeGoal < \'tcx, ty :: Clause < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `type_op_normalize_clause` has a value type `Result < & \'tcx Canonical < \'tcx, canonical :: QueryResponse < \'tcx, ty ::\nClause < \'tcx > > > , NoSolution, >` that is too large");
                    };
                }
            };
    }
    pub mod type_op_normalize_poly_fn_sig {
        use super::super::*;
        pub type Key<'tcx> =
            CanonicalTypeOpNormalizeGoal<'tcx, ty::PolyFnSig<'tcx>>;
        pub type Value<'tcx> =
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::PolyFnSig<'tcx>>>, NoSolution>;
        pub type LocalKey<'tcx> =
            CanonicalTypeOpNormalizeGoal<'tcx, ty::PolyFnSig<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::PolyFnSig<'tcx>>>,
            NoSolution>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CanonicalTypeOpNormalizeGoal<'tcx, ty::PolyFnSig<'tcx>> as
            keys::Key>::Cache<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::PolyFnSig<'tcx>>>,
            NoSolution>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `type_op_normalize_poly_fn_sig` has a key type `CanonicalTypeOpNormalizeGoal < \'tcx, ty :: PolyFnSig < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `type_op_normalize_poly_fn_sig` has a value type `Result < & \'tcx Canonical < \'tcx, canonical :: QueryResponse < \'tcx, ty ::\nPolyFnSig < \'tcx > > > , NoSolution, >` that is too large");
                    };
                }
            };
    }
    pub mod type_op_normalize_fn_sig {
        use super::super::*;
        pub type Key<'tcx> =
            CanonicalTypeOpNormalizeGoal<'tcx, ty::FnSig<'tcx>>;
        pub type Value<'tcx> =
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::FnSig<'tcx>>>, NoSolution>;
        pub type LocalKey<'tcx> =
            CanonicalTypeOpNormalizeGoal<'tcx, ty::FnSig<'tcx>>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::FnSig<'tcx>>>, NoSolution>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CanonicalTypeOpNormalizeGoal<'tcx, ty::FnSig<'tcx>> as
            keys::Key>::Cache<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::FnSig<'tcx>>>, NoSolution>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `type_op_normalize_fn_sig` has a key type `CanonicalTypeOpNormalizeGoal < \'tcx, ty :: FnSig < \'tcx > >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `type_op_normalize_fn_sig` has a value type `Result < & \'tcx Canonical < \'tcx, canonical :: QueryResponse < \'tcx, ty ::\nFnSig < \'tcx > > > , NoSolution, >` that is too large");
                    };
                }
            };
    }
    pub mod instantiate_and_check_impossible_predicates {
        use super::super::*;
        pub type Key<'tcx> = (DefId, GenericArgsRef<'tcx>);
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = (DefId, GenericArgsRef<'tcx>);
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <(DefId, GenericArgsRef<'tcx>) as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `instantiate_and_check_impossible_predicates` has a key type `(DefId, GenericArgsRef < \'tcx >)` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `instantiate_and_check_impossible_predicates` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod is_impossible_associated_item {
        use super::super::*;
        pub type Key<'tcx> = (DefId, DefId);
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = (DefId, DefId);
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <(DefId, DefId) as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `is_impossible_associated_item` has a key type `(DefId, DefId)` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `is_impossible_associated_item` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod method_autoderef_steps {
        use super::super::*;
        pub type Key<'tcx> = CanonicalMethodAutoderefStepsGoal<'tcx>;
        pub type Value<'tcx> = MethodAutoderefStepsResult<'tcx>;
        pub type LocalKey<'tcx> = CanonicalMethodAutoderefStepsGoal<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (MethodAutoderefStepsResult<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CanonicalMethodAutoderefStepsGoal<'tcx> as
            keys::Key>::Cache<Erase<MethodAutoderefStepsResult<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `method_autoderef_steps` has a key type `CanonicalMethodAutoderefStepsGoal < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `method_autoderef_steps` has a value type `MethodAutoderefStepsResult < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod evaluate_root_goal_for_proof_tree_raw {
        use super::super::*;
        pub type Key<'tcx> = solve::CanonicalInput<'tcx>;
        pub type Value<'tcx> =
            (solve::QueryResult<'tcx>,
            &'tcx solve::inspect::Probe<TyCtxt<'tcx>>);
        pub type LocalKey<'tcx> = solve::CanonicalInput<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            ((solve::QueryResult<'tcx>,
            &'tcx solve::inspect::Probe<TyCtxt<'tcx>>));
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <solve::CanonicalInput<'tcx> as
            keys::Key>::Cache<Erase<(solve::QueryResult<'tcx>,
            &'tcx solve::inspect::Probe<TyCtxt<'tcx>>)>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `evaluate_root_goal_for_proof_tree_raw` has a key type `solve :: CanonicalInput < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `evaluate_root_goal_for_proof_tree_raw` has a value type `(solve :: QueryResult < \'tcx > , & \'tcx solve :: inspect :: Probe < TyCtxt <\n\'tcx > >)` that is too large");
                    };
                }
            };
    }
    pub mod rust_target_features {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> =
            &'tcx UnordMap<String, rustc_target::target_features::Stability>;
        pub type LocalKey<'tcx> = CrateNum;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx UnordMap<String, rustc_target::target_features::Stability>
            as crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx UnordMap<String,
                                rustc_target::target_features::Stability> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx UnordMap<String,
                                rustc_target::target_features::Stability> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.rust_target_features.alloc(v),
                            value)
                    } else {
                        <&'tcx UnordMap<String,
                                rustc_target::target_features::Stability> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <CrateNum as
            keys::Key>::Cache<Erase<&'tcx UnordMap<String,
            rustc_target::target_features::Stability>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `rust_target_features` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `rust_target_features` has a value type `& \'tcx UnordMap < String, rustc_target :: target_features :: Stability >` that is too large");
                    };
                }
            };
    }
    pub mod implied_target_features {
        use super::super::*;
        pub type Key<'tcx> = Symbol;
        pub type Value<'tcx> = &'tcx Vec<Symbol>;
        pub type LocalKey<'tcx> = Symbol;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx Vec<Symbol> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx Vec<Symbol> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx Vec<Symbol> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.implied_target_features.alloc(v),
                            value)
                    } else {
                        <&'tcx Vec<Symbol> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <Symbol as keys::Key>::Cache<Erase<&'tcx Vec<Symbol>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `implied_target_features` has a key type `Symbol` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `implied_target_features` has a value type `& \'tcx Vec < Symbol >` that is too large");
                    };
                }
            };
    }
    pub mod features_query {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx rustc_feature::Features;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx rustc_feature::Features);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<&'tcx rustc_feature::Features>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `features_query` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `features_query` has a value type `& \'tcx rustc_feature :: Features` that is too large");
                    };
                }
            };
    }
    pub mod crate_for_resolver {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> =
            &'tcx Steal<(rustc_ast::Crate, rustc_ast::AttrVec)>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (&'tcx Steal<(rustc_ast::Crate, rustc_ast::AttrVec)>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <() as
            keys::Key>::Cache<Erase<&'tcx Steal<(rustc_ast::Crate,
            rustc_ast::AttrVec)>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_for_resolver` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `crate_for_resolver` has a value type `& \'tcx Steal < (rustc_ast :: Crate, rustc_ast :: AttrVec) >` that is too large");
                    };
                }
            };
    }
    pub mod resolve_instance_raw {
        use super::super::*;
        pub type Key<'tcx> =
            ty::PseudoCanonicalInput<'tcx, (DefId, GenericArgsRef<'tcx>)>;
        pub type Value<'tcx> =
            Result<Option<ty::Instance<'tcx>>, ErrorGuaranteed>;
        pub type LocalKey<'tcx> =
            ty::PseudoCanonicalInput<'tcx, (DefId, GenericArgsRef<'tcx>)>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<Option<ty::Instance<'tcx>>, ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::PseudoCanonicalInput<'tcx, (DefId, GenericArgsRef<'tcx>)> as
            keys::Key>::Cache<Erase<Result<Option<ty::Instance<'tcx>>,
            ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `resolve_instance_raw` has a key type `ty :: PseudoCanonicalInput < \'tcx, (DefId, GenericArgsRef < \'tcx >) >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `resolve_instance_raw` has a value type `Result < Option < ty :: Instance < \'tcx > > , ErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod reveal_opaque_types_in_bounds {
        use super::super::*;
        pub type Key<'tcx> = ty::Clauses<'tcx>;
        pub type Value<'tcx> = ty::Clauses<'tcx>;
        pub type LocalKey<'tcx> = ty::Clauses<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::Clauses<'tcx>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::Clauses<'tcx> as keys::Key>::Cache<Erase<ty::Clauses<'tcx>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `reveal_opaque_types_in_bounds` has a key type `ty :: Clauses < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `reveal_opaque_types_in_bounds` has a value type `ty :: Clauses < \'tcx >` that is too large");
                    };
                }
            };
    }
    pub mod limits {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = Limits;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Limits);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <() as keys::Key>::Cache<Erase<Limits>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `limits` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `limits` has a value type `Limits` that is too large");
                    };
                }
            };
    }
    pub mod diagnostic_hir_wf_check {
        use super::super::*;
        pub type Key<'tcx> = (ty::Predicate<'tcx>, WellFormedLoc);
        pub type Value<'tcx> = Option<&'tcx ObligationCause<'tcx>>;
        pub type LocalKey<'tcx> = (ty::Predicate<'tcx>, WellFormedLoc);
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<Option<&'tcx ObligationCause<'tcx>> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<Option<&'tcx ObligationCause<'tcx>> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <Option<&'tcx ObligationCause<'tcx>> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.diagnostic_hir_wf_check.alloc(v),
                            value)
                    } else {
                        <Option<&'tcx ObligationCause<'tcx>> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <(ty::Predicate<'tcx>, WellFormedLoc) as
            keys::Key>::Cache<Erase<Option<&'tcx ObligationCause<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `diagnostic_hir_wf_check` has a key type `(ty :: Predicate < \'tcx > , WellFormedLoc)` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `diagnostic_hir_wf_check` has a value type `Option < & \'tcx ObligationCause < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod global_backend_features {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx Vec<String>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx Vec<String> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx Vec<String> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx Vec<String> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.global_backend_features.alloc(v),
                            value)
                    } else {
                        <&'tcx Vec<String> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<&'tcx Vec<String>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `global_backend_features` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `global_backend_features` has a value type `& \'tcx Vec < String >` that is too large");
                    };
                }
            };
    }
    pub mod check_validity_requirement {
        use super::super::*;
        pub type Key<'tcx> =
            (ValidityRequirement, ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>);
        pub type Value<'tcx> =
            Result<bool, &'tcx ty::layout::LayoutError<'tcx>>;
        pub type LocalKey<'tcx> =
            (ValidityRequirement, ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>);
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<bool, &'tcx ty::layout::LayoutError<'tcx>>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <(ValidityRequirement, ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
            as
            keys::Key>::Cache<Erase<Result<bool,
            &'tcx ty::layout::LayoutError<'tcx>>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_validity_requirement` has a key type `(ValidityRequirement, ty :: PseudoCanonicalInput < \'tcx, Ty < \'tcx > >)` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_validity_requirement` has a value type `Result < bool, & \'tcx ty :: layout :: LayoutError < \'tcx > >` that is too large");
                    };
                }
            };
    }
    pub mod compare_impl_item {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Result<(), ErrorGuaranteed>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as
            keys::Key>::Cache<Erase<Result<(), ErrorGuaranteed>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `compare_impl_item` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `compare_impl_item` has a value type `Result < (), ErrorGuaranteed >` that is too large");
                    };
                }
            };
    }
    pub mod deduced_param_attrs {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx [DeducedParamAttrs];
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [DeducedParamAttrs]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx [DeducedParamAttrs]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `deduced_param_attrs` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `deduced_param_attrs` has a value type `& \'tcx [DeducedParamAttrs]` that is too large");
                    };
                }
            };
    }
    pub mod doc_link_resolutions {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx DocLinkResMap;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx DocLinkResMap);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx DocLinkResMap>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `doc_link_resolutions` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `doc_link_resolutions` has a value type `& \'tcx DocLinkResMap` that is too large");
                    };
                }
            };
    }
    pub mod doc_link_traits_in_scope {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = &'tcx [DefId];
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [DefId]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<&'tcx [DefId]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `doc_link_traits_in_scope` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `doc_link_traits_in_scope` has a value type `& \'tcx [DefId]` that is too large");
                    };
                }
            };
    }
    pub mod stripped_cfg_items {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> = &'tcx [StrippedCfgItem];
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (&'tcx [StrippedCfgItem]);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <CrateNum as keys::Key>::Cache<Erase<&'tcx [StrippedCfgItem]>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `stripped_cfg_items` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `stripped_cfg_items` has a value type `& \'tcx [StrippedCfgItem]` that is too large");
                    };
                }
            };
    }
    pub mod generics_require_sized_self {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = DefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `generics_require_sized_self` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `generics_require_sized_self` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod cross_crate_inlinable {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = bool;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (bool);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <DefId as keys::Key>::Cache<Erase<bool>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `cross_crate_inlinable` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `cross_crate_inlinable` has a value type `bool` that is too large");
                    };
                }
            };
    }
    pub mod check_mono_item {
        use super::super::*;
        pub type Key<'tcx> = ty::Instance<'tcx>;
        pub type Value<'tcx> = ();
        pub type LocalKey<'tcx> = ty::Instance<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (());
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::Instance<'tcx> as keys::Key>::Cache<Erase<()>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_mono_item` has a key type `ty :: Instance < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_mono_item` has a value type `()` that is too large");
                    };
                }
            };
    }
    pub mod skip_move_check_fns {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = &'tcx FxIndexSet<DefId>;
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx FxIndexSet<DefId> as
            crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx FxIndexSet<DefId> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx FxIndexSet<DefId> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.skip_move_check_fns.alloc(v),
                            value)
                    } else {
                        <&'tcx FxIndexSet<DefId> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <() as keys::Key>::Cache<Erase<&'tcx FxIndexSet<DefId>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `skip_move_check_fns` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `skip_move_check_fns` has a value type `& \'tcx FxIndexSet < DefId >` that is too large");
                    };
                }
            };
    }
    pub mod items_of_instance {
        use super::super::*;
        pub type Key<'tcx> = (ty::Instance<'tcx>, CollectionMode);
        pub type Value<'tcx> =
            Result<(&'tcx [Spanned<MonoItem<'tcx>>],
            &'tcx [Spanned<MonoItem<'tcx>>]), NormalizationErrorInMono>;
        pub type LocalKey<'tcx> = (ty::Instance<'tcx>, CollectionMode);
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (Result<(&'tcx [Spanned<MonoItem<'tcx>>],
            &'tcx [Spanned<MonoItem<'tcx>>]), NormalizationErrorInMono>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <(ty::Instance<'tcx>, CollectionMode) as
            keys::Key>::Cache<Erase<Result<(&'tcx [Spanned<MonoItem<'tcx>>],
            &'tcx [Spanned<MonoItem<'tcx>>]), NormalizationErrorInMono>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `items_of_instance` has a key type `(ty :: Instance < \'tcx > , CollectionMode)` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `items_of_instance` has a value type `Result <\n(& \'tcx [Spanned < MonoItem < \'tcx > >], & \'tcx\n[Spanned < MonoItem < \'tcx > >]), NormalizationErrorInMono >` that is too large");
                    };
                }
            };
    }
    pub mod size_estimate {
        use super::super::*;
        pub type Key<'tcx> = ty::Instance<'tcx>;
        pub type Value<'tcx> = usize;
        pub type LocalKey<'tcx> = ty::Instance<'tcx>;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (usize);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <ty::Instance<'tcx> as keys::Key>::Cache<Erase<usize>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `size_estimate` has a key type `ty :: Instance < \'tcx >` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `size_estimate` has a value type `usize` that is too large");
                    };
                }
            };
    }
    pub mod anon_const_kind {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = ty::AnonConstKind;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (ty::AnonConstKind);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as keys::Key>::Cache<Erase<ty::AnonConstKind>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `anon_const_kind` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `anon_const_kind` has a value type `ty :: AnonConstKind` that is too large");
                    };
                }
            };
    }
    pub mod trivial_const {
        use super::super::*;
        pub type Key<'tcx> = DefId;
        pub type Value<'tcx> = Option<(mir::ConstValue, Ty<'tcx>)>;
        pub type LocalKey<'tcx> = <DefId as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (Option<(mir::ConstValue, Ty<'tcx>)>);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <DefId as
            keys::Key>::Cache<Erase<Option<(mir::ConstValue, Ty<'tcx>)>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `trivial_const` has a key type `DefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `trivial_const` has a value type `Option < (mir :: ConstValue, Ty < \'tcx >) >` that is too large");
                    };
                }
            };
    }
    pub mod sanitizer_settings_for {
        use super::super::*;
        pub type Key<'tcx> = LocalDefId;
        pub type Value<'tcx> = SanitizerFnAttrs;
        pub type LocalKey<'tcx> = LocalDefId;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (SanitizerFnAttrs);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> =
            <LocalDefId as keys::Key>::Cache<Erase<SanitizerFnAttrs>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `sanitizer_settings_for` has a key type `LocalDefId` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `sanitizer_settings_for` has a value type `SanitizerFnAttrs` that is too large");
                    };
                }
            };
    }
    pub mod check_externally_implementable_items {
        use super::super::*;
        pub type Key<'tcx> = ();
        pub type Value<'tcx> = ();
        pub type LocalKey<'tcx> = ();
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> = (());
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase((value))
        }
        pub type Storage<'tcx> = <() as keys::Key>::Cache<Erase<()>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `check_externally_implementable_items` has a key type `()` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `check_externally_implementable_items` has a value type `()` that is too large");
                    };
                }
            };
    }
    pub mod externally_implementable_items {
        use super::super::*;
        pub type Key<'tcx> = CrateNum;
        pub type Value<'tcx> =
            &'tcx FxIndexMap<DefId, (EiiDecl, FxIndexMap<DefId, EiiImpl>)>;
        pub type LocalKey<'tcx> = <CrateNum as AsLocalKey>::LocalKey;
        /// This type alias specifies the type returned from query providers and the type
        /// used for decoding. For regular queries this is the declared returned type `V`,
        /// but `arena_cache` will use `<V as ArenaCached>::Provided` instead.
        pub type ProvidedValue<'tcx> =
            (<&'tcx FxIndexMap<DefId, (EiiDecl, FxIndexMap<DefId, EiiImpl>)>
            as crate::query::arena_cached::ArenaCached<'tcx>>::Provided);
        /// This function takes `ProvidedValue` and converts it to an erased `Value` by
        /// allocating it on an arena if the query has the `arena_cache` modifier. The
        /// value is then erased and returned. This will happen when computing the query
        /// using a provider or decoding a stored result.
        #[inline(always)]
        pub fn provided_to_erased<'tcx>(_tcx: TyCtxt<'tcx>,
            value: ProvidedValue<'tcx>) -> Erase<Value<'tcx>> {
            erase({
                    use crate::query::arena_cached::ArenaCached;
                    if mem::needs_drop::<<&'tcx FxIndexMap<DefId,
                                (EiiDecl, FxIndexMap<DefId, EiiImpl>)> as
                                ArenaCached<'tcx>>::Allocated>() {
                        <&'tcx FxIndexMap<DefId,
                                (EiiDecl, FxIndexMap<DefId, EiiImpl>)> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.query_system.arenas.externally_implementable_items.alloc(v),
                            value)
                    } else {
                        <&'tcx FxIndexMap<DefId,
                                (EiiDecl, FxIndexMap<DefId, EiiImpl>)> as
                                ArenaCached>::alloc_in_arena(|v|
                                _tcx.arena.dropless.alloc(v), value)
                    }
                })
        }
        pub type Storage<'tcx> =
            <CrateNum as
            keys::Key>::Cache<Erase<&'tcx FxIndexMap<DefId,
            (EiiDecl, FxIndexMap<DefId, EiiImpl>)>>>;
        const _: () =
            {
                if size_of::<Key<'static>>() > 88 {
                    {
                        ::core::panicking::panic_display(&"the query `externally_implementable_items` has a key type `CrateNum` that is too large");
                    };
                }
            };
        const _: () =
            {
                if size_of::<Value<'static>>() > 64 {
                    {
                        ::core::panicking::panic_display(&"the query `externally_implementable_items` has a value type `& \'tcx FxIndexMap < DefId, (EiiDecl, FxIndexMap < DefId, EiiImpl >) >` that is too large");
                    };
                }
            };
    }
}
pub struct QueryArenas<'tcx> {
    #[doc =
    " Caches the expansion of a derive proc macro, e.g. `#[derive(Serialize)]`."]
    #[doc = " The key is:"]
    #[doc = " - A unique key corresponding to the invocation of a macro."]
    #[doc = " - Token stream which serves as an input to the macro."]
    #[doc = ""]
    #[doc = " The output is the token stream generated by the proc macro."]
    pub derive_macro_expansion: (),
    #[doc =
    " This exists purely for testing the interactions between delayed bugs and incremental."]
    pub trigger_delayed_bug: (),
    #[doc =
    " Collects the list of all tools registered using `#![register_tool]`."]
    pub registered_tools: (TypedArena<<&'tcx ty::RegisteredTools as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] perform lints prior to AST lowering"]
    pub early_lint_checks: (),
    #[doc = " Tracked access to environment variables."]
    #[doc = ""]
    #[doc =
    " Useful for the implementation of `std::env!`, `proc-macro`s change"]
    #[doc =
    " detection and other changes in the compiler\'s behaviour that is easier"]
    #[doc = " to control with an environment variable than a flag."]
    #[doc = ""]
    #[doc = " NOTE: This currently does not work with dependency info in the"]
    #[doc =
    " analysis, codegen and linking passes, place extra code at the top of"]
    #[doc = " `rustc_interface::passes::write_dep_info` to make that work."]
    pub env_var_os: (),
    #[doc =
    "[query description - consider adding a doc-comment!] getting the resolver outputs"]
    pub resolutions: (),
    #[doc =
    "[query description - consider adding a doc-comment!] getting the resolver for lowering"]
    pub resolver_for_lowering_raw: (),
    #[doc = " Return the span for a definition."]
    #[doc = ""]
    #[doc =
    " Contrary to `def_span` below, this query returns the full absolute span of the definition."]
    #[doc =
    " This span is meant for dep-tracking rather than diagnostics. It should not be used outside"]
    #[doc = " of rustc_middle::hir::source_map."]
    pub source_span: (),
    #[doc =
    " Represents crate as a whole (as distinct from the top-level crate module)."]
    #[doc = ""]
    #[doc =
    " If you call `tcx.hir_crate(())` we will have to assume that any change"]
    #[doc =
    " means that you need to be recompiled. This is because the `hir_crate`"]
    #[doc =
    " query gives you access to all other items. To avoid this fate, do not"]
    #[doc = " call `tcx.hir_crate(())`; instead, prefer wrappers like"]
    #[doc = " [`TyCtxt::hir_visit_all_item_likes_in_crate`]."]
    pub hir_crate: (TypedArena<<&'tcx Crate<'tcx> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc = " All items in the crate."]
    pub hir_crate_items: (TypedArena<<&'tcx rustc_middle::hir::ModuleItems as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc = " The items in a module."]
    #[doc = ""]
    #[doc =
    " This can be conveniently accessed by `tcx.hir_visit_item_likes_in_module`."]
    #[doc = " Avoid calling this query directly."]
    pub hir_module_items: (TypedArena<<&'tcx rustc_middle::hir::ModuleItems as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc = " Returns HIR ID for the given `LocalDefId`."]
    pub local_def_id_to_hir_id: (),
    #[doc =
    " Gives access to the HIR node\'s parent for the HIR owner `key`."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    pub hir_owner_parent: (),
    #[doc =
    " Gives access to the HIR nodes and bodies inside `key` if it\'s a HIR owner."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    pub opt_hir_owner_nodes: (),
    #[doc = " Gives access to the HIR attributes inside the HIR owner `key`."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    pub hir_attr_map: (),
    #[doc = " Gives access to lints emitted during ast lowering."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    pub opt_ast_lowering_delayed_lints: (),
    #[doc =
    " Returns the *default* of the const pararameter given by `DefId`."]
    #[doc = ""]
    #[doc =
    " E.g., given `struct Ty<const N: usize = 3>;` this returns `3` for `N`."]
    pub const_param_default: (),
    #[doc =
    " Returns the const of the RHS of a (free or assoc) const item, if it is a `#[type_const]`."]
    #[doc = ""]
    #[doc =
    " When a const item is used in a type-level expression, like in equality for an assoc const"]
    #[doc =
    " projection, this allows us to retrieve the typesystem-appropriate representation of the"]
    #[doc = " const value."]
    #[doc = ""]
    #[doc =
    " This query will ICE if given a const that is not marked with `#[type_const]`."]
    pub const_of_item: (),
    #[doc = " Returns the *type* of the definition given by `DefId`."]
    #[doc = ""]
    #[doc =
    " For type aliases (whether eager or lazy) and associated types, this returns"]
    #[doc =
    " the underlying aliased type (not the corresponding [alias type])."]
    #[doc = ""]
    #[doc =
    " For opaque types, this returns and thus reveals the hidden type! If you"]
    #[doc = " want to detect cycle errors use `type_of_opaque` instead."]
    #[doc = ""]
    #[doc =
    " To clarify, for type definitions, this does *not* return the \"type of a type\""]
    #[doc =
    " (aka *kind* or *sort*) in the type-theoretical sense! It merely returns"]
    #[doc = " the type primarily *associated with* it."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition doesn\'t (and can\'t"]
    #[doc = " conceptually) have an (underlying) type."]
    #[doc = ""]
    #[doc = " [alias type]: rustc_middle::ty::AliasTy"]
    pub type_of: (),
    #[doc =
    " Returns the *hidden type* of the opaque type given by `DefId` unless a cycle occurred."]
    #[doc = ""]
    #[doc =
    " This is a specialized instance of [`Self::type_of`] that detects query cycles."]
    #[doc =
    " Unless `CyclePlaceholder` needs to be handled separately, call [`Self::type_of`] instead."]
    #[doc =
    " This is used to improve the error message in cases where revealing the hidden type"]
    #[doc = " for auto-trait leakage cycles."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not an opaque type."]
    pub type_of_opaque: (),
    #[doc =
    "[query description - consider adding a doc-comment!] computing type of opaque `{path}` via HIR typeck"]
    pub type_of_opaque_hir_typeck: (),
    #[doc = " Returns whether the type alias given by `DefId` is lazy."]
    #[doc = ""]
    #[doc =
    " I.e., if the type alias expands / ought to expand to a [free] [alias type]"]
    #[doc = " instead of the underlying aliased type."]
    #[doc = ""]
    #[doc =
    " Relevant for features `lazy_type_alias` and `type_alias_impl_trait`."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query *may* panic if the given definition is not a type alias."]
    #[doc = ""]
    #[doc = " [free]: rustc_middle::ty::Free"]
    #[doc = " [alias type]: rustc_middle::ty::AliasTy"]
    pub type_alias_is_lazy: (),
    #[doc =
    "[query description - consider adding a doc-comment!] comparing an impl and trait method signature, inferring any hidden `impl Trait` types in the process"]
    pub collect_return_position_impl_trait_in_trait_tys: (),
    #[doc =
    "[query description - consider adding a doc-comment!] determine where the opaque originates from"]
    pub opaque_ty_origin: (),
    #[doc =
    "[query description - consider adding a doc-comment!] determining what parameters of  `tcx.def_path_str(key)`  can participate in unsizing"]
    pub unsizing_params_for_adt: (TypedArena<<&'tcx rustc_index::bit_set::DenseBitSet<u32>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " The root query triggering all analysis passes like typeck or borrowck."]
    pub analysis: (),
    #[doc =
    " This query checks the fulfillment of collected lint expectations."]
    #[doc =
    " All lint emitting queries have to be done before this is executed"]
    #[doc = " to ensure that all expectations can be fulfilled."]
    #[doc = ""]
    #[doc =
    " This is an extra query to enable other drivers (like rustdoc) to"]
    #[doc =
    " only execute a small subset of the `analysis` query, while allowing"]
    #[doc =
    " lints to be expected. In rustc, this query will be executed as part of"]
    #[doc =
    " the `analysis` query and doesn\'t have to be called a second time."]
    #[doc = ""]
    #[doc =
    " Tools can additionally pass in a tool filter. That will restrict the"]
    #[doc =
    " expectations to only trigger for lints starting with the listed tool"]
    #[doc =
    " name. This is useful for cases were not all linting code from rustc"]
    #[doc =
    " was called. With the default `None` all registered lints will also"]
    #[doc = " be checked for expectation fulfillment."]
    pub check_expectations: (),
    #[doc = " Returns the *generics* of the definition given by `DefId`."]
    pub generics_of: (TypedArena<<&'tcx ty::Generics as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " Returns the (elaborated) *predicates* of the definition given by `DefId`"]
    #[doc =
    " that must be proven true at usage sites (and which can be assumed at definition site)."]
    #[doc = ""]
    #[doc =
    " This is almost always *the* \"predicates query\" that you want."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_dump_predicates]` on an item to basically print"]
    #[doc =
    " the result of this query for use in UI tests or for debugging purposes."]
    pub predicates_of: (),
    #[doc =
    "[query description - consider adding a doc-comment!] computing the opaque types defined by  `tcx.def_path_str(key.to_def_id())` "]
    pub opaque_types_defined_by: (),
    #[doc =
    " A list of all bodies inside of `key`, nested bodies are always stored"]
    #[doc = " before their parent."]
    pub nested_bodies_within: (),
    #[doc =
    " Returns the explicitly user-written *bounds* on the associated or opaque type given by `DefId`"]
    #[doc =
    " that must be proven true at definition site (and which can be assumed at usage sites)."]
    #[doc = ""]
    #[doc =
    " For associated types, these must be satisfied for an implementation"]
    #[doc =
    " to be well-formed, and for opaque types, these are required to be"]
    #[doc = " satisfied by the hidden type of the opaque."]
    #[doc = ""]
    #[doc =
    " Bounds from the parent (e.g. with nested `impl Trait`) are not included."]
    #[doc = ""]
    #[doc =
    " Syntactially, these are the bounds written on associated types in trait"]
    #[doc = " definitions, or those after the `impl` keyword for an opaque:"]
    #[doc = ""]
    #[doc = " ```ignore (illustrative)"]
    #[doc = " trait Trait { type X: Bound + \'lt; }"]
    #[doc = " //                    ^^^^^^^^^^^"]
    #[doc = " fn function() -> impl Debug + Display { /*...*/ }"]
    #[doc = " //                    ^^^^^^^^^^^^^^^"]
    #[doc = " ```"]
    pub explicit_item_bounds: (),
    #[doc =
    " Returns the explicitly user-written *bounds* that share the `Self` type of the item."]
    #[doc = ""]
    #[doc =
    " These are a subset of the [explicit item bounds] that may explicitly be used for things"]
    #[doc = " like closure signature deduction."]
    #[doc = ""]
    #[doc = " [explicit item bounds]: Self::explicit_item_bounds"]
    pub explicit_item_self_bounds: (),
    #[doc =
    " Returns the (elaborated) *bounds* on the associated or opaque type given by `DefId`"]
    #[doc =
    " that must be proven true at definition site (and which can be assumed at usage sites)."]
    #[doc = ""]
    #[doc =
    " Bounds from the parent (e.g. with nested `impl Trait`) are not included."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_dump_item_bounds]` on an item to basically print"]
    #[doc =
    " the result of this query for use in UI tests or for debugging purposes."]
    #[doc = ""]
    #[doc = " # Examples"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait Trait { type Assoc: Eq + ?Sized; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " While [`Self::explicit_item_bounds`] returns `[<Self as Trait>::Assoc: Eq]`"]
    #[doc = " here, `item_bounds` returns:"]
    #[doc = ""]
    #[doc = " ```text"]
    #[doc = " ["]
    #[doc = "     <Self as Trait>::Assoc: Eq,"]
    #[doc = "     <Self as Trait>::Assoc: PartialEq<<Self as Trait>::Assoc>"]
    #[doc = " ]"]
    #[doc = " ```"]
    pub item_bounds: (),
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating item assumptions for  `tcx.def_path_str(key)` "]
    pub item_self_bounds: (),
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating item assumptions for  `tcx.def_path_str(key)` "]
    pub item_non_self_bounds: (),
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating supertrait outlives for trait of  `tcx.def_path_str(key)` "]
    pub impl_super_outlives: (),
    #[doc = " Look up all native libraries this crate depends on."]
    #[doc = " These are assembled from the following places:"]
    #[doc = " - `extern` blocks (depending on their `link` attributes)"]
    #[doc = " - the `libs` (`-l`) option"]
    pub native_libraries: (TypedArena<<&'tcx Vec<NativeLib> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] looking up lint levels for  `tcx.def_path_str(key)` "]
    pub shallow_lint_levels_on: (TypedArena<<&'tcx rustc_middle::lint::ShallowLintLevelMap
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] computing `#[expect]`ed lints in this crate"]
    pub lint_expectations: (TypedArena<<&'tcx Vec<(LintExpectationId,
    LintExpectation)> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] Computing all lints that are explicitly enabled or with a default level greater than Allow"]
    pub lints_that_dont_need_to_run: (TypedArena<<&'tcx UnordSet<LintId> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] getting the expansion that defined  `tcx.def_path_str(key)` "]
    pub expn_that_defined: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate is_panic_runtime"]
    pub is_panic_runtime: (),
    #[doc = " Checks whether a type is representable or infinitely sized"]
    pub representability: (),
    #[doc = " An implementation detail for the `representability` query"]
    pub representability_adt_ty: (),
    #[doc =
    " Set of param indexes for type params that are in the type\'s representation"]
    pub params_in_repr: (TypedArena<<&'tcx rustc_index::bit_set::DenseBitSet<u32>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " Fetch the THIR for a given body. The THIR body gets stolen by unsafety checking unless"]
    #[doc = " `-Zno-steal-thir` is on."]
    pub thir_body: (),
    #[doc =
    " Set of all the `DefId`s in this crate that have MIR associated with"]
    #[doc =
    " them. This includes all the body owners, but also things like struct"]
    #[doc = " constructors."]
    pub mir_keys: (TypedArena<<&'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " Maps DefId\'s that have an associated `mir::Body` to the result"]
    #[doc = " of the MIR const-checking pass. This is the set of qualifs in"]
    #[doc = " the final value of a `const`."]
    pub mir_const_qualif: (),
    #[doc =
    " Build the MIR for a given `DefId` and prepare it for const qualification."]
    #[doc = ""]
    #[doc = " See the [rustc dev guide] for more info."]
    #[doc = ""]
    #[doc =
    " [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/mir/construction.html"]
    pub mir_built: (),
    #[doc = " Try to build an abstract representation of the given constant."]
    pub thir_abstract_const: (),
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating drops for  `tcx.def_path_str(key)` "]
    pub mir_drops_elaborated_and_const_checked: (),
    #[doc =
    "[query description - consider adding a doc-comment!] caching mir of  `tcx.def_path_str(key)`  for CTFE"]
    pub mir_for_ctfe: (),
    #[doc =
    "[query description - consider adding a doc-comment!] promoting constants in MIR for  `tcx.def_path_str(key)` "]
    pub mir_promoted: (),
    #[doc =
    "[query description - consider adding a doc-comment!] finding symbols for captures of closure  `tcx.def_path_str(key)` "]
    pub closure_typeinfo: (),
    #[doc = " Returns names of captured upvars for closures and coroutines."]
    #[doc = ""]
    #[doc = " Here are some examples:"]
    #[doc = "  - `name__field1__field2` when the upvar is captured by value."]
    #[doc =
    "  - `_ref__name__field` when the upvar is captured by reference."]
    #[doc = ""]
    #[doc =
    " For coroutines this only contains upvars that are shared by all states."]
    pub closure_saved_names_of_captured_variables: (TypedArena<<&'tcx IndexVec<abi::FieldIdx,
    Symbol> as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] coroutine witness types for  `tcx.def_path_str(key)` "]
    pub mir_coroutine_witnesses: (TypedArena<<Option<&'tcx mir::CoroutineLayout<'tcx>>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] verify auto trait bounds for coroutine interior type  `tcx.def_path_str(key)` "]
    pub check_coroutine_obligations: (),
    #[doc =
    " Used in case `mir_borrowck` fails to prove an obligation. We generally assume that"]
    #[doc =
    " all goals we prove in MIR type check hold as we\'ve already checked them in HIR typeck."]
    #[doc = ""]
    #[doc =
    " However, we replace each free region in the MIR body with a unique region inference"]
    #[doc =
    " variable. As we may rely on structural identity when proving goals this may cause a"]
    #[doc =
    " goal to no longer hold. We store obligations for which this may happen during HIR"]
    #[doc =
    " typeck in the `TypeckResults`. We then uniquify and reprove them in case MIR typeck"]
    #[doc =
    " encounters an unexpected error. We expect this to result in an error when used and"]
    #[doc = " delay a bug if it does not."]
    pub check_potentially_region_dependent_goals: (),
    #[doc =
    " MIR after our optimization passes have run. This is MIR that is ready"]
    #[doc =
    " for codegen. This is also the only query that can fetch non-local MIR, at present."]
    pub optimized_mir: (),
    #[doc =
    " Checks for the nearest `#[coverage(off)]` or `#[coverage(on)]` on"]
    #[doc = " this def and any enclosing defs, up to the crate root."]
    #[doc = ""]
    #[doc = " Returns `false` if `#[coverage(off)]` was found, or `true` if"]
    #[doc = " either `#[coverage(on)]` or no coverage attribute was found."]
    pub coverage_attr_on: (),
    #[doc =
    " Scans through a function\'s MIR after MIR optimizations, to prepare the"]
    #[doc =
    " information needed by codegen when `-Cinstrument-coverage` is active."]
    #[doc = ""]
    #[doc =
    " This includes the details of where to insert `llvm.instrprof.increment`"]
    #[doc =
    " intrinsics, and the expression tables to be embedded in the function\'s"]
    #[doc = " coverage metadata."]
    #[doc = ""]
    #[doc =
    " FIXME(Zalathar): This query\'s purpose has drifted a bit and should"]
    #[doc =
    " probably be renamed, but that can wait until after the potential"]
    #[doc = " follow-ups to #136053 have settled down."]
    #[doc = ""]
    #[doc = " Returns `None` for functions that were not instrumented."]
    pub coverage_ids_info: (TypedArena<<Option<&'tcx mir::coverage::CoverageIdsInfo>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " The `DefId` is the `DefId` of the containing MIR body. Promoteds do not have their own"]
    #[doc =
    " `DefId`. This function returns all promoteds in the specified body. The body references"]
    #[doc =
    " promoteds by the `DefId` and the `mir::Promoted` index. This is necessary, because"]
    #[doc =
    " after inlining a body may refer to promoteds from other bodies. In that case you still"]
    #[doc = " need to use the `DefId` of the original body."]
    pub promoted_mir: (),
    #[doc = " Erases regions from `ty` to yield a new type."]
    #[doc =
    " Normally you would just use `tcx.erase_and_anonymize_regions(value)`,"]
    #[doc = " however, which uses this query as a kind of cache."]
    pub erase_and_anonymize_regions_ty: (),
    #[doc =
    "[query description - consider adding a doc-comment!] getting wasm import module map"]
    pub wasm_import_module_map: (TypedArena<<&'tcx DefIdMap<String> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " Returns the explicitly user-written *predicates and bounds* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc = " Traits are unusual, because predicates on associated types are"]
    #[doc =
    " converted into bounds on that type for backwards compatibility:"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait X where Self::U: Copy { type U; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc = " becomes"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait X { type U: Copy; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " [`Self::explicit_predicates_of`] and [`Self::explicit_item_bounds`] will"]
    #[doc = " then take the appropriate subsets of the predicates here."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc = " This query will panic if the given definition is not a trait."]
    pub trait_explicit_predicates_and_bounds: (),
    #[doc =
    " Returns the explicitly user-written *predicates* of the definition given by `DefId`"]
    #[doc =
    " that must be proven true at usage sites (and which can be assumed at definition site)."]
    #[doc = ""]
    #[doc =
    " You should probably use [`Self::predicates_of`] unless you\'re looking for"]
    #[doc = " predicates with explicit spans for diagnostics purposes."]
    pub explicit_predicates_of: (),
    #[doc =
    " Returns the *inferred outlives-predicates* of the item given by `DefId`."]
    #[doc = ""]
    #[doc =
    " E.g., for `struct Foo<\'a, T> { x: &\'a T }`, this would return `[T: \'a]`."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_outlives]` on an item to basically print the"]
    #[doc =
    " result of this query for use in UI tests or for debugging purposes."]
    pub inferred_outlives_of: (),
    #[doc =
    " Returns the explicitly user-written *super-predicates* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc =
    " These predicates are unelaborated and consequently don\'t contain transitive super-predicates."]
    #[doc = ""]
    #[doc =
    " This is a subset of the full list of predicates. We store these in a separate map"]
    #[doc =
    " because we must evaluate them even during type conversion, often before the full"]
    #[doc =
    " predicates are available (note that super-predicates must not be cyclic)."]
    pub explicit_super_predicates_of: (),
    #[doc =
    " The predicates of the trait that are implied during elaboration."]
    #[doc = ""]
    #[doc =
    " This is a superset of the super-predicates of the trait, but a subset of the predicates"]
    #[doc =
    " of the trait. For regular traits, this includes all super-predicates and their"]
    #[doc =
    " associated type bounds. For trait aliases, currently, this includes all of the"]
    #[doc = " predicates of the trait alias."]
    pub explicit_implied_predicates_of: (),
    #[doc =
    " The Ident is the name of an associated type.The query returns only the subset"]
    #[doc =
    " of supertraits that define the given associated type. This is used to avoid"]
    #[doc =
    " cycles in resolving type-dependent associated item paths like `T::Item`."]
    pub explicit_supertraits_containing_assoc_item: (),
    #[doc =
    " Compute the conditions that need to hold for a conditionally-const item to be const."]
    #[doc =
    " That is, compute the set of `[const]` where clauses for a given item."]
    #[doc = ""]
    #[doc =
    " This can be thought of as the `[const]` equivalent of `predicates_of`. These are the"]
    #[doc =
    " predicates that need to be proven at usage sites, and can be assumed at definition."]
    #[doc = ""]
    #[doc =
    " This query also computes the `[const]` where clauses for associated types, which are"]
    #[doc =
    " not \"const\", but which have item bounds which may be `[const]`. These must hold for"]
    #[doc = " the `[const]` item bound to hold."]
    pub const_conditions: (),
    #[doc =
    " Compute the const bounds that are implied for a conditionally-const item."]
    #[doc = ""]
    #[doc =
    " This can be though of as the `[const]` equivalent of `explicit_item_bounds`. These"]
    #[doc =
    " are the predicates that need to proven at definition sites, and can be assumed at"]
    #[doc = " usage sites."]
    pub explicit_implied_const_bounds: (),
    #[doc =
    " To avoid cycles within the predicates of a single item we compute"]
    #[doc = " per-type-parameter predicates for resolving `T::AssocTy`."]
    pub type_param_predicates: (),
    #[doc =
    "[query description - consider adding a doc-comment!] computing trait definition for  `tcx.def_path_str(key)` "]
    pub trait_def: (TypedArena<<&'tcx ty::TraitDef as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] computing ADT definition for  `tcx.def_path_str(key)` "]
    pub adt_def: (),
    #[doc =
    "[query description - consider adding a doc-comment!] computing `Drop` impl for  `tcx.def_path_str(key)` "]
    pub adt_destructor: (),
    #[doc =
    "[query description - consider adding a doc-comment!] computing `AsyncDrop` impl for  `tcx.def_path_str(key)` "]
    pub adt_async_destructor: (),
    #[doc =
    "[query description - consider adding a doc-comment!] computing the sizedness constraint for  `tcx.def_path_str(key.0)` "]
    pub adt_sizedness_constraint: (),
    #[doc =
    "[query description - consider adding a doc-comment!] computing drop-check constraints for  `tcx.def_path_str(key)` "]
    pub adt_dtorck_constraint: (),
    #[doc =
    " Returns the constness of the function-like[^1] definition given by `DefId`."]
    #[doc = ""]
    #[doc =
    " Tuple struct/variant constructors are *always* const, foreign functions are"]
    #[doc =
    " *never* const. The rest is const iff marked with keyword `const` (or rather"]
    #[doc = " its parent in the case of associated functions)."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly. It is only meant to cache the base data for the"]
    #[doc =
    " higher-level functions. Consider using `is_const_fn` or `is_const_trait_impl` instead."]
    #[doc = ""]
    #[doc =
    " Also note that neither of them takes into account feature gates, stability and"]
    #[doc = " const predicates/conditions!"]
    #[doc = ""]
    #[doc = " </div>"]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not function-like[^1]."]
    #[doc = ""]
    #[doc =
    " [^1]: Tuple struct/variant constructors, closures and free, associated and foreign functions."]
    pub constness: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the function is async:  `tcx.def_path_str(key)` "]
    pub asyncness: (),
    #[doc = " Returns `true` if calls to the function may be promoted."]
    #[doc = ""]
    #[doc =
    " This is either because the function is e.g., a tuple-struct or tuple-variant"]
    #[doc =
    " constructor, or because it has the `#[rustc_promotable]` attribute. The attribute should"]
    #[doc =
    " be removed in the future in favour of some form of check which figures out whether the"]
    #[doc =
    " function does not inspect the bits of any of its arguments (so is essentially just a"]
    #[doc = " constructor function)."]
    pub is_promotable_const_fn: (),
    #[doc =
    " The body of the coroutine, modified to take its upvars by move rather than by ref."]
    #[doc = ""]
    #[doc =
    " This is used by coroutine-closures, which must return a different flavor of coroutine"]
    #[doc =
    " when called using `AsyncFnOnce::call_once`. It is produced by the `ByMoveBody` pass which"]
    #[doc =
    " is run right after building the initial MIR, and will only be populated for coroutines"]
    #[doc = " which come out of the async closure desugaring."]
    pub coroutine_by_move_body_def_id: (),
    #[doc =
    " Returns `Some(coroutine_kind)` if the node pointed to by `def_id` is a coroutine."]
    pub coroutine_kind: (),
    #[doc =
    "[query description - consider adding a doc-comment!] Given a coroutine-closure def id, return the def id of the coroutine returned by it"]
    pub coroutine_for_closure: (),
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the hidden types stored across await points in a coroutine"]
    pub coroutine_hidden_types: (),
    #[doc =
    " Gets a map with the variances of every item in the local crate."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::variances_of`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    pub crate_variances: (TypedArena<<&'tcx ty::CrateVariancesMap<'tcx> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc = " Returns the (inferred) variances of the item given by `DefId`."]
    #[doc = ""]
    #[doc =
    " The list of variances corresponds to the list of (early-bound) generic"]
    #[doc = " parameters of the item (including its parents)."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_variance]` on an item to basically print the"]
    #[doc =
    " result of this query for use in UI tests or for debugging purposes."]
    pub variances_of: (),
    #[doc =
    " Gets a map with the inferred outlives-predicates of every item in the local crate."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::inferred_outlives_of`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    pub inferred_outlives_crate: (TypedArena<<&'tcx ty::CratePredicatesMap<'tcx>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc = " Maps from an impl/trait or struct/variant `DefId`"]
    #[doc = " to a list of the `DefId`s of its associated items or fields."]
    pub associated_item_def_ids: (),
    #[doc =
    " Maps from a trait/impl item to the trait/impl item \"descriptor\"."]
    pub associated_item: (),
    #[doc = " Collects the associated items defined on a trait or impl."]
    pub associated_items: (TypedArena<<&'tcx ty::AssocItems as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " Maps from associated items on a trait to the corresponding associated"]
    #[doc = " item on the impl specified by `impl_id`."]
    #[doc = ""]
    #[doc = " For example, with the following code"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " struct Type {}"]
    #[doc = "                         // DefId"]
    #[doc = " trait Trait {           // trait_id"]
    #[doc = "     fn f();             // trait_f"]
    #[doc = "     fn g() {}           // trait_g"]
    #[doc = " }"]
    #[doc = ""]
    #[doc = " impl Trait for Type {   // impl_id"]
    #[doc = "     fn f() {}           // impl_f"]
    #[doc = "     fn g() {}           // impl_g"]
    #[doc = " }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " The map returned for `tcx.impl_item_implementor_ids(impl_id)` would be"]
    #[doc = "`{ trait_f: impl_f, trait_g: impl_g }`"]
    pub impl_item_implementor_ids: (TypedArena<<&'tcx DefIdMap<DefId> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " Given the `item_def_id` of a trait or impl, return a mapping from associated fn def id"]
    #[doc =
    " to its associated type items that correspond to the RPITITs in its signature."]
    pub associated_types_for_impl_traits_in_trait_or_impl: (TypedArena<<&'tcx DefIdMap<Vec<DefId>>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " Given an `impl_id`, return the trait it implements along with some header information."]
    pub impl_trait_header: (),
    #[doc =
    " Given an `impl_def_id`, return true if the self type is guaranteed to be unsized due"]
    #[doc =
    " to either being one of the built-in unsized types (str/slice/dyn) or to be a struct"]
    #[doc = " whose tail is one of those types."]
    pub impl_self_is_guaranteed_unsized: (),
    #[doc = " Maps a `DefId` of a type to a list of its inherent impls."]
    #[doc =
    " Contains implementations of methods that are inherent to a type."]
    #[doc = " Methods in these implementations don\'t need to be exported."]
    pub inherent_impls: (),
    #[doc =
    "[query description - consider adding a doc-comment!] collecting all inherent impls for `{:?}`"]
    pub incoherent_impls: (),
    #[doc = " Unsafety-check this `LocalDefId`."]
    pub check_transmutes: (),
    #[doc = " Unsafety-check this `LocalDefId`."]
    pub check_unsafety: (),
    #[doc = " Checks well-formedness of tail calls (`become f()`)."]
    pub check_tail_calls: (),
    #[doc =
    " Returns the types assumed to be well formed while \"inside\" of the given item."]
    #[doc = ""]
    #[doc =
    " Note that we\'ve liberated the late bound regions of function signatures, so"]
    #[doc =
    " this can not be used to check whether these types are well formed."]
    pub assumed_wf_types: (),
    #[doc =
    " We need to store the assumed_wf_types for an RPITIT so that impls of foreign"]
    #[doc =
    " traits with return-position impl trait in traits can inherit the right wf types."]
    pub assumed_wf_types_for_rpitit: (),
    #[doc = " Computes the signature of the function."]
    pub fn_sig: (),
    #[doc = " Performs lint checking for the module."]
    pub lint_mod: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking unused trait imports in crate"]
    pub check_unused_traits: (),
    #[doc = " Checks the attributes in the module."]
    pub check_mod_attrs: (),
    #[doc = " Checks for uses of unstable APIs in the module."]
    pub check_mod_unstable_api_usage: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking privacy in  `describe_as_module(key.to_local_def_id(), tcx)` "]
    pub check_mod_privacy: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking liveness of variables in  `tcx.def_path_str(key.to_def_id())` "]
    pub check_liveness: (TypedArena<<&'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc = " Return the live symbols in the crate for dead code check."]
    #[doc = ""]
    #[doc =
    " The second return value maps from ADTs to ignored derived traits (e.g. Debug and Clone)."]
    pub live_symbols_and_ignored_derived_traits: (TypedArena<<&'tcx Result<(LocalDefIdSet,
    LocalDefIdMap<FxIndexSet<DefId>>), ErrorGuaranteed> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] checking deathness of variables in  `describe_as_module(key, tcx)` "]
    pub check_mod_deathness: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking that types are well-formed"]
    pub check_type_wf: (),
    #[doc = " Caches `CoerceUnsized` kinds for impls on custom types."]
    pub coerce_unsized_info: (),
    #[doc =
    "[query description - consider adding a doc-comment!] type-checking  `tcx.def_path_str(key)` "]
    pub typeck: (),
    #[doc =
    "[query description - consider adding a doc-comment!] finding used_trait_imports  `tcx.def_path_str(key)` "]
    pub used_trait_imports: (),
    #[doc =
    "[query description - consider adding a doc-comment!] coherence checking all impls of trait  `tcx.def_path_str(def_id)` "]
    pub coherent_trait: (),
    #[doc =
    " Borrow-checks the given typeck root, e.g. functions, const/static items,"]
    #[doc = " and its children, e.g. closures, inline consts."]
    pub mir_borrowck: (),
    #[doc = " Gets a complete map from all types to their inherent impls."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    pub crate_inherent_impls: (),
    #[doc =
    " Checks all types in the crate for overlap in their inherent impls. Reports errors."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    pub crate_inherent_impls_validity_check: (),
    #[doc =
    " Checks all types in the crate for overlap in their inherent impls. Reports errors."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    pub crate_inherent_impls_overlap_check: (),
    #[doc =
    " Checks whether all impls in the crate pass the overlap check, returning"]
    #[doc =
    " which impls fail it. If all impls are correct, the returned slice is empty."]
    pub orphan_check_impl: (),
    #[doc =
    " Return the set of (transitive) callees that may result in a recursive call to `key`,"]
    #[doc = " if we were able to walk all callees."]
    pub mir_callgraph_cyclic: (TypedArena<<&'tcx Option<UnordSet<LocalDefId>>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc = " Obtain all the calls into other local functions"]
    pub mir_inliner_callees: (),
    #[doc = " Computes the tag (if any) for a given type and variant."]
    #[doc = ""]
    #[doc =
    " `None` means that the variant doesn\'t need a tag (because it is niched)."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic for uninhabited variants and if the passed type is not an enum."]
    pub tag_for_variant: (),
    #[doc = " Evaluates a constant and returns the computed allocation."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::eval_to_const_value_raw`] or"]
    #[doc = " [`Self::eval_to_valtree`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    pub eval_to_allocation_raw: (),
    #[doc =
    " Evaluate a static\'s initializer, returning the allocation of the initializer\'s memory."]
    pub eval_static_initializer: (),
    #[doc =
    " Evaluates const items or anonymous constants[^1] into a representation"]
    #[doc = " suitable for the type system and const generics."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this** directly, use one of the following wrappers:"]
    #[doc = " [`TyCtxt::const_eval_poly`], [`TyCtxt::const_eval_resolve`],"]
    #[doc =
    " [`TyCtxt::const_eval_instance`], or [`TyCtxt::const_eval_global_id`]."]
    #[doc = ""]
    #[doc = " </div>"]
    #[doc = ""]
    #[doc =
    " [^1]: Such as enum variant explicit discriminants or array lengths."]
    pub eval_to_const_value_raw: (),
    #[doc = " Evaluate a constant and convert it to a type level constant or"]
    #[doc = " return `None` if that is not possible."]
    pub eval_to_valtree: (),
    #[doc =
    " Converts a type-level constant value into a MIR constant value."]
    pub valtree_to_const_val: (),
    #[doc =
    "[query description - consider adding a doc-comment!] converting literal to const"]
    pub lit_to_const: (),
    #[doc =
    "[query description - consider adding a doc-comment!] match-checking  `tcx.def_path_str(key)` "]
    pub check_match: (),
    #[doc =
    " Performs part of the privacy check and computes effective visibilities."]
    pub effective_visibilities: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking for private elements in public interfaces for  `describe_as_module(module_def_id, tcx)` "]
    pub check_private_in_public: (),
    #[doc =
    "[query description - consider adding a doc-comment!] reachability"]
    pub reachable_set: (TypedArena<<&'tcx LocalDefIdSet as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " Per-body `region::ScopeTree`. The `DefId` should be the owner `DefId` for the body;"]
    #[doc =
    " in the case of closures, this will be redirected to the enclosing function."]
    pub region_scope_tree: (),
    #[doc = " Generates a MIR body for the shim."]
    pub mir_shims: (TypedArena<<&'tcx mir::Body<'tcx> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc = " The `symbol_name` query provides the symbol name for calling a"]
    #[doc =
    " given instance from the local crate. In particular, it will also"]
    #[doc =
    " look up the correct symbol name of instances from upstream crates."]
    pub symbol_name: (),
    #[doc =
    "[query description - consider adding a doc-comment!] looking up definition kind of  `tcx.def_path_str(def_id)` "]
    pub def_kind: (),
    #[doc = " Gets the span for the definition."]
    pub def_span: (),
    #[doc = " Gets the span for the identifier of the definition."]
    pub def_ident_span: (),
    #[doc = " Gets the span for the type of the definition."]
    #[doc = " Panics if it is not a definition that has a single type."]
    pub ty_span: (),
    #[doc =
    "[query description - consider adding a doc-comment!] looking up stability of  `tcx.def_path_str(def_id)` "]
    pub lookup_stability: (),
    #[doc =
    "[query description - consider adding a doc-comment!] looking up const stability of  `tcx.def_path_str(def_id)` "]
    pub lookup_const_stability: (),
    #[doc =
    "[query description - consider adding a doc-comment!] looking up default body stability of  `tcx.def_path_str(def_id)` "]
    pub lookup_default_body_stability: (),
    #[doc =
    "[query description - consider adding a doc-comment!] computing should_inherit_track_caller of  `tcx.def_path_str(def_id)` "]
    pub should_inherit_track_caller: (),
    #[doc =
    "[query description - consider adding a doc-comment!] computing inherited_align of  `tcx.def_path_str(def_id)` "]
    pub inherited_align: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is deprecated"]
    pub lookup_deprecation_entry: (),
    #[doc = " Determines whether an item is annotated with `#[doc(hidden)]`."]
    pub is_doc_hidden: (),
    #[doc =
    " Determines whether an item is annotated with `#[doc(notable_trait)]`."]
    pub is_doc_notable_trait: (),
    #[doc = " Returns the attributes on the item at `def_id`."]
    #[doc = ""]
    #[doc = " Do not use this directly, use `tcx.get_attrs` instead."]
    pub attrs_for_def: (),
    #[doc = " Returns the `CodegenFnAttrs` for the item at `def_id`."]
    #[doc = ""]
    #[doc =
    " If possible, use `tcx.codegen_instance_attrs` instead. That function takes the"]
    #[doc = " instance kind into account."]
    #[doc = ""]
    #[doc =
    " For example, the `#[naked]` attribute should be applied for `InstanceKind::Item`,"]
    #[doc =
    " but should not be applied if the instance kind is `InstanceKind::ReifyShim`."]
    #[doc =
    " Using this query would include the attribute regardless of the actual instance"]
    #[doc = " kind at the call site."]
    pub codegen_fn_attrs: (TypedArena<<&'tcx CodegenFnAttrs as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] computing target features for inline asm of  `tcx.def_path_str(def_id)` "]
    pub asm_target_features: (),
    #[doc =
    "[query description - consider adding a doc-comment!] looking up function parameter identifiers for  `tcx.def_path_str(def_id)` "]
    pub fn_arg_idents: (),
    #[doc =
    " Gets the rendered value of the specified constant or associated constant."]
    #[doc = " Used by rustdoc."]
    pub rendered_const: (TypedArena<<&'tcx String as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " Gets the rendered precise capturing args for an opaque for use in rustdoc."]
    pub rendered_precise_capturing_args: (),
    #[doc =
    "[query description - consider adding a doc-comment!] computing specialization parent impl of  `tcx.def_path_str(def_id)` "]
    pub impl_parent: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking if item has CTFE MIR available:  `tcx.def_path_str(key)` "]
    pub is_ctfe_mir_available: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking if item has MIR available:  `tcx.def_path_str(key)` "]
    pub is_mir_available: (),
    #[doc =
    "[query description - consider adding a doc-comment!] finding all existential vtable entries for trait  `tcx.def_path_str(key)` "]
    pub own_existential_vtable_entries: (),
    #[doc =
    "[query description - consider adding a doc-comment!] finding all vtable entries for trait  `tcx.def_path_str(key.def_id)` "]
    pub vtable_entries: (),
    #[doc =
    "[query description - consider adding a doc-comment!] finding the slot within the vtable of  `key.self_ty()`  for the implementation of  `key.print_only_trait_name()` "]
    pub first_method_vtable_slot: (),
    #[doc =
    "[query description - consider adding a doc-comment!] finding the slot within vtable for trait object  `key.1`  vtable ptr during trait upcasting coercion from  `key.0`  vtable"]
    pub supertrait_vtable_slot: (),
    #[doc =
    "[query description - consider adding a doc-comment!] vtable const allocation for < `key.0`  as  `key.1.map(| trait_ref | format!\n(\"{trait_ref}\")).unwrap_or_else(| | \"_\".to_owned())` >"]
    pub vtable_allocation: (),
    #[doc =
    "[query description - consider adding a doc-comment!] computing candidate for  `key.value` "]
    pub codegen_select_candidate: (),
    #[doc = " Return all `impl` blocks in the current crate."]
    pub all_local_trait_impls: (),
    #[doc =
    " Return all `impl` blocks of the given trait in the current crate."]
    pub local_trait_impls: (),
    #[doc = " Given a trait `trait_id`, return all known `impl` blocks."]
    pub trait_impls_of: (TypedArena<<&'tcx ty::trait_def::TraitImpls as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] building specialization graph of trait  `tcx.def_path_str(trait_id)` "]
    pub specialization_graph_of: (),
    #[doc =
    "[query description - consider adding a doc-comment!] determining dyn-compatibility of trait  `tcx.def_path_str(trait_id)` "]
    pub dyn_compatibility_violations: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking if trait  `tcx.def_path_str(trait_id)`  is dyn-compatible"]
    pub is_dyn_compatible: (),
    #[doc =
    " Gets the ParameterEnvironment for a given item; this environment"]
    #[doc =
    " will be in \"user-facing\" mode, meaning that it is suitable for"]
    #[doc = " type-checking etc, and it does not normalize specializable"]
    #[doc = " associated types."]
    #[doc = ""]
    #[doc =
    " You should almost certainly not use this. If you already have an InferCtxt, then"]
    #[doc =
    " you should also probably have a `ParamEnv` from when it was built. If you don\'t,"]
    #[doc =
    " then you should take a `TypingEnv` to ensure that you handle opaque types correctly."]
    pub param_env: (),
    #[doc =
    " Like `param_env`, but returns the `ParamEnv` after all opaque types have been"]
    #[doc =
    " replaced with their hidden type. This is used in the old trait solver"]
    #[doc = " when in `PostAnalysis` mode and should not be called directly."]
    pub typing_env_normalized_for_post_analysis: (),
    #[doc =
    " Trait selection queries. These are best used by invoking `ty.is_copy_modulo_regions()`,"]
    #[doc =
    " `ty.is_copy()`, etc, since that will prune the environment where possible."]
    pub is_copy_raw: (),
    #[doc =
    " Trait selection queries. These are best used by invoking `ty.is_use_cloned_modulo_regions()`,"]
    #[doc =
    " `ty.is_use_cloned()`, etc, since that will prune the environment where possible."]
    pub is_use_cloned_raw: (),
    #[doc = " Query backing `Ty::is_sized`."]
    pub is_sized_raw: (),
    #[doc = " Query backing `Ty::is_freeze`."]
    pub is_freeze_raw: (),
    #[doc = " Query backing `Ty::is_unpin`."]
    pub is_unpin_raw: (),
    #[doc = " Query backing `Ty::is_async_drop`."]
    pub is_async_drop_raw: (),
    #[doc = " Query backing `Ty::needs_drop`."]
    pub needs_drop_raw: (),
    #[doc = " Query backing `Ty::needs_async_drop`."]
    pub needs_async_drop_raw: (),
    #[doc = " Query backing `Ty::has_significant_drop_raw`."]
    pub has_significant_drop_raw: (),
    #[doc = " Query backing `Ty::is_structural_eq_shallow`."]
    #[doc = ""]
    #[doc =
    " This is only correct for ADTs. Call `is_structural_eq_shallow` to handle all types"]
    #[doc = " correctly."]
    pub has_structural_eq_impl: (),
    #[doc =
    " A list of types where the ADT requires drop if and only if any of"]
    #[doc =
    " those types require drop. If the ADT is known to always need drop"]
    #[doc = " then `Err(AlwaysRequiresDrop)` is returned."]
    pub adt_drop_tys: (),
    #[doc =
    " A list of types where the ADT requires async drop if and only if any of"]
    #[doc =
    " those types require async drop. If the ADT is known to always need async drop"]
    #[doc = " then `Err(AlwaysRequiresDrop)` is returned."]
    pub adt_async_drop_tys: (),
    #[doc =
    " A list of types where the ADT requires drop if and only if any of those types"]
    #[doc =
    " has significant drop. A type marked with the attribute `rustc_insignificant_dtor`"]
    #[doc =
    " is considered to not be significant. A drop is significant if it is implemented"]
    #[doc =
    " by the user or does anything that will have any observable behavior (other than"]
    #[doc =
    " freeing up memory). If the ADT is known to have a significant destructor then"]
    #[doc = " `Err(AlwaysRequiresDrop)` is returned."]
    pub adt_significant_drop_tys: (),
    #[doc =
    " Returns a list of types which (a) have a potentially significant destructor"]
    #[doc =
    " and (b) may be dropped as a result of dropping a value of some type `ty`"]
    #[doc = " (in the given environment)."]
    #[doc = ""]
    #[doc =
    " The idea of \"significant\" drop is somewhat informal and is used only for"]
    #[doc =
    " diagnostics and edition migrations. The idea is that a significant drop may have"]
    #[doc =
    " some visible side-effect on execution; freeing memory is NOT considered a side-effect."]
    #[doc = " The rules are as follows:"]
    #[doc =
    " * Type with no explicit drop impl do not have significant drop."]
    #[doc =
    " * Types with a drop impl are assumed to have significant drop unless they have a `#[rustc_insignificant_dtor]` annotation."]
    #[doc = ""]
    #[doc =
    " Note that insignificant drop is a \"shallow\" property. A type like `Vec<LockGuard>` does not"]
    #[doc =
    " have significant drop but the type `LockGuard` does, and so if `ty  = Vec<LockGuard>`"]
    #[doc = " then the return value would be `&[LockGuard]`."]
    #[doc =
    " *IMPORTANT*: *DO NOT* run this query before promoted MIR body is constructed,"]
    #[doc = " because this query partially depends on that query."]
    #[doc = " Otherwise, there is a risk of query cycles."]
    pub list_significant_drop_tys: (),
    #[doc = " Computes the layout of a type. Note that this implicitly"]
    #[doc =
    " executes in `TypingMode::PostAnalysis`, and will normalize the input type."]
    pub layout_of: (),
    #[doc =
    " Compute a `FnAbi` suitable for indirect calls, i.e. to `fn` pointers."]
    #[doc = ""]
    #[doc =
    " NB: this doesn\'t handle virtual calls - those should use `fn_abi_of_instance`"]
    #[doc = " instead, where the instance is an `InstanceKind::Virtual`."]
    pub fn_abi_of_fn_ptr: (),
    #[doc =
    " Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for"]
    #[doc = " direct calls to an `fn`."]
    #[doc = ""]
    #[doc =
    " NB: that includes virtual calls, which are represented by \"direct calls\""]
    #[doc =
    " to an `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`)."]
    pub fn_abi_of_instance: (),
    #[doc =
    "[query description - consider adding a doc-comment!] getting dylib dependency formats of crate"]
    pub dylib_dependency_formats: (),
    #[doc =
    "[query description - consider adding a doc-comment!] getting the linkage format of all dependencies"]
    pub dependency_formats: (TypedArena<<&'tcx Arc<crate::middle::dependency_format::Dependencies>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate is_compiler_builtins"]
    pub is_compiler_builtins: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_global_allocator"]
    pub has_global_allocator: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_alloc_error_handler"]
    pub has_alloc_error_handler: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_panic_handler"]
    pub has_panic_handler: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking if a crate is `#![profiler_runtime]`"]
    pub is_profiler_runtime: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(key)`  contains FFI-unwind calls"]
    pub has_ffi_unwind_calls: (),
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's required panic strategy"]
    pub required_panic_strategy: (),
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's configured panic-in-drop strategy"]
    pub panic_in_drop_strategy: (),
    #[doc =
    "[query description - consider adding a doc-comment!] getting whether a crate has `#![no_builtins]`"]
    pub is_no_builtins: (),
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's symbol mangling version"]
    pub symbol_mangling_version: (),
    #[doc =
    "[query description - consider adding a doc-comment!] getting crate's ExternCrateData"]
    pub extern_crate: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether the crate enabled `specialization`/`min_specialization`"]
    pub specialization_enabled_in: (),
    #[doc =
    "[query description - consider adding a doc-comment!] computing whether impls specialize one another"]
    pub specializes: (),
    #[doc =
    "[query description - consider adding a doc-comment!] getting traits in scope at a block"]
    pub in_scope_traits_map: (),
    #[doc =
    " Returns whether the impl or associated function has the `default` keyword."]
    #[doc =
    " Note: This will ICE on inherent impl items. Consider using `AssocItem::defaultness`."]
    pub defaultness: (),
    #[doc =
    " Returns whether the field corresponding to the `DefId` has a default field value."]
    pub default_field: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking that  `tcx.def_path_str(key)`  is well-formed"]
    pub check_well_formed: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking that  `tcx.def_path_str(key)` 's generics are constrained by the impl header"]
    pub enforce_impl_non_lifetime_params_are_constrained: (),
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the exported symbols of a crate"]
    pub reachable_non_generics: (TypedArena<<&'tcx DefIdMap<SymbolExportInfo>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is an exported symbol"]
    pub is_reachable_non_generic: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is reachable from outside the crate"]
    pub is_unreachable_local_definition: (),
    #[doc = " The entire set of monomorphizations the local crate can safely"]
    #[doc = " link to because they are exported from upstream crates. Do"]
    #[doc = " not depend on this directly, as its value changes anytime"]
    #[doc = " a monomorphization gets added or removed in any upstream"]
    #[doc =
    " crate. Instead use the narrower `upstream_monomorphizations_for`,"]
    #[doc = " `upstream_drop_glue_for`, `upstream_async_drop_glue_for`, or,"]
    #[doc = " even better, `Instance::upstream_monomorphization()`."]
    pub upstream_monomorphizations: (TypedArena<<&'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>,
    CrateNum>> as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " Returns the set of upstream monomorphizations available for the"]
    #[doc =
    " generic function identified by the given `def_id`. The query makes"]
    #[doc =
    " sure to make a stable selection if the same monomorphization is"]
    #[doc = " available in multiple upstream crates."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    pub upstream_monomorphizations_for: (),
    #[doc =
    " Returns the upstream crate that exports drop-glue for the given"]
    #[doc =
    " type (`args` is expected to be a single-item list containing the"]
    #[doc = " type one wants drop-glue for)."]
    #[doc = ""]
    #[doc =
    " This is a subset of `upstream_monomorphizations_for` in order to"]
    #[doc =
    " increase dep-tracking granularity. Otherwise adding or removing any"]
    #[doc = " type with drop-glue in any upstream crate would invalidate all"]
    #[doc = " functions calling drop-glue of an upstream type."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    #[doc = ""]
    #[doc =
    " NOTE: This query could easily be extended to also support other"]
    #[doc =
    "       common functions that have are large set of monomorphizations"]
    #[doc = "       (like `Clone::clone` for example)."]
    pub upstream_drop_glue_for: (),
    #[doc = " Returns the upstream crate that exports async-drop-glue for"]
    #[doc = " the given type (`args` is expected to be a single-item list"]
    #[doc = " containing the type one wants async-drop-glue for)."]
    #[doc = ""]
    #[doc = " This is a subset of `upstream_monomorphizations_for` in order"]
    #[doc = " to increase dep-tracking granularity. Otherwise adding or"]
    #[doc = " removing any type with async-drop-glue in any upstream crate"]
    #[doc = " would invalidate all functions calling async-drop-glue of an"]
    #[doc = " upstream type."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    #[doc = ""]
    #[doc =
    " NOTE: This query could easily be extended to also support other"]
    #[doc =
    "       common functions that have are large set of monomorphizations"]
    #[doc = "       (like `Clone::clone` for example)."]
    pub upstream_async_drop_glue_for: (),
    #[doc = " Returns a list of all `extern` blocks of a crate."]
    pub foreign_modules: (TypedArena<<&'tcx FxIndexMap<DefId, ForeignModule>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " Lint against `extern fn` declarations having incompatible types."]
    pub clashing_extern_declarations: (),
    #[doc =
    " Identifies the entry-point (e.g., the `main` function) for a given"]
    #[doc =
    " crate, returning `None` if there is no entry point (such as for library crates)."]
    pub entry_fn: (),
    #[doc = " Finds the `rustc_proc_macro_decls` item of a crate."]
    pub proc_macro_decls_static: (),
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the hash a crate"]
    pub crate_hash: (),
    #[doc =
    " Gets the hash for the host proc macro. Used to support -Z dual-proc-macro."]
    pub crate_host_hash: (),
    #[doc =
    " Gets the extra data to put in each output filename for a crate."]
    #[doc =
    " For example, compiling the `foo` crate with `extra-filename=-a` creates a `libfoo-b.rlib` file."]
    pub extra_filename: (TypedArena<<&'tcx String as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc = " Gets the paths where the crate came from in the file system."]
    pub crate_extern_paths: (TypedArena<<&'tcx Vec<PathBuf> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " Given a crate and a trait, look up all impls of that trait in the crate."]
    #[doc = " Return `(impl_id, self_ty)`."]
    pub implementations_of_trait: (),
    #[doc = " Collects all incoherent impls for the given crate and type."]
    #[doc = ""]
    #[doc =
    " Do not call this directly, but instead use the `incoherent_impls` query."]
    #[doc =
    " This query is only used to get the data necessary for that query."]
    pub crate_incoherent_impls: (),
    #[doc =
    " Get the corresponding native library from the `native_libraries` query"]
    pub native_library: (),
    #[doc =
    "[query description - consider adding a doc-comment!] inheriting delegation signature"]
    pub inherit_sig_for_delegation_item: (),
    #[doc =
    " Does lifetime resolution on items. Importantly, we can\'t resolve"]
    #[doc =
    " lifetimes directly on things like trait methods, because of trait params."]
    #[doc = " See `rustc_resolve::late::lifetimes` for details."]
    pub resolve_bound_vars: (TypedArena<<&'tcx ResolveBoundVars as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] looking up a named region inside  `tcx.def_path_str(owner_id)` "]
    pub named_variable_map: (),
    #[doc =
    "[query description - consider adding a doc-comment!] testing if a region is late bound inside  `tcx.def_path_str(owner_id)` "]
    pub is_late_bound_map: (),
    #[doc =
    " Returns the *default lifetime* to be used if a trait object type were to be passed for"]
    #[doc = " the type parameter given by `DefId`."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_object_lifetime_default]` on an item to basically"]
    #[doc =
    " print the result of this query for use in UI tests or for debugging purposes."]
    #[doc = ""]
    #[doc = " # Examples"]
    #[doc = ""]
    #[doc =
    " - For `T` in `struct Foo<\'a, T: \'a>(&\'a T);`, this would be `Param(\'a)`"]
    #[doc =
    " - For `T` in `struct Bar<\'a, T>(&\'a T);`, this would be `Empty`"]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not a type parameter."]
    pub object_lifetime_default: (),
    #[doc =
    "[query description - consider adding a doc-comment!] looking up late bound vars inside  `tcx.def_path_str(owner_id)` "]
    pub late_bound_vars_map: (),
    #[doc =
    " For an opaque type, return the list of (captured lifetime, inner generic param)."]
    #[doc = " ```ignore (illustrative)"]
    #[doc =
    " fn foo<\'a: \'a, \'b, T>(&\'b u8) -> impl Into<Self> + \'b { ... }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " We would return `[(\'a, \'_a), (\'b, \'_b)]`, with `\'a` early-bound and `\'b` late-bound."]
    #[doc = ""]
    #[doc = " After hir_ty_lowering, we get:"]
    #[doc = " ```ignore (pseudo-code)"]
    #[doc = " opaque foo::<\'a>::opaque<\'_a, \'_b>: Into<Foo<\'_a>> + \'_b;"]
    #[doc = "                          ^^^^^^^^ inner generic params"]
    #[doc =
    " fn foo<\'a>: for<\'b> fn(&\'b u8) -> foo::<\'a>::opaque::<\'a, \'b>"]
    #[doc =
    "                                                       ^^^^^^ captured lifetimes"]
    #[doc = " ```"]
    pub opaque_captured_lifetimes: (),
    #[doc = " Computes the visibility of the provided `def_id`."]
    #[doc = ""]
    #[doc =
    " If the item from the `def_id` doesn\'t have a visibility, it will panic. For example"]
    #[doc =
    " a generic type parameter will panic if you call this method on it:"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " use std::fmt::Debug;"]
    #[doc = ""]
    #[doc = " pub trait Foo<T: Debug> {}"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc = " In here, if you call `visibility` on `T`, it\'ll panic."]
    pub visibility: (),
    #[doc =
    "[query description - consider adding a doc-comment!] computing the uninhabited predicate of `{:?}`"]
    pub inhabited_predicate_adt: (),
    #[doc =
    " Do not call this query directly: invoke `Ty::inhabited_predicate` instead."]
    pub inhabited_predicate_type: (),
    #[doc =
    "[query description - consider adding a doc-comment!] fetching what a dependency looks like"]
    pub dep_kind: (),
    #[doc = " Gets the name of the crate."]
    pub crate_name: (),
    #[doc =
    "[query description - consider adding a doc-comment!] collecting child items of module  `tcx.def_path_str(def_id)` "]
    pub module_children: (),
    #[doc = " Gets the number of definitions in a foreign crate."]
    #[doc = ""]
    #[doc =
    " This allows external tools to iterate over all definitions in a foreign crate."]
    #[doc = ""]
    #[doc =
    " This should never be used for the local crate, instead use `iter_local_def_id`."]
    pub num_extern_def_ids: (),
    #[doc =
    "[query description - consider adding a doc-comment!] calculating the lib features defined in a crate"]
    pub lib_features: (TypedArena<<&'tcx LibFeatures as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " Mapping from feature name to feature name based on the `implied_by` field of `#[unstable]`"]
    #[doc =
    " attributes. If a `#[unstable(feature = \"implier\", implied_by = \"impliee\")]` attribute"]
    #[doc = " exists, then this map will have a `impliee -> implier` entry."]
    #[doc = ""]
    #[doc =
    " This mapping is necessary unless both the `#[stable]` and `#[unstable]` attributes should"]
    #[doc =
    " specify their implications (both `implies` and `implied_by`). If only one of the two"]
    #[doc =
    " attributes do (as in the current implementation, `implied_by` in `#[unstable]`), then this"]
    #[doc =
    " mapping is necessary for diagnostics. When a \"unnecessary feature attribute\" error is"]
    #[doc =
    " reported, only the `#[stable]` attribute information is available, so the map is necessary"]
    #[doc =
    " to know that the feature implies another feature. If it were reversed, and the `#[stable]`"]
    #[doc =
    " attribute had an `implies` meta item, then a map would be necessary when avoiding a \"use of"]
    #[doc = " unstable feature\" error for a feature that was implied."]
    pub stability_implications: (TypedArena<<&'tcx UnordMap<Symbol, Symbol> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc = " Whether the function is an intrinsic"]
    pub intrinsic_raw: (),
    #[doc =
    " Returns the lang items defined in another crate by loading it from metadata."]
    pub get_lang_items: (TypedArena<<&'tcx LanguageItems as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc = " Returns all diagnostic items defined in all crates."]
    pub all_diagnostic_items: (TypedArena<<&'tcx rustc_hir::diagnostic_items::DiagnosticItems
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " Returns the lang items defined in another crate by loading it from metadata."]
    pub defined_lang_items: (),
    #[doc = " Returns the diagnostic items defined in a crate."]
    pub diagnostic_items: (TypedArena<<&'tcx rustc_hir::diagnostic_items::DiagnosticItems
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] calculating the missing lang items in a crate"]
    pub missing_lang_items: (),
    #[doc =
    " The visible parent map is a map from every item to a visible parent."]
    #[doc = " It prefers the shortest visible path to an item."]
    #[doc = " Used for diagnostics, for example path trimming."]
    #[doc = " The parents are modules, enums or traits."]
    pub visible_parent_map: (TypedArena<<&'tcx DefIdMap<DefId> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " Collects the \"trimmed\", shortest accessible paths to all items for diagnostics."]
    #[doc =
    " See the [provider docs](`rustc_middle::ty::print::trimmed_def_paths`) for more info."]
    pub trimmed_def_paths: (TypedArena<<&'tcx DefIdMap<Symbol> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] seeing if we're missing an `extern crate` item for this crate"]
    pub missing_extern_crate_item: (),
    #[doc =
    "[query description - consider adding a doc-comment!] looking at the source for a crate"]
    pub used_crate_source: (TypedArena<<&'tcx Arc<CrateSource> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc = " Returns the debugger visualizers defined for this crate."]
    #[doc =
    " NOTE: This query has to be marked `eval_always` because it reads data"]
    #[doc =
    "       directly from disk that is not tracked anywhere else. I.e. it"]
    #[doc = "       represents a genuine input to the query system."]
    pub debugger_visualizers: (TypedArena<<&'tcx Vec<DebuggerVisualizerFile>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] generating a postorder list of CrateNums"]
    pub postorder_cnums: (),
    #[doc = " Returns whether or not the crate with CrateNum \'cnum\'"]
    #[doc = " is marked as a private dependency"]
    pub is_private_dep: (),
    #[doc =
    "[query description - consider adding a doc-comment!] getting the allocator kind for the current crate"]
    pub allocator_kind: (),
    #[doc =
    "[query description - consider adding a doc-comment!] alloc error handler kind for the current crate"]
    pub alloc_error_handler_kind: (),
    #[doc =
    "[query description - consider adding a doc-comment!] collecting upvars mentioned in  `tcx.def_path_str(def_id)` "]
    pub upvars_mentioned: (),
    #[doc =
    " All available crates in the graph, including those that should not be user-facing"]
    #[doc = " (such as private crates)."]
    pub crates: (),
    #[doc =
    "[query description - consider adding a doc-comment!] fetching `CrateNum`s for all crates loaded non-speculatively"]
    pub used_crates: (),
    #[doc = " All crates that share the same name as crate `c`."]
    #[doc = ""]
    #[doc =
    " This normally occurs when multiple versions of the same dependency are present in the"]
    #[doc = " dependency tree."]
    pub duplicate_crate_names: (),
    #[doc =
    " A list of all traits in a crate, used by rustdoc and error reporting."]
    pub traits: (),
    #[doc =
    "[query description - consider adding a doc-comment!] fetching all trait impls in a crate"]
    pub trait_impls_in_crate: (),
    #[doc =
    "[query description - consider adding a doc-comment!] fetching the stable impl's order"]
    pub stable_order_of_exportable_impls: (),
    #[doc =
    "[query description - consider adding a doc-comment!] fetching all exportable items in a crate"]
    pub exportable_items: (),
    #[doc = " The list of non-generic symbols exported from the given crate."]
    #[doc = ""]
    #[doc = " This is separate from exported_generic_symbols to avoid having"]
    #[doc = " to deserialize all non-generic symbols too for upstream crates"]
    #[doc = " in the upstream_monomorphizations query."]
    #[doc = ""]
    #[doc =
    " - All names contained in `exported_non_generic_symbols(cnum)` are"]
    #[doc =
    "   guaranteed to correspond to a publicly visible symbol in `cnum`"]
    #[doc = "   machine code."]
    #[doc =
    " - The `exported_non_generic_symbols` and `exported_generic_symbols`"]
    #[doc = "   sets of different crates do not intersect."]
    pub exported_non_generic_symbols: (),
    #[doc = " The list of generic symbols exported from the given crate."]
    #[doc = ""]
    #[doc = " - All names contained in `exported_generic_symbols(cnum)` are"]
    #[doc =
    "   guaranteed to correspond to a publicly visible symbol in `cnum`"]
    #[doc = "   machine code."]
    #[doc =
    " - The `exported_non_generic_symbols` and `exported_generic_symbols`"]
    #[doc = "   sets of different crates do not intersect."]
    pub exported_generic_symbols: (),
    #[doc =
    "[query description - consider adding a doc-comment!] collect_and_partition_mono_items"]
    pub collect_and_partition_mono_items: (),
    #[doc =
    "[query description - consider adding a doc-comment!] determining whether  `tcx.def_path_str(def_id)`  needs codegen"]
    pub is_codegened_item: (),
    #[doc =
    "[query description - consider adding a doc-comment!] getting codegen unit `{sym}`"]
    pub codegen_unit: (),
    #[doc =
    "[query description - consider adding a doc-comment!] optimization level used by backend"]
    pub backend_optimization_level: (),
    #[doc = " Return the filenames where output artefacts shall be stored."]
    #[doc = ""]
    #[doc =
    " This query returns an `&Arc` because codegen backends need the value even after the `TyCtxt`"]
    #[doc = " has been destroyed."]
    pub output_filenames: (TypedArena<<&'tcx Arc<OutputFilenames> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    pub normalize_canonicalized_projection: (),
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    pub normalize_canonicalized_free_alias: (),
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    pub normalize_canonicalized_inherent_projection: (),
    #[doc =
    " Do not call this query directly: invoke `try_normalize_erasing_regions` instead."]
    pub try_normalize_generic_arg_after_erasing_regions: (),
    #[doc =
    "[query description - consider adding a doc-comment!] computing implied outlives bounds for  `key.0.canonical.value.value.ty`  (hack disabled = {:?})"]
    pub implied_outlives_bounds: (),
    #[doc = " Do not call this query directly:"]
    #[doc =
    " invoke `DropckOutlives::new(dropped_ty)).fully_perform(typeck.infcx)` instead."]
    pub dropck_outlives: (),
    #[doc =
    " Do not call this query directly: invoke `infcx.predicate_may_hold()` or"]
    #[doc = " `infcx.predicate_must_hold()` instead."]
    pub evaluate_obligation: (),
    #[doc = " Do not call this query directly: part of the `Eq` type-op"]
    pub type_op_ascribe_user_type: (),
    #[doc =
    " Do not call this query directly: part of the `ProvePredicate` type-op"]
    pub type_op_prove_predicate: (),
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    pub type_op_normalize_ty: (),
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    pub type_op_normalize_clause: (),
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    pub type_op_normalize_poly_fn_sig: (),
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    pub type_op_normalize_fn_sig: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking impossible instantiated predicates:  `tcx.def_path_str(key.0)` "]
    pub instantiate_and_check_impossible_predicates: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(key.1)`  is impossible to reference within  `tcx.def_path_str(key.0)` "]
    pub is_impossible_associated_item: (),
    #[doc =
    "[query description - consider adding a doc-comment!] computing autoderef types for  `goal.canonical.value.value.self_ty` "]
    pub method_autoderef_steps: (),
    #[doc = " Used by `-Znext-solver` to compute proof trees."]
    pub evaluate_root_goal_for_proof_tree_raw: (),
    #[doc =
    " Returns the Rust target features for the current target. These are not always the same as LLVM target features!"]
    pub rust_target_features: (TypedArena<<&'tcx UnordMap<String,
    rustc_target::target_features::Stability> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] looking up implied target features"]
    pub implied_target_features: (TypedArena<<&'tcx Vec<Symbol> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] looking up enabled feature gates"]
    pub features_query: (),
    #[doc =
    "[query description - consider adding a doc-comment!] the ast before macro expansion and name resolution"]
    pub crate_for_resolver: (),
    #[doc = " Attempt to resolve the given `DefId` to an `Instance`, for the"]
    #[doc = " given generics args (`GenericArgsRef`), returning one of:"]
    #[doc = "  * `Ok(Some(instance))` on success"]
    #[doc = "  * `Ok(None)` when the `GenericArgsRef` are still too generic,"]
    #[doc = "    and therefore don\'t allow finding the final `Instance`"]
    #[doc =
    "  * `Err(ErrorGuaranteed)` when the `Instance` resolution process"]
    #[doc =
    "    couldn\'t complete due to errors elsewhere - this is distinct"]
    #[doc =
    "    from `Ok(None)` to avoid misleading diagnostics when an error"]
    #[doc = "    has already been/will be emitted, for the original cause."]
    pub resolve_instance_raw: (),
    #[doc =
    "[query description - consider adding a doc-comment!] revealing opaque types in `{:?}`"]
    pub reveal_opaque_types_in_bounds: (),
    #[doc =
    "[query description - consider adding a doc-comment!] looking up limits"]
    pub limits: (),
    #[doc =
    " Performs an HIR-based well-formed check on the item with the given `HirId`. If"]
    #[doc =
    " we get an `Unimplemented` error that matches the provided `Predicate`, return"]
    #[doc = " the cause of the newly created obligation."]
    #[doc = ""]
    #[doc =
    " This is only used by error-reporting code to get a better cause (in particular, a better"]
    #[doc =
    " span) for an *existing* error. Therefore, it is best-effort, and may never handle"]
    #[doc =
    " all of the cases that the normal `ty::Ty`-based wfcheck does. This is fine,"]
    #[doc = " because the `ty::Ty`-based wfcheck is always run."]
    pub diagnostic_hir_wf_check: (TypedArena<<Option<&'tcx ObligationCause<'tcx>>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    " The list of backend features computed from CLI flags (`-Ctarget-cpu`, `-Ctarget-feature`,"]
    #[doc = " `--target` and similar)."]
    pub global_backend_features: (TypedArena<<&'tcx Vec<String> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] checking validity requirement for  `key.1.value` :  `key.0` "]
    pub check_validity_requirement: (),
    #[doc =
    " This takes the def-id of an associated item from a impl of a trait,"]
    #[doc =
    " and checks its validity against the trait item it corresponds to."]
    #[doc = ""]
    #[doc = " Any other def id will ICE."]
    pub compare_impl_item: (),
    #[doc =
    "[query description - consider adding a doc-comment!] deducing parameter attributes for  `tcx.def_path_str(def_id)` "]
    pub deduced_param_attrs: (),
    #[doc =
    "[query description - consider adding a doc-comment!] resolutions for documentation links for a module"]
    pub doc_link_resolutions: (),
    #[doc =
    "[query description - consider adding a doc-comment!] traits in scope for documentation links for a module"]
    pub doc_link_traits_in_scope: (),
    #[doc =
    " Get all item paths that were stripped by a `#[cfg]` in a particular crate."]
    #[doc =
    " Should not be called for the local crate before the resolver outputs are created, as it"]
    #[doc = " is only fed there."]
    pub stripped_cfg_items: (),
    #[doc =
    "[query description - consider adding a doc-comment!] check whether the item has a `where Self: Sized` bound"]
    pub generics_require_sized_self: (),
    #[doc =
    "[query description - consider adding a doc-comment!] whether the item should be made inlinable across crates"]
    pub cross_crate_inlinable: (),
    #[doc = " Perform monomorphization-time checking on this item."]
    #[doc =
    " This is used for lints/errors that can only be checked once the instance is fully"]
    #[doc = " monomorphized."]
    pub check_mono_item: (),
    #[doc =
    " Builds the set of functions that should be skipped for the move-size check."]
    pub skip_move_check_fns: (TypedArena<<&'tcx FxIndexSet<DefId> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
    #[doc =
    "[query description - consider adding a doc-comment!] collecting items used by  `key.0` "]
    pub items_of_instance: (),
    #[doc =
    "[query description - consider adding a doc-comment!] estimating codegen size of  `key` "]
    pub size_estimate: (),
    #[doc =
    "[query description - consider adding a doc-comment!] looking up anon const kind of  `tcx.def_path_str(def_id)` "]
    pub anon_const_kind: (),
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(def_id)`  is a trivial const"]
    pub trivial_const: (),
    #[doc = " Checks for the nearest `#[sanitize(xyz = \"off\")]` or"]
    #[doc =
    " `#[sanitize(xyz = \"on\")]` on this def and any enclosing defs, up to the"]
    #[doc = " crate root."]
    #[doc = ""]
    #[doc = " Returns the sanitizer settings for this def."]
    pub sanitizer_settings_for: (),
    #[doc =
    "[query description - consider adding a doc-comment!] check externally implementable items"]
    pub check_externally_implementable_items: (),
    #[doc = " Returns a list of all `externally implementable items` crate."]
    pub externally_implementable_items: (TypedArena<<&'tcx FxIndexMap<DefId,
    (EiiDecl, FxIndexMap<DefId, EiiImpl>)> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>),
}
impl Default for QueryArenas<'_> {
    fn default() -> Self {
        Self {
            derive_macro_expansion: (),
            trigger_delayed_bug: (),
            registered_tools: (Default::default()),
            early_lint_checks: (),
            env_var_os: (),
            resolutions: (),
            resolver_for_lowering_raw: (),
            source_span: (),
            hir_crate: (Default::default()),
            hir_crate_items: (Default::default()),
            hir_module_items: (Default::default()),
            local_def_id_to_hir_id: (),
            hir_owner_parent: (),
            opt_hir_owner_nodes: (),
            hir_attr_map: (),
            opt_ast_lowering_delayed_lints: (),
            const_param_default: (),
            const_of_item: (),
            type_of: (),
            type_of_opaque: (),
            type_of_opaque_hir_typeck: (),
            type_alias_is_lazy: (),
            collect_return_position_impl_trait_in_trait_tys: (),
            opaque_ty_origin: (),
            unsizing_params_for_adt: (Default::default()),
            analysis: (),
            check_expectations: (),
            generics_of: (Default::default()),
            predicates_of: (),
            opaque_types_defined_by: (),
            nested_bodies_within: (),
            explicit_item_bounds: (),
            explicit_item_self_bounds: (),
            item_bounds: (),
            item_self_bounds: (),
            item_non_self_bounds: (),
            impl_super_outlives: (),
            native_libraries: (Default::default()),
            shallow_lint_levels_on: (Default::default()),
            lint_expectations: (Default::default()),
            lints_that_dont_need_to_run: (Default::default()),
            expn_that_defined: (),
            is_panic_runtime: (),
            representability: (),
            representability_adt_ty: (),
            params_in_repr: (Default::default()),
            thir_body: (),
            mir_keys: (Default::default()),
            mir_const_qualif: (),
            mir_built: (),
            thir_abstract_const: (),
            mir_drops_elaborated_and_const_checked: (),
            mir_for_ctfe: (),
            mir_promoted: (),
            closure_typeinfo: (),
            closure_saved_names_of_captured_variables: (Default::default()),
            mir_coroutine_witnesses: (Default::default()),
            check_coroutine_obligations: (),
            check_potentially_region_dependent_goals: (),
            optimized_mir: (),
            coverage_attr_on: (),
            coverage_ids_info: (Default::default()),
            promoted_mir: (),
            erase_and_anonymize_regions_ty: (),
            wasm_import_module_map: (Default::default()),
            trait_explicit_predicates_and_bounds: (),
            explicit_predicates_of: (),
            inferred_outlives_of: (),
            explicit_super_predicates_of: (),
            explicit_implied_predicates_of: (),
            explicit_supertraits_containing_assoc_item: (),
            const_conditions: (),
            explicit_implied_const_bounds: (),
            type_param_predicates: (),
            trait_def: (Default::default()),
            adt_def: (),
            adt_destructor: (),
            adt_async_destructor: (),
            adt_sizedness_constraint: (),
            adt_dtorck_constraint: (),
            constness: (),
            asyncness: (),
            is_promotable_const_fn: (),
            coroutine_by_move_body_def_id: (),
            coroutine_kind: (),
            coroutine_for_closure: (),
            coroutine_hidden_types: (),
            crate_variances: (Default::default()),
            variances_of: (),
            inferred_outlives_crate: (Default::default()),
            associated_item_def_ids: (),
            associated_item: (),
            associated_items: (Default::default()),
            impl_item_implementor_ids: (Default::default()),
            associated_types_for_impl_traits_in_trait_or_impl: (Default::default()),
            impl_trait_header: (),
            impl_self_is_guaranteed_unsized: (),
            inherent_impls: (),
            incoherent_impls: (),
            check_transmutes: (),
            check_unsafety: (),
            check_tail_calls: (),
            assumed_wf_types: (),
            assumed_wf_types_for_rpitit: (),
            fn_sig: (),
            lint_mod: (),
            check_unused_traits: (),
            check_mod_attrs: (),
            check_mod_unstable_api_usage: (),
            check_mod_privacy: (),
            check_liveness: (Default::default()),
            live_symbols_and_ignored_derived_traits: (Default::default()),
            check_mod_deathness: (),
            check_type_wf: (),
            coerce_unsized_info: (),
            typeck: (),
            used_trait_imports: (),
            coherent_trait: (),
            mir_borrowck: (),
            crate_inherent_impls: (),
            crate_inherent_impls_validity_check: (),
            crate_inherent_impls_overlap_check: (),
            orphan_check_impl: (),
            mir_callgraph_cyclic: (Default::default()),
            mir_inliner_callees: (),
            tag_for_variant: (),
            eval_to_allocation_raw: (),
            eval_static_initializer: (),
            eval_to_const_value_raw: (),
            eval_to_valtree: (),
            valtree_to_const_val: (),
            lit_to_const: (),
            check_match: (),
            effective_visibilities: (),
            check_private_in_public: (),
            reachable_set: (Default::default()),
            region_scope_tree: (),
            mir_shims: (Default::default()),
            symbol_name: (),
            def_kind: (),
            def_span: (),
            def_ident_span: (),
            ty_span: (),
            lookup_stability: (),
            lookup_const_stability: (),
            lookup_default_body_stability: (),
            should_inherit_track_caller: (),
            inherited_align: (),
            lookup_deprecation_entry: (),
            is_doc_hidden: (),
            is_doc_notable_trait: (),
            attrs_for_def: (),
            codegen_fn_attrs: (Default::default()),
            asm_target_features: (),
            fn_arg_idents: (),
            rendered_const: (Default::default()),
            rendered_precise_capturing_args: (),
            impl_parent: (),
            is_ctfe_mir_available: (),
            is_mir_available: (),
            own_existential_vtable_entries: (),
            vtable_entries: (),
            first_method_vtable_slot: (),
            supertrait_vtable_slot: (),
            vtable_allocation: (),
            codegen_select_candidate: (),
            all_local_trait_impls: (),
            local_trait_impls: (),
            trait_impls_of: (Default::default()),
            specialization_graph_of: (),
            dyn_compatibility_violations: (),
            is_dyn_compatible: (),
            param_env: (),
            typing_env_normalized_for_post_analysis: (),
            is_copy_raw: (),
            is_use_cloned_raw: (),
            is_sized_raw: (),
            is_freeze_raw: (),
            is_unpin_raw: (),
            is_async_drop_raw: (),
            needs_drop_raw: (),
            needs_async_drop_raw: (),
            has_significant_drop_raw: (),
            has_structural_eq_impl: (),
            adt_drop_tys: (),
            adt_async_drop_tys: (),
            adt_significant_drop_tys: (),
            list_significant_drop_tys: (),
            layout_of: (),
            fn_abi_of_fn_ptr: (),
            fn_abi_of_instance: (),
            dylib_dependency_formats: (),
            dependency_formats: (Default::default()),
            is_compiler_builtins: (),
            has_global_allocator: (),
            has_alloc_error_handler: (),
            has_panic_handler: (),
            is_profiler_runtime: (),
            has_ffi_unwind_calls: (),
            required_panic_strategy: (),
            panic_in_drop_strategy: (),
            is_no_builtins: (),
            symbol_mangling_version: (),
            extern_crate: (),
            specialization_enabled_in: (),
            specializes: (),
            in_scope_traits_map: (),
            defaultness: (),
            default_field: (),
            check_well_formed: (),
            enforce_impl_non_lifetime_params_are_constrained: (),
            reachable_non_generics: (Default::default()),
            is_reachable_non_generic: (),
            is_unreachable_local_definition: (),
            upstream_monomorphizations: (Default::default()),
            upstream_monomorphizations_for: (),
            upstream_drop_glue_for: (),
            upstream_async_drop_glue_for: (),
            foreign_modules: (Default::default()),
            clashing_extern_declarations: (),
            entry_fn: (),
            proc_macro_decls_static: (),
            crate_hash: (),
            crate_host_hash: (),
            extra_filename: (Default::default()),
            crate_extern_paths: (Default::default()),
            implementations_of_trait: (),
            crate_incoherent_impls: (),
            native_library: (),
            inherit_sig_for_delegation_item: (),
            resolve_bound_vars: (Default::default()),
            named_variable_map: (),
            is_late_bound_map: (),
            object_lifetime_default: (),
            late_bound_vars_map: (),
            opaque_captured_lifetimes: (),
            visibility: (),
            inhabited_predicate_adt: (),
            inhabited_predicate_type: (),
            dep_kind: (),
            crate_name: (),
            module_children: (),
            num_extern_def_ids: (),
            lib_features: (Default::default()),
            stability_implications: (Default::default()),
            intrinsic_raw: (),
            get_lang_items: (Default::default()),
            all_diagnostic_items: (Default::default()),
            defined_lang_items: (),
            diagnostic_items: (Default::default()),
            missing_lang_items: (),
            visible_parent_map: (Default::default()),
            trimmed_def_paths: (Default::default()),
            missing_extern_crate_item: (),
            used_crate_source: (Default::default()),
            debugger_visualizers: (Default::default()),
            postorder_cnums: (),
            is_private_dep: (),
            allocator_kind: (),
            alloc_error_handler_kind: (),
            upvars_mentioned: (),
            crates: (),
            used_crates: (),
            duplicate_crate_names: (),
            traits: (),
            trait_impls_in_crate: (),
            stable_order_of_exportable_impls: (),
            exportable_items: (),
            exported_non_generic_symbols: (),
            exported_generic_symbols: (),
            collect_and_partition_mono_items: (),
            is_codegened_item: (),
            codegen_unit: (),
            backend_optimization_level: (),
            output_filenames: (Default::default()),
            normalize_canonicalized_projection: (),
            normalize_canonicalized_free_alias: (),
            normalize_canonicalized_inherent_projection: (),
            try_normalize_generic_arg_after_erasing_regions: (),
            implied_outlives_bounds: (),
            dropck_outlives: (),
            evaluate_obligation: (),
            type_op_ascribe_user_type: (),
            type_op_prove_predicate: (),
            type_op_normalize_ty: (),
            type_op_normalize_clause: (),
            type_op_normalize_poly_fn_sig: (),
            type_op_normalize_fn_sig: (),
            instantiate_and_check_impossible_predicates: (),
            is_impossible_associated_item: (),
            method_autoderef_steps: (),
            evaluate_root_goal_for_proof_tree_raw: (),
            rust_target_features: (Default::default()),
            implied_target_features: (Default::default()),
            features_query: (),
            crate_for_resolver: (),
            resolve_instance_raw: (),
            reveal_opaque_types_in_bounds: (),
            limits: (),
            diagnostic_hir_wf_check: (Default::default()),
            global_backend_features: (Default::default()),
            check_validity_requirement: (),
            compare_impl_item: (),
            deduced_param_attrs: (),
            doc_link_resolutions: (),
            doc_link_traits_in_scope: (),
            stripped_cfg_items: (),
            generics_require_sized_self: (),
            cross_crate_inlinable: (),
            check_mono_item: (),
            skip_move_check_fns: (Default::default()),
            items_of_instance: (),
            size_estimate: (),
            anon_const_kind: (),
            trivial_const: (),
            sanitizer_settings_for: (),
            check_externally_implementable_items: (),
            externally_implementable_items: (Default::default()),
        }
    }
}
pub struct QueryCaches<'tcx> {
    #[doc =
    " Caches the expansion of a derive proc macro, e.g. `#[derive(Serialize)]`."]
    #[doc = " The key is:"]
    #[doc = " - A unique key corresponding to the invocation of a macro."]
    #[doc = " - Token stream which serves as an input to the macro."]
    #[doc = ""]
    #[doc = " The output is the token stream generated by the proc macro."]
    pub derive_macro_expansion: queries::derive_macro_expansion::Storage<'tcx>,
    #[doc =
    " This exists purely for testing the interactions between delayed bugs and incremental."]
    pub trigger_delayed_bug: queries::trigger_delayed_bug::Storage<'tcx>,
    #[doc =
    " Collects the list of all tools registered using `#![register_tool]`."]
    pub registered_tools: queries::registered_tools::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] perform lints prior to AST lowering"]
    pub early_lint_checks: queries::early_lint_checks::Storage<'tcx>,
    #[doc = " Tracked access to environment variables."]
    #[doc = ""]
    #[doc =
    " Useful for the implementation of `std::env!`, `proc-macro`s change"]
    #[doc =
    " detection and other changes in the compiler\'s behaviour that is easier"]
    #[doc = " to control with an environment variable than a flag."]
    #[doc = ""]
    #[doc = " NOTE: This currently does not work with dependency info in the"]
    #[doc =
    " analysis, codegen and linking passes, place extra code at the top of"]
    #[doc = " `rustc_interface::passes::write_dep_info` to make that work."]
    pub env_var_os: queries::env_var_os::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] getting the resolver outputs"]
    pub resolutions: queries::resolutions::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] getting the resolver for lowering"]
    pub resolver_for_lowering_raw: queries::resolver_for_lowering_raw::Storage<'tcx>,
    #[doc = " Return the span for a definition."]
    #[doc = ""]
    #[doc =
    " Contrary to `def_span` below, this query returns the full absolute span of the definition."]
    #[doc =
    " This span is meant for dep-tracking rather than diagnostics. It should not be used outside"]
    #[doc = " of rustc_middle::hir::source_map."]
    pub source_span: queries::source_span::Storage<'tcx>,
    #[doc =
    " Represents crate as a whole (as distinct from the top-level crate module)."]
    #[doc = ""]
    #[doc =
    " If you call `tcx.hir_crate(())` we will have to assume that any change"]
    #[doc =
    " means that you need to be recompiled. This is because the `hir_crate`"]
    #[doc =
    " query gives you access to all other items. To avoid this fate, do not"]
    #[doc = " call `tcx.hir_crate(())`; instead, prefer wrappers like"]
    #[doc = " [`TyCtxt::hir_visit_all_item_likes_in_crate`]."]
    pub hir_crate: queries::hir_crate::Storage<'tcx>,
    #[doc = " All items in the crate."]
    pub hir_crate_items: queries::hir_crate_items::Storage<'tcx>,
    #[doc = " The items in a module."]
    #[doc = ""]
    #[doc =
    " This can be conveniently accessed by `tcx.hir_visit_item_likes_in_module`."]
    #[doc = " Avoid calling this query directly."]
    pub hir_module_items: queries::hir_module_items::Storage<'tcx>,
    #[doc = " Returns HIR ID for the given `LocalDefId`."]
    pub local_def_id_to_hir_id: queries::local_def_id_to_hir_id::Storage<'tcx>,
    #[doc =
    " Gives access to the HIR node\'s parent for the HIR owner `key`."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    pub hir_owner_parent: queries::hir_owner_parent::Storage<'tcx>,
    #[doc =
    " Gives access to the HIR nodes and bodies inside `key` if it\'s a HIR owner."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    pub opt_hir_owner_nodes: queries::opt_hir_owner_nodes::Storage<'tcx>,
    #[doc = " Gives access to the HIR attributes inside the HIR owner `key`."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    pub hir_attr_map: queries::hir_attr_map::Storage<'tcx>,
    #[doc = " Gives access to lints emitted during ast lowering."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    pub opt_ast_lowering_delayed_lints: queries::opt_ast_lowering_delayed_lints::Storage<'tcx>,
    #[doc =
    " Returns the *default* of the const pararameter given by `DefId`."]
    #[doc = ""]
    #[doc =
    " E.g., given `struct Ty<const N: usize = 3>;` this returns `3` for `N`."]
    pub const_param_default: queries::const_param_default::Storage<'tcx>,
    #[doc =
    " Returns the const of the RHS of a (free or assoc) const item, if it is a `#[type_const]`."]
    #[doc = ""]
    #[doc =
    " When a const item is used in a type-level expression, like in equality for an assoc const"]
    #[doc =
    " projection, this allows us to retrieve the typesystem-appropriate representation of the"]
    #[doc = " const value."]
    #[doc = ""]
    #[doc =
    " This query will ICE if given a const that is not marked with `#[type_const]`."]
    pub const_of_item: queries::const_of_item::Storage<'tcx>,
    #[doc = " Returns the *type* of the definition given by `DefId`."]
    #[doc = ""]
    #[doc =
    " For type aliases (whether eager or lazy) and associated types, this returns"]
    #[doc =
    " the underlying aliased type (not the corresponding [alias type])."]
    #[doc = ""]
    #[doc =
    " For opaque types, this returns and thus reveals the hidden type! If you"]
    #[doc = " want to detect cycle errors use `type_of_opaque` instead."]
    #[doc = ""]
    #[doc =
    " To clarify, for type definitions, this does *not* return the \"type of a type\""]
    #[doc =
    " (aka *kind* or *sort*) in the type-theoretical sense! It merely returns"]
    #[doc = " the type primarily *associated with* it."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition doesn\'t (and can\'t"]
    #[doc = " conceptually) have an (underlying) type."]
    #[doc = ""]
    #[doc = " [alias type]: rustc_middle::ty::AliasTy"]
    pub type_of: queries::type_of::Storage<'tcx>,
    #[doc =
    " Returns the *hidden type* of the opaque type given by `DefId` unless a cycle occurred."]
    #[doc = ""]
    #[doc =
    " This is a specialized instance of [`Self::type_of`] that detects query cycles."]
    #[doc =
    " Unless `CyclePlaceholder` needs to be handled separately, call [`Self::type_of`] instead."]
    #[doc =
    " This is used to improve the error message in cases where revealing the hidden type"]
    #[doc = " for auto-trait leakage cycles."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not an opaque type."]
    pub type_of_opaque: queries::type_of_opaque::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing type of opaque `{path}` via HIR typeck"]
    pub type_of_opaque_hir_typeck: queries::type_of_opaque_hir_typeck::Storage<'tcx>,
    #[doc = " Returns whether the type alias given by `DefId` is lazy."]
    #[doc = ""]
    #[doc =
    " I.e., if the type alias expands / ought to expand to a [free] [alias type]"]
    #[doc = " instead of the underlying aliased type."]
    #[doc = ""]
    #[doc =
    " Relevant for features `lazy_type_alias` and `type_alias_impl_trait`."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query *may* panic if the given definition is not a type alias."]
    #[doc = ""]
    #[doc = " [free]: rustc_middle::ty::Free"]
    #[doc = " [alias type]: rustc_middle::ty::AliasTy"]
    pub type_alias_is_lazy: queries::type_alias_is_lazy::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] comparing an impl and trait method signature, inferring any hidden `impl Trait` types in the process"]
    pub collect_return_position_impl_trait_in_trait_tys: queries::collect_return_position_impl_trait_in_trait_tys::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] determine where the opaque originates from"]
    pub opaque_ty_origin: queries::opaque_ty_origin::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] determining what parameters of  `tcx.def_path_str(key)`  can participate in unsizing"]
    pub unsizing_params_for_adt: queries::unsizing_params_for_adt::Storage<'tcx>,
    #[doc =
    " The root query triggering all analysis passes like typeck or borrowck."]
    pub analysis: queries::analysis::Storage<'tcx>,
    #[doc =
    " This query checks the fulfillment of collected lint expectations."]
    #[doc =
    " All lint emitting queries have to be done before this is executed"]
    #[doc = " to ensure that all expectations can be fulfilled."]
    #[doc = ""]
    #[doc =
    " This is an extra query to enable other drivers (like rustdoc) to"]
    #[doc =
    " only execute a small subset of the `analysis` query, while allowing"]
    #[doc =
    " lints to be expected. In rustc, this query will be executed as part of"]
    #[doc =
    " the `analysis` query and doesn\'t have to be called a second time."]
    #[doc = ""]
    #[doc =
    " Tools can additionally pass in a tool filter. That will restrict the"]
    #[doc =
    " expectations to only trigger for lints starting with the listed tool"]
    #[doc =
    " name. This is useful for cases were not all linting code from rustc"]
    #[doc =
    " was called. With the default `None` all registered lints will also"]
    #[doc = " be checked for expectation fulfillment."]
    pub check_expectations: queries::check_expectations::Storage<'tcx>,
    #[doc = " Returns the *generics* of the definition given by `DefId`."]
    pub generics_of: queries::generics_of::Storage<'tcx>,
    #[doc =
    " Returns the (elaborated) *predicates* of the definition given by `DefId`"]
    #[doc =
    " that must be proven true at usage sites (and which can be assumed at definition site)."]
    #[doc = ""]
    #[doc =
    " This is almost always *the* \"predicates query\" that you want."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_dump_predicates]` on an item to basically print"]
    #[doc =
    " the result of this query for use in UI tests or for debugging purposes."]
    pub predicates_of: queries::predicates_of::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing the opaque types defined by  `tcx.def_path_str(key.to_def_id())` "]
    pub opaque_types_defined_by: queries::opaque_types_defined_by::Storage<'tcx>,
    #[doc =
    " A list of all bodies inside of `key`, nested bodies are always stored"]
    #[doc = " before their parent."]
    pub nested_bodies_within: queries::nested_bodies_within::Storage<'tcx>,
    #[doc =
    " Returns the explicitly user-written *bounds* on the associated or opaque type given by `DefId`"]
    #[doc =
    " that must be proven true at definition site (and which can be assumed at usage sites)."]
    #[doc = ""]
    #[doc =
    " For associated types, these must be satisfied for an implementation"]
    #[doc =
    " to be well-formed, and for opaque types, these are required to be"]
    #[doc = " satisfied by the hidden type of the opaque."]
    #[doc = ""]
    #[doc =
    " Bounds from the parent (e.g. with nested `impl Trait`) are not included."]
    #[doc = ""]
    #[doc =
    " Syntactially, these are the bounds written on associated types in trait"]
    #[doc = " definitions, or those after the `impl` keyword for an opaque:"]
    #[doc = ""]
    #[doc = " ```ignore (illustrative)"]
    #[doc = " trait Trait { type X: Bound + \'lt; }"]
    #[doc = " //                    ^^^^^^^^^^^"]
    #[doc = " fn function() -> impl Debug + Display { /*...*/ }"]
    #[doc = " //                    ^^^^^^^^^^^^^^^"]
    #[doc = " ```"]
    pub explicit_item_bounds: queries::explicit_item_bounds::Storage<'tcx>,
    #[doc =
    " Returns the explicitly user-written *bounds* that share the `Self` type of the item."]
    #[doc = ""]
    #[doc =
    " These are a subset of the [explicit item bounds] that may explicitly be used for things"]
    #[doc = " like closure signature deduction."]
    #[doc = ""]
    #[doc = " [explicit item bounds]: Self::explicit_item_bounds"]
    pub explicit_item_self_bounds: queries::explicit_item_self_bounds::Storage<'tcx>,
    #[doc =
    " Returns the (elaborated) *bounds* on the associated or opaque type given by `DefId`"]
    #[doc =
    " that must be proven true at definition site (and which can be assumed at usage sites)."]
    #[doc = ""]
    #[doc =
    " Bounds from the parent (e.g. with nested `impl Trait`) are not included."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_dump_item_bounds]` on an item to basically print"]
    #[doc =
    " the result of this query for use in UI tests or for debugging purposes."]
    #[doc = ""]
    #[doc = " # Examples"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait Trait { type Assoc: Eq + ?Sized; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " While [`Self::explicit_item_bounds`] returns `[<Self as Trait>::Assoc: Eq]`"]
    #[doc = " here, `item_bounds` returns:"]
    #[doc = ""]
    #[doc = " ```text"]
    #[doc = " ["]
    #[doc = "     <Self as Trait>::Assoc: Eq,"]
    #[doc = "     <Self as Trait>::Assoc: PartialEq<<Self as Trait>::Assoc>"]
    #[doc = " ]"]
    #[doc = " ```"]
    pub item_bounds: queries::item_bounds::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating item assumptions for  `tcx.def_path_str(key)` "]
    pub item_self_bounds: queries::item_self_bounds::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating item assumptions for  `tcx.def_path_str(key)` "]
    pub item_non_self_bounds: queries::item_non_self_bounds::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating supertrait outlives for trait of  `tcx.def_path_str(key)` "]
    pub impl_super_outlives: queries::impl_super_outlives::Storage<'tcx>,
    #[doc = " Look up all native libraries this crate depends on."]
    #[doc = " These are assembled from the following places:"]
    #[doc = " - `extern` blocks (depending on their `link` attributes)"]
    #[doc = " - the `libs` (`-l`) option"]
    pub native_libraries: queries::native_libraries::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] looking up lint levels for  `tcx.def_path_str(key)` "]
    pub shallow_lint_levels_on: queries::shallow_lint_levels_on::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing `#[expect]`ed lints in this crate"]
    pub lint_expectations: queries::lint_expectations::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] Computing all lints that are explicitly enabled or with a default level greater than Allow"]
    pub lints_that_dont_need_to_run: queries::lints_that_dont_need_to_run::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] getting the expansion that defined  `tcx.def_path_str(key)` "]
    pub expn_that_defined: queries::expn_that_defined::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate is_panic_runtime"]
    pub is_panic_runtime: queries::is_panic_runtime::Storage<'tcx>,
    #[doc = " Checks whether a type is representable or infinitely sized"]
    pub representability: queries::representability::Storage<'tcx>,
    #[doc = " An implementation detail for the `representability` query"]
    pub representability_adt_ty: queries::representability_adt_ty::Storage<'tcx>,
    #[doc =
    " Set of param indexes for type params that are in the type\'s representation"]
    pub params_in_repr: queries::params_in_repr::Storage<'tcx>,
    #[doc =
    " Fetch the THIR for a given body. The THIR body gets stolen by unsafety checking unless"]
    #[doc = " `-Zno-steal-thir` is on."]
    pub thir_body: queries::thir_body::Storage<'tcx>,
    #[doc =
    " Set of all the `DefId`s in this crate that have MIR associated with"]
    #[doc =
    " them. This includes all the body owners, but also things like struct"]
    #[doc = " constructors."]
    pub mir_keys: queries::mir_keys::Storage<'tcx>,
    #[doc =
    " Maps DefId\'s that have an associated `mir::Body` to the result"]
    #[doc = " of the MIR const-checking pass. This is the set of qualifs in"]
    #[doc = " the final value of a `const`."]
    pub mir_const_qualif: queries::mir_const_qualif::Storage<'tcx>,
    #[doc =
    " Build the MIR for a given `DefId` and prepare it for const qualification."]
    #[doc = ""]
    #[doc = " See the [rustc dev guide] for more info."]
    #[doc = ""]
    #[doc =
    " [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/mir/construction.html"]
    pub mir_built: queries::mir_built::Storage<'tcx>,
    #[doc = " Try to build an abstract representation of the given constant."]
    pub thir_abstract_const: queries::thir_abstract_const::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating drops for  `tcx.def_path_str(key)` "]
    pub mir_drops_elaborated_and_const_checked: queries::mir_drops_elaborated_and_const_checked::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] caching mir of  `tcx.def_path_str(key)`  for CTFE"]
    pub mir_for_ctfe: queries::mir_for_ctfe::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] promoting constants in MIR for  `tcx.def_path_str(key)` "]
    pub mir_promoted: queries::mir_promoted::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] finding symbols for captures of closure  `tcx.def_path_str(key)` "]
    pub closure_typeinfo: queries::closure_typeinfo::Storage<'tcx>,
    #[doc = " Returns names of captured upvars for closures and coroutines."]
    #[doc = ""]
    #[doc = " Here are some examples:"]
    #[doc = "  - `name__field1__field2` when the upvar is captured by value."]
    #[doc =
    "  - `_ref__name__field` when the upvar is captured by reference."]
    #[doc = ""]
    #[doc =
    " For coroutines this only contains upvars that are shared by all states."]
    pub closure_saved_names_of_captured_variables: queries::closure_saved_names_of_captured_variables::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] coroutine witness types for  `tcx.def_path_str(key)` "]
    pub mir_coroutine_witnesses: queries::mir_coroutine_witnesses::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] verify auto trait bounds for coroutine interior type  `tcx.def_path_str(key)` "]
    pub check_coroutine_obligations: queries::check_coroutine_obligations::Storage<'tcx>,
    #[doc =
    " Used in case `mir_borrowck` fails to prove an obligation. We generally assume that"]
    #[doc =
    " all goals we prove in MIR type check hold as we\'ve already checked them in HIR typeck."]
    #[doc = ""]
    #[doc =
    " However, we replace each free region in the MIR body with a unique region inference"]
    #[doc =
    " variable. As we may rely on structural identity when proving goals this may cause a"]
    #[doc =
    " goal to no longer hold. We store obligations for which this may happen during HIR"]
    #[doc =
    " typeck in the `TypeckResults`. We then uniquify and reprove them in case MIR typeck"]
    #[doc =
    " encounters an unexpected error. We expect this to result in an error when used and"]
    #[doc = " delay a bug if it does not."]
    pub check_potentially_region_dependent_goals: queries::check_potentially_region_dependent_goals::Storage<'tcx>,
    #[doc =
    " MIR after our optimization passes have run. This is MIR that is ready"]
    #[doc =
    " for codegen. This is also the only query that can fetch non-local MIR, at present."]
    pub optimized_mir: queries::optimized_mir::Storage<'tcx>,
    #[doc =
    " Checks for the nearest `#[coverage(off)]` or `#[coverage(on)]` on"]
    #[doc = " this def and any enclosing defs, up to the crate root."]
    #[doc = ""]
    #[doc = " Returns `false` if `#[coverage(off)]` was found, or `true` if"]
    #[doc = " either `#[coverage(on)]` or no coverage attribute was found."]
    pub coverage_attr_on: queries::coverage_attr_on::Storage<'tcx>,
    #[doc =
    " Scans through a function\'s MIR after MIR optimizations, to prepare the"]
    #[doc =
    " information needed by codegen when `-Cinstrument-coverage` is active."]
    #[doc = ""]
    #[doc =
    " This includes the details of where to insert `llvm.instrprof.increment`"]
    #[doc =
    " intrinsics, and the expression tables to be embedded in the function\'s"]
    #[doc = " coverage metadata."]
    #[doc = ""]
    #[doc =
    " FIXME(Zalathar): This query\'s purpose has drifted a bit and should"]
    #[doc =
    " probably be renamed, but that can wait until after the potential"]
    #[doc = " follow-ups to #136053 have settled down."]
    #[doc = ""]
    #[doc = " Returns `None` for functions that were not instrumented."]
    pub coverage_ids_info: queries::coverage_ids_info::Storage<'tcx>,
    #[doc =
    " The `DefId` is the `DefId` of the containing MIR body. Promoteds do not have their own"]
    #[doc =
    " `DefId`. This function returns all promoteds in the specified body. The body references"]
    #[doc =
    " promoteds by the `DefId` and the `mir::Promoted` index. This is necessary, because"]
    #[doc =
    " after inlining a body may refer to promoteds from other bodies. In that case you still"]
    #[doc = " need to use the `DefId` of the original body."]
    pub promoted_mir: queries::promoted_mir::Storage<'tcx>,
    #[doc = " Erases regions from `ty` to yield a new type."]
    #[doc =
    " Normally you would just use `tcx.erase_and_anonymize_regions(value)`,"]
    #[doc = " however, which uses this query as a kind of cache."]
    pub erase_and_anonymize_regions_ty: queries::erase_and_anonymize_regions_ty::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] getting wasm import module map"]
    pub wasm_import_module_map: queries::wasm_import_module_map::Storage<'tcx>,
    #[doc =
    " Returns the explicitly user-written *predicates and bounds* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc = " Traits are unusual, because predicates on associated types are"]
    #[doc =
    " converted into bounds on that type for backwards compatibility:"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait X where Self::U: Copy { type U; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc = " becomes"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait X { type U: Copy; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " [`Self::explicit_predicates_of`] and [`Self::explicit_item_bounds`] will"]
    #[doc = " then take the appropriate subsets of the predicates here."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc = " This query will panic if the given definition is not a trait."]
    pub trait_explicit_predicates_and_bounds: queries::trait_explicit_predicates_and_bounds::Storage<'tcx>,
    #[doc =
    " Returns the explicitly user-written *predicates* of the definition given by `DefId`"]
    #[doc =
    " that must be proven true at usage sites (and which can be assumed at definition site)."]
    #[doc = ""]
    #[doc =
    " You should probably use [`Self::predicates_of`] unless you\'re looking for"]
    #[doc = " predicates with explicit spans for diagnostics purposes."]
    pub explicit_predicates_of: queries::explicit_predicates_of::Storage<'tcx>,
    #[doc =
    " Returns the *inferred outlives-predicates* of the item given by `DefId`."]
    #[doc = ""]
    #[doc =
    " E.g., for `struct Foo<\'a, T> { x: &\'a T }`, this would return `[T: \'a]`."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_outlives]` on an item to basically print the"]
    #[doc =
    " result of this query for use in UI tests or for debugging purposes."]
    pub inferred_outlives_of: queries::inferred_outlives_of::Storage<'tcx>,
    #[doc =
    " Returns the explicitly user-written *super-predicates* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc =
    " These predicates are unelaborated and consequently don\'t contain transitive super-predicates."]
    #[doc = ""]
    #[doc =
    " This is a subset of the full list of predicates. We store these in a separate map"]
    #[doc =
    " because we must evaluate them even during type conversion, often before the full"]
    #[doc =
    " predicates are available (note that super-predicates must not be cyclic)."]
    pub explicit_super_predicates_of: queries::explicit_super_predicates_of::Storage<'tcx>,
    #[doc =
    " The predicates of the trait that are implied during elaboration."]
    #[doc = ""]
    #[doc =
    " This is a superset of the super-predicates of the trait, but a subset of the predicates"]
    #[doc =
    " of the trait. For regular traits, this includes all super-predicates and their"]
    #[doc =
    " associated type bounds. For trait aliases, currently, this includes all of the"]
    #[doc = " predicates of the trait alias."]
    pub explicit_implied_predicates_of: queries::explicit_implied_predicates_of::Storage<'tcx>,
    #[doc =
    " The Ident is the name of an associated type.The query returns only the subset"]
    #[doc =
    " of supertraits that define the given associated type. This is used to avoid"]
    #[doc =
    " cycles in resolving type-dependent associated item paths like `T::Item`."]
    pub explicit_supertraits_containing_assoc_item: queries::explicit_supertraits_containing_assoc_item::Storage<'tcx>,
    #[doc =
    " Compute the conditions that need to hold for a conditionally-const item to be const."]
    #[doc =
    " That is, compute the set of `[const]` where clauses for a given item."]
    #[doc = ""]
    #[doc =
    " This can be thought of as the `[const]` equivalent of `predicates_of`. These are the"]
    #[doc =
    " predicates that need to be proven at usage sites, and can be assumed at definition."]
    #[doc = ""]
    #[doc =
    " This query also computes the `[const]` where clauses for associated types, which are"]
    #[doc =
    " not \"const\", but which have item bounds which may be `[const]`. These must hold for"]
    #[doc = " the `[const]` item bound to hold."]
    pub const_conditions: queries::const_conditions::Storage<'tcx>,
    #[doc =
    " Compute the const bounds that are implied for a conditionally-const item."]
    #[doc = ""]
    #[doc =
    " This can be though of as the `[const]` equivalent of `explicit_item_bounds`. These"]
    #[doc =
    " are the predicates that need to proven at definition sites, and can be assumed at"]
    #[doc = " usage sites."]
    pub explicit_implied_const_bounds: queries::explicit_implied_const_bounds::Storage<'tcx>,
    #[doc =
    " To avoid cycles within the predicates of a single item we compute"]
    #[doc = " per-type-parameter predicates for resolving `T::AssocTy`."]
    pub type_param_predicates: queries::type_param_predicates::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing trait definition for  `tcx.def_path_str(key)` "]
    pub trait_def: queries::trait_def::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing ADT definition for  `tcx.def_path_str(key)` "]
    pub adt_def: queries::adt_def::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing `Drop` impl for  `tcx.def_path_str(key)` "]
    pub adt_destructor: queries::adt_destructor::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing `AsyncDrop` impl for  `tcx.def_path_str(key)` "]
    pub adt_async_destructor: queries::adt_async_destructor::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing the sizedness constraint for  `tcx.def_path_str(key.0)` "]
    pub adt_sizedness_constraint: queries::adt_sizedness_constraint::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing drop-check constraints for  `tcx.def_path_str(key)` "]
    pub adt_dtorck_constraint: queries::adt_dtorck_constraint::Storage<'tcx>,
    #[doc =
    " Returns the constness of the function-like[^1] definition given by `DefId`."]
    #[doc = ""]
    #[doc =
    " Tuple struct/variant constructors are *always* const, foreign functions are"]
    #[doc =
    " *never* const. The rest is const iff marked with keyword `const` (or rather"]
    #[doc = " its parent in the case of associated functions)."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly. It is only meant to cache the base data for the"]
    #[doc =
    " higher-level functions. Consider using `is_const_fn` or `is_const_trait_impl` instead."]
    #[doc = ""]
    #[doc =
    " Also note that neither of them takes into account feature gates, stability and"]
    #[doc = " const predicates/conditions!"]
    #[doc = ""]
    #[doc = " </div>"]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not function-like[^1]."]
    #[doc = ""]
    #[doc =
    " [^1]: Tuple struct/variant constructors, closures and free, associated and foreign functions."]
    pub constness: queries::constness::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the function is async:  `tcx.def_path_str(key)` "]
    pub asyncness: queries::asyncness::Storage<'tcx>,
    #[doc = " Returns `true` if calls to the function may be promoted."]
    #[doc = ""]
    #[doc =
    " This is either because the function is e.g., a tuple-struct or tuple-variant"]
    #[doc =
    " constructor, or because it has the `#[rustc_promotable]` attribute. The attribute should"]
    #[doc =
    " be removed in the future in favour of some form of check which figures out whether the"]
    #[doc =
    " function does not inspect the bits of any of its arguments (so is essentially just a"]
    #[doc = " constructor function)."]
    pub is_promotable_const_fn: queries::is_promotable_const_fn::Storage<'tcx>,
    #[doc =
    " The body of the coroutine, modified to take its upvars by move rather than by ref."]
    #[doc = ""]
    #[doc =
    " This is used by coroutine-closures, which must return a different flavor of coroutine"]
    #[doc =
    " when called using `AsyncFnOnce::call_once`. It is produced by the `ByMoveBody` pass which"]
    #[doc =
    " is run right after building the initial MIR, and will only be populated for coroutines"]
    #[doc = " which come out of the async closure desugaring."]
    pub coroutine_by_move_body_def_id: queries::coroutine_by_move_body_def_id::Storage<'tcx>,
    #[doc =
    " Returns `Some(coroutine_kind)` if the node pointed to by `def_id` is a coroutine."]
    pub coroutine_kind: queries::coroutine_kind::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] Given a coroutine-closure def id, return the def id of the coroutine returned by it"]
    pub coroutine_for_closure: queries::coroutine_for_closure::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the hidden types stored across await points in a coroutine"]
    pub coroutine_hidden_types: queries::coroutine_hidden_types::Storage<'tcx>,
    #[doc =
    " Gets a map with the variances of every item in the local crate."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::variances_of`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    pub crate_variances: queries::crate_variances::Storage<'tcx>,
    #[doc = " Returns the (inferred) variances of the item given by `DefId`."]
    #[doc = ""]
    #[doc =
    " The list of variances corresponds to the list of (early-bound) generic"]
    #[doc = " parameters of the item (including its parents)."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_variance]` on an item to basically print the"]
    #[doc =
    " result of this query for use in UI tests or for debugging purposes."]
    pub variances_of: queries::variances_of::Storage<'tcx>,
    #[doc =
    " Gets a map with the inferred outlives-predicates of every item in the local crate."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::inferred_outlives_of`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    pub inferred_outlives_crate: queries::inferred_outlives_crate::Storage<'tcx>,
    #[doc = " Maps from an impl/trait or struct/variant `DefId`"]
    #[doc = " to a list of the `DefId`s of its associated items or fields."]
    pub associated_item_def_ids: queries::associated_item_def_ids::Storage<'tcx>,
    #[doc =
    " Maps from a trait/impl item to the trait/impl item \"descriptor\"."]
    pub associated_item: queries::associated_item::Storage<'tcx>,
    #[doc = " Collects the associated items defined on a trait or impl."]
    pub associated_items: queries::associated_items::Storage<'tcx>,
    #[doc =
    " Maps from associated items on a trait to the corresponding associated"]
    #[doc = " item on the impl specified by `impl_id`."]
    #[doc = ""]
    #[doc = " For example, with the following code"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " struct Type {}"]
    #[doc = "                         // DefId"]
    #[doc = " trait Trait {           // trait_id"]
    #[doc = "     fn f();             // trait_f"]
    #[doc = "     fn g() {}           // trait_g"]
    #[doc = " }"]
    #[doc = ""]
    #[doc = " impl Trait for Type {   // impl_id"]
    #[doc = "     fn f() {}           // impl_f"]
    #[doc = "     fn g() {}           // impl_g"]
    #[doc = " }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " The map returned for `tcx.impl_item_implementor_ids(impl_id)` would be"]
    #[doc = "`{ trait_f: impl_f, trait_g: impl_g }`"]
    pub impl_item_implementor_ids: queries::impl_item_implementor_ids::Storage<'tcx>,
    #[doc =
    " Given the `item_def_id` of a trait or impl, return a mapping from associated fn def id"]
    #[doc =
    " to its associated type items that correspond to the RPITITs in its signature."]
    pub associated_types_for_impl_traits_in_trait_or_impl: queries::associated_types_for_impl_traits_in_trait_or_impl::Storage<'tcx>,
    #[doc =
    " Given an `impl_id`, return the trait it implements along with some header information."]
    pub impl_trait_header: queries::impl_trait_header::Storage<'tcx>,
    #[doc =
    " Given an `impl_def_id`, return true if the self type is guaranteed to be unsized due"]
    #[doc =
    " to either being one of the built-in unsized types (str/slice/dyn) or to be a struct"]
    #[doc = " whose tail is one of those types."]
    pub impl_self_is_guaranteed_unsized: queries::impl_self_is_guaranteed_unsized::Storage<'tcx>,
    #[doc = " Maps a `DefId` of a type to a list of its inherent impls."]
    #[doc =
    " Contains implementations of methods that are inherent to a type."]
    #[doc = " Methods in these implementations don\'t need to be exported."]
    pub inherent_impls: queries::inherent_impls::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] collecting all inherent impls for `{:?}`"]
    pub incoherent_impls: queries::incoherent_impls::Storage<'tcx>,
    #[doc = " Unsafety-check this `LocalDefId`."]
    pub check_transmutes: queries::check_transmutes::Storage<'tcx>,
    #[doc = " Unsafety-check this `LocalDefId`."]
    pub check_unsafety: queries::check_unsafety::Storage<'tcx>,
    #[doc = " Checks well-formedness of tail calls (`become f()`)."]
    pub check_tail_calls: queries::check_tail_calls::Storage<'tcx>,
    #[doc =
    " Returns the types assumed to be well formed while \"inside\" of the given item."]
    #[doc = ""]
    #[doc =
    " Note that we\'ve liberated the late bound regions of function signatures, so"]
    #[doc =
    " this can not be used to check whether these types are well formed."]
    pub assumed_wf_types: queries::assumed_wf_types::Storage<'tcx>,
    #[doc =
    " We need to store the assumed_wf_types for an RPITIT so that impls of foreign"]
    #[doc =
    " traits with return-position impl trait in traits can inherit the right wf types."]
    pub assumed_wf_types_for_rpitit: queries::assumed_wf_types_for_rpitit::Storage<'tcx>,
    #[doc = " Computes the signature of the function."]
    pub fn_sig: queries::fn_sig::Storage<'tcx>,
    #[doc = " Performs lint checking for the module."]
    pub lint_mod: queries::lint_mod::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking unused trait imports in crate"]
    pub check_unused_traits: queries::check_unused_traits::Storage<'tcx>,
    #[doc = " Checks the attributes in the module."]
    pub check_mod_attrs: queries::check_mod_attrs::Storage<'tcx>,
    #[doc = " Checks for uses of unstable APIs in the module."]
    pub check_mod_unstable_api_usage: queries::check_mod_unstable_api_usage::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking privacy in  `describe_as_module(key.to_local_def_id(), tcx)` "]
    pub check_mod_privacy: queries::check_mod_privacy::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking liveness of variables in  `tcx.def_path_str(key.to_def_id())` "]
    pub check_liveness: queries::check_liveness::Storage<'tcx>,
    #[doc = " Return the live symbols in the crate for dead code check."]
    #[doc = ""]
    #[doc =
    " The second return value maps from ADTs to ignored derived traits (e.g. Debug and Clone)."]
    pub live_symbols_and_ignored_derived_traits: queries::live_symbols_and_ignored_derived_traits::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking deathness of variables in  `describe_as_module(key, tcx)` "]
    pub check_mod_deathness: queries::check_mod_deathness::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking that types are well-formed"]
    pub check_type_wf: queries::check_type_wf::Storage<'tcx>,
    #[doc = " Caches `CoerceUnsized` kinds for impls on custom types."]
    pub coerce_unsized_info: queries::coerce_unsized_info::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] type-checking  `tcx.def_path_str(key)` "]
    pub typeck: queries::typeck::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] finding used_trait_imports  `tcx.def_path_str(key)` "]
    pub used_trait_imports: queries::used_trait_imports::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] coherence checking all impls of trait  `tcx.def_path_str(def_id)` "]
    pub coherent_trait: queries::coherent_trait::Storage<'tcx>,
    #[doc =
    " Borrow-checks the given typeck root, e.g. functions, const/static items,"]
    #[doc = " and its children, e.g. closures, inline consts."]
    pub mir_borrowck: queries::mir_borrowck::Storage<'tcx>,
    #[doc = " Gets a complete map from all types to their inherent impls."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    pub crate_inherent_impls: queries::crate_inherent_impls::Storage<'tcx>,
    #[doc =
    " Checks all types in the crate for overlap in their inherent impls. Reports errors."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    pub crate_inherent_impls_validity_check: queries::crate_inherent_impls_validity_check::Storage<'tcx>,
    #[doc =
    " Checks all types in the crate for overlap in their inherent impls. Reports errors."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    pub crate_inherent_impls_overlap_check: queries::crate_inherent_impls_overlap_check::Storage<'tcx>,
    #[doc =
    " Checks whether all impls in the crate pass the overlap check, returning"]
    #[doc =
    " which impls fail it. If all impls are correct, the returned slice is empty."]
    pub orphan_check_impl: queries::orphan_check_impl::Storage<'tcx>,
    #[doc =
    " Return the set of (transitive) callees that may result in a recursive call to `key`,"]
    #[doc = " if we were able to walk all callees."]
    pub mir_callgraph_cyclic: queries::mir_callgraph_cyclic::Storage<'tcx>,
    #[doc = " Obtain all the calls into other local functions"]
    pub mir_inliner_callees: queries::mir_inliner_callees::Storage<'tcx>,
    #[doc = " Computes the tag (if any) for a given type and variant."]
    #[doc = ""]
    #[doc =
    " `None` means that the variant doesn\'t need a tag (because it is niched)."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic for uninhabited variants and if the passed type is not an enum."]
    pub tag_for_variant: queries::tag_for_variant::Storage<'tcx>,
    #[doc = " Evaluates a constant and returns the computed allocation."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::eval_to_const_value_raw`] or"]
    #[doc = " [`Self::eval_to_valtree`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    pub eval_to_allocation_raw: queries::eval_to_allocation_raw::Storage<'tcx>,
    #[doc =
    " Evaluate a static\'s initializer, returning the allocation of the initializer\'s memory."]
    pub eval_static_initializer: queries::eval_static_initializer::Storage<'tcx>,
    #[doc =
    " Evaluates const items or anonymous constants[^1] into a representation"]
    #[doc = " suitable for the type system and const generics."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this** directly, use one of the following wrappers:"]
    #[doc = " [`TyCtxt::const_eval_poly`], [`TyCtxt::const_eval_resolve`],"]
    #[doc =
    " [`TyCtxt::const_eval_instance`], or [`TyCtxt::const_eval_global_id`]."]
    #[doc = ""]
    #[doc = " </div>"]
    #[doc = ""]
    #[doc =
    " [^1]: Such as enum variant explicit discriminants or array lengths."]
    pub eval_to_const_value_raw: queries::eval_to_const_value_raw::Storage<'tcx>,
    #[doc = " Evaluate a constant and convert it to a type level constant or"]
    #[doc = " return `None` if that is not possible."]
    pub eval_to_valtree: queries::eval_to_valtree::Storage<'tcx>,
    #[doc =
    " Converts a type-level constant value into a MIR constant value."]
    pub valtree_to_const_val: queries::valtree_to_const_val::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] converting literal to const"]
    pub lit_to_const: queries::lit_to_const::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] match-checking  `tcx.def_path_str(key)` "]
    pub check_match: queries::check_match::Storage<'tcx>,
    #[doc =
    " Performs part of the privacy check and computes effective visibilities."]
    pub effective_visibilities: queries::effective_visibilities::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking for private elements in public interfaces for  `describe_as_module(module_def_id, tcx)` "]
    pub check_private_in_public: queries::check_private_in_public::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] reachability"]
    pub reachable_set: queries::reachable_set::Storage<'tcx>,
    #[doc =
    " Per-body `region::ScopeTree`. The `DefId` should be the owner `DefId` for the body;"]
    #[doc =
    " in the case of closures, this will be redirected to the enclosing function."]
    pub region_scope_tree: queries::region_scope_tree::Storage<'tcx>,
    #[doc = " Generates a MIR body for the shim."]
    pub mir_shims: queries::mir_shims::Storage<'tcx>,
    #[doc = " The `symbol_name` query provides the symbol name for calling a"]
    #[doc =
    " given instance from the local crate. In particular, it will also"]
    #[doc =
    " look up the correct symbol name of instances from upstream crates."]
    pub symbol_name: queries::symbol_name::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] looking up definition kind of  `tcx.def_path_str(def_id)` "]
    pub def_kind: queries::def_kind::Storage<'tcx>,
    #[doc = " Gets the span for the definition."]
    pub def_span: queries::def_span::Storage<'tcx>,
    #[doc = " Gets the span for the identifier of the definition."]
    pub def_ident_span: queries::def_ident_span::Storage<'tcx>,
    #[doc = " Gets the span for the type of the definition."]
    #[doc = " Panics if it is not a definition that has a single type."]
    pub ty_span: queries::ty_span::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] looking up stability of  `tcx.def_path_str(def_id)` "]
    pub lookup_stability: queries::lookup_stability::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] looking up const stability of  `tcx.def_path_str(def_id)` "]
    pub lookup_const_stability: queries::lookup_const_stability::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] looking up default body stability of  `tcx.def_path_str(def_id)` "]
    pub lookup_default_body_stability: queries::lookup_default_body_stability::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing should_inherit_track_caller of  `tcx.def_path_str(def_id)` "]
    pub should_inherit_track_caller: queries::should_inherit_track_caller::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing inherited_align of  `tcx.def_path_str(def_id)` "]
    pub inherited_align: queries::inherited_align::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is deprecated"]
    pub lookup_deprecation_entry: queries::lookup_deprecation_entry::Storage<'tcx>,
    #[doc = " Determines whether an item is annotated with `#[doc(hidden)]`."]
    pub is_doc_hidden: queries::is_doc_hidden::Storage<'tcx>,
    #[doc =
    " Determines whether an item is annotated with `#[doc(notable_trait)]`."]
    pub is_doc_notable_trait: queries::is_doc_notable_trait::Storage<'tcx>,
    #[doc = " Returns the attributes on the item at `def_id`."]
    #[doc = ""]
    #[doc = " Do not use this directly, use `tcx.get_attrs` instead."]
    pub attrs_for_def: queries::attrs_for_def::Storage<'tcx>,
    #[doc = " Returns the `CodegenFnAttrs` for the item at `def_id`."]
    #[doc = ""]
    #[doc =
    " If possible, use `tcx.codegen_instance_attrs` instead. That function takes the"]
    #[doc = " instance kind into account."]
    #[doc = ""]
    #[doc =
    " For example, the `#[naked]` attribute should be applied for `InstanceKind::Item`,"]
    #[doc =
    " but should not be applied if the instance kind is `InstanceKind::ReifyShim`."]
    #[doc =
    " Using this query would include the attribute regardless of the actual instance"]
    #[doc = " kind at the call site."]
    pub codegen_fn_attrs: queries::codegen_fn_attrs::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing target features for inline asm of  `tcx.def_path_str(def_id)` "]
    pub asm_target_features: queries::asm_target_features::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] looking up function parameter identifiers for  `tcx.def_path_str(def_id)` "]
    pub fn_arg_idents: queries::fn_arg_idents::Storage<'tcx>,
    #[doc =
    " Gets the rendered value of the specified constant or associated constant."]
    #[doc = " Used by rustdoc."]
    pub rendered_const: queries::rendered_const::Storage<'tcx>,
    #[doc =
    " Gets the rendered precise capturing args for an opaque for use in rustdoc."]
    pub rendered_precise_capturing_args: queries::rendered_precise_capturing_args::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing specialization parent impl of  `tcx.def_path_str(def_id)` "]
    pub impl_parent: queries::impl_parent::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking if item has CTFE MIR available:  `tcx.def_path_str(key)` "]
    pub is_ctfe_mir_available: queries::is_ctfe_mir_available::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking if item has MIR available:  `tcx.def_path_str(key)` "]
    pub is_mir_available: queries::is_mir_available::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] finding all existential vtable entries for trait  `tcx.def_path_str(key)` "]
    pub own_existential_vtable_entries: queries::own_existential_vtable_entries::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] finding all vtable entries for trait  `tcx.def_path_str(key.def_id)` "]
    pub vtable_entries: queries::vtable_entries::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] finding the slot within the vtable of  `key.self_ty()`  for the implementation of  `key.print_only_trait_name()` "]
    pub first_method_vtable_slot: queries::first_method_vtable_slot::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] finding the slot within vtable for trait object  `key.1`  vtable ptr during trait upcasting coercion from  `key.0`  vtable"]
    pub supertrait_vtable_slot: queries::supertrait_vtable_slot::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] vtable const allocation for < `key.0`  as  `key.1.map(| trait_ref | format!\n(\"{trait_ref}\")).unwrap_or_else(| | \"_\".to_owned())` >"]
    pub vtable_allocation: queries::vtable_allocation::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing candidate for  `key.value` "]
    pub codegen_select_candidate: queries::codegen_select_candidate::Storage<'tcx>,
    #[doc = " Return all `impl` blocks in the current crate."]
    pub all_local_trait_impls: queries::all_local_trait_impls::Storage<'tcx>,
    #[doc =
    " Return all `impl` blocks of the given trait in the current crate."]
    pub local_trait_impls: queries::local_trait_impls::Storage<'tcx>,
    #[doc = " Given a trait `trait_id`, return all known `impl` blocks."]
    pub trait_impls_of: queries::trait_impls_of::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] building specialization graph of trait  `tcx.def_path_str(trait_id)` "]
    pub specialization_graph_of: queries::specialization_graph_of::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] determining dyn-compatibility of trait  `tcx.def_path_str(trait_id)` "]
    pub dyn_compatibility_violations: queries::dyn_compatibility_violations::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking if trait  `tcx.def_path_str(trait_id)`  is dyn-compatible"]
    pub is_dyn_compatible: queries::is_dyn_compatible::Storage<'tcx>,
    #[doc =
    " Gets the ParameterEnvironment for a given item; this environment"]
    #[doc =
    " will be in \"user-facing\" mode, meaning that it is suitable for"]
    #[doc = " type-checking etc, and it does not normalize specializable"]
    #[doc = " associated types."]
    #[doc = ""]
    #[doc =
    " You should almost certainly not use this. If you already have an InferCtxt, then"]
    #[doc =
    " you should also probably have a `ParamEnv` from when it was built. If you don\'t,"]
    #[doc =
    " then you should take a `TypingEnv` to ensure that you handle opaque types correctly."]
    pub param_env: queries::param_env::Storage<'tcx>,
    #[doc =
    " Like `param_env`, but returns the `ParamEnv` after all opaque types have been"]
    #[doc =
    " replaced with their hidden type. This is used in the old trait solver"]
    #[doc = " when in `PostAnalysis` mode and should not be called directly."]
    pub typing_env_normalized_for_post_analysis: queries::typing_env_normalized_for_post_analysis::Storage<'tcx>,
    #[doc =
    " Trait selection queries. These are best used by invoking `ty.is_copy_modulo_regions()`,"]
    #[doc =
    " `ty.is_copy()`, etc, since that will prune the environment where possible."]
    pub is_copy_raw: queries::is_copy_raw::Storage<'tcx>,
    #[doc =
    " Trait selection queries. These are best used by invoking `ty.is_use_cloned_modulo_regions()`,"]
    #[doc =
    " `ty.is_use_cloned()`, etc, since that will prune the environment where possible."]
    pub is_use_cloned_raw: queries::is_use_cloned_raw::Storage<'tcx>,
    #[doc = " Query backing `Ty::is_sized`."]
    pub is_sized_raw: queries::is_sized_raw::Storage<'tcx>,
    #[doc = " Query backing `Ty::is_freeze`."]
    pub is_freeze_raw: queries::is_freeze_raw::Storage<'tcx>,
    #[doc = " Query backing `Ty::is_unpin`."]
    pub is_unpin_raw: queries::is_unpin_raw::Storage<'tcx>,
    #[doc = " Query backing `Ty::is_async_drop`."]
    pub is_async_drop_raw: queries::is_async_drop_raw::Storage<'tcx>,
    #[doc = " Query backing `Ty::needs_drop`."]
    pub needs_drop_raw: queries::needs_drop_raw::Storage<'tcx>,
    #[doc = " Query backing `Ty::needs_async_drop`."]
    pub needs_async_drop_raw: queries::needs_async_drop_raw::Storage<'tcx>,
    #[doc = " Query backing `Ty::has_significant_drop_raw`."]
    pub has_significant_drop_raw: queries::has_significant_drop_raw::Storage<'tcx>,
    #[doc = " Query backing `Ty::is_structural_eq_shallow`."]
    #[doc = ""]
    #[doc =
    " This is only correct for ADTs. Call `is_structural_eq_shallow` to handle all types"]
    #[doc = " correctly."]
    pub has_structural_eq_impl: queries::has_structural_eq_impl::Storage<'tcx>,
    #[doc =
    " A list of types where the ADT requires drop if and only if any of"]
    #[doc =
    " those types require drop. If the ADT is known to always need drop"]
    #[doc = " then `Err(AlwaysRequiresDrop)` is returned."]
    pub adt_drop_tys: queries::adt_drop_tys::Storage<'tcx>,
    #[doc =
    " A list of types where the ADT requires async drop if and only if any of"]
    #[doc =
    " those types require async drop. If the ADT is known to always need async drop"]
    #[doc = " then `Err(AlwaysRequiresDrop)` is returned."]
    pub adt_async_drop_tys: queries::adt_async_drop_tys::Storage<'tcx>,
    #[doc =
    " A list of types where the ADT requires drop if and only if any of those types"]
    #[doc =
    " has significant drop. A type marked with the attribute `rustc_insignificant_dtor`"]
    #[doc =
    " is considered to not be significant. A drop is significant if it is implemented"]
    #[doc =
    " by the user or does anything that will have any observable behavior (other than"]
    #[doc =
    " freeing up memory). If the ADT is known to have a significant destructor then"]
    #[doc = " `Err(AlwaysRequiresDrop)` is returned."]
    pub adt_significant_drop_tys: queries::adt_significant_drop_tys::Storage<'tcx>,
    #[doc =
    " Returns a list of types which (a) have a potentially significant destructor"]
    #[doc =
    " and (b) may be dropped as a result of dropping a value of some type `ty`"]
    #[doc = " (in the given environment)."]
    #[doc = ""]
    #[doc =
    " The idea of \"significant\" drop is somewhat informal and is used only for"]
    #[doc =
    " diagnostics and edition migrations. The idea is that a significant drop may have"]
    #[doc =
    " some visible side-effect on execution; freeing memory is NOT considered a side-effect."]
    #[doc = " The rules are as follows:"]
    #[doc =
    " * Type with no explicit drop impl do not have significant drop."]
    #[doc =
    " * Types with a drop impl are assumed to have significant drop unless they have a `#[rustc_insignificant_dtor]` annotation."]
    #[doc = ""]
    #[doc =
    " Note that insignificant drop is a \"shallow\" property. A type like `Vec<LockGuard>` does not"]
    #[doc =
    " have significant drop but the type `LockGuard` does, and so if `ty  = Vec<LockGuard>`"]
    #[doc = " then the return value would be `&[LockGuard]`."]
    #[doc =
    " *IMPORTANT*: *DO NOT* run this query before promoted MIR body is constructed,"]
    #[doc = " because this query partially depends on that query."]
    #[doc = " Otherwise, there is a risk of query cycles."]
    pub list_significant_drop_tys: queries::list_significant_drop_tys::Storage<'tcx>,
    #[doc = " Computes the layout of a type. Note that this implicitly"]
    #[doc =
    " executes in `TypingMode::PostAnalysis`, and will normalize the input type."]
    pub layout_of: queries::layout_of::Storage<'tcx>,
    #[doc =
    " Compute a `FnAbi` suitable for indirect calls, i.e. to `fn` pointers."]
    #[doc = ""]
    #[doc =
    " NB: this doesn\'t handle virtual calls - those should use `fn_abi_of_instance`"]
    #[doc = " instead, where the instance is an `InstanceKind::Virtual`."]
    pub fn_abi_of_fn_ptr: queries::fn_abi_of_fn_ptr::Storage<'tcx>,
    #[doc =
    " Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for"]
    #[doc = " direct calls to an `fn`."]
    #[doc = ""]
    #[doc =
    " NB: that includes virtual calls, which are represented by \"direct calls\""]
    #[doc =
    " to an `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`)."]
    pub fn_abi_of_instance: queries::fn_abi_of_instance::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] getting dylib dependency formats of crate"]
    pub dylib_dependency_formats: queries::dylib_dependency_formats::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] getting the linkage format of all dependencies"]
    pub dependency_formats: queries::dependency_formats::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate is_compiler_builtins"]
    pub is_compiler_builtins: queries::is_compiler_builtins::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_global_allocator"]
    pub has_global_allocator: queries::has_global_allocator::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_alloc_error_handler"]
    pub has_alloc_error_handler: queries::has_alloc_error_handler::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_panic_handler"]
    pub has_panic_handler: queries::has_panic_handler::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking if a crate is `#![profiler_runtime]`"]
    pub is_profiler_runtime: queries::is_profiler_runtime::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(key)`  contains FFI-unwind calls"]
    pub has_ffi_unwind_calls: queries::has_ffi_unwind_calls::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's required panic strategy"]
    pub required_panic_strategy: queries::required_panic_strategy::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's configured panic-in-drop strategy"]
    pub panic_in_drop_strategy: queries::panic_in_drop_strategy::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] getting whether a crate has `#![no_builtins]`"]
    pub is_no_builtins: queries::is_no_builtins::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's symbol mangling version"]
    pub symbol_mangling_version: queries::symbol_mangling_version::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] getting crate's ExternCrateData"]
    pub extern_crate: queries::extern_crate::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether the crate enabled `specialization`/`min_specialization`"]
    pub specialization_enabled_in: queries::specialization_enabled_in::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing whether impls specialize one another"]
    pub specializes: queries::specializes::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] getting traits in scope at a block"]
    pub in_scope_traits_map: queries::in_scope_traits_map::Storage<'tcx>,
    #[doc =
    " Returns whether the impl or associated function has the `default` keyword."]
    #[doc =
    " Note: This will ICE on inherent impl items. Consider using `AssocItem::defaultness`."]
    pub defaultness: queries::defaultness::Storage<'tcx>,
    #[doc =
    " Returns whether the field corresponding to the `DefId` has a default field value."]
    pub default_field: queries::default_field::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking that  `tcx.def_path_str(key)`  is well-formed"]
    pub check_well_formed: queries::check_well_formed::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking that  `tcx.def_path_str(key)` 's generics are constrained by the impl header"]
    pub enforce_impl_non_lifetime_params_are_constrained: queries::enforce_impl_non_lifetime_params_are_constrained::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the exported symbols of a crate"]
    pub reachable_non_generics: queries::reachable_non_generics::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is an exported symbol"]
    pub is_reachable_non_generic: queries::is_reachable_non_generic::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is reachable from outside the crate"]
    pub is_unreachable_local_definition: queries::is_unreachable_local_definition::Storage<'tcx>,
    #[doc = " The entire set of monomorphizations the local crate can safely"]
    #[doc = " link to because they are exported from upstream crates. Do"]
    #[doc = " not depend on this directly, as its value changes anytime"]
    #[doc = " a monomorphization gets added or removed in any upstream"]
    #[doc =
    " crate. Instead use the narrower `upstream_monomorphizations_for`,"]
    #[doc = " `upstream_drop_glue_for`, `upstream_async_drop_glue_for`, or,"]
    #[doc = " even better, `Instance::upstream_monomorphization()`."]
    pub upstream_monomorphizations: queries::upstream_monomorphizations::Storage<'tcx>,
    #[doc =
    " Returns the set of upstream monomorphizations available for the"]
    #[doc =
    " generic function identified by the given `def_id`. The query makes"]
    #[doc =
    " sure to make a stable selection if the same monomorphization is"]
    #[doc = " available in multiple upstream crates."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    pub upstream_monomorphizations_for: queries::upstream_monomorphizations_for::Storage<'tcx>,
    #[doc =
    " Returns the upstream crate that exports drop-glue for the given"]
    #[doc =
    " type (`args` is expected to be a single-item list containing the"]
    #[doc = " type one wants drop-glue for)."]
    #[doc = ""]
    #[doc =
    " This is a subset of `upstream_monomorphizations_for` in order to"]
    #[doc =
    " increase dep-tracking granularity. Otherwise adding or removing any"]
    #[doc = " type with drop-glue in any upstream crate would invalidate all"]
    #[doc = " functions calling drop-glue of an upstream type."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    #[doc = ""]
    #[doc =
    " NOTE: This query could easily be extended to also support other"]
    #[doc =
    "       common functions that have are large set of monomorphizations"]
    #[doc = "       (like `Clone::clone` for example)."]
    pub upstream_drop_glue_for: queries::upstream_drop_glue_for::Storage<'tcx>,
    #[doc = " Returns the upstream crate that exports async-drop-glue for"]
    #[doc = " the given type (`args` is expected to be a single-item list"]
    #[doc = " containing the type one wants async-drop-glue for)."]
    #[doc = ""]
    #[doc = " This is a subset of `upstream_monomorphizations_for` in order"]
    #[doc = " to increase dep-tracking granularity. Otherwise adding or"]
    #[doc = " removing any type with async-drop-glue in any upstream crate"]
    #[doc = " would invalidate all functions calling async-drop-glue of an"]
    #[doc = " upstream type."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    #[doc = ""]
    #[doc =
    " NOTE: This query could easily be extended to also support other"]
    #[doc =
    "       common functions that have are large set of monomorphizations"]
    #[doc = "       (like `Clone::clone` for example)."]
    pub upstream_async_drop_glue_for: queries::upstream_async_drop_glue_for::Storage<'tcx>,
    #[doc = " Returns a list of all `extern` blocks of a crate."]
    pub foreign_modules: queries::foreign_modules::Storage<'tcx>,
    #[doc =
    " Lint against `extern fn` declarations having incompatible types."]
    pub clashing_extern_declarations: queries::clashing_extern_declarations::Storage<'tcx>,
    #[doc =
    " Identifies the entry-point (e.g., the `main` function) for a given"]
    #[doc =
    " crate, returning `None` if there is no entry point (such as for library crates)."]
    pub entry_fn: queries::entry_fn::Storage<'tcx>,
    #[doc = " Finds the `rustc_proc_macro_decls` item of a crate."]
    pub proc_macro_decls_static: queries::proc_macro_decls_static::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the hash a crate"]
    pub crate_hash: queries::crate_hash::Storage<'tcx>,
    #[doc =
    " Gets the hash for the host proc macro. Used to support -Z dual-proc-macro."]
    pub crate_host_hash: queries::crate_host_hash::Storage<'tcx>,
    #[doc =
    " Gets the extra data to put in each output filename for a crate."]
    #[doc =
    " For example, compiling the `foo` crate with `extra-filename=-a` creates a `libfoo-b.rlib` file."]
    pub extra_filename: queries::extra_filename::Storage<'tcx>,
    #[doc = " Gets the paths where the crate came from in the file system."]
    pub crate_extern_paths: queries::crate_extern_paths::Storage<'tcx>,
    #[doc =
    " Given a crate and a trait, look up all impls of that trait in the crate."]
    #[doc = " Return `(impl_id, self_ty)`."]
    pub implementations_of_trait: queries::implementations_of_trait::Storage<'tcx>,
    #[doc = " Collects all incoherent impls for the given crate and type."]
    #[doc = ""]
    #[doc =
    " Do not call this directly, but instead use the `incoherent_impls` query."]
    #[doc =
    " This query is only used to get the data necessary for that query."]
    pub crate_incoherent_impls: queries::crate_incoherent_impls::Storage<'tcx>,
    #[doc =
    " Get the corresponding native library from the `native_libraries` query"]
    pub native_library: queries::native_library::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] inheriting delegation signature"]
    pub inherit_sig_for_delegation_item: queries::inherit_sig_for_delegation_item::Storage<'tcx>,
    #[doc =
    " Does lifetime resolution on items. Importantly, we can\'t resolve"]
    #[doc =
    " lifetimes directly on things like trait methods, because of trait params."]
    #[doc = " See `rustc_resolve::late::lifetimes` for details."]
    pub resolve_bound_vars: queries::resolve_bound_vars::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] looking up a named region inside  `tcx.def_path_str(owner_id)` "]
    pub named_variable_map: queries::named_variable_map::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] testing if a region is late bound inside  `tcx.def_path_str(owner_id)` "]
    pub is_late_bound_map: queries::is_late_bound_map::Storage<'tcx>,
    #[doc =
    " Returns the *default lifetime* to be used if a trait object type were to be passed for"]
    #[doc = " the type parameter given by `DefId`."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_object_lifetime_default]` on an item to basically"]
    #[doc =
    " print the result of this query for use in UI tests or for debugging purposes."]
    #[doc = ""]
    #[doc = " # Examples"]
    #[doc = ""]
    #[doc =
    " - For `T` in `struct Foo<\'a, T: \'a>(&\'a T);`, this would be `Param(\'a)`"]
    #[doc =
    " - For `T` in `struct Bar<\'a, T>(&\'a T);`, this would be `Empty`"]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not a type parameter."]
    pub object_lifetime_default: queries::object_lifetime_default::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] looking up late bound vars inside  `tcx.def_path_str(owner_id)` "]
    pub late_bound_vars_map: queries::late_bound_vars_map::Storage<'tcx>,
    #[doc =
    " For an opaque type, return the list of (captured lifetime, inner generic param)."]
    #[doc = " ```ignore (illustrative)"]
    #[doc =
    " fn foo<\'a: \'a, \'b, T>(&\'b u8) -> impl Into<Self> + \'b { ... }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " We would return `[(\'a, \'_a), (\'b, \'_b)]`, with `\'a` early-bound and `\'b` late-bound."]
    #[doc = ""]
    #[doc = " After hir_ty_lowering, we get:"]
    #[doc = " ```ignore (pseudo-code)"]
    #[doc = " opaque foo::<\'a>::opaque<\'_a, \'_b>: Into<Foo<\'_a>> + \'_b;"]
    #[doc = "                          ^^^^^^^^ inner generic params"]
    #[doc =
    " fn foo<\'a>: for<\'b> fn(&\'b u8) -> foo::<\'a>::opaque::<\'a, \'b>"]
    #[doc =
    "                                                       ^^^^^^ captured lifetimes"]
    #[doc = " ```"]
    pub opaque_captured_lifetimes: queries::opaque_captured_lifetimes::Storage<'tcx>,
    #[doc = " Computes the visibility of the provided `def_id`."]
    #[doc = ""]
    #[doc =
    " If the item from the `def_id` doesn\'t have a visibility, it will panic. For example"]
    #[doc =
    " a generic type parameter will panic if you call this method on it:"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " use std::fmt::Debug;"]
    #[doc = ""]
    #[doc = " pub trait Foo<T: Debug> {}"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc = " In here, if you call `visibility` on `T`, it\'ll panic."]
    pub visibility: queries::visibility::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing the uninhabited predicate of `{:?}`"]
    pub inhabited_predicate_adt: queries::inhabited_predicate_adt::Storage<'tcx>,
    #[doc =
    " Do not call this query directly: invoke `Ty::inhabited_predicate` instead."]
    pub inhabited_predicate_type: queries::inhabited_predicate_type::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] fetching what a dependency looks like"]
    pub dep_kind: queries::dep_kind::Storage<'tcx>,
    #[doc = " Gets the name of the crate."]
    pub crate_name: queries::crate_name::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] collecting child items of module  `tcx.def_path_str(def_id)` "]
    pub module_children: queries::module_children::Storage<'tcx>,
    #[doc = " Gets the number of definitions in a foreign crate."]
    #[doc = ""]
    #[doc =
    " This allows external tools to iterate over all definitions in a foreign crate."]
    #[doc = ""]
    #[doc =
    " This should never be used for the local crate, instead use `iter_local_def_id`."]
    pub num_extern_def_ids: queries::num_extern_def_ids::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] calculating the lib features defined in a crate"]
    pub lib_features: queries::lib_features::Storage<'tcx>,
    #[doc =
    " Mapping from feature name to feature name based on the `implied_by` field of `#[unstable]`"]
    #[doc =
    " attributes. If a `#[unstable(feature = \"implier\", implied_by = \"impliee\")]` attribute"]
    #[doc = " exists, then this map will have a `impliee -> implier` entry."]
    #[doc = ""]
    #[doc =
    " This mapping is necessary unless both the `#[stable]` and `#[unstable]` attributes should"]
    #[doc =
    " specify their implications (both `implies` and `implied_by`). If only one of the two"]
    #[doc =
    " attributes do (as in the current implementation, `implied_by` in `#[unstable]`), then this"]
    #[doc =
    " mapping is necessary for diagnostics. When a \"unnecessary feature attribute\" error is"]
    #[doc =
    " reported, only the `#[stable]` attribute information is available, so the map is necessary"]
    #[doc =
    " to know that the feature implies another feature. If it were reversed, and the `#[stable]`"]
    #[doc =
    " attribute had an `implies` meta item, then a map would be necessary when avoiding a \"use of"]
    #[doc = " unstable feature\" error for a feature that was implied."]
    pub stability_implications: queries::stability_implications::Storage<'tcx>,
    #[doc = " Whether the function is an intrinsic"]
    pub intrinsic_raw: queries::intrinsic_raw::Storage<'tcx>,
    #[doc =
    " Returns the lang items defined in another crate by loading it from metadata."]
    pub get_lang_items: queries::get_lang_items::Storage<'tcx>,
    #[doc = " Returns all diagnostic items defined in all crates."]
    pub all_diagnostic_items: queries::all_diagnostic_items::Storage<'tcx>,
    #[doc =
    " Returns the lang items defined in another crate by loading it from metadata."]
    pub defined_lang_items: queries::defined_lang_items::Storage<'tcx>,
    #[doc = " Returns the diagnostic items defined in a crate."]
    pub diagnostic_items: queries::diagnostic_items::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] calculating the missing lang items in a crate"]
    pub missing_lang_items: queries::missing_lang_items::Storage<'tcx>,
    #[doc =
    " The visible parent map is a map from every item to a visible parent."]
    #[doc = " It prefers the shortest visible path to an item."]
    #[doc = " Used for diagnostics, for example path trimming."]
    #[doc = " The parents are modules, enums or traits."]
    pub visible_parent_map: queries::visible_parent_map::Storage<'tcx>,
    #[doc =
    " Collects the \"trimmed\", shortest accessible paths to all items for diagnostics."]
    #[doc =
    " See the [provider docs](`rustc_middle::ty::print::trimmed_def_paths`) for more info."]
    pub trimmed_def_paths: queries::trimmed_def_paths::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] seeing if we're missing an `extern crate` item for this crate"]
    pub missing_extern_crate_item: queries::missing_extern_crate_item::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] looking at the source for a crate"]
    pub used_crate_source: queries::used_crate_source::Storage<'tcx>,
    #[doc = " Returns the debugger visualizers defined for this crate."]
    #[doc =
    " NOTE: This query has to be marked `eval_always` because it reads data"]
    #[doc =
    "       directly from disk that is not tracked anywhere else. I.e. it"]
    #[doc = "       represents a genuine input to the query system."]
    pub debugger_visualizers: queries::debugger_visualizers::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] generating a postorder list of CrateNums"]
    pub postorder_cnums: queries::postorder_cnums::Storage<'tcx>,
    #[doc = " Returns whether or not the crate with CrateNum \'cnum\'"]
    #[doc = " is marked as a private dependency"]
    pub is_private_dep: queries::is_private_dep::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] getting the allocator kind for the current crate"]
    pub allocator_kind: queries::allocator_kind::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] alloc error handler kind for the current crate"]
    pub alloc_error_handler_kind: queries::alloc_error_handler_kind::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] collecting upvars mentioned in  `tcx.def_path_str(def_id)` "]
    pub upvars_mentioned: queries::upvars_mentioned::Storage<'tcx>,
    #[doc =
    " All available crates in the graph, including those that should not be user-facing"]
    #[doc = " (such as private crates)."]
    pub crates: queries::crates::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] fetching `CrateNum`s for all crates loaded non-speculatively"]
    pub used_crates: queries::used_crates::Storage<'tcx>,
    #[doc = " All crates that share the same name as crate `c`."]
    #[doc = ""]
    #[doc =
    " This normally occurs when multiple versions of the same dependency are present in the"]
    #[doc = " dependency tree."]
    pub duplicate_crate_names: queries::duplicate_crate_names::Storage<'tcx>,
    #[doc =
    " A list of all traits in a crate, used by rustdoc and error reporting."]
    pub traits: queries::traits::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] fetching all trait impls in a crate"]
    pub trait_impls_in_crate: queries::trait_impls_in_crate::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] fetching the stable impl's order"]
    pub stable_order_of_exportable_impls: queries::stable_order_of_exportable_impls::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] fetching all exportable items in a crate"]
    pub exportable_items: queries::exportable_items::Storage<'tcx>,
    #[doc = " The list of non-generic symbols exported from the given crate."]
    #[doc = ""]
    #[doc = " This is separate from exported_generic_symbols to avoid having"]
    #[doc = " to deserialize all non-generic symbols too for upstream crates"]
    #[doc = " in the upstream_monomorphizations query."]
    #[doc = ""]
    #[doc =
    " - All names contained in `exported_non_generic_symbols(cnum)` are"]
    #[doc =
    "   guaranteed to correspond to a publicly visible symbol in `cnum`"]
    #[doc = "   machine code."]
    #[doc =
    " - The `exported_non_generic_symbols` and `exported_generic_symbols`"]
    #[doc = "   sets of different crates do not intersect."]
    pub exported_non_generic_symbols: queries::exported_non_generic_symbols::Storage<'tcx>,
    #[doc = " The list of generic symbols exported from the given crate."]
    #[doc = ""]
    #[doc = " - All names contained in `exported_generic_symbols(cnum)` are"]
    #[doc =
    "   guaranteed to correspond to a publicly visible symbol in `cnum`"]
    #[doc = "   machine code."]
    #[doc =
    " - The `exported_non_generic_symbols` and `exported_generic_symbols`"]
    #[doc = "   sets of different crates do not intersect."]
    pub exported_generic_symbols: queries::exported_generic_symbols::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] collect_and_partition_mono_items"]
    pub collect_and_partition_mono_items: queries::collect_and_partition_mono_items::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] determining whether  `tcx.def_path_str(def_id)`  needs codegen"]
    pub is_codegened_item: queries::is_codegened_item::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] getting codegen unit `{sym}`"]
    pub codegen_unit: queries::codegen_unit::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] optimization level used by backend"]
    pub backend_optimization_level: queries::backend_optimization_level::Storage<'tcx>,
    #[doc = " Return the filenames where output artefacts shall be stored."]
    #[doc = ""]
    #[doc =
    " This query returns an `&Arc` because codegen backends need the value even after the `TyCtxt`"]
    #[doc = " has been destroyed."]
    pub output_filenames: queries::output_filenames::Storage<'tcx>,
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    pub normalize_canonicalized_projection: queries::normalize_canonicalized_projection::Storage<'tcx>,
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    pub normalize_canonicalized_free_alias: queries::normalize_canonicalized_free_alias::Storage<'tcx>,
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    pub normalize_canonicalized_inherent_projection: queries::normalize_canonicalized_inherent_projection::Storage<'tcx>,
    #[doc =
    " Do not call this query directly: invoke `try_normalize_erasing_regions` instead."]
    pub try_normalize_generic_arg_after_erasing_regions: queries::try_normalize_generic_arg_after_erasing_regions::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing implied outlives bounds for  `key.0.canonical.value.value.ty`  (hack disabled = {:?})"]
    pub implied_outlives_bounds: queries::implied_outlives_bounds::Storage<'tcx>,
    #[doc = " Do not call this query directly:"]
    #[doc =
    " invoke `DropckOutlives::new(dropped_ty)).fully_perform(typeck.infcx)` instead."]
    pub dropck_outlives: queries::dropck_outlives::Storage<'tcx>,
    #[doc =
    " Do not call this query directly: invoke `infcx.predicate_may_hold()` or"]
    #[doc = " `infcx.predicate_must_hold()` instead."]
    pub evaluate_obligation: queries::evaluate_obligation::Storage<'tcx>,
    #[doc = " Do not call this query directly: part of the `Eq` type-op"]
    pub type_op_ascribe_user_type: queries::type_op_ascribe_user_type::Storage<'tcx>,
    #[doc =
    " Do not call this query directly: part of the `ProvePredicate` type-op"]
    pub type_op_prove_predicate: queries::type_op_prove_predicate::Storage<'tcx>,
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    pub type_op_normalize_ty: queries::type_op_normalize_ty::Storage<'tcx>,
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    pub type_op_normalize_clause: queries::type_op_normalize_clause::Storage<'tcx>,
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    pub type_op_normalize_poly_fn_sig: queries::type_op_normalize_poly_fn_sig::Storage<'tcx>,
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    pub type_op_normalize_fn_sig: queries::type_op_normalize_fn_sig::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking impossible instantiated predicates:  `tcx.def_path_str(key.0)` "]
    pub instantiate_and_check_impossible_predicates: queries::instantiate_and_check_impossible_predicates::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(key.1)`  is impossible to reference within  `tcx.def_path_str(key.0)` "]
    pub is_impossible_associated_item: queries::is_impossible_associated_item::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] computing autoderef types for  `goal.canonical.value.value.self_ty` "]
    pub method_autoderef_steps: queries::method_autoderef_steps::Storage<'tcx>,
    #[doc = " Used by `-Znext-solver` to compute proof trees."]
    pub evaluate_root_goal_for_proof_tree_raw: queries::evaluate_root_goal_for_proof_tree_raw::Storage<'tcx>,
    #[doc =
    " Returns the Rust target features for the current target. These are not always the same as LLVM target features!"]
    pub rust_target_features: queries::rust_target_features::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] looking up implied target features"]
    pub implied_target_features: queries::implied_target_features::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] looking up enabled feature gates"]
    pub features_query: queries::features_query::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] the ast before macro expansion and name resolution"]
    pub crate_for_resolver: queries::crate_for_resolver::Storage<'tcx>,
    #[doc = " Attempt to resolve the given `DefId` to an `Instance`, for the"]
    #[doc = " given generics args (`GenericArgsRef`), returning one of:"]
    #[doc = "  * `Ok(Some(instance))` on success"]
    #[doc = "  * `Ok(None)` when the `GenericArgsRef` are still too generic,"]
    #[doc = "    and therefore don\'t allow finding the final `Instance`"]
    #[doc =
    "  * `Err(ErrorGuaranteed)` when the `Instance` resolution process"]
    #[doc =
    "    couldn\'t complete due to errors elsewhere - this is distinct"]
    #[doc =
    "    from `Ok(None)` to avoid misleading diagnostics when an error"]
    #[doc = "    has already been/will be emitted, for the original cause."]
    pub resolve_instance_raw: queries::resolve_instance_raw::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] revealing opaque types in `{:?}`"]
    pub reveal_opaque_types_in_bounds: queries::reveal_opaque_types_in_bounds::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] looking up limits"]
    pub limits: queries::limits::Storage<'tcx>,
    #[doc =
    " Performs an HIR-based well-formed check on the item with the given `HirId`. If"]
    #[doc =
    " we get an `Unimplemented` error that matches the provided `Predicate`, return"]
    #[doc = " the cause of the newly created obligation."]
    #[doc = ""]
    #[doc =
    " This is only used by error-reporting code to get a better cause (in particular, a better"]
    #[doc =
    " span) for an *existing* error. Therefore, it is best-effort, and may never handle"]
    #[doc =
    " all of the cases that the normal `ty::Ty`-based wfcheck does. This is fine,"]
    #[doc = " because the `ty::Ty`-based wfcheck is always run."]
    pub diagnostic_hir_wf_check: queries::diagnostic_hir_wf_check::Storage<'tcx>,
    #[doc =
    " The list of backend features computed from CLI flags (`-Ctarget-cpu`, `-Ctarget-feature`,"]
    #[doc = " `--target` and similar)."]
    pub global_backend_features: queries::global_backend_features::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking validity requirement for  `key.1.value` :  `key.0` "]
    pub check_validity_requirement: queries::check_validity_requirement::Storage<'tcx>,
    #[doc =
    " This takes the def-id of an associated item from a impl of a trait,"]
    #[doc =
    " and checks its validity against the trait item it corresponds to."]
    #[doc = ""]
    #[doc = " Any other def id will ICE."]
    pub compare_impl_item: queries::compare_impl_item::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] deducing parameter attributes for  `tcx.def_path_str(def_id)` "]
    pub deduced_param_attrs: queries::deduced_param_attrs::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] resolutions for documentation links for a module"]
    pub doc_link_resolutions: queries::doc_link_resolutions::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] traits in scope for documentation links for a module"]
    pub doc_link_traits_in_scope: queries::doc_link_traits_in_scope::Storage<'tcx>,
    #[doc =
    " Get all item paths that were stripped by a `#[cfg]` in a particular crate."]
    #[doc =
    " Should not be called for the local crate before the resolver outputs are created, as it"]
    #[doc = " is only fed there."]
    pub stripped_cfg_items: queries::stripped_cfg_items::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] check whether the item has a `where Self: Sized` bound"]
    pub generics_require_sized_self: queries::generics_require_sized_self::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] whether the item should be made inlinable across crates"]
    pub cross_crate_inlinable: queries::cross_crate_inlinable::Storage<'tcx>,
    #[doc = " Perform monomorphization-time checking on this item."]
    #[doc =
    " This is used for lints/errors that can only be checked once the instance is fully"]
    #[doc = " monomorphized."]
    pub check_mono_item: queries::check_mono_item::Storage<'tcx>,
    #[doc =
    " Builds the set of functions that should be skipped for the move-size check."]
    pub skip_move_check_fns: queries::skip_move_check_fns::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] collecting items used by  `key.0` "]
    pub items_of_instance: queries::items_of_instance::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] estimating codegen size of  `key` "]
    pub size_estimate: queries::size_estimate::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] looking up anon const kind of  `tcx.def_path_str(def_id)` "]
    pub anon_const_kind: queries::anon_const_kind::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(def_id)`  is a trivial const"]
    pub trivial_const: queries::trivial_const::Storage<'tcx>,
    #[doc = " Checks for the nearest `#[sanitize(xyz = \"off\")]` or"]
    #[doc =
    " `#[sanitize(xyz = \"on\")]` on this def and any enclosing defs, up to the"]
    #[doc = " crate root."]
    #[doc = ""]
    #[doc = " Returns the sanitizer settings for this def."]
    pub sanitizer_settings_for: queries::sanitizer_settings_for::Storage<'tcx>,
    #[doc =
    "[query description - consider adding a doc-comment!] check externally implementable items"]
    pub check_externally_implementable_items: queries::check_externally_implementable_items::Storage<'tcx>,
    #[doc = " Returns a list of all `externally implementable items` crate."]
    pub externally_implementable_items: queries::externally_implementable_items::Storage<'tcx>,
}
#[automatically_derived]
impl<'tcx> ::core::default::Default for QueryCaches<'tcx> {
    #[inline]
    fn default() -> QueryCaches<'tcx> {
        QueryCaches {
            derive_macro_expansion: ::core::default::Default::default(),
            trigger_delayed_bug: ::core::default::Default::default(),
            registered_tools: ::core::default::Default::default(),
            early_lint_checks: ::core::default::Default::default(),
            env_var_os: ::core::default::Default::default(),
            resolutions: ::core::default::Default::default(),
            resolver_for_lowering_raw: ::core::default::Default::default(),
            source_span: ::core::default::Default::default(),
            hir_crate: ::core::default::Default::default(),
            hir_crate_items: ::core::default::Default::default(),
            hir_module_items: ::core::default::Default::default(),
            local_def_id_to_hir_id: ::core::default::Default::default(),
            hir_owner_parent: ::core::default::Default::default(),
            opt_hir_owner_nodes: ::core::default::Default::default(),
            hir_attr_map: ::core::default::Default::default(),
            opt_ast_lowering_delayed_lints: ::core::default::Default::default(),
            const_param_default: ::core::default::Default::default(),
            const_of_item: ::core::default::Default::default(),
            type_of: ::core::default::Default::default(),
            type_of_opaque: ::core::default::Default::default(),
            type_of_opaque_hir_typeck: ::core::default::Default::default(),
            type_alias_is_lazy: ::core::default::Default::default(),
            collect_return_position_impl_trait_in_trait_tys: ::core::default::Default::default(),
            opaque_ty_origin: ::core::default::Default::default(),
            unsizing_params_for_adt: ::core::default::Default::default(),
            analysis: ::core::default::Default::default(),
            check_expectations: ::core::default::Default::default(),
            generics_of: ::core::default::Default::default(),
            predicates_of: ::core::default::Default::default(),
            opaque_types_defined_by: ::core::default::Default::default(),
            nested_bodies_within: ::core::default::Default::default(),
            explicit_item_bounds: ::core::default::Default::default(),
            explicit_item_self_bounds: ::core::default::Default::default(),
            item_bounds: ::core::default::Default::default(),
            item_self_bounds: ::core::default::Default::default(),
            item_non_self_bounds: ::core::default::Default::default(),
            impl_super_outlives: ::core::default::Default::default(),
            native_libraries: ::core::default::Default::default(),
            shallow_lint_levels_on: ::core::default::Default::default(),
            lint_expectations: ::core::default::Default::default(),
            lints_that_dont_need_to_run: ::core::default::Default::default(),
            expn_that_defined: ::core::default::Default::default(),
            is_panic_runtime: ::core::default::Default::default(),
            representability: ::core::default::Default::default(),
            representability_adt_ty: ::core::default::Default::default(),
            params_in_repr: ::core::default::Default::default(),
            thir_body: ::core::default::Default::default(),
            mir_keys: ::core::default::Default::default(),
            mir_const_qualif: ::core::default::Default::default(),
            mir_built: ::core::default::Default::default(),
            thir_abstract_const: ::core::default::Default::default(),
            mir_drops_elaborated_and_const_checked: ::core::default::Default::default(),
            mir_for_ctfe: ::core::default::Default::default(),
            mir_promoted: ::core::default::Default::default(),
            closure_typeinfo: ::core::default::Default::default(),
            closure_saved_names_of_captured_variables: ::core::default::Default::default(),
            mir_coroutine_witnesses: ::core::default::Default::default(),
            check_coroutine_obligations: ::core::default::Default::default(),
            check_potentially_region_dependent_goals: ::core::default::Default::default(),
            optimized_mir: ::core::default::Default::default(),
            coverage_attr_on: ::core::default::Default::default(),
            coverage_ids_info: ::core::default::Default::default(),
            promoted_mir: ::core::default::Default::default(),
            erase_and_anonymize_regions_ty: ::core::default::Default::default(),
            wasm_import_module_map: ::core::default::Default::default(),
            trait_explicit_predicates_and_bounds: ::core::default::Default::default(),
            explicit_predicates_of: ::core::default::Default::default(),
            inferred_outlives_of: ::core::default::Default::default(),
            explicit_super_predicates_of: ::core::default::Default::default(),
            explicit_implied_predicates_of: ::core::default::Default::default(),
            explicit_supertraits_containing_assoc_item: ::core::default::Default::default(),
            const_conditions: ::core::default::Default::default(),
            explicit_implied_const_bounds: ::core::default::Default::default(),
            type_param_predicates: ::core::default::Default::default(),
            trait_def: ::core::default::Default::default(),
            adt_def: ::core::default::Default::default(),
            adt_destructor: ::core::default::Default::default(),
            adt_async_destructor: ::core::default::Default::default(),
            adt_sizedness_constraint: ::core::default::Default::default(),
            adt_dtorck_constraint: ::core::default::Default::default(),
            constness: ::core::default::Default::default(),
            asyncness: ::core::default::Default::default(),
            is_promotable_const_fn: ::core::default::Default::default(),
            coroutine_by_move_body_def_id: ::core::default::Default::default(),
            coroutine_kind: ::core::default::Default::default(),
            coroutine_for_closure: ::core::default::Default::default(),
            coroutine_hidden_types: ::core::default::Default::default(),
            crate_variances: ::core::default::Default::default(),
            variances_of: ::core::default::Default::default(),
            inferred_outlives_crate: ::core::default::Default::default(),
            associated_item_def_ids: ::core::default::Default::default(),
            associated_item: ::core::default::Default::default(),
            associated_items: ::core::default::Default::default(),
            impl_item_implementor_ids: ::core::default::Default::default(),
            associated_types_for_impl_traits_in_trait_or_impl: ::core::default::Default::default(),
            impl_trait_header: ::core::default::Default::default(),
            impl_self_is_guaranteed_unsized: ::core::default::Default::default(),
            inherent_impls: ::core::default::Default::default(),
            incoherent_impls: ::core::default::Default::default(),
            check_transmutes: ::core::default::Default::default(),
            check_unsafety: ::core::default::Default::default(),
            check_tail_calls: ::core::default::Default::default(),
            assumed_wf_types: ::core::default::Default::default(),
            assumed_wf_types_for_rpitit: ::core::default::Default::default(),
            fn_sig: ::core::default::Default::default(),
            lint_mod: ::core::default::Default::default(),
            check_unused_traits: ::core::default::Default::default(),
            check_mod_attrs: ::core::default::Default::default(),
            check_mod_unstable_api_usage: ::core::default::Default::default(),
            check_mod_privacy: ::core::default::Default::default(),
            check_liveness: ::core::default::Default::default(),
            live_symbols_and_ignored_derived_traits: ::core::default::Default::default(),
            check_mod_deathness: ::core::default::Default::default(),
            check_type_wf: ::core::default::Default::default(),
            coerce_unsized_info: ::core::default::Default::default(),
            typeck: ::core::default::Default::default(),
            used_trait_imports: ::core::default::Default::default(),
            coherent_trait: ::core::default::Default::default(),
            mir_borrowck: ::core::default::Default::default(),
            crate_inherent_impls: ::core::default::Default::default(),
            crate_inherent_impls_validity_check: ::core::default::Default::default(),
            crate_inherent_impls_overlap_check: ::core::default::Default::default(),
            orphan_check_impl: ::core::default::Default::default(),
            mir_callgraph_cyclic: ::core::default::Default::default(),
            mir_inliner_callees: ::core::default::Default::default(),
            tag_for_variant: ::core::default::Default::default(),
            eval_to_allocation_raw: ::core::default::Default::default(),
            eval_static_initializer: ::core::default::Default::default(),
            eval_to_const_value_raw: ::core::default::Default::default(),
            eval_to_valtree: ::core::default::Default::default(),
            valtree_to_const_val: ::core::default::Default::default(),
            lit_to_const: ::core::default::Default::default(),
            check_match: ::core::default::Default::default(),
            effective_visibilities: ::core::default::Default::default(),
            check_private_in_public: ::core::default::Default::default(),
            reachable_set: ::core::default::Default::default(),
            region_scope_tree: ::core::default::Default::default(),
            mir_shims: ::core::default::Default::default(),
            symbol_name: ::core::default::Default::default(),
            def_kind: ::core::default::Default::default(),
            def_span: ::core::default::Default::default(),
            def_ident_span: ::core::default::Default::default(),
            ty_span: ::core::default::Default::default(),
            lookup_stability: ::core::default::Default::default(),
            lookup_const_stability: ::core::default::Default::default(),
            lookup_default_body_stability: ::core::default::Default::default(),
            should_inherit_track_caller: ::core::default::Default::default(),
            inherited_align: ::core::default::Default::default(),
            lookup_deprecation_entry: ::core::default::Default::default(),
            is_doc_hidden: ::core::default::Default::default(),
            is_doc_notable_trait: ::core::default::Default::default(),
            attrs_for_def: ::core::default::Default::default(),
            codegen_fn_attrs: ::core::default::Default::default(),
            asm_target_features: ::core::default::Default::default(),
            fn_arg_idents: ::core::default::Default::default(),
            rendered_const: ::core::default::Default::default(),
            rendered_precise_capturing_args: ::core::default::Default::default(),
            impl_parent: ::core::default::Default::default(),
            is_ctfe_mir_available: ::core::default::Default::default(),
            is_mir_available: ::core::default::Default::default(),
            own_existential_vtable_entries: ::core::default::Default::default(),
            vtable_entries: ::core::default::Default::default(),
            first_method_vtable_slot: ::core::default::Default::default(),
            supertrait_vtable_slot: ::core::default::Default::default(),
            vtable_allocation: ::core::default::Default::default(),
            codegen_select_candidate: ::core::default::Default::default(),
            all_local_trait_impls: ::core::default::Default::default(),
            local_trait_impls: ::core::default::Default::default(),
            trait_impls_of: ::core::default::Default::default(),
            specialization_graph_of: ::core::default::Default::default(),
            dyn_compatibility_violations: ::core::default::Default::default(),
            is_dyn_compatible: ::core::default::Default::default(),
            param_env: ::core::default::Default::default(),
            typing_env_normalized_for_post_analysis: ::core::default::Default::default(),
            is_copy_raw: ::core::default::Default::default(),
            is_use_cloned_raw: ::core::default::Default::default(),
            is_sized_raw: ::core::default::Default::default(),
            is_freeze_raw: ::core::default::Default::default(),
            is_unpin_raw: ::core::default::Default::default(),
            is_async_drop_raw: ::core::default::Default::default(),
            needs_drop_raw: ::core::default::Default::default(),
            needs_async_drop_raw: ::core::default::Default::default(),
            has_significant_drop_raw: ::core::default::Default::default(),
            has_structural_eq_impl: ::core::default::Default::default(),
            adt_drop_tys: ::core::default::Default::default(),
            adt_async_drop_tys: ::core::default::Default::default(),
            adt_significant_drop_tys: ::core::default::Default::default(),
            list_significant_drop_tys: ::core::default::Default::default(),
            layout_of: ::core::default::Default::default(),
            fn_abi_of_fn_ptr: ::core::default::Default::default(),
            fn_abi_of_instance: ::core::default::Default::default(),
            dylib_dependency_formats: ::core::default::Default::default(),
            dependency_formats: ::core::default::Default::default(),
            is_compiler_builtins: ::core::default::Default::default(),
            has_global_allocator: ::core::default::Default::default(),
            has_alloc_error_handler: ::core::default::Default::default(),
            has_panic_handler: ::core::default::Default::default(),
            is_profiler_runtime: ::core::default::Default::default(),
            has_ffi_unwind_calls: ::core::default::Default::default(),
            required_panic_strategy: ::core::default::Default::default(),
            panic_in_drop_strategy: ::core::default::Default::default(),
            is_no_builtins: ::core::default::Default::default(),
            symbol_mangling_version: ::core::default::Default::default(),
            extern_crate: ::core::default::Default::default(),
            specialization_enabled_in: ::core::default::Default::default(),
            specializes: ::core::default::Default::default(),
            in_scope_traits_map: ::core::default::Default::default(),
            defaultness: ::core::default::Default::default(),
            default_field: ::core::default::Default::default(),
            check_well_formed: ::core::default::Default::default(),
            enforce_impl_non_lifetime_params_are_constrained: ::core::default::Default::default(),
            reachable_non_generics: ::core::default::Default::default(),
            is_reachable_non_generic: ::core::default::Default::default(),
            is_unreachable_local_definition: ::core::default::Default::default(),
            upstream_monomorphizations: ::core::default::Default::default(),
            upstream_monomorphizations_for: ::core::default::Default::default(),
            upstream_drop_glue_for: ::core::default::Default::default(),
            upstream_async_drop_glue_for: ::core::default::Default::default(),
            foreign_modules: ::core::default::Default::default(),
            clashing_extern_declarations: ::core::default::Default::default(),
            entry_fn: ::core::default::Default::default(),
            proc_macro_decls_static: ::core::default::Default::default(),
            crate_hash: ::core::default::Default::default(),
            crate_host_hash: ::core::default::Default::default(),
            extra_filename: ::core::default::Default::default(),
            crate_extern_paths: ::core::default::Default::default(),
            implementations_of_trait: ::core::default::Default::default(),
            crate_incoherent_impls: ::core::default::Default::default(),
            native_library: ::core::default::Default::default(),
            inherit_sig_for_delegation_item: ::core::default::Default::default(),
            resolve_bound_vars: ::core::default::Default::default(),
            named_variable_map: ::core::default::Default::default(),
            is_late_bound_map: ::core::default::Default::default(),
            object_lifetime_default: ::core::default::Default::default(),
            late_bound_vars_map: ::core::default::Default::default(),
            opaque_captured_lifetimes: ::core::default::Default::default(),
            visibility: ::core::default::Default::default(),
            inhabited_predicate_adt: ::core::default::Default::default(),
            inhabited_predicate_type: ::core::default::Default::default(),
            dep_kind: ::core::default::Default::default(),
            crate_name: ::core::default::Default::default(),
            module_children: ::core::default::Default::default(),
            num_extern_def_ids: ::core::default::Default::default(),
            lib_features: ::core::default::Default::default(),
            stability_implications: ::core::default::Default::default(),
            intrinsic_raw: ::core::default::Default::default(),
            get_lang_items: ::core::default::Default::default(),
            all_diagnostic_items: ::core::default::Default::default(),
            defined_lang_items: ::core::default::Default::default(),
            diagnostic_items: ::core::default::Default::default(),
            missing_lang_items: ::core::default::Default::default(),
            visible_parent_map: ::core::default::Default::default(),
            trimmed_def_paths: ::core::default::Default::default(),
            missing_extern_crate_item: ::core::default::Default::default(),
            used_crate_source: ::core::default::Default::default(),
            debugger_visualizers: ::core::default::Default::default(),
            postorder_cnums: ::core::default::Default::default(),
            is_private_dep: ::core::default::Default::default(),
            allocator_kind: ::core::default::Default::default(),
            alloc_error_handler_kind: ::core::default::Default::default(),
            upvars_mentioned: ::core::default::Default::default(),
            crates: ::core::default::Default::default(),
            used_crates: ::core::default::Default::default(),
            duplicate_crate_names: ::core::default::Default::default(),
            traits: ::core::default::Default::default(),
            trait_impls_in_crate: ::core::default::Default::default(),
            stable_order_of_exportable_impls: ::core::default::Default::default(),
            exportable_items: ::core::default::Default::default(),
            exported_non_generic_symbols: ::core::default::Default::default(),
            exported_generic_symbols: ::core::default::Default::default(),
            collect_and_partition_mono_items: ::core::default::Default::default(),
            is_codegened_item: ::core::default::Default::default(),
            codegen_unit: ::core::default::Default::default(),
            backend_optimization_level: ::core::default::Default::default(),
            output_filenames: ::core::default::Default::default(),
            normalize_canonicalized_projection: ::core::default::Default::default(),
            normalize_canonicalized_free_alias: ::core::default::Default::default(),
            normalize_canonicalized_inherent_projection: ::core::default::Default::default(),
            try_normalize_generic_arg_after_erasing_regions: ::core::default::Default::default(),
            implied_outlives_bounds: ::core::default::Default::default(),
            dropck_outlives: ::core::default::Default::default(),
            evaluate_obligation: ::core::default::Default::default(),
            type_op_ascribe_user_type: ::core::default::Default::default(),
            type_op_prove_predicate: ::core::default::Default::default(),
            type_op_normalize_ty: ::core::default::Default::default(),
            type_op_normalize_clause: ::core::default::Default::default(),
            type_op_normalize_poly_fn_sig: ::core::default::Default::default(),
            type_op_normalize_fn_sig: ::core::default::Default::default(),
            instantiate_and_check_impossible_predicates: ::core::default::Default::default(),
            is_impossible_associated_item: ::core::default::Default::default(),
            method_autoderef_steps: ::core::default::Default::default(),
            evaluate_root_goal_for_proof_tree_raw: ::core::default::Default::default(),
            rust_target_features: ::core::default::Default::default(),
            implied_target_features: ::core::default::Default::default(),
            features_query: ::core::default::Default::default(),
            crate_for_resolver: ::core::default::Default::default(),
            resolve_instance_raw: ::core::default::Default::default(),
            reveal_opaque_types_in_bounds: ::core::default::Default::default(),
            limits: ::core::default::Default::default(),
            diagnostic_hir_wf_check: ::core::default::Default::default(),
            global_backend_features: ::core::default::Default::default(),
            check_validity_requirement: ::core::default::Default::default(),
            compare_impl_item: ::core::default::Default::default(),
            deduced_param_attrs: ::core::default::Default::default(),
            doc_link_resolutions: ::core::default::Default::default(),
            doc_link_traits_in_scope: ::core::default::Default::default(),
            stripped_cfg_items: ::core::default::Default::default(),
            generics_require_sized_self: ::core::default::Default::default(),
            cross_crate_inlinable: ::core::default::Default::default(),
            check_mono_item: ::core::default::Default::default(),
            skip_move_check_fns: ::core::default::Default::default(),
            items_of_instance: ::core::default::Default::default(),
            size_estimate: ::core::default::Default::default(),
            anon_const_kind: ::core::default::Default::default(),
            trivial_const: ::core::default::Default::default(),
            sanitizer_settings_for: ::core::default::Default::default(),
            check_externally_implementable_items: ::core::default::Default::default(),
            externally_implementable_items: ::core::default::Default::default(),
        }
    }
}
impl<'tcx> TyCtxtEnsureOk<'tcx> {
    #[doc =
    " Caches the expansion of a derive proc macro, e.g. `#[derive(Serialize)]`."]
    #[doc = " The key is:"]
    #[doc = " - A unique key corresponding to the invocation of a macro."]
    #[doc = " - Token stream which serves as an input to the macro."]
    #[doc = ""]
    #[doc = " The output is the token stream generated by the proc macro."]
    #[inline(always)]
    pub fn derive_macro_expansion(self, key: (LocalExpnId, &'tcx TokenStream))
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.derive_macro_expansion,
            &self.tcx.query_system.caches.derive_macro_expansion,
            key.into_query_param(), false)
    }
    #[doc =
    " This exists purely for testing the interactions between delayed bugs and incremental."]
    #[inline(always)]
    pub fn trigger_delayed_bug(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.trigger_delayed_bug,
            &self.tcx.query_system.caches.trigger_delayed_bug,
            key.into_query_param(), false)
    }
    #[doc =
    " Collects the list of all tools registered using `#![register_tool]`."]
    #[inline(always)]
    pub fn registered_tools(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.registered_tools,
            &self.tcx.query_system.caches.registered_tools,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] perform lints prior to AST lowering"]
    #[inline(always)]
    pub fn early_lint_checks(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.early_lint_checks,
            &self.tcx.query_system.caches.early_lint_checks,
            key.into_query_param(), false)
    }
    #[doc = " Tracked access to environment variables."]
    #[doc = ""]
    #[doc =
    " Useful for the implementation of `std::env!`, `proc-macro`s change"]
    #[doc =
    " detection and other changes in the compiler\'s behaviour that is easier"]
    #[doc = " to control with an environment variable than a flag."]
    #[doc = ""]
    #[doc = " NOTE: This currently does not work with dependency info in the"]
    #[doc =
    " analysis, codegen and linking passes, place extra code at the top of"]
    #[doc = " `rustc_interface::passes::write_dep_info` to make that work."]
    #[inline(always)]
    pub fn env_var_os(self, key: &'tcx OsStr) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.env_var_os,
            &self.tcx.query_system.caches.env_var_os, key.into_query_param(),
            false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the resolver outputs"]
    #[inline(always)]
    pub fn resolutions(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.resolutions,
            &self.tcx.query_system.caches.resolutions, key.into_query_param(),
            false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the resolver for lowering"]
    #[inline(always)]
    pub fn resolver_for_lowering_raw(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.resolver_for_lowering_raw,
            &self.tcx.query_system.caches.resolver_for_lowering_raw,
            key.into_query_param(), false)
    }
    #[doc = " Return the span for a definition."]
    #[doc = ""]
    #[doc =
    " Contrary to `def_span` below, this query returns the full absolute span of the definition."]
    #[doc =
    " This span is meant for dep-tracking rather than diagnostics. It should not be used outside"]
    #[doc = " of rustc_middle::hir::source_map."]
    #[inline(always)]
    pub fn source_span(self, key: impl IntoQueryParam<LocalDefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.source_span,
            &self.tcx.query_system.caches.source_span, key.into_query_param(),
            false)
    }
    #[doc =
    " Represents crate as a whole (as distinct from the top-level crate module)."]
    #[doc = ""]
    #[doc =
    " If you call `tcx.hir_crate(())` we will have to assume that any change"]
    #[doc =
    " means that you need to be recompiled. This is because the `hir_crate`"]
    #[doc =
    " query gives you access to all other items. To avoid this fate, do not"]
    #[doc = " call `tcx.hir_crate(())`; instead, prefer wrappers like"]
    #[doc = " [`TyCtxt::hir_visit_all_item_likes_in_crate`]."]
    #[inline(always)]
    pub fn hir_crate(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.hir_crate,
            &self.tcx.query_system.caches.hir_crate, key.into_query_param(),
            false)
    }
    #[doc = " All items in the crate."]
    #[inline(always)]
    pub fn hir_crate_items(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.hir_crate_items,
            &self.tcx.query_system.caches.hir_crate_items,
            key.into_query_param(), false)
    }
    #[doc = " The items in a module."]
    #[doc = ""]
    #[doc =
    " This can be conveniently accessed by `tcx.hir_visit_item_likes_in_module`."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    pub fn hir_module_items(self, key: LocalModDefId) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.hir_module_items,
            &self.tcx.query_system.caches.hir_module_items,
            key.into_query_param(), false)
    }
    #[doc = " Returns HIR ID for the given `LocalDefId`."]
    #[inline(always)]
    pub fn local_def_id_to_hir_id(self, key: impl IntoQueryParam<LocalDefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.local_def_id_to_hir_id,
            &self.tcx.query_system.caches.local_def_id_to_hir_id,
            key.into_query_param(), false)
    }
    #[doc =
    " Gives access to the HIR node\'s parent for the HIR owner `key`."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    pub fn hir_owner_parent(self, key: hir::OwnerId) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.hir_owner_parent,
            &self.tcx.query_system.caches.hir_owner_parent,
            key.into_query_param(), false)
    }
    #[doc =
    " Gives access to the HIR nodes and bodies inside `key` if it\'s a HIR owner."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    pub fn opt_hir_owner_nodes(self, key: impl IntoQueryParam<LocalDefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.opt_hir_owner_nodes,
            &self.tcx.query_system.caches.opt_hir_owner_nodes,
            key.into_query_param(), false)
    }
    #[doc = " Gives access to the HIR attributes inside the HIR owner `key`."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    pub fn hir_attr_map(self, key: hir::OwnerId) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.hir_attr_map,
            &self.tcx.query_system.caches.hir_attr_map,
            key.into_query_param(), false)
    }
    #[doc = " Gives access to lints emitted during ast lowering."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    pub fn opt_ast_lowering_delayed_lints(self, key: hir::OwnerId) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.opt_ast_lowering_delayed_lints,
            &self.tcx.query_system.caches.opt_ast_lowering_delayed_lints,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the *default* of the const pararameter given by `DefId`."]
    #[doc = ""]
    #[doc =
    " E.g., given `struct Ty<const N: usize = 3>;` this returns `3` for `N`."]
    #[inline(always)]
    pub fn const_param_default(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.const_param_default,
            &self.tcx.query_system.caches.const_param_default,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the const of the RHS of a (free or assoc) const item, if it is a `#[type_const]`."]
    #[doc = ""]
    #[doc =
    " When a const item is used in a type-level expression, like in equality for an assoc const"]
    #[doc =
    " projection, this allows us to retrieve the typesystem-appropriate representation of the"]
    #[doc = " const value."]
    #[doc = ""]
    #[doc =
    " This query will ICE if given a const that is not marked with `#[type_const]`."]
    #[inline(always)]
    pub fn const_of_item(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.const_of_item,
            &self.tcx.query_system.caches.const_of_item,
            key.into_query_param(), false)
    }
    #[doc = " Returns the *type* of the definition given by `DefId`."]
    #[doc = ""]
    #[doc =
    " For type aliases (whether eager or lazy) and associated types, this returns"]
    #[doc =
    " the underlying aliased type (not the corresponding [alias type])."]
    #[doc = ""]
    #[doc =
    " For opaque types, this returns and thus reveals the hidden type! If you"]
    #[doc = " want to detect cycle errors use `type_of_opaque` instead."]
    #[doc = ""]
    #[doc =
    " To clarify, for type definitions, this does *not* return the \"type of a type\""]
    #[doc =
    " (aka *kind* or *sort*) in the type-theoretical sense! It merely returns"]
    #[doc = " the type primarily *associated with* it."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition doesn\'t (and can\'t"]
    #[doc = " conceptually) have an (underlying) type."]
    #[doc = ""]
    #[doc = " [alias type]: rustc_middle::ty::AliasTy"]
    #[inline(always)]
    pub fn type_of(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_of,
            &self.tcx.query_system.caches.type_of, key.into_query_param(),
            false)
    }
    #[doc =
    " Returns the *hidden type* of the opaque type given by `DefId` unless a cycle occurred."]
    #[doc = ""]
    #[doc =
    " This is a specialized instance of [`Self::type_of`] that detects query cycles."]
    #[doc =
    " Unless `CyclePlaceholder` needs to be handled separately, call [`Self::type_of`] instead."]
    #[doc =
    " This is used to improve the error message in cases where revealing the hidden type"]
    #[doc = " for auto-trait leakage cycles."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not an opaque type."]
    #[inline(always)]
    pub fn type_of_opaque(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_of_opaque,
            &self.tcx.query_system.caches.type_of_opaque,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing type of opaque `{path}` via HIR typeck"]
    #[inline(always)]
    pub fn type_of_opaque_hir_typeck(self,
        key: impl IntoQueryParam<LocalDefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_of_opaque_hir_typeck,
            &self.tcx.query_system.caches.type_of_opaque_hir_typeck,
            key.into_query_param(), false)
    }
    #[doc = " Returns whether the type alias given by `DefId` is lazy."]
    #[doc = ""]
    #[doc =
    " I.e., if the type alias expands / ought to expand to a [free] [alias type]"]
    #[doc = " instead of the underlying aliased type."]
    #[doc = ""]
    #[doc =
    " Relevant for features `lazy_type_alias` and `type_alias_impl_trait`."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query *may* panic if the given definition is not a type alias."]
    #[doc = ""]
    #[doc = " [free]: rustc_middle::ty::Free"]
    #[doc = " [alias type]: rustc_middle::ty::AliasTy"]
    #[inline(always)]
    pub fn type_alias_is_lazy(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_alias_is_lazy,
            &self.tcx.query_system.caches.type_alias_is_lazy,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] comparing an impl and trait method signature, inferring any hidden `impl Trait` types in the process"]
    #[inline(always)]
    pub fn collect_return_position_impl_trait_in_trait_tys(self,
        key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.collect_return_position_impl_trait_in_trait_tys,
            &self.tcx.query_system.caches.collect_return_position_impl_trait_in_trait_tys,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determine where the opaque originates from"]
    #[inline(always)]
    pub fn opaque_ty_origin(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.opaque_ty_origin,
            &self.tcx.query_system.caches.opaque_ty_origin,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determining what parameters of  `tcx.def_path_str(key)`  can participate in unsizing"]
    #[inline(always)]
    pub fn unsizing_params_for_adt(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.unsizing_params_for_adt,
            &self.tcx.query_system.caches.unsizing_params_for_adt,
            key.into_query_param(), false)
    }
    #[doc =
    " The root query triggering all analysis passes like typeck or borrowck."]
    #[inline(always)]
    pub fn analysis(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.analysis,
            &self.tcx.query_system.caches.analysis, key.into_query_param(),
            false)
    }
    #[doc =
    " This query checks the fulfillment of collected lint expectations."]
    #[doc =
    " All lint emitting queries have to be done before this is executed"]
    #[doc = " to ensure that all expectations can be fulfilled."]
    #[doc = ""]
    #[doc =
    " This is an extra query to enable other drivers (like rustdoc) to"]
    #[doc =
    " only execute a small subset of the `analysis` query, while allowing"]
    #[doc =
    " lints to be expected. In rustc, this query will be executed as part of"]
    #[doc =
    " the `analysis` query and doesn\'t have to be called a second time."]
    #[doc = ""]
    #[doc =
    " Tools can additionally pass in a tool filter. That will restrict the"]
    #[doc =
    " expectations to only trigger for lints starting with the listed tool"]
    #[doc =
    " name. This is useful for cases were not all linting code from rustc"]
    #[doc =
    " was called. With the default `None` all registered lints will also"]
    #[doc = " be checked for expectation fulfillment."]
    #[inline(always)]
    pub fn check_expectations(self, key: Option<Symbol>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_expectations,
            &self.tcx.query_system.caches.check_expectations,
            key.into_query_param(), false)
    }
    #[doc = " Returns the *generics* of the definition given by `DefId`."]
    #[inline(always)]
    pub fn generics_of(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.generics_of,
            &self.tcx.query_system.caches.generics_of, key.into_query_param(),
            false)
    }
    #[doc =
    " Returns the (elaborated) *predicates* of the definition given by `DefId`"]
    #[doc =
    " that must be proven true at usage sites (and which can be assumed at definition site)."]
    #[doc = ""]
    #[doc =
    " This is almost always *the* \"predicates query\" that you want."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_dump_predicates]` on an item to basically print"]
    #[doc =
    " the result of this query for use in UI tests or for debugging purposes."]
    #[inline(always)]
    pub fn predicates_of(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.predicates_of,
            &self.tcx.query_system.caches.predicates_of,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing the opaque types defined by  `tcx.def_path_str(key.to_def_id())` "]
    #[inline(always)]
    pub fn opaque_types_defined_by(self, key: impl IntoQueryParam<LocalDefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.opaque_types_defined_by,
            &self.tcx.query_system.caches.opaque_types_defined_by,
            key.into_query_param(), false)
    }
    #[doc =
    " A list of all bodies inside of `key`, nested bodies are always stored"]
    #[doc = " before their parent."]
    #[inline(always)]
    pub fn nested_bodies_within(self, key: impl IntoQueryParam<LocalDefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.nested_bodies_within,
            &self.tcx.query_system.caches.nested_bodies_within,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the explicitly user-written *bounds* on the associated or opaque type given by `DefId`"]
    #[doc =
    " that must be proven true at definition site (and which can be assumed at usage sites)."]
    #[doc = ""]
    #[doc =
    " For associated types, these must be satisfied for an implementation"]
    #[doc =
    " to be well-formed, and for opaque types, these are required to be"]
    #[doc = " satisfied by the hidden type of the opaque."]
    #[doc = ""]
    #[doc =
    " Bounds from the parent (e.g. with nested `impl Trait`) are not included."]
    #[doc = ""]
    #[doc =
    " Syntactially, these are the bounds written on associated types in trait"]
    #[doc = " definitions, or those after the `impl` keyword for an opaque:"]
    #[doc = ""]
    #[doc = " ```ignore (illustrative)"]
    #[doc = " trait Trait { type X: Bound + \'lt; }"]
    #[doc = " //                    ^^^^^^^^^^^"]
    #[doc = " fn function() -> impl Debug + Display { /*...*/ }"]
    #[doc = " //                    ^^^^^^^^^^^^^^^"]
    #[doc = " ```"]
    #[inline(always)]
    pub fn explicit_item_bounds(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.explicit_item_bounds,
            &self.tcx.query_system.caches.explicit_item_bounds,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the explicitly user-written *bounds* that share the `Self` type of the item."]
    #[doc = ""]
    #[doc =
    " These are a subset of the [explicit item bounds] that may explicitly be used for things"]
    #[doc = " like closure signature deduction."]
    #[doc = ""]
    #[doc = " [explicit item bounds]: Self::explicit_item_bounds"]
    #[inline(always)]
    pub fn explicit_item_self_bounds(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.explicit_item_self_bounds,
            &self.tcx.query_system.caches.explicit_item_self_bounds,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the (elaborated) *bounds* on the associated or opaque type given by `DefId`"]
    #[doc =
    " that must be proven true at definition site (and which can be assumed at usage sites)."]
    #[doc = ""]
    #[doc =
    " Bounds from the parent (e.g. with nested `impl Trait`) are not included."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_dump_item_bounds]` on an item to basically print"]
    #[doc =
    " the result of this query for use in UI tests or for debugging purposes."]
    #[doc = ""]
    #[doc = " # Examples"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait Trait { type Assoc: Eq + ?Sized; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " While [`Self::explicit_item_bounds`] returns `[<Self as Trait>::Assoc: Eq]`"]
    #[doc = " here, `item_bounds` returns:"]
    #[doc = ""]
    #[doc = " ```text"]
    #[doc = " ["]
    #[doc = "     <Self as Trait>::Assoc: Eq,"]
    #[doc = "     <Self as Trait>::Assoc: PartialEq<<Self as Trait>::Assoc>"]
    #[doc = " ]"]
    #[doc = " ```"]
    #[inline(always)]
    pub fn item_bounds(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.item_bounds,
            &self.tcx.query_system.caches.item_bounds, key.into_query_param(),
            false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating item assumptions for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn item_self_bounds(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.item_self_bounds,
            &self.tcx.query_system.caches.item_self_bounds,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating item assumptions for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn item_non_self_bounds(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.item_non_self_bounds,
            &self.tcx.query_system.caches.item_non_self_bounds,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating supertrait outlives for trait of  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn impl_super_outlives(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.impl_super_outlives,
            &self.tcx.query_system.caches.impl_super_outlives,
            key.into_query_param(), false)
    }
    #[doc = " Look up all native libraries this crate depends on."]
    #[doc = " These are assembled from the following places:"]
    #[doc = " - `extern` blocks (depending on their `link` attributes)"]
    #[doc = " - the `libs` (`-l`) option"]
    #[inline(always)]
    pub fn native_libraries(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.native_libraries,
            &self.tcx.query_system.caches.native_libraries,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up lint levels for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn shallow_lint_levels_on(self, key: hir::OwnerId) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.shallow_lint_levels_on,
            &self.tcx.query_system.caches.shallow_lint_levels_on,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing `#[expect]`ed lints in this crate"]
    #[inline(always)]
    pub fn lint_expectations(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lint_expectations,
            &self.tcx.query_system.caches.lint_expectations,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] Computing all lints that are explicitly enabled or with a default level greater than Allow"]
    #[inline(always)]
    pub fn lints_that_dont_need_to_run(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lints_that_dont_need_to_run,
            &self.tcx.query_system.caches.lints_that_dont_need_to_run,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the expansion that defined  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn expn_that_defined(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.expn_that_defined,
            &self.tcx.query_system.caches.expn_that_defined,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate is_panic_runtime"]
    #[inline(always)]
    pub fn is_panic_runtime(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_panic_runtime,
            &self.tcx.query_system.caches.is_panic_runtime,
            key.into_query_param(), false)
    }
    #[doc = " Checks whether a type is representable or infinitely sized"]
    #[inline(always)]
    pub fn representability(self, key: impl IntoQueryParam<LocalDefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.representability,
            &self.tcx.query_system.caches.representability,
            key.into_query_param(), false)
    }
    #[doc = " An implementation detail for the `representability` query"]
    #[inline(always)]
    pub fn representability_adt_ty(self, key: Ty<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.representability_adt_ty,
            &self.tcx.query_system.caches.representability_adt_ty,
            key.into_query_param(), false)
    }
    #[doc =
    " Set of param indexes for type params that are in the type\'s representation"]
    #[inline(always)]
    pub fn params_in_repr(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.params_in_repr,
            &self.tcx.query_system.caches.params_in_repr,
            key.into_query_param(), false)
    }
    #[doc =
    " Fetch the THIR for a given body. The THIR body gets stolen by unsafety checking unless"]
    #[doc = " `-Zno-steal-thir` is on."]
    #[inline(always)]
    pub fn thir_body(self, key: impl IntoQueryParam<LocalDefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.thir_body,
            &self.tcx.query_system.caches.thir_body, key.into_query_param(),
            false)
    }
    #[doc =
    " Set of all the `DefId`s in this crate that have MIR associated with"]
    #[doc =
    " them. This includes all the body owners, but also things like struct"]
    #[doc = " constructors."]
    #[inline(always)]
    pub fn mir_keys(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_keys,
            &self.tcx.query_system.caches.mir_keys, key.into_query_param(),
            false)
    }
    #[doc =
    " Maps DefId\'s that have an associated `mir::Body` to the result"]
    #[doc = " of the MIR const-checking pass. This is the set of qualifs in"]
    #[doc = " the final value of a `const`."]
    #[inline(always)]
    pub fn mir_const_qualif(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_const_qualif,
            &self.tcx.query_system.caches.mir_const_qualif,
            key.into_query_param(), false)
    }
    #[doc =
    " Build the MIR for a given `DefId` and prepare it for const qualification."]
    #[doc = ""]
    #[doc = " See the [rustc dev guide] for more info."]
    #[doc = ""]
    #[doc =
    " [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/mir/construction.html"]
    #[inline(always)]
    pub fn mir_built(self, key: impl IntoQueryParam<LocalDefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_built,
            &self.tcx.query_system.caches.mir_built, key.into_query_param(),
            false)
    }
    #[doc = " Try to build an abstract representation of the given constant."]
    #[inline(always)]
    pub fn thir_abstract_const(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.thir_abstract_const,
            &self.tcx.query_system.caches.thir_abstract_const,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating drops for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn mir_drops_elaborated_and_const_checked(self,
        key: impl IntoQueryParam<LocalDefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_drops_elaborated_and_const_checked,
            &self.tcx.query_system.caches.mir_drops_elaborated_and_const_checked,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] caching mir of  `tcx.def_path_str(key)`  for CTFE"]
    #[inline(always)]
    pub fn mir_for_ctfe(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_for_ctfe,
            &self.tcx.query_system.caches.mir_for_ctfe,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] promoting constants in MIR for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn mir_promoted(self, key: impl IntoQueryParam<LocalDefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_promoted,
            &self.tcx.query_system.caches.mir_promoted,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding symbols for captures of closure  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn closure_typeinfo(self, key: impl IntoQueryParam<LocalDefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.closure_typeinfo,
            &self.tcx.query_system.caches.closure_typeinfo,
            key.into_query_param(), false)
    }
    #[doc = " Returns names of captured upvars for closures and coroutines."]
    #[doc = ""]
    #[doc = " Here are some examples:"]
    #[doc = "  - `name__field1__field2` when the upvar is captured by value."]
    #[doc =
    "  - `_ref__name__field` when the upvar is captured by reference."]
    #[doc = ""]
    #[doc =
    " For coroutines this only contains upvars that are shared by all states."]
    #[inline(always)]
    pub fn closure_saved_names_of_captured_variables(self,
        key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.closure_saved_names_of_captured_variables,
            &self.tcx.query_system.caches.closure_saved_names_of_captured_variables,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] coroutine witness types for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn mir_coroutine_witnesses(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_coroutine_witnesses,
            &self.tcx.query_system.caches.mir_coroutine_witnesses,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] verify auto trait bounds for coroutine interior type  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn check_coroutine_obligations(self,
        key: impl IntoQueryParam<LocalDefId>) -> Result<(), ErrorGuaranteed> {
        crate::query::inner::query_ensure_error_guaranteed(self.tcx,
            self.tcx.query_system.fns.engine.check_coroutine_obligations,
            &self.tcx.query_system.caches.check_coroutine_obligations,
            key.into_query_param(), false)
    }
    #[doc =
    " Used in case `mir_borrowck` fails to prove an obligation. We generally assume that"]
    #[doc =
    " all goals we prove in MIR type check hold as we\'ve already checked them in HIR typeck."]
    #[doc = ""]
    #[doc =
    " However, we replace each free region in the MIR body with a unique region inference"]
    #[doc =
    " variable. As we may rely on structural identity when proving goals this may cause a"]
    #[doc =
    " goal to no longer hold. We store obligations for which this may happen during HIR"]
    #[doc =
    " typeck in the `TypeckResults`. We then uniquify and reprove them in case MIR typeck"]
    #[doc =
    " encounters an unexpected error. We expect this to result in an error when used and"]
    #[doc = " delay a bug if it does not."]
    #[inline(always)]
    pub fn check_potentially_region_dependent_goals(self,
        key: impl IntoQueryParam<LocalDefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_potentially_region_dependent_goals,
            &self.tcx.query_system.caches.check_potentially_region_dependent_goals,
            key.into_query_param(), false)
    }
    #[doc =
    " MIR after our optimization passes have run. This is MIR that is ready"]
    #[doc =
    " for codegen. This is also the only query that can fetch non-local MIR, at present."]
    #[inline(always)]
    pub fn optimized_mir(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.optimized_mir,
            &self.tcx.query_system.caches.optimized_mir,
            key.into_query_param(), false)
    }
    #[doc =
    " Checks for the nearest `#[coverage(off)]` or `#[coverage(on)]` on"]
    #[doc = " this def and any enclosing defs, up to the crate root."]
    #[doc = ""]
    #[doc = " Returns `false` if `#[coverage(off)]` was found, or `true` if"]
    #[doc = " either `#[coverage(on)]` or no coverage attribute was found."]
    #[inline(always)]
    pub fn coverage_attr_on(self, key: impl IntoQueryParam<LocalDefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.coverage_attr_on,
            &self.tcx.query_system.caches.coverage_attr_on,
            key.into_query_param(), false)
    }
    #[doc =
    " Scans through a function\'s MIR after MIR optimizations, to prepare the"]
    #[doc =
    " information needed by codegen when `-Cinstrument-coverage` is active."]
    #[doc = ""]
    #[doc =
    " This includes the details of where to insert `llvm.instrprof.increment`"]
    #[doc =
    " intrinsics, and the expression tables to be embedded in the function\'s"]
    #[doc = " coverage metadata."]
    #[doc = ""]
    #[doc =
    " FIXME(Zalathar): This query\'s purpose has drifted a bit and should"]
    #[doc =
    " probably be renamed, but that can wait until after the potential"]
    #[doc = " follow-ups to #136053 have settled down."]
    #[doc = ""]
    #[doc = " Returns `None` for functions that were not instrumented."]
    #[inline(always)]
    pub fn coverage_ids_info(self, key: ty::InstanceKind<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.coverage_ids_info,
            &self.tcx.query_system.caches.coverage_ids_info,
            key.into_query_param(), false)
    }
    #[doc =
    " The `DefId` is the `DefId` of the containing MIR body. Promoteds do not have their own"]
    #[doc =
    " `DefId`. This function returns all promoteds in the specified body. The body references"]
    #[doc =
    " promoteds by the `DefId` and the `mir::Promoted` index. This is necessary, because"]
    #[doc =
    " after inlining a body may refer to promoteds from other bodies. In that case you still"]
    #[doc = " need to use the `DefId` of the original body."]
    #[inline(always)]
    pub fn promoted_mir(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.promoted_mir,
            &self.tcx.query_system.caches.promoted_mir,
            key.into_query_param(), false)
    }
    #[doc = " Erases regions from `ty` to yield a new type."]
    #[doc =
    " Normally you would just use `tcx.erase_and_anonymize_regions(value)`,"]
    #[doc = " however, which uses this query as a kind of cache."]
    #[inline(always)]
    pub fn erase_and_anonymize_regions_ty(self, key: Ty<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.erase_and_anonymize_regions_ty,
            &self.tcx.query_system.caches.erase_and_anonymize_regions_ty,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting wasm import module map"]
    #[inline(always)]
    pub fn wasm_import_module_map(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.wasm_import_module_map,
            &self.tcx.query_system.caches.wasm_import_module_map,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the explicitly user-written *predicates and bounds* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc = " Traits are unusual, because predicates on associated types are"]
    #[doc =
    " converted into bounds on that type for backwards compatibility:"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait X where Self::U: Copy { type U; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc = " becomes"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait X { type U: Copy; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " [`Self::explicit_predicates_of`] and [`Self::explicit_item_bounds`] will"]
    #[doc = " then take the appropriate subsets of the predicates here."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc = " This query will panic if the given definition is not a trait."]
    #[inline(always)]
    pub fn trait_explicit_predicates_and_bounds(self,
        key: impl IntoQueryParam<LocalDefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.trait_explicit_predicates_and_bounds,
            &self.tcx.query_system.caches.trait_explicit_predicates_and_bounds,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the explicitly user-written *predicates* of the definition given by `DefId`"]
    #[doc =
    " that must be proven true at usage sites (and which can be assumed at definition site)."]
    #[doc = ""]
    #[doc =
    " You should probably use [`Self::predicates_of`] unless you\'re looking for"]
    #[doc = " predicates with explicit spans for diagnostics purposes."]
    #[inline(always)]
    pub fn explicit_predicates_of(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.explicit_predicates_of,
            &self.tcx.query_system.caches.explicit_predicates_of,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the *inferred outlives-predicates* of the item given by `DefId`."]
    #[doc = ""]
    #[doc =
    " E.g., for `struct Foo<\'a, T> { x: &\'a T }`, this would return `[T: \'a]`."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_outlives]` on an item to basically print the"]
    #[doc =
    " result of this query for use in UI tests or for debugging purposes."]
    #[inline(always)]
    pub fn inferred_outlives_of(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.inferred_outlives_of,
            &self.tcx.query_system.caches.inferred_outlives_of,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the explicitly user-written *super-predicates* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc =
    " These predicates are unelaborated and consequently don\'t contain transitive super-predicates."]
    #[doc = ""]
    #[doc =
    " This is a subset of the full list of predicates. We store these in a separate map"]
    #[doc =
    " because we must evaluate them even during type conversion, often before the full"]
    #[doc =
    " predicates are available (note that super-predicates must not be cyclic)."]
    #[inline(always)]
    pub fn explicit_super_predicates_of(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.explicit_super_predicates_of,
            &self.tcx.query_system.caches.explicit_super_predicates_of,
            key.into_query_param(), false)
    }
    #[doc =
    " The predicates of the trait that are implied during elaboration."]
    #[doc = ""]
    #[doc =
    " This is a superset of the super-predicates of the trait, but a subset of the predicates"]
    #[doc =
    " of the trait. For regular traits, this includes all super-predicates and their"]
    #[doc =
    " associated type bounds. For trait aliases, currently, this includes all of the"]
    #[doc = " predicates of the trait alias."]
    #[inline(always)]
    pub fn explicit_implied_predicates_of(self,
        key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.explicit_implied_predicates_of,
            &self.tcx.query_system.caches.explicit_implied_predicates_of,
            key.into_query_param(), false)
    }
    #[doc =
    " The Ident is the name of an associated type.The query returns only the subset"]
    #[doc =
    " of supertraits that define the given associated type. This is used to avoid"]
    #[doc =
    " cycles in resolving type-dependent associated item paths like `T::Item`."]
    #[inline(always)]
    pub fn explicit_supertraits_containing_assoc_item(self,
        key: (DefId, rustc_span::Ident)) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.explicit_supertraits_containing_assoc_item,
            &self.tcx.query_system.caches.explicit_supertraits_containing_assoc_item,
            key.into_query_param(), false)
    }
    #[doc =
    " Compute the conditions that need to hold for a conditionally-const item to be const."]
    #[doc =
    " That is, compute the set of `[const]` where clauses for a given item."]
    #[doc = ""]
    #[doc =
    " This can be thought of as the `[const]` equivalent of `predicates_of`. These are the"]
    #[doc =
    " predicates that need to be proven at usage sites, and can be assumed at definition."]
    #[doc = ""]
    #[doc =
    " This query also computes the `[const]` where clauses for associated types, which are"]
    #[doc =
    " not \"const\", but which have item bounds which may be `[const]`. These must hold for"]
    #[doc = " the `[const]` item bound to hold."]
    #[inline(always)]
    pub fn const_conditions(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.const_conditions,
            &self.tcx.query_system.caches.const_conditions,
            key.into_query_param(), false)
    }
    #[doc =
    " Compute the const bounds that are implied for a conditionally-const item."]
    #[doc = ""]
    #[doc =
    " This can be though of as the `[const]` equivalent of `explicit_item_bounds`. These"]
    #[doc =
    " are the predicates that need to proven at definition sites, and can be assumed at"]
    #[doc = " usage sites."]
    #[inline(always)]
    pub fn explicit_implied_const_bounds(self,
        key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.explicit_implied_const_bounds,
            &self.tcx.query_system.caches.explicit_implied_const_bounds,
            key.into_query_param(), false)
    }
    #[doc =
    " To avoid cycles within the predicates of a single item we compute"]
    #[doc = " per-type-parameter predicates for resolving `T::AssocTy`."]
    #[inline(always)]
    pub fn type_param_predicates(self,
        key: (LocalDefId, LocalDefId, rustc_span::Ident)) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_param_predicates,
            &self.tcx.query_system.caches.type_param_predicates,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing trait definition for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn trait_def(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.trait_def,
            &self.tcx.query_system.caches.trait_def, key.into_query_param(),
            false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing ADT definition for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn adt_def(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.adt_def,
            &self.tcx.query_system.caches.adt_def, key.into_query_param(),
            false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing `Drop` impl for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn adt_destructor(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.adt_destructor,
            &self.tcx.query_system.caches.adt_destructor,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing `AsyncDrop` impl for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn adt_async_destructor(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.adt_async_destructor,
            &self.tcx.query_system.caches.adt_async_destructor,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing the sizedness constraint for  `tcx.def_path_str(key.0)` "]
    #[inline(always)]
    pub fn adt_sizedness_constraint(self, key: (DefId, SizedTraitKind))
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.adt_sizedness_constraint,
            &self.tcx.query_system.caches.adt_sizedness_constraint,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing drop-check constraints for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn adt_dtorck_constraint(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.adt_dtorck_constraint,
            &self.tcx.query_system.caches.adt_dtorck_constraint,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the constness of the function-like[^1] definition given by `DefId`."]
    #[doc = ""]
    #[doc =
    " Tuple struct/variant constructors are *always* const, foreign functions are"]
    #[doc =
    " *never* const. The rest is const iff marked with keyword `const` (or rather"]
    #[doc = " its parent in the case of associated functions)."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly. It is only meant to cache the base data for the"]
    #[doc =
    " higher-level functions. Consider using `is_const_fn` or `is_const_trait_impl` instead."]
    #[doc = ""]
    #[doc =
    " Also note that neither of them takes into account feature gates, stability and"]
    #[doc = " const predicates/conditions!"]
    #[doc = ""]
    #[doc = " </div>"]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not function-like[^1]."]
    #[doc = ""]
    #[doc =
    " [^1]: Tuple struct/variant constructors, closures and free, associated and foreign functions."]
    #[inline(always)]
    pub fn constness(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.constness,
            &self.tcx.query_system.caches.constness, key.into_query_param(),
            false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the function is async:  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn asyncness(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.asyncness,
            &self.tcx.query_system.caches.asyncness, key.into_query_param(),
            false)
    }
    #[doc = " Returns `true` if calls to the function may be promoted."]
    #[doc = ""]
    #[doc =
    " This is either because the function is e.g., a tuple-struct or tuple-variant"]
    #[doc =
    " constructor, or because it has the `#[rustc_promotable]` attribute. The attribute should"]
    #[doc =
    " be removed in the future in favour of some form of check which figures out whether the"]
    #[doc =
    " function does not inspect the bits of any of its arguments (so is essentially just a"]
    #[doc = " constructor function)."]
    #[inline(always)]
    pub fn is_promotable_const_fn(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_promotable_const_fn,
            &self.tcx.query_system.caches.is_promotable_const_fn,
            key.into_query_param(), false)
    }
    #[doc =
    " The body of the coroutine, modified to take its upvars by move rather than by ref."]
    #[doc = ""]
    #[doc =
    " This is used by coroutine-closures, which must return a different flavor of coroutine"]
    #[doc =
    " when called using `AsyncFnOnce::call_once`. It is produced by the `ByMoveBody` pass which"]
    #[doc =
    " is run right after building the initial MIR, and will only be populated for coroutines"]
    #[doc = " which come out of the async closure desugaring."]
    #[inline(always)]
    pub fn coroutine_by_move_body_def_id(self,
        key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.coroutine_by_move_body_def_id,
            &self.tcx.query_system.caches.coroutine_by_move_body_def_id,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns `Some(coroutine_kind)` if the node pointed to by `def_id` is a coroutine."]
    #[inline(always)]
    pub fn coroutine_kind(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.coroutine_kind,
            &self.tcx.query_system.caches.coroutine_kind,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] Given a coroutine-closure def id, return the def id of the coroutine returned by it"]
    #[inline(always)]
    pub fn coroutine_for_closure(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.coroutine_for_closure,
            &self.tcx.query_system.caches.coroutine_for_closure,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the hidden types stored across await points in a coroutine"]
    #[inline(always)]
    pub fn coroutine_hidden_types(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.coroutine_hidden_types,
            &self.tcx.query_system.caches.coroutine_hidden_types,
            key.into_query_param(), false)
    }
    #[doc =
    " Gets a map with the variances of every item in the local crate."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::variances_of`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn crate_variances(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_variances,
            &self.tcx.query_system.caches.crate_variances,
            key.into_query_param(), false)
    }
    #[doc = " Returns the (inferred) variances of the item given by `DefId`."]
    #[doc = ""]
    #[doc =
    " The list of variances corresponds to the list of (early-bound) generic"]
    #[doc = " parameters of the item (including its parents)."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_variance]` on an item to basically print the"]
    #[doc =
    " result of this query for use in UI tests or for debugging purposes."]
    #[inline(always)]
    pub fn variances_of(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.variances_of,
            &self.tcx.query_system.caches.variances_of,
            key.into_query_param(), false)
    }
    #[doc =
    " Gets a map with the inferred outlives-predicates of every item in the local crate."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::inferred_outlives_of`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn inferred_outlives_crate(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.inferred_outlives_crate,
            &self.tcx.query_system.caches.inferred_outlives_crate,
            key.into_query_param(), false)
    }
    #[doc = " Maps from an impl/trait or struct/variant `DefId`"]
    #[doc = " to a list of the `DefId`s of its associated items or fields."]
    #[inline(always)]
    pub fn associated_item_def_ids(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.associated_item_def_ids,
            &self.tcx.query_system.caches.associated_item_def_ids,
            key.into_query_param(), false)
    }
    #[doc =
    " Maps from a trait/impl item to the trait/impl item \"descriptor\"."]
    #[inline(always)]
    pub fn associated_item(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.associated_item,
            &self.tcx.query_system.caches.associated_item,
            key.into_query_param(), false)
    }
    #[doc = " Collects the associated items defined on a trait or impl."]
    #[inline(always)]
    pub fn associated_items(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.associated_items,
            &self.tcx.query_system.caches.associated_items,
            key.into_query_param(), false)
    }
    #[doc =
    " Maps from associated items on a trait to the corresponding associated"]
    #[doc = " item on the impl specified by `impl_id`."]
    #[doc = ""]
    #[doc = " For example, with the following code"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " struct Type {}"]
    #[doc = "                         // DefId"]
    #[doc = " trait Trait {           // trait_id"]
    #[doc = "     fn f();             // trait_f"]
    #[doc = "     fn g() {}           // trait_g"]
    #[doc = " }"]
    #[doc = ""]
    #[doc = " impl Trait for Type {   // impl_id"]
    #[doc = "     fn f() {}           // impl_f"]
    #[doc = "     fn g() {}           // impl_g"]
    #[doc = " }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " The map returned for `tcx.impl_item_implementor_ids(impl_id)` would be"]
    #[doc = "`{ trait_f: impl_f, trait_g: impl_g }`"]
    #[inline(always)]
    pub fn impl_item_implementor_ids(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.impl_item_implementor_ids,
            &self.tcx.query_system.caches.impl_item_implementor_ids,
            key.into_query_param(), false)
    }
    #[doc =
    " Given the `item_def_id` of a trait or impl, return a mapping from associated fn def id"]
    #[doc =
    " to its associated type items that correspond to the RPITITs in its signature."]
    #[inline(always)]
    pub fn associated_types_for_impl_traits_in_trait_or_impl(self,
        key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.associated_types_for_impl_traits_in_trait_or_impl,
            &self.tcx.query_system.caches.associated_types_for_impl_traits_in_trait_or_impl,
            key.into_query_param(), false)
    }
    #[doc =
    " Given an `impl_id`, return the trait it implements along with some header information."]
    #[inline(always)]
    pub fn impl_trait_header(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.impl_trait_header,
            &self.tcx.query_system.caches.impl_trait_header,
            key.into_query_param(), false)
    }
    #[doc =
    " Given an `impl_def_id`, return true if the self type is guaranteed to be unsized due"]
    #[doc =
    " to either being one of the built-in unsized types (str/slice/dyn) or to be a struct"]
    #[doc = " whose tail is one of those types."]
    #[inline(always)]
    pub fn impl_self_is_guaranteed_unsized(self,
        key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.impl_self_is_guaranteed_unsized,
            &self.tcx.query_system.caches.impl_self_is_guaranteed_unsized,
            key.into_query_param(), false)
    }
    #[doc = " Maps a `DefId` of a type to a list of its inherent impls."]
    #[doc =
    " Contains implementations of methods that are inherent to a type."]
    #[doc = " Methods in these implementations don\'t need to be exported."]
    #[inline(always)]
    pub fn inherent_impls(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.inherent_impls,
            &self.tcx.query_system.caches.inherent_impls,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting all inherent impls for `{:?}`"]
    #[inline(always)]
    pub fn incoherent_impls(self, key: SimplifiedType) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.incoherent_impls,
            &self.tcx.query_system.caches.incoherent_impls,
            key.into_query_param(), false)
    }
    #[doc = " Unsafety-check this `LocalDefId`."]
    #[inline(always)]
    pub fn check_transmutes(self, key: impl IntoQueryParam<LocalDefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_transmutes,
            &self.tcx.query_system.caches.check_transmutes,
            key.into_query_param(), false)
    }
    #[doc = " Unsafety-check this `LocalDefId`."]
    #[inline(always)]
    pub fn check_unsafety(self, key: impl IntoQueryParam<LocalDefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_unsafety,
            &self.tcx.query_system.caches.check_unsafety,
            key.into_query_param(), false)
    }
    #[doc = " Checks well-formedness of tail calls (`become f()`)."]
    #[inline(always)]
    pub fn check_tail_calls(self, key: impl IntoQueryParam<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::inner::query_ensure_error_guaranteed(self.tcx,
            self.tcx.query_system.fns.engine.check_tail_calls,
            &self.tcx.query_system.caches.check_tail_calls,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the types assumed to be well formed while \"inside\" of the given item."]
    #[doc = ""]
    #[doc =
    " Note that we\'ve liberated the late bound regions of function signatures, so"]
    #[doc =
    " this can not be used to check whether these types are well formed."]
    #[inline(always)]
    pub fn assumed_wf_types(self, key: impl IntoQueryParam<LocalDefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.assumed_wf_types,
            &self.tcx.query_system.caches.assumed_wf_types,
            key.into_query_param(), false)
    }
    #[doc =
    " We need to store the assumed_wf_types for an RPITIT so that impls of foreign"]
    #[doc =
    " traits with return-position impl trait in traits can inherit the right wf types."]
    #[inline(always)]
    pub fn assumed_wf_types_for_rpitit(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.assumed_wf_types_for_rpitit,
            &self.tcx.query_system.caches.assumed_wf_types_for_rpitit,
            key.into_query_param(), false)
    }
    #[doc = " Computes the signature of the function."]
    #[inline(always)]
    pub fn fn_sig(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.fn_sig,
            &self.tcx.query_system.caches.fn_sig, key.into_query_param(),
            false)
    }
    #[doc = " Performs lint checking for the module."]
    #[inline(always)]
    pub fn lint_mod(self, key: LocalModDefId) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lint_mod,
            &self.tcx.query_system.caches.lint_mod, key.into_query_param(),
            false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking unused trait imports in crate"]
    #[inline(always)]
    pub fn check_unused_traits(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_unused_traits,
            &self.tcx.query_system.caches.check_unused_traits,
            key.into_query_param(), false)
    }
    #[doc = " Checks the attributes in the module."]
    #[inline(always)]
    pub fn check_mod_attrs(self, key: LocalModDefId) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_mod_attrs,
            &self.tcx.query_system.caches.check_mod_attrs,
            key.into_query_param(), false)
    }
    #[doc = " Checks for uses of unstable APIs in the module."]
    #[inline(always)]
    pub fn check_mod_unstable_api_usage(self, key: LocalModDefId) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_mod_unstable_api_usage,
            &self.tcx.query_system.caches.check_mod_unstable_api_usage,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking privacy in  `describe_as_module(key.to_local_def_id(), tcx)` "]
    #[inline(always)]
    pub fn check_mod_privacy(self, key: LocalModDefId) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_mod_privacy,
            &self.tcx.query_system.caches.check_mod_privacy,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking liveness of variables in  `tcx.def_path_str(key.to_def_id())` "]
    #[inline(always)]
    pub fn check_liveness(self, key: impl IntoQueryParam<LocalDefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_liveness,
            &self.tcx.query_system.caches.check_liveness,
            key.into_query_param(), false)
    }
    #[doc = " Return the live symbols in the crate for dead code check."]
    #[doc = ""]
    #[doc =
    " The second return value maps from ADTs to ignored derived traits (e.g. Debug and Clone)."]
    #[inline(always)]
    pub fn live_symbols_and_ignored_derived_traits(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.live_symbols_and_ignored_derived_traits,
            &self.tcx.query_system.caches.live_symbols_and_ignored_derived_traits,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking deathness of variables in  `describe_as_module(key, tcx)` "]
    #[inline(always)]
    pub fn check_mod_deathness(self, key: LocalModDefId) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_mod_deathness,
            &self.tcx.query_system.caches.check_mod_deathness,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking that types are well-formed"]
    #[inline(always)]
    pub fn check_type_wf(self, key: ()) -> Result<(), ErrorGuaranteed> {
        crate::query::inner::query_ensure_error_guaranteed(self.tcx,
            self.tcx.query_system.fns.engine.check_type_wf,
            &self.tcx.query_system.caches.check_type_wf,
            key.into_query_param(), false)
    }
    #[doc = " Caches `CoerceUnsized` kinds for impls on custom types."]
    #[inline(always)]
    pub fn coerce_unsized_info(self, key: impl IntoQueryParam<DefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::inner::query_ensure_error_guaranteed(self.tcx,
            self.tcx.query_system.fns.engine.coerce_unsized_info,
            &self.tcx.query_system.caches.coerce_unsized_info,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] type-checking  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn typeck(self, key: impl IntoQueryParam<LocalDefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.typeck,
            &self.tcx.query_system.caches.typeck, key.into_query_param(),
            false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding used_trait_imports  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn used_trait_imports(self, key: impl IntoQueryParam<LocalDefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.used_trait_imports,
            &self.tcx.query_system.caches.used_trait_imports,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] coherence checking all impls of trait  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn coherent_trait(self, key: impl IntoQueryParam<DefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::inner::query_ensure_error_guaranteed(self.tcx,
            self.tcx.query_system.fns.engine.coherent_trait,
            &self.tcx.query_system.caches.coherent_trait,
            key.into_query_param(), false)
    }
    #[doc =
    " Borrow-checks the given typeck root, e.g. functions, const/static items,"]
    #[doc = " and its children, e.g. closures, inline consts."]
    #[inline(always)]
    pub fn mir_borrowck(self, key: impl IntoQueryParam<LocalDefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_borrowck,
            &self.tcx.query_system.caches.mir_borrowck,
            key.into_query_param(), false)
    }
    #[doc = " Gets a complete map from all types to their inherent impls."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn crate_inherent_impls(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_inherent_impls,
            &self.tcx.query_system.caches.crate_inherent_impls,
            key.into_query_param(), false)
    }
    #[doc =
    " Checks all types in the crate for overlap in their inherent impls. Reports errors."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn crate_inherent_impls_validity_check(self, key: ())
        -> Result<(), ErrorGuaranteed> {
        crate::query::inner::query_ensure_error_guaranteed(self.tcx,
            self.tcx.query_system.fns.engine.crate_inherent_impls_validity_check,
            &self.tcx.query_system.caches.crate_inherent_impls_validity_check,
            key.into_query_param(), false)
    }
    #[doc =
    " Checks all types in the crate for overlap in their inherent impls. Reports errors."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn crate_inherent_impls_overlap_check(self, key: ())
        -> Result<(), ErrorGuaranteed> {
        crate::query::inner::query_ensure_error_guaranteed(self.tcx,
            self.tcx.query_system.fns.engine.crate_inherent_impls_overlap_check,
            &self.tcx.query_system.caches.crate_inherent_impls_overlap_check,
            key.into_query_param(), false)
    }
    #[doc =
    " Checks whether all impls in the crate pass the overlap check, returning"]
    #[doc =
    " which impls fail it. If all impls are correct, the returned slice is empty."]
    #[inline(always)]
    pub fn orphan_check_impl(self, key: impl IntoQueryParam<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::inner::query_ensure_error_guaranteed(self.tcx,
            self.tcx.query_system.fns.engine.orphan_check_impl,
            &self.tcx.query_system.caches.orphan_check_impl,
            key.into_query_param(), false)
    }
    #[doc =
    " Return the set of (transitive) callees that may result in a recursive call to `key`,"]
    #[doc = " if we were able to walk all callees."]
    #[inline(always)]
    pub fn mir_callgraph_cyclic(self, key: impl IntoQueryParam<LocalDefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_callgraph_cyclic,
            &self.tcx.query_system.caches.mir_callgraph_cyclic,
            key.into_query_param(), false)
    }
    #[doc = " Obtain all the calls into other local functions"]
    #[inline(always)]
    pub fn mir_inliner_callees(self, key: ty::InstanceKind<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_inliner_callees,
            &self.tcx.query_system.caches.mir_inliner_callees,
            key.into_query_param(), false)
    }
    #[doc = " Computes the tag (if any) for a given type and variant."]
    #[doc = ""]
    #[doc =
    " `None` means that the variant doesn\'t need a tag (because it is niched)."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic for uninhabited variants and if the passed type is not an enum."]
    #[inline(always)]
    pub fn tag_for_variant(self,
        key: PseudoCanonicalInput<'tcx, (Ty<'tcx>, abi::VariantIdx)>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.tag_for_variant,
            &self.tcx.query_system.caches.tag_for_variant,
            key.into_query_param(), false)
    }
    #[doc = " Evaluates a constant and returns the computed allocation."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::eval_to_const_value_raw`] or"]
    #[doc = " [`Self::eval_to_valtree`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn eval_to_allocation_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.eval_to_allocation_raw,
            &self.tcx.query_system.caches.eval_to_allocation_raw,
            key.into_query_param(), false)
    }
    #[doc =
    " Evaluate a static\'s initializer, returning the allocation of the initializer\'s memory."]
    #[inline(always)]
    pub fn eval_static_initializer(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.eval_static_initializer,
            &self.tcx.query_system.caches.eval_static_initializer,
            key.into_query_param(), false)
    }
    #[doc =
    " Evaluates const items or anonymous constants[^1] into a representation"]
    #[doc = " suitable for the type system and const generics."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this** directly, use one of the following wrappers:"]
    #[doc = " [`TyCtxt::const_eval_poly`], [`TyCtxt::const_eval_resolve`],"]
    #[doc =
    " [`TyCtxt::const_eval_instance`], or [`TyCtxt::const_eval_global_id`]."]
    #[doc = ""]
    #[doc = " </div>"]
    #[doc = ""]
    #[doc =
    " [^1]: Such as enum variant explicit discriminants or array lengths."]
    #[inline(always)]
    pub fn eval_to_const_value_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.eval_to_const_value_raw,
            &self.tcx.query_system.caches.eval_to_const_value_raw,
            key.into_query_param(), false)
    }
    #[doc = " Evaluate a constant and convert it to a type level constant or"]
    #[doc = " return `None` if that is not possible."]
    #[inline(always)]
    pub fn eval_to_valtree(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.eval_to_valtree,
            &self.tcx.query_system.caches.eval_to_valtree,
            key.into_query_param(), false)
    }
    #[doc =
    " Converts a type-level constant value into a MIR constant value."]
    #[inline(always)]
    pub fn valtree_to_const_val(self, key: ty::Value<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.valtree_to_const_val,
            &self.tcx.query_system.caches.valtree_to_const_val,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] converting literal to const"]
    #[inline(always)]
    pub fn lit_to_const(self, key: LitToConstInput<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lit_to_const,
            &self.tcx.query_system.caches.lit_to_const,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] match-checking  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn check_match(self, key: impl IntoQueryParam<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::inner::query_ensure_error_guaranteed(self.tcx,
            self.tcx.query_system.fns.engine.check_match,
            &self.tcx.query_system.caches.check_match, key.into_query_param(),
            false)
    }
    #[doc =
    " Performs part of the privacy check and computes effective visibilities."]
    #[inline(always)]
    pub fn effective_visibilities(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.effective_visibilities,
            &self.tcx.query_system.caches.effective_visibilities,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking for private elements in public interfaces for  `describe_as_module(module_def_id, tcx)` "]
    #[inline(always)]
    pub fn check_private_in_public(self, key: LocalModDefId) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_private_in_public,
            &self.tcx.query_system.caches.check_private_in_public,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] reachability"]
    #[inline(always)]
    pub fn reachable_set(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.reachable_set,
            &self.tcx.query_system.caches.reachable_set,
            key.into_query_param(), false)
    }
    #[doc =
    " Per-body `region::ScopeTree`. The `DefId` should be the owner `DefId` for the body;"]
    #[doc =
    " in the case of closures, this will be redirected to the enclosing function."]
    #[inline(always)]
    pub fn region_scope_tree(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.region_scope_tree,
            &self.tcx.query_system.caches.region_scope_tree,
            key.into_query_param(), false)
    }
    #[doc = " Generates a MIR body for the shim."]
    #[inline(always)]
    pub fn mir_shims(self, key: ty::InstanceKind<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_shims,
            &self.tcx.query_system.caches.mir_shims, key.into_query_param(),
            false)
    }
    #[doc = " The `symbol_name` query provides the symbol name for calling a"]
    #[doc =
    " given instance from the local crate. In particular, it will also"]
    #[doc =
    " look up the correct symbol name of instances from upstream crates."]
    #[inline(always)]
    pub fn symbol_name(self, key: ty::Instance<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.symbol_name,
            &self.tcx.query_system.caches.symbol_name, key.into_query_param(),
            false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up definition kind of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn def_kind(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.def_kind,
            &self.tcx.query_system.caches.def_kind, key.into_query_param(),
            false)
    }
    #[doc = " Gets the span for the definition."]
    #[inline(always)]
    pub fn def_span(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.def_span,
            &self.tcx.query_system.caches.def_span, key.into_query_param(),
            false)
    }
    #[doc = " Gets the span for the identifier of the definition."]
    #[inline(always)]
    pub fn def_ident_span(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.def_ident_span,
            &self.tcx.query_system.caches.def_ident_span,
            key.into_query_param(), false)
    }
    #[doc = " Gets the span for the type of the definition."]
    #[doc = " Panics if it is not a definition that has a single type."]
    #[inline(always)]
    pub fn ty_span(self, key: impl IntoQueryParam<LocalDefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.ty_span,
            &self.tcx.query_system.caches.ty_span, key.into_query_param(),
            false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up stability of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn lookup_stability(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lookup_stability,
            &self.tcx.query_system.caches.lookup_stability,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up const stability of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn lookup_const_stability(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lookup_const_stability,
            &self.tcx.query_system.caches.lookup_const_stability,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up default body stability of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn lookup_default_body_stability(self,
        key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lookup_default_body_stability,
            &self.tcx.query_system.caches.lookup_default_body_stability,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing should_inherit_track_caller of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn should_inherit_track_caller(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.should_inherit_track_caller,
            &self.tcx.query_system.caches.should_inherit_track_caller,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing inherited_align of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn inherited_align(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.inherited_align,
            &self.tcx.query_system.caches.inherited_align,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is deprecated"]
    #[inline(always)]
    pub fn lookup_deprecation_entry(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lookup_deprecation_entry,
            &self.tcx.query_system.caches.lookup_deprecation_entry,
            key.into_query_param(), false)
    }
    #[doc = " Determines whether an item is annotated with `#[doc(hidden)]`."]
    #[inline(always)]
    pub fn is_doc_hidden(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_doc_hidden,
            &self.tcx.query_system.caches.is_doc_hidden,
            key.into_query_param(), false)
    }
    #[doc =
    " Determines whether an item is annotated with `#[doc(notable_trait)]`."]
    #[inline(always)]
    pub fn is_doc_notable_trait(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_doc_notable_trait,
            &self.tcx.query_system.caches.is_doc_notable_trait,
            key.into_query_param(), false)
    }
    #[doc = " Returns the attributes on the item at `def_id`."]
    #[doc = ""]
    #[doc = " Do not use this directly, use `tcx.get_attrs` instead."]
    #[inline(always)]
    pub fn attrs_for_def(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.attrs_for_def,
            &self.tcx.query_system.caches.attrs_for_def,
            key.into_query_param(), false)
    }
    #[doc = " Returns the `CodegenFnAttrs` for the item at `def_id`."]
    #[doc = ""]
    #[doc =
    " If possible, use `tcx.codegen_instance_attrs` instead. That function takes the"]
    #[doc = " instance kind into account."]
    #[doc = ""]
    #[doc =
    " For example, the `#[naked]` attribute should be applied for `InstanceKind::Item`,"]
    #[doc =
    " but should not be applied if the instance kind is `InstanceKind::ReifyShim`."]
    #[doc =
    " Using this query would include the attribute regardless of the actual instance"]
    #[doc = " kind at the call site."]
    #[inline(always)]
    pub fn codegen_fn_attrs(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.codegen_fn_attrs,
            &self.tcx.query_system.caches.codegen_fn_attrs,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing target features for inline asm of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn asm_target_features(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.asm_target_features,
            &self.tcx.query_system.caches.asm_target_features,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up function parameter identifiers for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn fn_arg_idents(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.fn_arg_idents,
            &self.tcx.query_system.caches.fn_arg_idents,
            key.into_query_param(), false)
    }
    #[doc =
    " Gets the rendered value of the specified constant or associated constant."]
    #[doc = " Used by rustdoc."]
    #[inline(always)]
    pub fn rendered_const(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.rendered_const,
            &self.tcx.query_system.caches.rendered_const,
            key.into_query_param(), false)
    }
    #[doc =
    " Gets the rendered precise capturing args for an opaque for use in rustdoc."]
    #[inline(always)]
    pub fn rendered_precise_capturing_args(self,
        key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.rendered_precise_capturing_args,
            &self.tcx.query_system.caches.rendered_precise_capturing_args,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing specialization parent impl of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn impl_parent(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.impl_parent,
            &self.tcx.query_system.caches.impl_parent, key.into_query_param(),
            false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if item has CTFE MIR available:  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn is_ctfe_mir_available(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_ctfe_mir_available,
            &self.tcx.query_system.caches.is_ctfe_mir_available,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if item has MIR available:  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn is_mir_available(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_mir_available,
            &self.tcx.query_system.caches.is_mir_available,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding all existential vtable entries for trait  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn own_existential_vtable_entries(self,
        key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.own_existential_vtable_entries,
            &self.tcx.query_system.caches.own_existential_vtable_entries,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding all vtable entries for trait  `tcx.def_path_str(key.def_id)` "]
    #[inline(always)]
    pub fn vtable_entries(self, key: ty::TraitRef<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.vtable_entries,
            &self.tcx.query_system.caches.vtable_entries,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding the slot within the vtable of  `key.self_ty()`  for the implementation of  `key.print_only_trait_name()` "]
    #[inline(always)]
    pub fn first_method_vtable_slot(self, key: ty::TraitRef<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.first_method_vtable_slot,
            &self.tcx.query_system.caches.first_method_vtable_slot,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding the slot within vtable for trait object  `key.1`  vtable ptr during trait upcasting coercion from  `key.0`  vtable"]
    #[inline(always)]
    pub fn supertrait_vtable_slot(self, key: (Ty<'tcx>, Ty<'tcx>)) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.supertrait_vtable_slot,
            &self.tcx.query_system.caches.supertrait_vtable_slot,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] vtable const allocation for < `key.0`  as  `key.1.map(| trait_ref | format!\n(\"{trait_ref}\")).unwrap_or_else(| | \"_\".to_owned())` >"]
    #[inline(always)]
    pub fn vtable_allocation(self,
        key: (Ty<'tcx>, Option<ty::ExistentialTraitRef<'tcx>>)) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.vtable_allocation,
            &self.tcx.query_system.caches.vtable_allocation,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing candidate for  `key.value` "]
    #[inline(always)]
    pub fn codegen_select_candidate(self,
        key: PseudoCanonicalInput<'tcx, ty::TraitRef<'tcx>>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.codegen_select_candidate,
            &self.tcx.query_system.caches.codegen_select_candidate,
            key.into_query_param(), false)
    }
    #[doc = " Return all `impl` blocks in the current crate."]
    #[inline(always)]
    pub fn all_local_trait_impls(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.all_local_trait_impls,
            &self.tcx.query_system.caches.all_local_trait_impls,
            key.into_query_param(), false)
    }
    #[doc =
    " Return all `impl` blocks of the given trait in the current crate."]
    #[inline(always)]
    pub fn local_trait_impls(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.local_trait_impls,
            &self.tcx.query_system.caches.local_trait_impls,
            key.into_query_param(), false)
    }
    #[doc = " Given a trait `trait_id`, return all known `impl` blocks."]
    #[inline(always)]
    pub fn trait_impls_of(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.trait_impls_of,
            &self.tcx.query_system.caches.trait_impls_of,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] building specialization graph of trait  `tcx.def_path_str(trait_id)` "]
    #[inline(always)]
    pub fn specialization_graph_of(self, key: impl IntoQueryParam<DefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::inner::query_ensure_error_guaranteed(self.tcx,
            self.tcx.query_system.fns.engine.specialization_graph_of,
            &self.tcx.query_system.caches.specialization_graph_of,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determining dyn-compatibility of trait  `tcx.def_path_str(trait_id)` "]
    #[inline(always)]
    pub fn dyn_compatibility_violations(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.dyn_compatibility_violations,
            &self.tcx.query_system.caches.dyn_compatibility_violations,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if trait  `tcx.def_path_str(trait_id)`  is dyn-compatible"]
    #[inline(always)]
    pub fn is_dyn_compatible(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_dyn_compatible,
            &self.tcx.query_system.caches.is_dyn_compatible,
            key.into_query_param(), false)
    }
    #[doc =
    " Gets the ParameterEnvironment for a given item; this environment"]
    #[doc =
    " will be in \"user-facing\" mode, meaning that it is suitable for"]
    #[doc = " type-checking etc, and it does not normalize specializable"]
    #[doc = " associated types."]
    #[doc = ""]
    #[doc =
    " You should almost certainly not use this. If you already have an InferCtxt, then"]
    #[doc =
    " you should also probably have a `ParamEnv` from when it was built. If you don\'t,"]
    #[doc =
    " then you should take a `TypingEnv` to ensure that you handle opaque types correctly."]
    #[inline(always)]
    pub fn param_env(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.param_env,
            &self.tcx.query_system.caches.param_env, key.into_query_param(),
            false)
    }
    #[doc =
    " Like `param_env`, but returns the `ParamEnv` after all opaque types have been"]
    #[doc =
    " replaced with their hidden type. This is used in the old trait solver"]
    #[doc = " when in `PostAnalysis` mode and should not be called directly."]
    #[inline(always)]
    pub fn typing_env_normalized_for_post_analysis(self,
        key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.typing_env_normalized_for_post_analysis,
            &self.tcx.query_system.caches.typing_env_normalized_for_post_analysis,
            key.into_query_param(), false)
    }
    #[doc =
    " Trait selection queries. These are best used by invoking `ty.is_copy_modulo_regions()`,"]
    #[doc =
    " `ty.is_copy()`, etc, since that will prune the environment where possible."]
    #[inline(always)]
    pub fn is_copy_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_copy_raw,
            &self.tcx.query_system.caches.is_copy_raw, key.into_query_param(),
            false)
    }
    #[doc =
    " Trait selection queries. These are best used by invoking `ty.is_use_cloned_modulo_regions()`,"]
    #[doc =
    " `ty.is_use_cloned()`, etc, since that will prune the environment where possible."]
    #[inline(always)]
    pub fn is_use_cloned_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_use_cloned_raw,
            &self.tcx.query_system.caches.is_use_cloned_raw,
            key.into_query_param(), false)
    }
    #[doc = " Query backing `Ty::is_sized`."]
    #[inline(always)]
    pub fn is_sized_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_sized_raw,
            &self.tcx.query_system.caches.is_sized_raw,
            key.into_query_param(), false)
    }
    #[doc = " Query backing `Ty::is_freeze`."]
    #[inline(always)]
    pub fn is_freeze_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_freeze_raw,
            &self.tcx.query_system.caches.is_freeze_raw,
            key.into_query_param(), false)
    }
    #[doc = " Query backing `Ty::is_unpin`."]
    #[inline(always)]
    pub fn is_unpin_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_unpin_raw,
            &self.tcx.query_system.caches.is_unpin_raw,
            key.into_query_param(), false)
    }
    #[doc = " Query backing `Ty::is_async_drop`."]
    #[inline(always)]
    pub fn is_async_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_async_drop_raw,
            &self.tcx.query_system.caches.is_async_drop_raw,
            key.into_query_param(), false)
    }
    #[doc = " Query backing `Ty::needs_drop`."]
    #[inline(always)]
    pub fn needs_drop_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.needs_drop_raw,
            &self.tcx.query_system.caches.needs_drop_raw,
            key.into_query_param(), false)
    }
    #[doc = " Query backing `Ty::needs_async_drop`."]
    #[inline(always)]
    pub fn needs_async_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.needs_async_drop_raw,
            &self.tcx.query_system.caches.needs_async_drop_raw,
            key.into_query_param(), false)
    }
    #[doc = " Query backing `Ty::has_significant_drop_raw`."]
    #[inline(always)]
    pub fn has_significant_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.has_significant_drop_raw,
            &self.tcx.query_system.caches.has_significant_drop_raw,
            key.into_query_param(), false)
    }
    #[doc = " Query backing `Ty::is_structural_eq_shallow`."]
    #[doc = ""]
    #[doc =
    " This is only correct for ADTs. Call `is_structural_eq_shallow` to handle all types"]
    #[doc = " correctly."]
    #[inline(always)]
    pub fn has_structural_eq_impl(self, key: Ty<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.has_structural_eq_impl,
            &self.tcx.query_system.caches.has_structural_eq_impl,
            key.into_query_param(), false)
    }
    #[doc =
    " A list of types where the ADT requires drop if and only if any of"]
    #[doc =
    " those types require drop. If the ADT is known to always need drop"]
    #[doc = " then `Err(AlwaysRequiresDrop)` is returned."]
    #[inline(always)]
    pub fn adt_drop_tys(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.adt_drop_tys,
            &self.tcx.query_system.caches.adt_drop_tys,
            key.into_query_param(), false)
    }
    #[doc =
    " A list of types where the ADT requires async drop if and only if any of"]
    #[doc =
    " those types require async drop. If the ADT is known to always need async drop"]
    #[doc = " then `Err(AlwaysRequiresDrop)` is returned."]
    #[inline(always)]
    pub fn adt_async_drop_tys(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.adt_async_drop_tys,
            &self.tcx.query_system.caches.adt_async_drop_tys,
            key.into_query_param(), false)
    }
    #[doc =
    " A list of types where the ADT requires drop if and only if any of those types"]
    #[doc =
    " has significant drop. A type marked with the attribute `rustc_insignificant_dtor`"]
    #[doc =
    " is considered to not be significant. A drop is significant if it is implemented"]
    #[doc =
    " by the user or does anything that will have any observable behavior (other than"]
    #[doc =
    " freeing up memory). If the ADT is known to have a significant destructor then"]
    #[doc = " `Err(AlwaysRequiresDrop)` is returned."]
    #[inline(always)]
    pub fn adt_significant_drop_tys(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.adt_significant_drop_tys,
            &self.tcx.query_system.caches.adt_significant_drop_tys,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns a list of types which (a) have a potentially significant destructor"]
    #[doc =
    " and (b) may be dropped as a result of dropping a value of some type `ty`"]
    #[doc = " (in the given environment)."]
    #[doc = ""]
    #[doc =
    " The idea of \"significant\" drop is somewhat informal and is used only for"]
    #[doc =
    " diagnostics and edition migrations. The idea is that a significant drop may have"]
    #[doc =
    " some visible side-effect on execution; freeing memory is NOT considered a side-effect."]
    #[doc = " The rules are as follows:"]
    #[doc =
    " * Type with no explicit drop impl do not have significant drop."]
    #[doc =
    " * Types with a drop impl are assumed to have significant drop unless they have a `#[rustc_insignificant_dtor]` annotation."]
    #[doc = ""]
    #[doc =
    " Note that insignificant drop is a \"shallow\" property. A type like `Vec<LockGuard>` does not"]
    #[doc =
    " have significant drop but the type `LockGuard` does, and so if `ty  = Vec<LockGuard>`"]
    #[doc = " then the return value would be `&[LockGuard]`."]
    #[doc =
    " *IMPORTANT*: *DO NOT* run this query before promoted MIR body is constructed,"]
    #[doc = " because this query partially depends on that query."]
    #[doc = " Otherwise, there is a risk of query cycles."]
    #[inline(always)]
    pub fn list_significant_drop_tys(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.list_significant_drop_tys,
            &self.tcx.query_system.caches.list_significant_drop_tys,
            key.into_query_param(), false)
    }
    #[doc = " Computes the layout of a type. Note that this implicitly"]
    #[doc =
    " executes in `TypingMode::PostAnalysis`, and will normalize the input type."]
    #[inline(always)]
    pub fn layout_of(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.layout_of,
            &self.tcx.query_system.caches.layout_of, key.into_query_param(),
            false)
    }
    #[doc =
    " Compute a `FnAbi` suitable for indirect calls, i.e. to `fn` pointers."]
    #[doc = ""]
    #[doc =
    " NB: this doesn\'t handle virtual calls - those should use `fn_abi_of_instance`"]
    #[doc = " instead, where the instance is an `InstanceKind::Virtual`."]
    #[inline(always)]
    pub fn fn_abi_of_fn_ptr(self,
        key:
            ty::PseudoCanonicalInput<'tcx,
            (ty::PolyFnSig<'tcx>, &'tcx ty::List<Ty<'tcx>>)>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.fn_abi_of_fn_ptr,
            &self.tcx.query_system.caches.fn_abi_of_fn_ptr,
            key.into_query_param(), false)
    }
    #[doc =
    " Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for"]
    #[doc = " direct calls to an `fn`."]
    #[doc = ""]
    #[doc =
    " NB: that includes virtual calls, which are represented by \"direct calls\""]
    #[doc =
    " to an `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`)."]
    #[inline(always)]
    pub fn fn_abi_of_instance(self,
        key:
            ty::PseudoCanonicalInput<'tcx,
            (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.fn_abi_of_instance,
            &self.tcx.query_system.caches.fn_abi_of_instance,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting dylib dependency formats of crate"]
    #[inline(always)]
    pub fn dylib_dependency_formats(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.dylib_dependency_formats,
            &self.tcx.query_system.caches.dylib_dependency_formats,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the linkage format of all dependencies"]
    #[inline(always)]
    pub fn dependency_formats(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.dependency_formats,
            &self.tcx.query_system.caches.dependency_formats,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate is_compiler_builtins"]
    #[inline(always)]
    pub fn is_compiler_builtins(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_compiler_builtins,
            &self.tcx.query_system.caches.is_compiler_builtins,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_global_allocator"]
    #[inline(always)]
    pub fn has_global_allocator(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.has_global_allocator,
            &self.tcx.query_system.caches.has_global_allocator,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_alloc_error_handler"]
    #[inline(always)]
    pub fn has_alloc_error_handler(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.has_alloc_error_handler,
            &self.tcx.query_system.caches.has_alloc_error_handler,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_panic_handler"]
    #[inline(always)]
    pub fn has_panic_handler(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.has_panic_handler,
            &self.tcx.query_system.caches.has_panic_handler,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if a crate is `#![profiler_runtime]`"]
    #[inline(always)]
    pub fn is_profiler_runtime(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_profiler_runtime,
            &self.tcx.query_system.caches.is_profiler_runtime,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(key)`  contains FFI-unwind calls"]
    #[inline(always)]
    pub fn has_ffi_unwind_calls(self, key: impl IntoQueryParam<LocalDefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.has_ffi_unwind_calls,
            &self.tcx.query_system.caches.has_ffi_unwind_calls,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's required panic strategy"]
    #[inline(always)]
    pub fn required_panic_strategy(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.required_panic_strategy,
            &self.tcx.query_system.caches.required_panic_strategy,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's configured panic-in-drop strategy"]
    #[inline(always)]
    pub fn panic_in_drop_strategy(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.panic_in_drop_strategy,
            &self.tcx.query_system.caches.panic_in_drop_strategy,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting whether a crate has `#![no_builtins]`"]
    #[inline(always)]
    pub fn is_no_builtins(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_no_builtins,
            &self.tcx.query_system.caches.is_no_builtins,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's symbol mangling version"]
    #[inline(always)]
    pub fn symbol_mangling_version(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.symbol_mangling_version,
            &self.tcx.query_system.caches.symbol_mangling_version,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting crate's ExternCrateData"]
    #[inline(always)]
    pub fn extern_crate(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.extern_crate,
            &self.tcx.query_system.caches.extern_crate,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether the crate enabled `specialization`/`min_specialization`"]
    #[inline(always)]
    pub fn specialization_enabled_in(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.specialization_enabled_in,
            &self.tcx.query_system.caches.specialization_enabled_in,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing whether impls specialize one another"]
    #[inline(always)]
    pub fn specializes(self, key: (DefId, DefId)) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.specializes,
            &self.tcx.query_system.caches.specializes, key.into_query_param(),
            false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting traits in scope at a block"]
    #[inline(always)]
    pub fn in_scope_traits_map(self, key: hir::OwnerId) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.in_scope_traits_map,
            &self.tcx.query_system.caches.in_scope_traits_map,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns whether the impl or associated function has the `default` keyword."]
    #[doc =
    " Note: This will ICE on inherent impl items. Consider using `AssocItem::defaultness`."]
    #[inline(always)]
    pub fn defaultness(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.defaultness,
            &self.tcx.query_system.caches.defaultness, key.into_query_param(),
            false)
    }
    #[doc =
    " Returns whether the field corresponding to the `DefId` has a default field value."]
    #[inline(always)]
    pub fn default_field(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.default_field,
            &self.tcx.query_system.caches.default_field,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking that  `tcx.def_path_str(key)`  is well-formed"]
    #[inline(always)]
    pub fn check_well_formed(self, key: impl IntoQueryParam<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::inner::query_ensure_error_guaranteed(self.tcx,
            self.tcx.query_system.fns.engine.check_well_formed,
            &self.tcx.query_system.caches.check_well_formed,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking that  `tcx.def_path_str(key)` 's generics are constrained by the impl header"]
    #[inline(always)]
    pub fn enforce_impl_non_lifetime_params_are_constrained(self,
        key: impl IntoQueryParam<LocalDefId>) -> Result<(), ErrorGuaranteed> {
        crate::query::inner::query_ensure_error_guaranteed(self.tcx,
            self.tcx.query_system.fns.engine.enforce_impl_non_lifetime_params_are_constrained,
            &self.tcx.query_system.caches.enforce_impl_non_lifetime_params_are_constrained,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the exported symbols of a crate"]
    #[inline(always)]
    pub fn reachable_non_generics(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.reachable_non_generics,
            &self.tcx.query_system.caches.reachable_non_generics,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is an exported symbol"]
    #[inline(always)]
    pub fn is_reachable_non_generic(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_reachable_non_generic,
            &self.tcx.query_system.caches.is_reachable_non_generic,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is reachable from outside the crate"]
    #[inline(always)]
    pub fn is_unreachable_local_definition(self,
        key: impl IntoQueryParam<LocalDefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_unreachable_local_definition,
            &self.tcx.query_system.caches.is_unreachable_local_definition,
            key.into_query_param(), false)
    }
    #[doc = " The entire set of monomorphizations the local crate can safely"]
    #[doc = " link to because they are exported from upstream crates. Do"]
    #[doc = " not depend on this directly, as its value changes anytime"]
    #[doc = " a monomorphization gets added or removed in any upstream"]
    #[doc =
    " crate. Instead use the narrower `upstream_monomorphizations_for`,"]
    #[doc = " `upstream_drop_glue_for`, `upstream_async_drop_glue_for`, or,"]
    #[doc = " even better, `Instance::upstream_monomorphization()`."]
    #[inline(always)]
    pub fn upstream_monomorphizations(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.upstream_monomorphizations,
            &self.tcx.query_system.caches.upstream_monomorphizations,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the set of upstream monomorphizations available for the"]
    #[doc =
    " generic function identified by the given `def_id`. The query makes"]
    #[doc =
    " sure to make a stable selection if the same monomorphization is"]
    #[doc = " available in multiple upstream crates."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    #[inline(always)]
    pub fn upstream_monomorphizations_for(self,
        key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.upstream_monomorphizations_for,
            &self.tcx.query_system.caches.upstream_monomorphizations_for,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the upstream crate that exports drop-glue for the given"]
    #[doc =
    " type (`args` is expected to be a single-item list containing the"]
    #[doc = " type one wants drop-glue for)."]
    #[doc = ""]
    #[doc =
    " This is a subset of `upstream_monomorphizations_for` in order to"]
    #[doc =
    " increase dep-tracking granularity. Otherwise adding or removing any"]
    #[doc = " type with drop-glue in any upstream crate would invalidate all"]
    #[doc = " functions calling drop-glue of an upstream type."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    #[doc = ""]
    #[doc =
    " NOTE: This query could easily be extended to also support other"]
    #[doc =
    "       common functions that have are large set of monomorphizations"]
    #[doc = "       (like `Clone::clone` for example)."]
    #[inline(always)]
    pub fn upstream_drop_glue_for(self, key: GenericArgsRef<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.upstream_drop_glue_for,
            &self.tcx.query_system.caches.upstream_drop_glue_for,
            key.into_query_param(), false)
    }
    #[doc = " Returns the upstream crate that exports async-drop-glue for"]
    #[doc = " the given type (`args` is expected to be a single-item list"]
    #[doc = " containing the type one wants async-drop-glue for)."]
    #[doc = ""]
    #[doc = " This is a subset of `upstream_monomorphizations_for` in order"]
    #[doc = " to increase dep-tracking granularity. Otherwise adding or"]
    #[doc = " removing any type with async-drop-glue in any upstream crate"]
    #[doc = " would invalidate all functions calling async-drop-glue of an"]
    #[doc = " upstream type."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    #[doc = ""]
    #[doc =
    " NOTE: This query could easily be extended to also support other"]
    #[doc =
    "       common functions that have are large set of monomorphizations"]
    #[doc = "       (like `Clone::clone` for example)."]
    #[inline(always)]
    pub fn upstream_async_drop_glue_for(self, key: GenericArgsRef<'tcx>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.upstream_async_drop_glue_for,
            &self.tcx.query_system.caches.upstream_async_drop_glue_for,
            key.into_query_param(), false)
    }
    #[doc = " Returns a list of all `extern` blocks of a crate."]
    #[inline(always)]
    pub fn foreign_modules(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.foreign_modules,
            &self.tcx.query_system.caches.foreign_modules,
            key.into_query_param(), false)
    }
    #[doc =
    " Lint against `extern fn` declarations having incompatible types."]
    #[inline(always)]
    pub fn clashing_extern_declarations(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.clashing_extern_declarations,
            &self.tcx.query_system.caches.clashing_extern_declarations,
            key.into_query_param(), false)
    }
    #[doc =
    " Identifies the entry-point (e.g., the `main` function) for a given"]
    #[doc =
    " crate, returning `None` if there is no entry point (such as for library crates)."]
    #[inline(always)]
    pub fn entry_fn(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.entry_fn,
            &self.tcx.query_system.caches.entry_fn, key.into_query_param(),
            false)
    }
    #[doc = " Finds the `rustc_proc_macro_decls` item of a crate."]
    #[inline(always)]
    pub fn proc_macro_decls_static(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.proc_macro_decls_static,
            &self.tcx.query_system.caches.proc_macro_decls_static,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the hash a crate"]
    #[inline(always)]
    pub fn crate_hash(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_hash,
            &self.tcx.query_system.caches.crate_hash, key.into_query_param(),
            false)
    }
    #[doc =
    " Gets the hash for the host proc macro. Used to support -Z dual-proc-macro."]
    #[inline(always)]
    pub fn crate_host_hash(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_host_hash,
            &self.tcx.query_system.caches.crate_host_hash,
            key.into_query_param(), false)
    }
    #[doc =
    " Gets the extra data to put in each output filename for a crate."]
    #[doc =
    " For example, compiling the `foo` crate with `extra-filename=-a` creates a `libfoo-b.rlib` file."]
    #[inline(always)]
    pub fn extra_filename(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.extra_filename,
            &self.tcx.query_system.caches.extra_filename,
            key.into_query_param(), false)
    }
    #[doc = " Gets the paths where the crate came from in the file system."]
    #[inline(always)]
    pub fn crate_extern_paths(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_extern_paths,
            &self.tcx.query_system.caches.crate_extern_paths,
            key.into_query_param(), false)
    }
    #[doc =
    " Given a crate and a trait, look up all impls of that trait in the crate."]
    #[doc = " Return `(impl_id, self_ty)`."]
    #[inline(always)]
    pub fn implementations_of_trait(self, key: (CrateNum, DefId)) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.implementations_of_trait,
            &self.tcx.query_system.caches.implementations_of_trait,
            key.into_query_param(), false)
    }
    #[doc = " Collects all incoherent impls for the given crate and type."]
    #[doc = ""]
    #[doc =
    " Do not call this directly, but instead use the `incoherent_impls` query."]
    #[doc =
    " This query is only used to get the data necessary for that query."]
    #[inline(always)]
    pub fn crate_incoherent_impls(self, key: (CrateNum, SimplifiedType))
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_incoherent_impls,
            &self.tcx.query_system.caches.crate_incoherent_impls,
            key.into_query_param(), false)
    }
    #[doc =
    " Get the corresponding native library from the `native_libraries` query"]
    #[inline(always)]
    pub fn native_library(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.native_library,
            &self.tcx.query_system.caches.native_library,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] inheriting delegation signature"]
    #[inline(always)]
    pub fn inherit_sig_for_delegation_item(self,
        key: impl IntoQueryParam<LocalDefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.inherit_sig_for_delegation_item,
            &self.tcx.query_system.caches.inherit_sig_for_delegation_item,
            key.into_query_param(), false)
    }
    #[doc =
    " Does lifetime resolution on items. Importantly, we can\'t resolve"]
    #[doc =
    " lifetimes directly on things like trait methods, because of trait params."]
    #[doc = " See `rustc_resolve::late::lifetimes` for details."]
    #[inline(always)]
    pub fn resolve_bound_vars(self, key: hir::OwnerId) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.resolve_bound_vars,
            &self.tcx.query_system.caches.resolve_bound_vars,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up a named region inside  `tcx.def_path_str(owner_id)` "]
    #[inline(always)]
    pub fn named_variable_map(self, key: hir::OwnerId) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.named_variable_map,
            &self.tcx.query_system.caches.named_variable_map,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] testing if a region is late bound inside  `tcx.def_path_str(owner_id)` "]
    #[inline(always)]
    pub fn is_late_bound_map(self, key: hir::OwnerId) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_late_bound_map,
            &self.tcx.query_system.caches.is_late_bound_map,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the *default lifetime* to be used if a trait object type were to be passed for"]
    #[doc = " the type parameter given by `DefId`."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_object_lifetime_default]` on an item to basically"]
    #[doc =
    " print the result of this query for use in UI tests or for debugging purposes."]
    #[doc = ""]
    #[doc = " # Examples"]
    #[doc = ""]
    #[doc =
    " - For `T` in `struct Foo<\'a, T: \'a>(&\'a T);`, this would be `Param(\'a)`"]
    #[doc =
    " - For `T` in `struct Bar<\'a, T>(&\'a T);`, this would be `Empty`"]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not a type parameter."]
    #[inline(always)]
    pub fn object_lifetime_default(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.object_lifetime_default,
            &self.tcx.query_system.caches.object_lifetime_default,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up late bound vars inside  `tcx.def_path_str(owner_id)` "]
    #[inline(always)]
    pub fn late_bound_vars_map(self, key: hir::OwnerId) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.late_bound_vars_map,
            &self.tcx.query_system.caches.late_bound_vars_map,
            key.into_query_param(), false)
    }
    #[doc =
    " For an opaque type, return the list of (captured lifetime, inner generic param)."]
    #[doc = " ```ignore (illustrative)"]
    #[doc =
    " fn foo<\'a: \'a, \'b, T>(&\'b u8) -> impl Into<Self> + \'b { ... }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " We would return `[(\'a, \'_a), (\'b, \'_b)]`, with `\'a` early-bound and `\'b` late-bound."]
    #[doc = ""]
    #[doc = " After hir_ty_lowering, we get:"]
    #[doc = " ```ignore (pseudo-code)"]
    #[doc = " opaque foo::<\'a>::opaque<\'_a, \'_b>: Into<Foo<\'_a>> + \'_b;"]
    #[doc = "                          ^^^^^^^^ inner generic params"]
    #[doc =
    " fn foo<\'a>: for<\'b> fn(&\'b u8) -> foo::<\'a>::opaque::<\'a, \'b>"]
    #[doc =
    "                                                       ^^^^^^ captured lifetimes"]
    #[doc = " ```"]
    #[inline(always)]
    pub fn opaque_captured_lifetimes(self,
        key: impl IntoQueryParam<LocalDefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.opaque_captured_lifetimes,
            &self.tcx.query_system.caches.opaque_captured_lifetimes,
            key.into_query_param(), false)
    }
    #[doc = " Computes the visibility of the provided `def_id`."]
    #[doc = ""]
    #[doc =
    " If the item from the `def_id` doesn\'t have a visibility, it will panic. For example"]
    #[doc =
    " a generic type parameter will panic if you call this method on it:"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " use std::fmt::Debug;"]
    #[doc = ""]
    #[doc = " pub trait Foo<T: Debug> {}"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc = " In here, if you call `visibility` on `T`, it\'ll panic."]
    #[inline(always)]
    pub fn visibility(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.visibility,
            &self.tcx.query_system.caches.visibility, key.into_query_param(),
            false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing the uninhabited predicate of `{:?}`"]
    #[inline(always)]
    pub fn inhabited_predicate_adt(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.inhabited_predicate_adt,
            &self.tcx.query_system.caches.inhabited_predicate_adt,
            key.into_query_param(), false)
    }
    #[doc =
    " Do not call this query directly: invoke `Ty::inhabited_predicate` instead."]
    #[inline(always)]
    pub fn inhabited_predicate_type(self, key: Ty<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.inhabited_predicate_type,
            &self.tcx.query_system.caches.inhabited_predicate_type,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching what a dependency looks like"]
    #[inline(always)]
    pub fn dep_kind(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.dep_kind,
            &self.tcx.query_system.caches.dep_kind, key.into_query_param(),
            false)
    }
    #[doc = " Gets the name of the crate."]
    #[inline(always)]
    pub fn crate_name(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_name,
            &self.tcx.query_system.caches.crate_name, key.into_query_param(),
            false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting child items of module  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn module_children(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.module_children,
            &self.tcx.query_system.caches.module_children,
            key.into_query_param(), false)
    }
    #[doc = " Gets the number of definitions in a foreign crate."]
    #[doc = ""]
    #[doc =
    " This allows external tools to iterate over all definitions in a foreign crate."]
    #[doc = ""]
    #[doc =
    " This should never be used for the local crate, instead use `iter_local_def_id`."]
    #[inline(always)]
    pub fn num_extern_def_ids(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.num_extern_def_ids,
            &self.tcx.query_system.caches.num_extern_def_ids,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] calculating the lib features defined in a crate"]
    #[inline(always)]
    pub fn lib_features(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lib_features,
            &self.tcx.query_system.caches.lib_features,
            key.into_query_param(), false)
    }
    #[doc =
    " Mapping from feature name to feature name based on the `implied_by` field of `#[unstable]`"]
    #[doc =
    " attributes. If a `#[unstable(feature = \"implier\", implied_by = \"impliee\")]` attribute"]
    #[doc = " exists, then this map will have a `impliee -> implier` entry."]
    #[doc = ""]
    #[doc =
    " This mapping is necessary unless both the `#[stable]` and `#[unstable]` attributes should"]
    #[doc =
    " specify their implications (both `implies` and `implied_by`). If only one of the two"]
    #[doc =
    " attributes do (as in the current implementation, `implied_by` in `#[unstable]`), then this"]
    #[doc =
    " mapping is necessary for diagnostics. When a \"unnecessary feature attribute\" error is"]
    #[doc =
    " reported, only the `#[stable]` attribute information is available, so the map is necessary"]
    #[doc =
    " to know that the feature implies another feature. If it were reversed, and the `#[stable]`"]
    #[doc =
    " attribute had an `implies` meta item, then a map would be necessary when avoiding a \"use of"]
    #[doc = " unstable feature\" error for a feature that was implied."]
    #[inline(always)]
    pub fn stability_implications(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.stability_implications,
            &self.tcx.query_system.caches.stability_implications,
            key.into_query_param(), false)
    }
    #[doc = " Whether the function is an intrinsic"]
    #[inline(always)]
    pub fn intrinsic_raw(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.intrinsic_raw,
            &self.tcx.query_system.caches.intrinsic_raw,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the lang items defined in another crate by loading it from metadata."]
    #[inline(always)]
    pub fn get_lang_items(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.get_lang_items,
            &self.tcx.query_system.caches.get_lang_items,
            key.into_query_param(), false)
    }
    #[doc = " Returns all diagnostic items defined in all crates."]
    #[inline(always)]
    pub fn all_diagnostic_items(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.all_diagnostic_items,
            &self.tcx.query_system.caches.all_diagnostic_items,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the lang items defined in another crate by loading it from metadata."]
    #[inline(always)]
    pub fn defined_lang_items(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.defined_lang_items,
            &self.tcx.query_system.caches.defined_lang_items,
            key.into_query_param(), false)
    }
    #[doc = " Returns the diagnostic items defined in a crate."]
    #[inline(always)]
    pub fn diagnostic_items(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.diagnostic_items,
            &self.tcx.query_system.caches.diagnostic_items,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] calculating the missing lang items in a crate"]
    #[inline(always)]
    pub fn missing_lang_items(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.missing_lang_items,
            &self.tcx.query_system.caches.missing_lang_items,
            key.into_query_param(), false)
    }
    #[doc =
    " The visible parent map is a map from every item to a visible parent."]
    #[doc = " It prefers the shortest visible path to an item."]
    #[doc = " Used for diagnostics, for example path trimming."]
    #[doc = " The parents are modules, enums or traits."]
    #[inline(always)]
    pub fn visible_parent_map(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.visible_parent_map,
            &self.tcx.query_system.caches.visible_parent_map,
            key.into_query_param(), false)
    }
    #[doc =
    " Collects the \"trimmed\", shortest accessible paths to all items for diagnostics."]
    #[doc =
    " See the [provider docs](`rustc_middle::ty::print::trimmed_def_paths`) for more info."]
    #[inline(always)]
    pub fn trimmed_def_paths(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.trimmed_def_paths,
            &self.tcx.query_system.caches.trimmed_def_paths,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] seeing if we're missing an `extern crate` item for this crate"]
    #[inline(always)]
    pub fn missing_extern_crate_item(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.missing_extern_crate_item,
            &self.tcx.query_system.caches.missing_extern_crate_item,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking at the source for a crate"]
    #[inline(always)]
    pub fn used_crate_source(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.used_crate_source,
            &self.tcx.query_system.caches.used_crate_source,
            key.into_query_param(), false)
    }
    #[doc = " Returns the debugger visualizers defined for this crate."]
    #[doc =
    " NOTE: This query has to be marked `eval_always` because it reads data"]
    #[doc =
    "       directly from disk that is not tracked anywhere else. I.e. it"]
    #[doc = "       represents a genuine input to the query system."]
    #[inline(always)]
    pub fn debugger_visualizers(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.debugger_visualizers,
            &self.tcx.query_system.caches.debugger_visualizers,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] generating a postorder list of CrateNums"]
    #[inline(always)]
    pub fn postorder_cnums(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.postorder_cnums,
            &self.tcx.query_system.caches.postorder_cnums,
            key.into_query_param(), false)
    }
    #[doc = " Returns whether or not the crate with CrateNum \'cnum\'"]
    #[doc = " is marked as a private dependency"]
    #[inline(always)]
    pub fn is_private_dep(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_private_dep,
            &self.tcx.query_system.caches.is_private_dep,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the allocator kind for the current crate"]
    #[inline(always)]
    pub fn allocator_kind(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.allocator_kind,
            &self.tcx.query_system.caches.allocator_kind,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] alloc error handler kind for the current crate"]
    #[inline(always)]
    pub fn alloc_error_handler_kind(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.alloc_error_handler_kind,
            &self.tcx.query_system.caches.alloc_error_handler_kind,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting upvars mentioned in  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn upvars_mentioned(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.upvars_mentioned,
            &self.tcx.query_system.caches.upvars_mentioned,
            key.into_query_param(), false)
    }
    #[doc =
    " All available crates in the graph, including those that should not be user-facing"]
    #[doc = " (such as private crates)."]
    #[inline(always)]
    pub fn crates(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crates,
            &self.tcx.query_system.caches.crates, key.into_query_param(),
            false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching `CrateNum`s for all crates loaded non-speculatively"]
    #[inline(always)]
    pub fn used_crates(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.used_crates,
            &self.tcx.query_system.caches.used_crates, key.into_query_param(),
            false)
    }
    #[doc = " All crates that share the same name as crate `c`."]
    #[doc = ""]
    #[doc =
    " This normally occurs when multiple versions of the same dependency are present in the"]
    #[doc = " dependency tree."]
    #[inline(always)]
    pub fn duplicate_crate_names(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.duplicate_crate_names,
            &self.tcx.query_system.caches.duplicate_crate_names,
            key.into_query_param(), false)
    }
    #[doc =
    " A list of all traits in a crate, used by rustdoc and error reporting."]
    #[inline(always)]
    pub fn traits(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.traits,
            &self.tcx.query_system.caches.traits, key.into_query_param(),
            false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching all trait impls in a crate"]
    #[inline(always)]
    pub fn trait_impls_in_crate(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.trait_impls_in_crate,
            &self.tcx.query_system.caches.trait_impls_in_crate,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching the stable impl's order"]
    #[inline(always)]
    pub fn stable_order_of_exportable_impls(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.stable_order_of_exportable_impls,
            &self.tcx.query_system.caches.stable_order_of_exportable_impls,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching all exportable items in a crate"]
    #[inline(always)]
    pub fn exportable_items(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.exportable_items,
            &self.tcx.query_system.caches.exportable_items,
            key.into_query_param(), false)
    }
    #[doc = " The list of non-generic symbols exported from the given crate."]
    #[doc = ""]
    #[doc = " This is separate from exported_generic_symbols to avoid having"]
    #[doc = " to deserialize all non-generic symbols too for upstream crates"]
    #[doc = " in the upstream_monomorphizations query."]
    #[doc = ""]
    #[doc =
    " - All names contained in `exported_non_generic_symbols(cnum)` are"]
    #[doc =
    "   guaranteed to correspond to a publicly visible symbol in `cnum`"]
    #[doc = "   machine code."]
    #[doc =
    " - The `exported_non_generic_symbols` and `exported_generic_symbols`"]
    #[doc = "   sets of different crates do not intersect."]
    #[inline(always)]
    pub fn exported_non_generic_symbols(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.exported_non_generic_symbols,
            &self.tcx.query_system.caches.exported_non_generic_symbols,
            key.into_query_param(), false)
    }
    #[doc = " The list of generic symbols exported from the given crate."]
    #[doc = ""]
    #[doc = " - All names contained in `exported_generic_symbols(cnum)` are"]
    #[doc =
    "   guaranteed to correspond to a publicly visible symbol in `cnum`"]
    #[doc = "   machine code."]
    #[doc =
    " - The `exported_non_generic_symbols` and `exported_generic_symbols`"]
    #[doc = "   sets of different crates do not intersect."]
    #[inline(always)]
    pub fn exported_generic_symbols(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.exported_generic_symbols,
            &self.tcx.query_system.caches.exported_generic_symbols,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collect_and_partition_mono_items"]
    #[inline(always)]
    pub fn collect_and_partition_mono_items(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.collect_and_partition_mono_items,
            &self.tcx.query_system.caches.collect_and_partition_mono_items,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determining whether  `tcx.def_path_str(def_id)`  needs codegen"]
    #[inline(always)]
    pub fn is_codegened_item(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_codegened_item,
            &self.tcx.query_system.caches.is_codegened_item,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting codegen unit `{sym}`"]
    #[inline(always)]
    pub fn codegen_unit(self, key: Symbol) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.codegen_unit,
            &self.tcx.query_system.caches.codegen_unit,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] optimization level used by backend"]
    #[inline(always)]
    pub fn backend_optimization_level(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.backend_optimization_level,
            &self.tcx.query_system.caches.backend_optimization_level,
            key.into_query_param(), false)
    }
    #[doc = " Return the filenames where output artefacts shall be stored."]
    #[doc = ""]
    #[doc =
    " This query returns an `&Arc` because codegen backends need the value even after the `TyCtxt`"]
    #[doc = " has been destroyed."]
    #[inline(always)]
    pub fn output_filenames(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.output_filenames,
            &self.tcx.query_system.caches.output_filenames,
            key.into_query_param(), false)
    }
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn normalize_canonicalized_projection(self,
        key: CanonicalAliasGoal<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.normalize_canonicalized_projection,
            &self.tcx.query_system.caches.normalize_canonicalized_projection,
            key.into_query_param(), false)
    }
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn normalize_canonicalized_free_alias(self,
        key: CanonicalAliasGoal<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.normalize_canonicalized_free_alias,
            &self.tcx.query_system.caches.normalize_canonicalized_free_alias,
            key.into_query_param(), false)
    }
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn normalize_canonicalized_inherent_projection(self,
        key: CanonicalAliasGoal<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.normalize_canonicalized_inherent_projection,
            &self.tcx.query_system.caches.normalize_canonicalized_inherent_projection,
            key.into_query_param(), false)
    }
    #[doc =
    " Do not call this query directly: invoke `try_normalize_erasing_regions` instead."]
    #[inline(always)]
    pub fn try_normalize_generic_arg_after_erasing_regions(self,
        key: PseudoCanonicalInput<'tcx, GenericArg<'tcx>>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.try_normalize_generic_arg_after_erasing_regions,
            &self.tcx.query_system.caches.try_normalize_generic_arg_after_erasing_regions,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing implied outlives bounds for  `key.0.canonical.value.value.ty`  (hack disabled = {:?})"]
    #[inline(always)]
    pub fn implied_outlives_bounds(self,
        key: (CanonicalImpliedOutlivesBoundsGoal<'tcx>, bool)) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.implied_outlives_bounds,
            &self.tcx.query_system.caches.implied_outlives_bounds,
            key.into_query_param(), false)
    }
    #[doc = " Do not call this query directly:"]
    #[doc =
    " invoke `DropckOutlives::new(dropped_ty)).fully_perform(typeck.infcx)` instead."]
    #[inline(always)]
    pub fn dropck_outlives(self, key: CanonicalDropckOutlivesGoal<'tcx>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.dropck_outlives,
            &self.tcx.query_system.caches.dropck_outlives,
            key.into_query_param(), false)
    }
    #[doc =
    " Do not call this query directly: invoke `infcx.predicate_may_hold()` or"]
    #[doc = " `infcx.predicate_must_hold()` instead."]
    #[inline(always)]
    pub fn evaluate_obligation(self, key: CanonicalPredicateGoal<'tcx>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.evaluate_obligation,
            &self.tcx.query_system.caches.evaluate_obligation,
            key.into_query_param(), false)
    }
    #[doc = " Do not call this query directly: part of the `Eq` type-op"]
    #[inline(always)]
    pub fn type_op_ascribe_user_type(self,
        key: CanonicalTypeOpAscribeUserTypeGoal<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_op_ascribe_user_type,
            &self.tcx.query_system.caches.type_op_ascribe_user_type,
            key.into_query_param(), false)
    }
    #[doc =
    " Do not call this query directly: part of the `ProvePredicate` type-op"]
    #[inline(always)]
    pub fn type_op_prove_predicate(self,
        key: CanonicalTypeOpProvePredicateGoal<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_op_prove_predicate,
            &self.tcx.query_system.caches.type_op_prove_predicate,
            key.into_query_param(), false)
    }
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    #[inline(always)]
    pub fn type_op_normalize_ty(self,
        key: CanonicalTypeOpNormalizeGoal<'tcx, Ty<'tcx>>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_op_normalize_ty,
            &self.tcx.query_system.caches.type_op_normalize_ty,
            key.into_query_param(), false)
    }
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    #[inline(always)]
    pub fn type_op_normalize_clause(self,
        key: CanonicalTypeOpNormalizeGoal<'tcx, ty::Clause<'tcx>>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_op_normalize_clause,
            &self.tcx.query_system.caches.type_op_normalize_clause,
            key.into_query_param(), false)
    }
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    #[inline(always)]
    pub fn type_op_normalize_poly_fn_sig(self,
        key: CanonicalTypeOpNormalizeGoal<'tcx, ty::PolyFnSig<'tcx>>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_op_normalize_poly_fn_sig,
            &self.tcx.query_system.caches.type_op_normalize_poly_fn_sig,
            key.into_query_param(), false)
    }
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    #[inline(always)]
    pub fn type_op_normalize_fn_sig(self,
        key: CanonicalTypeOpNormalizeGoal<'tcx, ty::FnSig<'tcx>>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_op_normalize_fn_sig,
            &self.tcx.query_system.caches.type_op_normalize_fn_sig,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking impossible instantiated predicates:  `tcx.def_path_str(key.0)` "]
    #[inline(always)]
    pub fn instantiate_and_check_impossible_predicates(self,
        key: (DefId, GenericArgsRef<'tcx>)) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.instantiate_and_check_impossible_predicates,
            &self.tcx.query_system.caches.instantiate_and_check_impossible_predicates,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(key.1)`  is impossible to reference within  `tcx.def_path_str(key.0)` "]
    #[inline(always)]
    pub fn is_impossible_associated_item(self, key: (DefId, DefId)) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_impossible_associated_item,
            &self.tcx.query_system.caches.is_impossible_associated_item,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing autoderef types for  `goal.canonical.value.value.self_ty` "]
    #[inline(always)]
    pub fn method_autoderef_steps(self,
        key: CanonicalMethodAutoderefStepsGoal<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.method_autoderef_steps,
            &self.tcx.query_system.caches.method_autoderef_steps,
            key.into_query_param(), false)
    }
    #[doc = " Used by `-Znext-solver` to compute proof trees."]
    #[inline(always)]
    pub fn evaluate_root_goal_for_proof_tree_raw(self,
        key: solve::CanonicalInput<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.evaluate_root_goal_for_proof_tree_raw,
            &self.tcx.query_system.caches.evaluate_root_goal_for_proof_tree_raw,
            key.into_query_param(), false)
    }
    #[doc =
    " Returns the Rust target features for the current target. These are not always the same as LLVM target features!"]
    #[inline(always)]
    pub fn rust_target_features(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.rust_target_features,
            &self.tcx.query_system.caches.rust_target_features,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up implied target features"]
    #[inline(always)]
    pub fn implied_target_features(self, key: Symbol) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.implied_target_features,
            &self.tcx.query_system.caches.implied_target_features,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up enabled feature gates"]
    #[inline(always)]
    pub fn features_query(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.features_query,
            &self.tcx.query_system.caches.features_query,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] the ast before macro expansion and name resolution"]
    #[inline(always)]
    pub fn crate_for_resolver(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_for_resolver,
            &self.tcx.query_system.caches.crate_for_resolver,
            key.into_query_param(), false)
    }
    #[doc = " Attempt to resolve the given `DefId` to an `Instance`, for the"]
    #[doc = " given generics args (`GenericArgsRef`), returning one of:"]
    #[doc = "  * `Ok(Some(instance))` on success"]
    #[doc = "  * `Ok(None)` when the `GenericArgsRef` are still too generic,"]
    #[doc = "    and therefore don\'t allow finding the final `Instance`"]
    #[doc =
    "  * `Err(ErrorGuaranteed)` when the `Instance` resolution process"]
    #[doc =
    "    couldn\'t complete due to errors elsewhere - this is distinct"]
    #[doc =
    "    from `Ok(None)` to avoid misleading diagnostics when an error"]
    #[doc = "    has already been/will be emitted, for the original cause."]
    #[inline(always)]
    pub fn resolve_instance_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, (DefId, GenericArgsRef<'tcx>)>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.resolve_instance_raw,
            &self.tcx.query_system.caches.resolve_instance_raw,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] revealing opaque types in `{:?}`"]
    #[inline(always)]
    pub fn reveal_opaque_types_in_bounds(self, key: ty::Clauses<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.reveal_opaque_types_in_bounds,
            &self.tcx.query_system.caches.reveal_opaque_types_in_bounds,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up limits"]
    #[inline(always)]
    pub fn limits(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.limits,
            &self.tcx.query_system.caches.limits, key.into_query_param(),
            false)
    }
    #[doc =
    " Performs an HIR-based well-formed check on the item with the given `HirId`. If"]
    #[doc =
    " we get an `Unimplemented` error that matches the provided `Predicate`, return"]
    #[doc = " the cause of the newly created obligation."]
    #[doc = ""]
    #[doc =
    " This is only used by error-reporting code to get a better cause (in particular, a better"]
    #[doc =
    " span) for an *existing* error. Therefore, it is best-effort, and may never handle"]
    #[doc =
    " all of the cases that the normal `ty::Ty`-based wfcheck does. This is fine,"]
    #[doc = " because the `ty::Ty`-based wfcheck is always run."]
    #[inline(always)]
    pub fn diagnostic_hir_wf_check(self,
        key: (ty::Predicate<'tcx>, WellFormedLoc)) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.diagnostic_hir_wf_check,
            &self.tcx.query_system.caches.diagnostic_hir_wf_check,
            key.into_query_param(), false)
    }
    #[doc =
    " The list of backend features computed from CLI flags (`-Ctarget-cpu`, `-Ctarget-feature`,"]
    #[doc = " `--target` and similar)."]
    #[inline(always)]
    pub fn global_backend_features(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.global_backend_features,
            &self.tcx.query_system.caches.global_backend_features,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking validity requirement for  `key.1.value` :  `key.0` "]
    #[inline(always)]
    pub fn check_validity_requirement(self,
        key: (ValidityRequirement, ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>))
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_validity_requirement,
            &self.tcx.query_system.caches.check_validity_requirement,
            key.into_query_param(), false)
    }
    #[doc =
    " This takes the def-id of an associated item from a impl of a trait,"]
    #[doc =
    " and checks its validity against the trait item it corresponds to."]
    #[doc = ""]
    #[doc = " Any other def id will ICE."]
    #[inline(always)]
    pub fn compare_impl_item(self, key: impl IntoQueryParam<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::inner::query_ensure_error_guaranteed(self.tcx,
            self.tcx.query_system.fns.engine.compare_impl_item,
            &self.tcx.query_system.caches.compare_impl_item,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] deducing parameter attributes for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn deduced_param_attrs(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.deduced_param_attrs,
            &self.tcx.query_system.caches.deduced_param_attrs,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] resolutions for documentation links for a module"]
    #[inline(always)]
    pub fn doc_link_resolutions(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.doc_link_resolutions,
            &self.tcx.query_system.caches.doc_link_resolutions,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] traits in scope for documentation links for a module"]
    #[inline(always)]
    pub fn doc_link_traits_in_scope(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.doc_link_traits_in_scope,
            &self.tcx.query_system.caches.doc_link_traits_in_scope,
            key.into_query_param(), false)
    }
    #[doc =
    " Get all item paths that were stripped by a `#[cfg]` in a particular crate."]
    #[doc =
    " Should not be called for the local crate before the resolver outputs are created, as it"]
    #[doc = " is only fed there."]
    #[inline(always)]
    pub fn stripped_cfg_items(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.stripped_cfg_items,
            &self.tcx.query_system.caches.stripped_cfg_items,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] check whether the item has a `where Self: Sized` bound"]
    #[inline(always)]
    pub fn generics_require_sized_self(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.generics_require_sized_self,
            &self.tcx.query_system.caches.generics_require_sized_self,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] whether the item should be made inlinable across crates"]
    #[inline(always)]
    pub fn cross_crate_inlinable(self, key: impl IntoQueryParam<DefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.cross_crate_inlinable,
            &self.tcx.query_system.caches.cross_crate_inlinable,
            key.into_query_param(), false)
    }
    #[doc = " Perform monomorphization-time checking on this item."]
    #[doc =
    " This is used for lints/errors that can only be checked once the instance is fully"]
    #[doc = " monomorphized."]
    #[inline(always)]
    pub fn check_mono_item(self, key: ty::Instance<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_mono_item,
            &self.tcx.query_system.caches.check_mono_item,
            key.into_query_param(), false)
    }
    #[doc =
    " Builds the set of functions that should be skipped for the move-size check."]
    #[inline(always)]
    pub fn skip_move_check_fns(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.skip_move_check_fns,
            &self.tcx.query_system.caches.skip_move_check_fns,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting items used by  `key.0` "]
    #[inline(always)]
    pub fn items_of_instance(self, key: (ty::Instance<'tcx>, CollectionMode))
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.items_of_instance,
            &self.tcx.query_system.caches.items_of_instance,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] estimating codegen size of  `key` "]
    #[inline(always)]
    pub fn size_estimate(self, key: ty::Instance<'tcx>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.size_estimate,
            &self.tcx.query_system.caches.size_estimate,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up anon const kind of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn anon_const_kind(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.anon_const_kind,
            &self.tcx.query_system.caches.anon_const_kind,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(def_id)`  is a trivial const"]
    #[inline(always)]
    pub fn trivial_const(self, key: impl IntoQueryParam<DefId>) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.trivial_const,
            &self.tcx.query_system.caches.trivial_const,
            key.into_query_param(), false)
    }
    #[doc = " Checks for the nearest `#[sanitize(xyz = \"off\")]` or"]
    #[doc =
    " `#[sanitize(xyz = \"on\")]` on this def and any enclosing defs, up to the"]
    #[doc = " crate root."]
    #[doc = ""]
    #[doc = " Returns the sanitizer settings for this def."]
    #[inline(always)]
    pub fn sanitizer_settings_for(self, key: impl IntoQueryParam<LocalDefId>)
        -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.sanitizer_settings_for,
            &self.tcx.query_system.caches.sanitizer_settings_for,
            key.into_query_param(), false)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] check externally implementable items"]
    #[inline(always)]
    pub fn check_externally_implementable_items(self, key: ()) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_externally_implementable_items,
            &self.tcx.query_system.caches.check_externally_implementable_items,
            key.into_query_param(), false)
    }
    #[doc = " Returns a list of all `externally implementable items` crate."]
    #[inline(always)]
    pub fn externally_implementable_items(self, key: CrateNum) -> () {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.externally_implementable_items,
            &self.tcx.query_system.caches.externally_implementable_items,
            key.into_query_param(), false)
    }
}
impl<'tcx> TyCtxtEnsureDone<'tcx> {
    #[doc =
    " Caches the expansion of a derive proc macro, e.g. `#[derive(Serialize)]`."]
    #[doc = " The key is:"]
    #[doc = " - A unique key corresponding to the invocation of a macro."]
    #[doc = " - Token stream which serves as an input to the macro."]
    #[doc = ""]
    #[doc = " The output is the token stream generated by the proc macro."]
    #[inline(always)]
    pub fn derive_macro_expansion(self,
        key: (LocalExpnId, &'tcx TokenStream)) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.derive_macro_expansion,
            &self.tcx.query_system.caches.derive_macro_expansion,
            key.into_query_param(), true);
    }
    #[doc =
    " This exists purely for testing the interactions between delayed bugs and incremental."]
    #[inline(always)]
    pub fn trigger_delayed_bug(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.trigger_delayed_bug,
            &self.tcx.query_system.caches.trigger_delayed_bug,
            key.into_query_param(), true);
    }
    #[doc =
    " Collects the list of all tools registered using `#![register_tool]`."]
    #[inline(always)]
    pub fn registered_tools(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.registered_tools,
            &self.tcx.query_system.caches.registered_tools,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] perform lints prior to AST lowering"]
    #[inline(always)]
    pub fn early_lint_checks(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.early_lint_checks,
            &self.tcx.query_system.caches.early_lint_checks,
            key.into_query_param(), true);
    }
    #[doc = " Tracked access to environment variables."]
    #[doc = ""]
    #[doc =
    " Useful for the implementation of `std::env!`, `proc-macro`s change"]
    #[doc =
    " detection and other changes in the compiler\'s behaviour that is easier"]
    #[doc = " to control with an environment variable than a flag."]
    #[doc = ""]
    #[doc = " NOTE: This currently does not work with dependency info in the"]
    #[doc =
    " analysis, codegen and linking passes, place extra code at the top of"]
    #[doc = " `rustc_interface::passes::write_dep_info` to make that work."]
    #[inline(always)]
    pub fn env_var_os(self, key: &'tcx OsStr) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.env_var_os,
            &self.tcx.query_system.caches.env_var_os, key.into_query_param(),
            true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the resolver outputs"]
    #[inline(always)]
    pub fn resolutions(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.resolutions,
            &self.tcx.query_system.caches.resolutions, key.into_query_param(),
            true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the resolver for lowering"]
    #[inline(always)]
    pub fn resolver_for_lowering_raw(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.resolver_for_lowering_raw,
            &self.tcx.query_system.caches.resolver_for_lowering_raw,
            key.into_query_param(), true);
    }
    #[doc = " Return the span for a definition."]
    #[doc = ""]
    #[doc =
    " Contrary to `def_span` below, this query returns the full absolute span of the definition."]
    #[doc =
    " This span is meant for dep-tracking rather than diagnostics. It should not be used outside"]
    #[doc = " of rustc_middle::hir::source_map."]
    #[inline(always)]
    pub fn source_span(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.source_span,
            &self.tcx.query_system.caches.source_span, key.into_query_param(),
            true);
    }
    #[doc =
    " Represents crate as a whole (as distinct from the top-level crate module)."]
    #[doc = ""]
    #[doc =
    " If you call `tcx.hir_crate(())` we will have to assume that any change"]
    #[doc =
    " means that you need to be recompiled. This is because the `hir_crate`"]
    #[doc =
    " query gives you access to all other items. To avoid this fate, do not"]
    #[doc = " call `tcx.hir_crate(())`; instead, prefer wrappers like"]
    #[doc = " [`TyCtxt::hir_visit_all_item_likes_in_crate`]."]
    #[inline(always)]
    pub fn hir_crate(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.hir_crate,
            &self.tcx.query_system.caches.hir_crate, key.into_query_param(),
            true);
    }
    #[doc = " All items in the crate."]
    #[inline(always)]
    pub fn hir_crate_items(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.hir_crate_items,
            &self.tcx.query_system.caches.hir_crate_items,
            key.into_query_param(), true);
    }
    #[doc = " The items in a module."]
    #[doc = ""]
    #[doc =
    " This can be conveniently accessed by `tcx.hir_visit_item_likes_in_module`."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    pub fn hir_module_items(self, key: LocalModDefId) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.hir_module_items,
            &self.tcx.query_system.caches.hir_module_items,
            key.into_query_param(), true);
    }
    #[doc = " Returns HIR ID for the given `LocalDefId`."]
    #[inline(always)]
    pub fn local_def_id_to_hir_id(self,
        key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.local_def_id_to_hir_id,
            &self.tcx.query_system.caches.local_def_id_to_hir_id,
            key.into_query_param(), true);
    }
    #[doc =
    " Gives access to the HIR node\'s parent for the HIR owner `key`."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    pub fn hir_owner_parent(self, key: hir::OwnerId) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.hir_owner_parent,
            &self.tcx.query_system.caches.hir_owner_parent,
            key.into_query_param(), true);
    }
    #[doc =
    " Gives access to the HIR nodes and bodies inside `key` if it\'s a HIR owner."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    pub fn opt_hir_owner_nodes(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.opt_hir_owner_nodes,
            &self.tcx.query_system.caches.opt_hir_owner_nodes,
            key.into_query_param(), true);
    }
    #[doc = " Gives access to the HIR attributes inside the HIR owner `key`."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    pub fn hir_attr_map(self, key: hir::OwnerId) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.hir_attr_map,
            &self.tcx.query_system.caches.hir_attr_map,
            key.into_query_param(), true);
    }
    #[doc = " Gives access to lints emitted during ast lowering."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    pub fn opt_ast_lowering_delayed_lints(self, key: hir::OwnerId) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.opt_ast_lowering_delayed_lints,
            &self.tcx.query_system.caches.opt_ast_lowering_delayed_lints,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the *default* of the const pararameter given by `DefId`."]
    #[doc = ""]
    #[doc =
    " E.g., given `struct Ty<const N: usize = 3>;` this returns `3` for `N`."]
    #[inline(always)]
    pub fn const_param_default(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.const_param_default,
            &self.tcx.query_system.caches.const_param_default,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the const of the RHS of a (free or assoc) const item, if it is a `#[type_const]`."]
    #[doc = ""]
    #[doc =
    " When a const item is used in a type-level expression, like in equality for an assoc const"]
    #[doc =
    " projection, this allows us to retrieve the typesystem-appropriate representation of the"]
    #[doc = " const value."]
    #[doc = ""]
    #[doc =
    " This query will ICE if given a const that is not marked with `#[type_const]`."]
    #[inline(always)]
    pub fn const_of_item(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.const_of_item,
            &self.tcx.query_system.caches.const_of_item,
            key.into_query_param(), true);
    }
    #[doc = " Returns the *type* of the definition given by `DefId`."]
    #[doc = ""]
    #[doc =
    " For type aliases (whether eager or lazy) and associated types, this returns"]
    #[doc =
    " the underlying aliased type (not the corresponding [alias type])."]
    #[doc = ""]
    #[doc =
    " For opaque types, this returns and thus reveals the hidden type! If you"]
    #[doc = " want to detect cycle errors use `type_of_opaque` instead."]
    #[doc = ""]
    #[doc =
    " To clarify, for type definitions, this does *not* return the \"type of a type\""]
    #[doc =
    " (aka *kind* or *sort*) in the type-theoretical sense! It merely returns"]
    #[doc = " the type primarily *associated with* it."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition doesn\'t (and can\'t"]
    #[doc = " conceptually) have an (underlying) type."]
    #[doc = ""]
    #[doc = " [alias type]: rustc_middle::ty::AliasTy"]
    #[inline(always)]
    pub fn type_of(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_of,
            &self.tcx.query_system.caches.type_of, key.into_query_param(),
            true);
    }
    #[doc =
    " Returns the *hidden type* of the opaque type given by `DefId` unless a cycle occurred."]
    #[doc = ""]
    #[doc =
    " This is a specialized instance of [`Self::type_of`] that detects query cycles."]
    #[doc =
    " Unless `CyclePlaceholder` needs to be handled separately, call [`Self::type_of`] instead."]
    #[doc =
    " This is used to improve the error message in cases where revealing the hidden type"]
    #[doc = " for auto-trait leakage cycles."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not an opaque type."]
    #[inline(always)]
    pub fn type_of_opaque(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_of_opaque,
            &self.tcx.query_system.caches.type_of_opaque,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing type of opaque `{path}` via HIR typeck"]
    #[inline(always)]
    pub fn type_of_opaque_hir_typeck(self,
        key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_of_opaque_hir_typeck,
            &self.tcx.query_system.caches.type_of_opaque_hir_typeck,
            key.into_query_param(), true);
    }
    #[doc = " Returns whether the type alias given by `DefId` is lazy."]
    #[doc = ""]
    #[doc =
    " I.e., if the type alias expands / ought to expand to a [free] [alias type]"]
    #[doc = " instead of the underlying aliased type."]
    #[doc = ""]
    #[doc =
    " Relevant for features `lazy_type_alias` and `type_alias_impl_trait`."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query *may* panic if the given definition is not a type alias."]
    #[doc = ""]
    #[doc = " [free]: rustc_middle::ty::Free"]
    #[doc = " [alias type]: rustc_middle::ty::AliasTy"]
    #[inline(always)]
    pub fn type_alias_is_lazy(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_alias_is_lazy,
            &self.tcx.query_system.caches.type_alias_is_lazy,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] comparing an impl and trait method signature, inferring any hidden `impl Trait` types in the process"]
    #[inline(always)]
    pub fn collect_return_position_impl_trait_in_trait_tys(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.collect_return_position_impl_trait_in_trait_tys,
            &self.tcx.query_system.caches.collect_return_position_impl_trait_in_trait_tys,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determine where the opaque originates from"]
    #[inline(always)]
    pub fn opaque_ty_origin(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.opaque_ty_origin,
            &self.tcx.query_system.caches.opaque_ty_origin,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determining what parameters of  `tcx.def_path_str(key)`  can participate in unsizing"]
    #[inline(always)]
    pub fn unsizing_params_for_adt(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.unsizing_params_for_adt,
            &self.tcx.query_system.caches.unsizing_params_for_adt,
            key.into_query_param(), true);
    }
    #[doc =
    " The root query triggering all analysis passes like typeck or borrowck."]
    #[inline(always)]
    pub fn analysis(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.analysis,
            &self.tcx.query_system.caches.analysis, key.into_query_param(),
            true);
    }
    #[doc =
    " This query checks the fulfillment of collected lint expectations."]
    #[doc =
    " All lint emitting queries have to be done before this is executed"]
    #[doc = " to ensure that all expectations can be fulfilled."]
    #[doc = ""]
    #[doc =
    " This is an extra query to enable other drivers (like rustdoc) to"]
    #[doc =
    " only execute a small subset of the `analysis` query, while allowing"]
    #[doc =
    " lints to be expected. In rustc, this query will be executed as part of"]
    #[doc =
    " the `analysis` query and doesn\'t have to be called a second time."]
    #[doc = ""]
    #[doc =
    " Tools can additionally pass in a tool filter. That will restrict the"]
    #[doc =
    " expectations to only trigger for lints starting with the listed tool"]
    #[doc =
    " name. This is useful for cases were not all linting code from rustc"]
    #[doc =
    " was called. With the default `None` all registered lints will also"]
    #[doc = " be checked for expectation fulfillment."]
    #[inline(always)]
    pub fn check_expectations(self, key: Option<Symbol>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_expectations,
            &self.tcx.query_system.caches.check_expectations,
            key.into_query_param(), true);
    }
    #[doc = " Returns the *generics* of the definition given by `DefId`."]
    #[inline(always)]
    pub fn generics_of(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.generics_of,
            &self.tcx.query_system.caches.generics_of, key.into_query_param(),
            true);
    }
    #[doc =
    " Returns the (elaborated) *predicates* of the definition given by `DefId`"]
    #[doc =
    " that must be proven true at usage sites (and which can be assumed at definition site)."]
    #[doc = ""]
    #[doc =
    " This is almost always *the* \"predicates query\" that you want."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_dump_predicates]` on an item to basically print"]
    #[doc =
    " the result of this query for use in UI tests or for debugging purposes."]
    #[inline(always)]
    pub fn predicates_of(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.predicates_of,
            &self.tcx.query_system.caches.predicates_of,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing the opaque types defined by  `tcx.def_path_str(key.to_def_id())` "]
    #[inline(always)]
    pub fn opaque_types_defined_by(self,
        key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.opaque_types_defined_by,
            &self.tcx.query_system.caches.opaque_types_defined_by,
            key.into_query_param(), true);
    }
    #[doc =
    " A list of all bodies inside of `key`, nested bodies are always stored"]
    #[doc = " before their parent."]
    #[inline(always)]
    pub fn nested_bodies_within(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.nested_bodies_within,
            &self.tcx.query_system.caches.nested_bodies_within,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the explicitly user-written *bounds* on the associated or opaque type given by `DefId`"]
    #[doc =
    " that must be proven true at definition site (and which can be assumed at usage sites)."]
    #[doc = ""]
    #[doc =
    " For associated types, these must be satisfied for an implementation"]
    #[doc =
    " to be well-formed, and for opaque types, these are required to be"]
    #[doc = " satisfied by the hidden type of the opaque."]
    #[doc = ""]
    #[doc =
    " Bounds from the parent (e.g. with nested `impl Trait`) are not included."]
    #[doc = ""]
    #[doc =
    " Syntactially, these are the bounds written on associated types in trait"]
    #[doc = " definitions, or those after the `impl` keyword for an opaque:"]
    #[doc = ""]
    #[doc = " ```ignore (illustrative)"]
    #[doc = " trait Trait { type X: Bound + \'lt; }"]
    #[doc = " //                    ^^^^^^^^^^^"]
    #[doc = " fn function() -> impl Debug + Display { /*...*/ }"]
    #[doc = " //                    ^^^^^^^^^^^^^^^"]
    #[doc = " ```"]
    #[inline(always)]
    pub fn explicit_item_bounds(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.explicit_item_bounds,
            &self.tcx.query_system.caches.explicit_item_bounds,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the explicitly user-written *bounds* that share the `Self` type of the item."]
    #[doc = ""]
    #[doc =
    " These are a subset of the [explicit item bounds] that may explicitly be used for things"]
    #[doc = " like closure signature deduction."]
    #[doc = ""]
    #[doc = " [explicit item bounds]: Self::explicit_item_bounds"]
    #[inline(always)]
    pub fn explicit_item_self_bounds(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.explicit_item_self_bounds,
            &self.tcx.query_system.caches.explicit_item_self_bounds,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the (elaborated) *bounds* on the associated or opaque type given by `DefId`"]
    #[doc =
    " that must be proven true at definition site (and which can be assumed at usage sites)."]
    #[doc = ""]
    #[doc =
    " Bounds from the parent (e.g. with nested `impl Trait`) are not included."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_dump_item_bounds]` on an item to basically print"]
    #[doc =
    " the result of this query for use in UI tests or for debugging purposes."]
    #[doc = ""]
    #[doc = " # Examples"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait Trait { type Assoc: Eq + ?Sized; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " While [`Self::explicit_item_bounds`] returns `[<Self as Trait>::Assoc: Eq]`"]
    #[doc = " here, `item_bounds` returns:"]
    #[doc = ""]
    #[doc = " ```text"]
    #[doc = " ["]
    #[doc = "     <Self as Trait>::Assoc: Eq,"]
    #[doc = "     <Self as Trait>::Assoc: PartialEq<<Self as Trait>::Assoc>"]
    #[doc = " ]"]
    #[doc = " ```"]
    #[inline(always)]
    pub fn item_bounds(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.item_bounds,
            &self.tcx.query_system.caches.item_bounds, key.into_query_param(),
            true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating item assumptions for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn item_self_bounds(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.item_self_bounds,
            &self.tcx.query_system.caches.item_self_bounds,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating item assumptions for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn item_non_self_bounds(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.item_non_self_bounds,
            &self.tcx.query_system.caches.item_non_self_bounds,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating supertrait outlives for trait of  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn impl_super_outlives(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.impl_super_outlives,
            &self.tcx.query_system.caches.impl_super_outlives,
            key.into_query_param(), true);
    }
    #[doc = " Look up all native libraries this crate depends on."]
    #[doc = " These are assembled from the following places:"]
    #[doc = " - `extern` blocks (depending on their `link` attributes)"]
    #[doc = " - the `libs` (`-l`) option"]
    #[inline(always)]
    pub fn native_libraries(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.native_libraries,
            &self.tcx.query_system.caches.native_libraries,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up lint levels for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn shallow_lint_levels_on(self, key: hir::OwnerId) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.shallow_lint_levels_on,
            &self.tcx.query_system.caches.shallow_lint_levels_on,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing `#[expect]`ed lints in this crate"]
    #[inline(always)]
    pub fn lint_expectations(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lint_expectations,
            &self.tcx.query_system.caches.lint_expectations,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] Computing all lints that are explicitly enabled or with a default level greater than Allow"]
    #[inline(always)]
    pub fn lints_that_dont_need_to_run(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lints_that_dont_need_to_run,
            &self.tcx.query_system.caches.lints_that_dont_need_to_run,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the expansion that defined  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn expn_that_defined(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.expn_that_defined,
            &self.tcx.query_system.caches.expn_that_defined,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate is_panic_runtime"]
    #[inline(always)]
    pub fn is_panic_runtime(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_panic_runtime,
            &self.tcx.query_system.caches.is_panic_runtime,
            key.into_query_param(), true);
    }
    #[doc = " Checks whether a type is representable or infinitely sized"]
    #[inline(always)]
    pub fn representability(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.representability,
            &self.tcx.query_system.caches.representability,
            key.into_query_param(), true);
    }
    #[doc = " An implementation detail for the `representability` query"]
    #[inline(always)]
    pub fn representability_adt_ty(self, key: Ty<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.representability_adt_ty,
            &self.tcx.query_system.caches.representability_adt_ty,
            key.into_query_param(), true);
    }
    #[doc =
    " Set of param indexes for type params that are in the type\'s representation"]
    #[inline(always)]
    pub fn params_in_repr(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.params_in_repr,
            &self.tcx.query_system.caches.params_in_repr,
            key.into_query_param(), true);
    }
    #[doc =
    " Fetch the THIR for a given body. The THIR body gets stolen by unsafety checking unless"]
    #[doc = " `-Zno-steal-thir` is on."]
    #[inline(always)]
    pub fn thir_body(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.thir_body,
            &self.tcx.query_system.caches.thir_body, key.into_query_param(),
            true);
    }
    #[doc =
    " Set of all the `DefId`s in this crate that have MIR associated with"]
    #[doc =
    " them. This includes all the body owners, but also things like struct"]
    #[doc = " constructors."]
    #[inline(always)]
    pub fn mir_keys(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_keys,
            &self.tcx.query_system.caches.mir_keys, key.into_query_param(),
            true);
    }
    #[doc =
    " Maps DefId\'s that have an associated `mir::Body` to the result"]
    #[doc = " of the MIR const-checking pass. This is the set of qualifs in"]
    #[doc = " the final value of a `const`."]
    #[inline(always)]
    pub fn mir_const_qualif(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_const_qualif,
            &self.tcx.query_system.caches.mir_const_qualif,
            key.into_query_param(), true);
    }
    #[doc =
    " Build the MIR for a given `DefId` and prepare it for const qualification."]
    #[doc = ""]
    #[doc = " See the [rustc dev guide] for more info."]
    #[doc = ""]
    #[doc =
    " [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/mir/construction.html"]
    #[inline(always)]
    pub fn mir_built(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_built,
            &self.tcx.query_system.caches.mir_built, key.into_query_param(),
            true);
    }
    #[doc = " Try to build an abstract representation of the given constant."]
    #[inline(always)]
    pub fn thir_abstract_const(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.thir_abstract_const,
            &self.tcx.query_system.caches.thir_abstract_const,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating drops for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn mir_drops_elaborated_and_const_checked(self,
        key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_drops_elaborated_and_const_checked,
            &self.tcx.query_system.caches.mir_drops_elaborated_and_const_checked,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] caching mir of  `tcx.def_path_str(key)`  for CTFE"]
    #[inline(always)]
    pub fn mir_for_ctfe(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_for_ctfe,
            &self.tcx.query_system.caches.mir_for_ctfe,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] promoting constants in MIR for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn mir_promoted(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_promoted,
            &self.tcx.query_system.caches.mir_promoted,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding symbols for captures of closure  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn closure_typeinfo(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.closure_typeinfo,
            &self.tcx.query_system.caches.closure_typeinfo,
            key.into_query_param(), true);
    }
    #[doc = " Returns names of captured upvars for closures and coroutines."]
    #[doc = ""]
    #[doc = " Here are some examples:"]
    #[doc = "  - `name__field1__field2` when the upvar is captured by value."]
    #[doc =
    "  - `_ref__name__field` when the upvar is captured by reference."]
    #[doc = ""]
    #[doc =
    " For coroutines this only contains upvars that are shared by all states."]
    #[inline(always)]
    pub fn closure_saved_names_of_captured_variables(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.closure_saved_names_of_captured_variables,
            &self.tcx.query_system.caches.closure_saved_names_of_captured_variables,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] coroutine witness types for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn mir_coroutine_witnesses(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_coroutine_witnesses,
            &self.tcx.query_system.caches.mir_coroutine_witnesses,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] verify auto trait bounds for coroutine interior type  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn check_coroutine_obligations(self,
        key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_coroutine_obligations,
            &self.tcx.query_system.caches.check_coroutine_obligations,
            key.into_query_param(), true);
    }
    #[doc =
    " Used in case `mir_borrowck` fails to prove an obligation. We generally assume that"]
    #[doc =
    " all goals we prove in MIR type check hold as we\'ve already checked them in HIR typeck."]
    #[doc = ""]
    #[doc =
    " However, we replace each free region in the MIR body with a unique region inference"]
    #[doc =
    " variable. As we may rely on structural identity when proving goals this may cause a"]
    #[doc =
    " goal to no longer hold. We store obligations for which this may happen during HIR"]
    #[doc =
    " typeck in the `TypeckResults`. We then uniquify and reprove them in case MIR typeck"]
    #[doc =
    " encounters an unexpected error. We expect this to result in an error when used and"]
    #[doc = " delay a bug if it does not."]
    #[inline(always)]
    pub fn check_potentially_region_dependent_goals(self,
        key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_potentially_region_dependent_goals,
            &self.tcx.query_system.caches.check_potentially_region_dependent_goals,
            key.into_query_param(), true);
    }
    #[doc =
    " MIR after our optimization passes have run. This is MIR that is ready"]
    #[doc =
    " for codegen. This is also the only query that can fetch non-local MIR, at present."]
    #[inline(always)]
    pub fn optimized_mir(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.optimized_mir,
            &self.tcx.query_system.caches.optimized_mir,
            key.into_query_param(), true);
    }
    #[doc =
    " Checks for the nearest `#[coverage(off)]` or `#[coverage(on)]` on"]
    #[doc = " this def and any enclosing defs, up to the crate root."]
    #[doc = ""]
    #[doc = " Returns `false` if `#[coverage(off)]` was found, or `true` if"]
    #[doc = " either `#[coverage(on)]` or no coverage attribute was found."]
    #[inline(always)]
    pub fn coverage_attr_on(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.coverage_attr_on,
            &self.tcx.query_system.caches.coverage_attr_on,
            key.into_query_param(), true);
    }
    #[doc =
    " Scans through a function\'s MIR after MIR optimizations, to prepare the"]
    #[doc =
    " information needed by codegen when `-Cinstrument-coverage` is active."]
    #[doc = ""]
    #[doc =
    " This includes the details of where to insert `llvm.instrprof.increment`"]
    #[doc =
    " intrinsics, and the expression tables to be embedded in the function\'s"]
    #[doc = " coverage metadata."]
    #[doc = ""]
    #[doc =
    " FIXME(Zalathar): This query\'s purpose has drifted a bit and should"]
    #[doc =
    " probably be renamed, but that can wait until after the potential"]
    #[doc = " follow-ups to #136053 have settled down."]
    #[doc = ""]
    #[doc = " Returns `None` for functions that were not instrumented."]
    #[inline(always)]
    pub fn coverage_ids_info(self, key: ty::InstanceKind<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.coverage_ids_info,
            &self.tcx.query_system.caches.coverage_ids_info,
            key.into_query_param(), true);
    }
    #[doc =
    " The `DefId` is the `DefId` of the containing MIR body. Promoteds do not have their own"]
    #[doc =
    " `DefId`. This function returns all promoteds in the specified body. The body references"]
    #[doc =
    " promoteds by the `DefId` and the `mir::Promoted` index. This is necessary, because"]
    #[doc =
    " after inlining a body may refer to promoteds from other bodies. In that case you still"]
    #[doc = " need to use the `DefId` of the original body."]
    #[inline(always)]
    pub fn promoted_mir(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.promoted_mir,
            &self.tcx.query_system.caches.promoted_mir,
            key.into_query_param(), true);
    }
    #[doc = " Erases regions from `ty` to yield a new type."]
    #[doc =
    " Normally you would just use `tcx.erase_and_anonymize_regions(value)`,"]
    #[doc = " however, which uses this query as a kind of cache."]
    #[inline(always)]
    pub fn erase_and_anonymize_regions_ty(self, key: Ty<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.erase_and_anonymize_regions_ty,
            &self.tcx.query_system.caches.erase_and_anonymize_regions_ty,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting wasm import module map"]
    #[inline(always)]
    pub fn wasm_import_module_map(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.wasm_import_module_map,
            &self.tcx.query_system.caches.wasm_import_module_map,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the explicitly user-written *predicates and bounds* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc = " Traits are unusual, because predicates on associated types are"]
    #[doc =
    " converted into bounds on that type for backwards compatibility:"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait X where Self::U: Copy { type U; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc = " becomes"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait X { type U: Copy; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " [`Self::explicit_predicates_of`] and [`Self::explicit_item_bounds`] will"]
    #[doc = " then take the appropriate subsets of the predicates here."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc = " This query will panic if the given definition is not a trait."]
    #[inline(always)]
    pub fn trait_explicit_predicates_and_bounds(self,
        key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.trait_explicit_predicates_and_bounds,
            &self.tcx.query_system.caches.trait_explicit_predicates_and_bounds,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the explicitly user-written *predicates* of the definition given by `DefId`"]
    #[doc =
    " that must be proven true at usage sites (and which can be assumed at definition site)."]
    #[doc = ""]
    #[doc =
    " You should probably use [`Self::predicates_of`] unless you\'re looking for"]
    #[doc = " predicates with explicit spans for diagnostics purposes."]
    #[inline(always)]
    pub fn explicit_predicates_of(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.explicit_predicates_of,
            &self.tcx.query_system.caches.explicit_predicates_of,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the *inferred outlives-predicates* of the item given by `DefId`."]
    #[doc = ""]
    #[doc =
    " E.g., for `struct Foo<\'a, T> { x: &\'a T }`, this would return `[T: \'a]`."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_outlives]` on an item to basically print the"]
    #[doc =
    " result of this query for use in UI tests or for debugging purposes."]
    #[inline(always)]
    pub fn inferred_outlives_of(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.inferred_outlives_of,
            &self.tcx.query_system.caches.inferred_outlives_of,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the explicitly user-written *super-predicates* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc =
    " These predicates are unelaborated and consequently don\'t contain transitive super-predicates."]
    #[doc = ""]
    #[doc =
    " This is a subset of the full list of predicates. We store these in a separate map"]
    #[doc =
    " because we must evaluate them even during type conversion, often before the full"]
    #[doc =
    " predicates are available (note that super-predicates must not be cyclic)."]
    #[inline(always)]
    pub fn explicit_super_predicates_of(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.explicit_super_predicates_of,
            &self.tcx.query_system.caches.explicit_super_predicates_of,
            key.into_query_param(), true);
    }
    #[doc =
    " The predicates of the trait that are implied during elaboration."]
    #[doc = ""]
    #[doc =
    " This is a superset of the super-predicates of the trait, but a subset of the predicates"]
    #[doc =
    " of the trait. For regular traits, this includes all super-predicates and their"]
    #[doc =
    " associated type bounds. For trait aliases, currently, this includes all of the"]
    #[doc = " predicates of the trait alias."]
    #[inline(always)]
    pub fn explicit_implied_predicates_of(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.explicit_implied_predicates_of,
            &self.tcx.query_system.caches.explicit_implied_predicates_of,
            key.into_query_param(), true);
    }
    #[doc =
    " The Ident is the name of an associated type.The query returns only the subset"]
    #[doc =
    " of supertraits that define the given associated type. This is used to avoid"]
    #[doc =
    " cycles in resolving type-dependent associated item paths like `T::Item`."]
    #[inline(always)]
    pub fn explicit_supertraits_containing_assoc_item(self,
        key: (DefId, rustc_span::Ident)) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.explicit_supertraits_containing_assoc_item,
            &self.tcx.query_system.caches.explicit_supertraits_containing_assoc_item,
            key.into_query_param(), true);
    }
    #[doc =
    " Compute the conditions that need to hold for a conditionally-const item to be const."]
    #[doc =
    " That is, compute the set of `[const]` where clauses for a given item."]
    #[doc = ""]
    #[doc =
    " This can be thought of as the `[const]` equivalent of `predicates_of`. These are the"]
    #[doc =
    " predicates that need to be proven at usage sites, and can be assumed at definition."]
    #[doc = ""]
    #[doc =
    " This query also computes the `[const]` where clauses for associated types, which are"]
    #[doc =
    " not \"const\", but which have item bounds which may be `[const]`. These must hold for"]
    #[doc = " the `[const]` item bound to hold."]
    #[inline(always)]
    pub fn const_conditions(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.const_conditions,
            &self.tcx.query_system.caches.const_conditions,
            key.into_query_param(), true);
    }
    #[doc =
    " Compute the const bounds that are implied for a conditionally-const item."]
    #[doc = ""]
    #[doc =
    " This can be though of as the `[const]` equivalent of `explicit_item_bounds`. These"]
    #[doc =
    " are the predicates that need to proven at definition sites, and can be assumed at"]
    #[doc = " usage sites."]
    #[inline(always)]
    pub fn explicit_implied_const_bounds(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.explicit_implied_const_bounds,
            &self.tcx.query_system.caches.explicit_implied_const_bounds,
            key.into_query_param(), true);
    }
    #[doc =
    " To avoid cycles within the predicates of a single item we compute"]
    #[doc = " per-type-parameter predicates for resolving `T::AssocTy`."]
    #[inline(always)]
    pub fn type_param_predicates(self,
        key: (LocalDefId, LocalDefId, rustc_span::Ident)) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_param_predicates,
            &self.tcx.query_system.caches.type_param_predicates,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing trait definition for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn trait_def(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.trait_def,
            &self.tcx.query_system.caches.trait_def, key.into_query_param(),
            true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing ADT definition for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn adt_def(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.adt_def,
            &self.tcx.query_system.caches.adt_def, key.into_query_param(),
            true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing `Drop` impl for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn adt_destructor(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.adt_destructor,
            &self.tcx.query_system.caches.adt_destructor,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing `AsyncDrop` impl for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn adt_async_destructor(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.adt_async_destructor,
            &self.tcx.query_system.caches.adt_async_destructor,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing the sizedness constraint for  `tcx.def_path_str(key.0)` "]
    #[inline(always)]
    pub fn adt_sizedness_constraint(self, key: (DefId, SizedTraitKind)) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.adt_sizedness_constraint,
            &self.tcx.query_system.caches.adt_sizedness_constraint,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing drop-check constraints for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn adt_dtorck_constraint(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.adt_dtorck_constraint,
            &self.tcx.query_system.caches.adt_dtorck_constraint,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the constness of the function-like[^1] definition given by `DefId`."]
    #[doc = ""]
    #[doc =
    " Tuple struct/variant constructors are *always* const, foreign functions are"]
    #[doc =
    " *never* const. The rest is const iff marked with keyword `const` (or rather"]
    #[doc = " its parent in the case of associated functions)."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly. It is only meant to cache the base data for the"]
    #[doc =
    " higher-level functions. Consider using `is_const_fn` or `is_const_trait_impl` instead."]
    #[doc = ""]
    #[doc =
    " Also note that neither of them takes into account feature gates, stability and"]
    #[doc = " const predicates/conditions!"]
    #[doc = ""]
    #[doc = " </div>"]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not function-like[^1]."]
    #[doc = ""]
    #[doc =
    " [^1]: Tuple struct/variant constructors, closures and free, associated and foreign functions."]
    #[inline(always)]
    pub fn constness(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.constness,
            &self.tcx.query_system.caches.constness, key.into_query_param(),
            true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the function is async:  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn asyncness(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.asyncness,
            &self.tcx.query_system.caches.asyncness, key.into_query_param(),
            true);
    }
    #[doc = " Returns `true` if calls to the function may be promoted."]
    #[doc = ""]
    #[doc =
    " This is either because the function is e.g., a tuple-struct or tuple-variant"]
    #[doc =
    " constructor, or because it has the `#[rustc_promotable]` attribute. The attribute should"]
    #[doc =
    " be removed in the future in favour of some form of check which figures out whether the"]
    #[doc =
    " function does not inspect the bits of any of its arguments (so is essentially just a"]
    #[doc = " constructor function)."]
    #[inline(always)]
    pub fn is_promotable_const_fn(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_promotable_const_fn,
            &self.tcx.query_system.caches.is_promotable_const_fn,
            key.into_query_param(), true);
    }
    #[doc =
    " The body of the coroutine, modified to take its upvars by move rather than by ref."]
    #[doc = ""]
    #[doc =
    " This is used by coroutine-closures, which must return a different flavor of coroutine"]
    #[doc =
    " when called using `AsyncFnOnce::call_once`. It is produced by the `ByMoveBody` pass which"]
    #[doc =
    " is run right after building the initial MIR, and will only be populated for coroutines"]
    #[doc = " which come out of the async closure desugaring."]
    #[inline(always)]
    pub fn coroutine_by_move_body_def_id(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.coroutine_by_move_body_def_id,
            &self.tcx.query_system.caches.coroutine_by_move_body_def_id,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns `Some(coroutine_kind)` if the node pointed to by `def_id` is a coroutine."]
    #[inline(always)]
    pub fn coroutine_kind(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.coroutine_kind,
            &self.tcx.query_system.caches.coroutine_kind,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] Given a coroutine-closure def id, return the def id of the coroutine returned by it"]
    #[inline(always)]
    pub fn coroutine_for_closure(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.coroutine_for_closure,
            &self.tcx.query_system.caches.coroutine_for_closure,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the hidden types stored across await points in a coroutine"]
    #[inline(always)]
    pub fn coroutine_hidden_types(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.coroutine_hidden_types,
            &self.tcx.query_system.caches.coroutine_hidden_types,
            key.into_query_param(), true);
    }
    #[doc =
    " Gets a map with the variances of every item in the local crate."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::variances_of`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn crate_variances(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_variances,
            &self.tcx.query_system.caches.crate_variances,
            key.into_query_param(), true);
    }
    #[doc = " Returns the (inferred) variances of the item given by `DefId`."]
    #[doc = ""]
    #[doc =
    " The list of variances corresponds to the list of (early-bound) generic"]
    #[doc = " parameters of the item (including its parents)."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_variance]` on an item to basically print the"]
    #[doc =
    " result of this query for use in UI tests or for debugging purposes."]
    #[inline(always)]
    pub fn variances_of(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.variances_of,
            &self.tcx.query_system.caches.variances_of,
            key.into_query_param(), true);
    }
    #[doc =
    " Gets a map with the inferred outlives-predicates of every item in the local crate."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::inferred_outlives_of`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn inferred_outlives_crate(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.inferred_outlives_crate,
            &self.tcx.query_system.caches.inferred_outlives_crate,
            key.into_query_param(), true);
    }
    #[doc = " Maps from an impl/trait or struct/variant `DefId`"]
    #[doc = " to a list of the `DefId`s of its associated items or fields."]
    #[inline(always)]
    pub fn associated_item_def_ids(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.associated_item_def_ids,
            &self.tcx.query_system.caches.associated_item_def_ids,
            key.into_query_param(), true);
    }
    #[doc =
    " Maps from a trait/impl item to the trait/impl item \"descriptor\"."]
    #[inline(always)]
    pub fn associated_item(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.associated_item,
            &self.tcx.query_system.caches.associated_item,
            key.into_query_param(), true);
    }
    #[doc = " Collects the associated items defined on a trait or impl."]
    #[inline(always)]
    pub fn associated_items(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.associated_items,
            &self.tcx.query_system.caches.associated_items,
            key.into_query_param(), true);
    }
    #[doc =
    " Maps from associated items on a trait to the corresponding associated"]
    #[doc = " item on the impl specified by `impl_id`."]
    #[doc = ""]
    #[doc = " For example, with the following code"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " struct Type {}"]
    #[doc = "                         // DefId"]
    #[doc = " trait Trait {           // trait_id"]
    #[doc = "     fn f();             // trait_f"]
    #[doc = "     fn g() {}           // trait_g"]
    #[doc = " }"]
    #[doc = ""]
    #[doc = " impl Trait for Type {   // impl_id"]
    #[doc = "     fn f() {}           // impl_f"]
    #[doc = "     fn g() {}           // impl_g"]
    #[doc = " }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " The map returned for `tcx.impl_item_implementor_ids(impl_id)` would be"]
    #[doc = "`{ trait_f: impl_f, trait_g: impl_g }`"]
    #[inline(always)]
    pub fn impl_item_implementor_ids(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.impl_item_implementor_ids,
            &self.tcx.query_system.caches.impl_item_implementor_ids,
            key.into_query_param(), true);
    }
    #[doc =
    " Given the `item_def_id` of a trait or impl, return a mapping from associated fn def id"]
    #[doc =
    " to its associated type items that correspond to the RPITITs in its signature."]
    #[inline(always)]
    pub fn associated_types_for_impl_traits_in_trait_or_impl(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.associated_types_for_impl_traits_in_trait_or_impl,
            &self.tcx.query_system.caches.associated_types_for_impl_traits_in_trait_or_impl,
            key.into_query_param(), true);
    }
    #[doc =
    " Given an `impl_id`, return the trait it implements along with some header information."]
    #[inline(always)]
    pub fn impl_trait_header(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.impl_trait_header,
            &self.tcx.query_system.caches.impl_trait_header,
            key.into_query_param(), true);
    }
    #[doc =
    " Given an `impl_def_id`, return true if the self type is guaranteed to be unsized due"]
    #[doc =
    " to either being one of the built-in unsized types (str/slice/dyn) or to be a struct"]
    #[doc = " whose tail is one of those types."]
    #[inline(always)]
    pub fn impl_self_is_guaranteed_unsized(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.impl_self_is_guaranteed_unsized,
            &self.tcx.query_system.caches.impl_self_is_guaranteed_unsized,
            key.into_query_param(), true);
    }
    #[doc = " Maps a `DefId` of a type to a list of its inherent impls."]
    #[doc =
    " Contains implementations of methods that are inherent to a type."]
    #[doc = " Methods in these implementations don\'t need to be exported."]
    #[inline(always)]
    pub fn inherent_impls(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.inherent_impls,
            &self.tcx.query_system.caches.inherent_impls,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting all inherent impls for `{:?}`"]
    #[inline(always)]
    pub fn incoherent_impls(self, key: SimplifiedType) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.incoherent_impls,
            &self.tcx.query_system.caches.incoherent_impls,
            key.into_query_param(), true);
    }
    #[doc = " Unsafety-check this `LocalDefId`."]
    #[inline(always)]
    pub fn check_transmutes(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_transmutes,
            &self.tcx.query_system.caches.check_transmutes,
            key.into_query_param(), true);
    }
    #[doc = " Unsafety-check this `LocalDefId`."]
    #[inline(always)]
    pub fn check_unsafety(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_unsafety,
            &self.tcx.query_system.caches.check_unsafety,
            key.into_query_param(), true);
    }
    #[doc = " Checks well-formedness of tail calls (`become f()`)."]
    #[inline(always)]
    pub fn check_tail_calls(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_tail_calls,
            &self.tcx.query_system.caches.check_tail_calls,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the types assumed to be well formed while \"inside\" of the given item."]
    #[doc = ""]
    #[doc =
    " Note that we\'ve liberated the late bound regions of function signatures, so"]
    #[doc =
    " this can not be used to check whether these types are well formed."]
    #[inline(always)]
    pub fn assumed_wf_types(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.assumed_wf_types,
            &self.tcx.query_system.caches.assumed_wf_types,
            key.into_query_param(), true);
    }
    #[doc =
    " We need to store the assumed_wf_types for an RPITIT so that impls of foreign"]
    #[doc =
    " traits with return-position impl trait in traits can inherit the right wf types."]
    #[inline(always)]
    pub fn assumed_wf_types_for_rpitit(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.assumed_wf_types_for_rpitit,
            &self.tcx.query_system.caches.assumed_wf_types_for_rpitit,
            key.into_query_param(), true);
    }
    #[doc = " Computes the signature of the function."]
    #[inline(always)]
    pub fn fn_sig(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.fn_sig,
            &self.tcx.query_system.caches.fn_sig, key.into_query_param(),
            true);
    }
    #[doc = " Performs lint checking for the module."]
    #[inline(always)]
    pub fn lint_mod(self, key: LocalModDefId) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lint_mod,
            &self.tcx.query_system.caches.lint_mod, key.into_query_param(),
            true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking unused trait imports in crate"]
    #[inline(always)]
    pub fn check_unused_traits(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_unused_traits,
            &self.tcx.query_system.caches.check_unused_traits,
            key.into_query_param(), true);
    }
    #[doc = " Checks the attributes in the module."]
    #[inline(always)]
    pub fn check_mod_attrs(self, key: LocalModDefId) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_mod_attrs,
            &self.tcx.query_system.caches.check_mod_attrs,
            key.into_query_param(), true);
    }
    #[doc = " Checks for uses of unstable APIs in the module."]
    #[inline(always)]
    pub fn check_mod_unstable_api_usage(self, key: LocalModDefId) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_mod_unstable_api_usage,
            &self.tcx.query_system.caches.check_mod_unstable_api_usage,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking privacy in  `describe_as_module(key.to_local_def_id(), tcx)` "]
    #[inline(always)]
    pub fn check_mod_privacy(self, key: LocalModDefId) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_mod_privacy,
            &self.tcx.query_system.caches.check_mod_privacy,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking liveness of variables in  `tcx.def_path_str(key.to_def_id())` "]
    #[inline(always)]
    pub fn check_liveness(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_liveness,
            &self.tcx.query_system.caches.check_liveness,
            key.into_query_param(), true);
    }
    #[doc = " Return the live symbols in the crate for dead code check."]
    #[doc = ""]
    #[doc =
    " The second return value maps from ADTs to ignored derived traits (e.g. Debug and Clone)."]
    #[inline(always)]
    pub fn live_symbols_and_ignored_derived_traits(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.live_symbols_and_ignored_derived_traits,
            &self.tcx.query_system.caches.live_symbols_and_ignored_derived_traits,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking deathness of variables in  `describe_as_module(key, tcx)` "]
    #[inline(always)]
    pub fn check_mod_deathness(self, key: LocalModDefId) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_mod_deathness,
            &self.tcx.query_system.caches.check_mod_deathness,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking that types are well-formed"]
    #[inline(always)]
    pub fn check_type_wf(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_type_wf,
            &self.tcx.query_system.caches.check_type_wf,
            key.into_query_param(), true);
    }
    #[doc = " Caches `CoerceUnsized` kinds for impls on custom types."]
    #[inline(always)]
    pub fn coerce_unsized_info(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.coerce_unsized_info,
            &self.tcx.query_system.caches.coerce_unsized_info,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] type-checking  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn typeck(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.typeck,
            &self.tcx.query_system.caches.typeck, key.into_query_param(),
            true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding used_trait_imports  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn used_trait_imports(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.used_trait_imports,
            &self.tcx.query_system.caches.used_trait_imports,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] coherence checking all impls of trait  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn coherent_trait(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.coherent_trait,
            &self.tcx.query_system.caches.coherent_trait,
            key.into_query_param(), true);
    }
    #[doc =
    " Borrow-checks the given typeck root, e.g. functions, const/static items,"]
    #[doc = " and its children, e.g. closures, inline consts."]
    #[inline(always)]
    pub fn mir_borrowck(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_borrowck,
            &self.tcx.query_system.caches.mir_borrowck,
            key.into_query_param(), true);
    }
    #[doc = " Gets a complete map from all types to their inherent impls."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn crate_inherent_impls(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_inherent_impls,
            &self.tcx.query_system.caches.crate_inherent_impls,
            key.into_query_param(), true);
    }
    #[doc =
    " Checks all types in the crate for overlap in their inherent impls. Reports errors."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn crate_inherent_impls_validity_check(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_inherent_impls_validity_check,
            &self.tcx.query_system.caches.crate_inherent_impls_validity_check,
            key.into_query_param(), true);
    }
    #[doc =
    " Checks all types in the crate for overlap in their inherent impls. Reports errors."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn crate_inherent_impls_overlap_check(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_inherent_impls_overlap_check,
            &self.tcx.query_system.caches.crate_inherent_impls_overlap_check,
            key.into_query_param(), true);
    }
    #[doc =
    " Checks whether all impls in the crate pass the overlap check, returning"]
    #[doc =
    " which impls fail it. If all impls are correct, the returned slice is empty."]
    #[inline(always)]
    pub fn orphan_check_impl(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.orphan_check_impl,
            &self.tcx.query_system.caches.orphan_check_impl,
            key.into_query_param(), true);
    }
    #[doc =
    " Return the set of (transitive) callees that may result in a recursive call to `key`,"]
    #[doc = " if we were able to walk all callees."]
    #[inline(always)]
    pub fn mir_callgraph_cyclic(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_callgraph_cyclic,
            &self.tcx.query_system.caches.mir_callgraph_cyclic,
            key.into_query_param(), true);
    }
    #[doc = " Obtain all the calls into other local functions"]
    #[inline(always)]
    pub fn mir_inliner_callees(self, key: ty::InstanceKind<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_inliner_callees,
            &self.tcx.query_system.caches.mir_inliner_callees,
            key.into_query_param(), true);
    }
    #[doc = " Computes the tag (if any) for a given type and variant."]
    #[doc = ""]
    #[doc =
    " `None` means that the variant doesn\'t need a tag (because it is niched)."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic for uninhabited variants and if the passed type is not an enum."]
    #[inline(always)]
    pub fn tag_for_variant(self,
        key: PseudoCanonicalInput<'tcx, (Ty<'tcx>, abi::VariantIdx)>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.tag_for_variant,
            &self.tcx.query_system.caches.tag_for_variant,
            key.into_query_param(), true);
    }
    #[doc = " Evaluates a constant and returns the computed allocation."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::eval_to_const_value_raw`] or"]
    #[doc = " [`Self::eval_to_valtree`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn eval_to_allocation_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.eval_to_allocation_raw,
            &self.tcx.query_system.caches.eval_to_allocation_raw,
            key.into_query_param(), true);
    }
    #[doc =
    " Evaluate a static\'s initializer, returning the allocation of the initializer\'s memory."]
    #[inline(always)]
    pub fn eval_static_initializer(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.eval_static_initializer,
            &self.tcx.query_system.caches.eval_static_initializer,
            key.into_query_param(), true);
    }
    #[doc =
    " Evaluates const items or anonymous constants[^1] into a representation"]
    #[doc = " suitable for the type system and const generics."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this** directly, use one of the following wrappers:"]
    #[doc = " [`TyCtxt::const_eval_poly`], [`TyCtxt::const_eval_resolve`],"]
    #[doc =
    " [`TyCtxt::const_eval_instance`], or [`TyCtxt::const_eval_global_id`]."]
    #[doc = ""]
    #[doc = " </div>"]
    #[doc = ""]
    #[doc =
    " [^1]: Such as enum variant explicit discriminants or array lengths."]
    #[inline(always)]
    pub fn eval_to_const_value_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.eval_to_const_value_raw,
            &self.tcx.query_system.caches.eval_to_const_value_raw,
            key.into_query_param(), true);
    }
    #[doc = " Evaluate a constant and convert it to a type level constant or"]
    #[doc = " return `None` if that is not possible."]
    #[inline(always)]
    pub fn eval_to_valtree(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.eval_to_valtree,
            &self.tcx.query_system.caches.eval_to_valtree,
            key.into_query_param(), true);
    }
    #[doc =
    " Converts a type-level constant value into a MIR constant value."]
    #[inline(always)]
    pub fn valtree_to_const_val(self, key: ty::Value<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.valtree_to_const_val,
            &self.tcx.query_system.caches.valtree_to_const_val,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] converting literal to const"]
    #[inline(always)]
    pub fn lit_to_const(self, key: LitToConstInput<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lit_to_const,
            &self.tcx.query_system.caches.lit_to_const,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] match-checking  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn check_match(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_match,
            &self.tcx.query_system.caches.check_match, key.into_query_param(),
            true);
    }
    #[doc =
    " Performs part of the privacy check and computes effective visibilities."]
    #[inline(always)]
    pub fn effective_visibilities(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.effective_visibilities,
            &self.tcx.query_system.caches.effective_visibilities,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking for private elements in public interfaces for  `describe_as_module(module_def_id, tcx)` "]
    #[inline(always)]
    pub fn check_private_in_public(self, key: LocalModDefId) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_private_in_public,
            &self.tcx.query_system.caches.check_private_in_public,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] reachability"]
    #[inline(always)]
    pub fn reachable_set(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.reachable_set,
            &self.tcx.query_system.caches.reachable_set,
            key.into_query_param(), true);
    }
    #[doc =
    " Per-body `region::ScopeTree`. The `DefId` should be the owner `DefId` for the body;"]
    #[doc =
    " in the case of closures, this will be redirected to the enclosing function."]
    #[inline(always)]
    pub fn region_scope_tree(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.region_scope_tree,
            &self.tcx.query_system.caches.region_scope_tree,
            key.into_query_param(), true);
    }
    #[doc = " Generates a MIR body for the shim."]
    #[inline(always)]
    pub fn mir_shims(self, key: ty::InstanceKind<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.mir_shims,
            &self.tcx.query_system.caches.mir_shims, key.into_query_param(),
            true);
    }
    #[doc = " The `symbol_name` query provides the symbol name for calling a"]
    #[doc =
    " given instance from the local crate. In particular, it will also"]
    #[doc =
    " look up the correct symbol name of instances from upstream crates."]
    #[inline(always)]
    pub fn symbol_name(self, key: ty::Instance<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.symbol_name,
            &self.tcx.query_system.caches.symbol_name, key.into_query_param(),
            true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up definition kind of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn def_kind(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.def_kind,
            &self.tcx.query_system.caches.def_kind, key.into_query_param(),
            true);
    }
    #[doc = " Gets the span for the definition."]
    #[inline(always)]
    pub fn def_span(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.def_span,
            &self.tcx.query_system.caches.def_span, key.into_query_param(),
            true);
    }
    #[doc = " Gets the span for the identifier of the definition."]
    #[inline(always)]
    pub fn def_ident_span(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.def_ident_span,
            &self.tcx.query_system.caches.def_ident_span,
            key.into_query_param(), true);
    }
    #[doc = " Gets the span for the type of the definition."]
    #[doc = " Panics if it is not a definition that has a single type."]
    #[inline(always)]
    pub fn ty_span(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.ty_span,
            &self.tcx.query_system.caches.ty_span, key.into_query_param(),
            true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up stability of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn lookup_stability(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lookup_stability,
            &self.tcx.query_system.caches.lookup_stability,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up const stability of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn lookup_const_stability(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lookup_const_stability,
            &self.tcx.query_system.caches.lookup_const_stability,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up default body stability of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn lookup_default_body_stability(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lookup_default_body_stability,
            &self.tcx.query_system.caches.lookup_default_body_stability,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing should_inherit_track_caller of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn should_inherit_track_caller(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.should_inherit_track_caller,
            &self.tcx.query_system.caches.should_inherit_track_caller,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing inherited_align of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn inherited_align(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.inherited_align,
            &self.tcx.query_system.caches.inherited_align,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is deprecated"]
    #[inline(always)]
    pub fn lookup_deprecation_entry(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lookup_deprecation_entry,
            &self.tcx.query_system.caches.lookup_deprecation_entry,
            key.into_query_param(), true);
    }
    #[doc = " Determines whether an item is annotated with `#[doc(hidden)]`."]
    #[inline(always)]
    pub fn is_doc_hidden(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_doc_hidden,
            &self.tcx.query_system.caches.is_doc_hidden,
            key.into_query_param(), true);
    }
    #[doc =
    " Determines whether an item is annotated with `#[doc(notable_trait)]`."]
    #[inline(always)]
    pub fn is_doc_notable_trait(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_doc_notable_trait,
            &self.tcx.query_system.caches.is_doc_notable_trait,
            key.into_query_param(), true);
    }
    #[doc = " Returns the attributes on the item at `def_id`."]
    #[doc = ""]
    #[doc = " Do not use this directly, use `tcx.get_attrs` instead."]
    #[inline(always)]
    pub fn attrs_for_def(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.attrs_for_def,
            &self.tcx.query_system.caches.attrs_for_def,
            key.into_query_param(), true);
    }
    #[doc = " Returns the `CodegenFnAttrs` for the item at `def_id`."]
    #[doc = ""]
    #[doc =
    " If possible, use `tcx.codegen_instance_attrs` instead. That function takes the"]
    #[doc = " instance kind into account."]
    #[doc = ""]
    #[doc =
    " For example, the `#[naked]` attribute should be applied for `InstanceKind::Item`,"]
    #[doc =
    " but should not be applied if the instance kind is `InstanceKind::ReifyShim`."]
    #[doc =
    " Using this query would include the attribute regardless of the actual instance"]
    #[doc = " kind at the call site."]
    #[inline(always)]
    pub fn codegen_fn_attrs(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.codegen_fn_attrs,
            &self.tcx.query_system.caches.codegen_fn_attrs,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing target features for inline asm of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn asm_target_features(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.asm_target_features,
            &self.tcx.query_system.caches.asm_target_features,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up function parameter identifiers for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn fn_arg_idents(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.fn_arg_idents,
            &self.tcx.query_system.caches.fn_arg_idents,
            key.into_query_param(), true);
    }
    #[doc =
    " Gets the rendered value of the specified constant or associated constant."]
    #[doc = " Used by rustdoc."]
    #[inline(always)]
    pub fn rendered_const(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.rendered_const,
            &self.tcx.query_system.caches.rendered_const,
            key.into_query_param(), true);
    }
    #[doc =
    " Gets the rendered precise capturing args for an opaque for use in rustdoc."]
    #[inline(always)]
    pub fn rendered_precise_capturing_args(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.rendered_precise_capturing_args,
            &self.tcx.query_system.caches.rendered_precise_capturing_args,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing specialization parent impl of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn impl_parent(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.impl_parent,
            &self.tcx.query_system.caches.impl_parent, key.into_query_param(),
            true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if item has CTFE MIR available:  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn is_ctfe_mir_available(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_ctfe_mir_available,
            &self.tcx.query_system.caches.is_ctfe_mir_available,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if item has MIR available:  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn is_mir_available(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_mir_available,
            &self.tcx.query_system.caches.is_mir_available,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding all existential vtable entries for trait  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn own_existential_vtable_entries(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.own_existential_vtable_entries,
            &self.tcx.query_system.caches.own_existential_vtable_entries,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding all vtable entries for trait  `tcx.def_path_str(key.def_id)` "]
    #[inline(always)]
    pub fn vtable_entries(self, key: ty::TraitRef<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.vtable_entries,
            &self.tcx.query_system.caches.vtable_entries,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding the slot within the vtable of  `key.self_ty()`  for the implementation of  `key.print_only_trait_name()` "]
    #[inline(always)]
    pub fn first_method_vtable_slot(self, key: ty::TraitRef<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.first_method_vtable_slot,
            &self.tcx.query_system.caches.first_method_vtable_slot,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding the slot within vtable for trait object  `key.1`  vtable ptr during trait upcasting coercion from  `key.0`  vtable"]
    #[inline(always)]
    pub fn supertrait_vtable_slot(self, key: (Ty<'tcx>, Ty<'tcx>)) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.supertrait_vtable_slot,
            &self.tcx.query_system.caches.supertrait_vtable_slot,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] vtable const allocation for < `key.0`  as  `key.1.map(| trait_ref | format!\n(\"{trait_ref}\")).unwrap_or_else(| | \"_\".to_owned())` >"]
    #[inline(always)]
    pub fn vtable_allocation(self,
        key: (Ty<'tcx>, Option<ty::ExistentialTraitRef<'tcx>>)) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.vtable_allocation,
            &self.tcx.query_system.caches.vtable_allocation,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing candidate for  `key.value` "]
    #[inline(always)]
    pub fn codegen_select_candidate(self,
        key: PseudoCanonicalInput<'tcx, ty::TraitRef<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.codegen_select_candidate,
            &self.tcx.query_system.caches.codegen_select_candidate,
            key.into_query_param(), true);
    }
    #[doc = " Return all `impl` blocks in the current crate."]
    #[inline(always)]
    pub fn all_local_trait_impls(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.all_local_trait_impls,
            &self.tcx.query_system.caches.all_local_trait_impls,
            key.into_query_param(), true);
    }
    #[doc =
    " Return all `impl` blocks of the given trait in the current crate."]
    #[inline(always)]
    pub fn local_trait_impls(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.local_trait_impls,
            &self.tcx.query_system.caches.local_trait_impls,
            key.into_query_param(), true);
    }
    #[doc = " Given a trait `trait_id`, return all known `impl` blocks."]
    #[inline(always)]
    pub fn trait_impls_of(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.trait_impls_of,
            &self.tcx.query_system.caches.trait_impls_of,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] building specialization graph of trait  `tcx.def_path_str(trait_id)` "]
    #[inline(always)]
    pub fn specialization_graph_of(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.specialization_graph_of,
            &self.tcx.query_system.caches.specialization_graph_of,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determining dyn-compatibility of trait  `tcx.def_path_str(trait_id)` "]
    #[inline(always)]
    pub fn dyn_compatibility_violations(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.dyn_compatibility_violations,
            &self.tcx.query_system.caches.dyn_compatibility_violations,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if trait  `tcx.def_path_str(trait_id)`  is dyn-compatible"]
    #[inline(always)]
    pub fn is_dyn_compatible(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_dyn_compatible,
            &self.tcx.query_system.caches.is_dyn_compatible,
            key.into_query_param(), true);
    }
    #[doc =
    " Gets the ParameterEnvironment for a given item; this environment"]
    #[doc =
    " will be in \"user-facing\" mode, meaning that it is suitable for"]
    #[doc = " type-checking etc, and it does not normalize specializable"]
    #[doc = " associated types."]
    #[doc = ""]
    #[doc =
    " You should almost certainly not use this. If you already have an InferCtxt, then"]
    #[doc =
    " you should also probably have a `ParamEnv` from when it was built. If you don\'t,"]
    #[doc =
    " then you should take a `TypingEnv` to ensure that you handle opaque types correctly."]
    #[inline(always)]
    pub fn param_env(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.param_env,
            &self.tcx.query_system.caches.param_env, key.into_query_param(),
            true);
    }
    #[doc =
    " Like `param_env`, but returns the `ParamEnv` after all opaque types have been"]
    #[doc =
    " replaced with their hidden type. This is used in the old trait solver"]
    #[doc = " when in `PostAnalysis` mode and should not be called directly."]
    #[inline(always)]
    pub fn typing_env_normalized_for_post_analysis(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.typing_env_normalized_for_post_analysis,
            &self.tcx.query_system.caches.typing_env_normalized_for_post_analysis,
            key.into_query_param(), true);
    }
    #[doc =
    " Trait selection queries. These are best used by invoking `ty.is_copy_modulo_regions()`,"]
    #[doc =
    " `ty.is_copy()`, etc, since that will prune the environment where possible."]
    #[inline(always)]
    pub fn is_copy_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_copy_raw,
            &self.tcx.query_system.caches.is_copy_raw, key.into_query_param(),
            true);
    }
    #[doc =
    " Trait selection queries. These are best used by invoking `ty.is_use_cloned_modulo_regions()`,"]
    #[doc =
    " `ty.is_use_cloned()`, etc, since that will prune the environment where possible."]
    #[inline(always)]
    pub fn is_use_cloned_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_use_cloned_raw,
            &self.tcx.query_system.caches.is_use_cloned_raw,
            key.into_query_param(), true);
    }
    #[doc = " Query backing `Ty::is_sized`."]
    #[inline(always)]
    pub fn is_sized_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_sized_raw,
            &self.tcx.query_system.caches.is_sized_raw,
            key.into_query_param(), true);
    }
    #[doc = " Query backing `Ty::is_freeze`."]
    #[inline(always)]
    pub fn is_freeze_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_freeze_raw,
            &self.tcx.query_system.caches.is_freeze_raw,
            key.into_query_param(), true);
    }
    #[doc = " Query backing `Ty::is_unpin`."]
    #[inline(always)]
    pub fn is_unpin_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_unpin_raw,
            &self.tcx.query_system.caches.is_unpin_raw,
            key.into_query_param(), true);
    }
    #[doc = " Query backing `Ty::is_async_drop`."]
    #[inline(always)]
    pub fn is_async_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_async_drop_raw,
            &self.tcx.query_system.caches.is_async_drop_raw,
            key.into_query_param(), true);
    }
    #[doc = " Query backing `Ty::needs_drop`."]
    #[inline(always)]
    pub fn needs_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.needs_drop_raw,
            &self.tcx.query_system.caches.needs_drop_raw,
            key.into_query_param(), true);
    }
    #[doc = " Query backing `Ty::needs_async_drop`."]
    #[inline(always)]
    pub fn needs_async_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.needs_async_drop_raw,
            &self.tcx.query_system.caches.needs_async_drop_raw,
            key.into_query_param(), true);
    }
    #[doc = " Query backing `Ty::has_significant_drop_raw`."]
    #[inline(always)]
    pub fn has_significant_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.has_significant_drop_raw,
            &self.tcx.query_system.caches.has_significant_drop_raw,
            key.into_query_param(), true);
    }
    #[doc = " Query backing `Ty::is_structural_eq_shallow`."]
    #[doc = ""]
    #[doc =
    " This is only correct for ADTs. Call `is_structural_eq_shallow` to handle all types"]
    #[doc = " correctly."]
    #[inline(always)]
    pub fn has_structural_eq_impl(self, key: Ty<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.has_structural_eq_impl,
            &self.tcx.query_system.caches.has_structural_eq_impl,
            key.into_query_param(), true);
    }
    #[doc =
    " A list of types where the ADT requires drop if and only if any of"]
    #[doc =
    " those types require drop. If the ADT is known to always need drop"]
    #[doc = " then `Err(AlwaysRequiresDrop)` is returned."]
    #[inline(always)]
    pub fn adt_drop_tys(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.adt_drop_tys,
            &self.tcx.query_system.caches.adt_drop_tys,
            key.into_query_param(), true);
    }
    #[doc =
    " A list of types where the ADT requires async drop if and only if any of"]
    #[doc =
    " those types require async drop. If the ADT is known to always need async drop"]
    #[doc = " then `Err(AlwaysRequiresDrop)` is returned."]
    #[inline(always)]
    pub fn adt_async_drop_tys(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.adt_async_drop_tys,
            &self.tcx.query_system.caches.adt_async_drop_tys,
            key.into_query_param(), true);
    }
    #[doc =
    " A list of types where the ADT requires drop if and only if any of those types"]
    #[doc =
    " has significant drop. A type marked with the attribute `rustc_insignificant_dtor`"]
    #[doc =
    " is considered to not be significant. A drop is significant if it is implemented"]
    #[doc =
    " by the user or does anything that will have any observable behavior (other than"]
    #[doc =
    " freeing up memory). If the ADT is known to have a significant destructor then"]
    #[doc = " `Err(AlwaysRequiresDrop)` is returned."]
    #[inline(always)]
    pub fn adt_significant_drop_tys(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.adt_significant_drop_tys,
            &self.tcx.query_system.caches.adt_significant_drop_tys,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns a list of types which (a) have a potentially significant destructor"]
    #[doc =
    " and (b) may be dropped as a result of dropping a value of some type `ty`"]
    #[doc = " (in the given environment)."]
    #[doc = ""]
    #[doc =
    " The idea of \"significant\" drop is somewhat informal and is used only for"]
    #[doc =
    " diagnostics and edition migrations. The idea is that a significant drop may have"]
    #[doc =
    " some visible side-effect on execution; freeing memory is NOT considered a side-effect."]
    #[doc = " The rules are as follows:"]
    #[doc =
    " * Type with no explicit drop impl do not have significant drop."]
    #[doc =
    " * Types with a drop impl are assumed to have significant drop unless they have a `#[rustc_insignificant_dtor]` annotation."]
    #[doc = ""]
    #[doc =
    " Note that insignificant drop is a \"shallow\" property. A type like `Vec<LockGuard>` does not"]
    #[doc =
    " have significant drop but the type `LockGuard` does, and so if `ty  = Vec<LockGuard>`"]
    #[doc = " then the return value would be `&[LockGuard]`."]
    #[doc =
    " *IMPORTANT*: *DO NOT* run this query before promoted MIR body is constructed,"]
    #[doc = " because this query partially depends on that query."]
    #[doc = " Otherwise, there is a risk of query cycles."]
    #[inline(always)]
    pub fn list_significant_drop_tys(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.list_significant_drop_tys,
            &self.tcx.query_system.caches.list_significant_drop_tys,
            key.into_query_param(), true);
    }
    #[doc = " Computes the layout of a type. Note that this implicitly"]
    #[doc =
    " executes in `TypingMode::PostAnalysis`, and will normalize the input type."]
    #[inline(always)]
    pub fn layout_of(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.layout_of,
            &self.tcx.query_system.caches.layout_of, key.into_query_param(),
            true);
    }
    #[doc =
    " Compute a `FnAbi` suitable for indirect calls, i.e. to `fn` pointers."]
    #[doc = ""]
    #[doc =
    " NB: this doesn\'t handle virtual calls - those should use `fn_abi_of_instance`"]
    #[doc = " instead, where the instance is an `InstanceKind::Virtual`."]
    #[inline(always)]
    pub fn fn_abi_of_fn_ptr(self,
        key:
            ty::PseudoCanonicalInput<'tcx,
            (ty::PolyFnSig<'tcx>, &'tcx ty::List<Ty<'tcx>>)>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.fn_abi_of_fn_ptr,
            &self.tcx.query_system.caches.fn_abi_of_fn_ptr,
            key.into_query_param(), true);
    }
    #[doc =
    " Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for"]
    #[doc = " direct calls to an `fn`."]
    #[doc = ""]
    #[doc =
    " NB: that includes virtual calls, which are represented by \"direct calls\""]
    #[doc =
    " to an `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`)."]
    #[inline(always)]
    pub fn fn_abi_of_instance(self,
        key:
            ty::PseudoCanonicalInput<'tcx,
            (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.fn_abi_of_instance,
            &self.tcx.query_system.caches.fn_abi_of_instance,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting dylib dependency formats of crate"]
    #[inline(always)]
    pub fn dylib_dependency_formats(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.dylib_dependency_formats,
            &self.tcx.query_system.caches.dylib_dependency_formats,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the linkage format of all dependencies"]
    #[inline(always)]
    pub fn dependency_formats(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.dependency_formats,
            &self.tcx.query_system.caches.dependency_formats,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate is_compiler_builtins"]
    #[inline(always)]
    pub fn is_compiler_builtins(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_compiler_builtins,
            &self.tcx.query_system.caches.is_compiler_builtins,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_global_allocator"]
    #[inline(always)]
    pub fn has_global_allocator(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.has_global_allocator,
            &self.tcx.query_system.caches.has_global_allocator,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_alloc_error_handler"]
    #[inline(always)]
    pub fn has_alloc_error_handler(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.has_alloc_error_handler,
            &self.tcx.query_system.caches.has_alloc_error_handler,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_panic_handler"]
    #[inline(always)]
    pub fn has_panic_handler(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.has_panic_handler,
            &self.tcx.query_system.caches.has_panic_handler,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if a crate is `#![profiler_runtime]`"]
    #[inline(always)]
    pub fn is_profiler_runtime(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_profiler_runtime,
            &self.tcx.query_system.caches.is_profiler_runtime,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(key)`  contains FFI-unwind calls"]
    #[inline(always)]
    pub fn has_ffi_unwind_calls(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.has_ffi_unwind_calls,
            &self.tcx.query_system.caches.has_ffi_unwind_calls,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's required panic strategy"]
    #[inline(always)]
    pub fn required_panic_strategy(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.required_panic_strategy,
            &self.tcx.query_system.caches.required_panic_strategy,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's configured panic-in-drop strategy"]
    #[inline(always)]
    pub fn panic_in_drop_strategy(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.panic_in_drop_strategy,
            &self.tcx.query_system.caches.panic_in_drop_strategy,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting whether a crate has `#![no_builtins]`"]
    #[inline(always)]
    pub fn is_no_builtins(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_no_builtins,
            &self.tcx.query_system.caches.is_no_builtins,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's symbol mangling version"]
    #[inline(always)]
    pub fn symbol_mangling_version(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.symbol_mangling_version,
            &self.tcx.query_system.caches.symbol_mangling_version,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting crate's ExternCrateData"]
    #[inline(always)]
    pub fn extern_crate(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.extern_crate,
            &self.tcx.query_system.caches.extern_crate,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether the crate enabled `specialization`/`min_specialization`"]
    #[inline(always)]
    pub fn specialization_enabled_in(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.specialization_enabled_in,
            &self.tcx.query_system.caches.specialization_enabled_in,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing whether impls specialize one another"]
    #[inline(always)]
    pub fn specializes(self, key: (DefId, DefId)) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.specializes,
            &self.tcx.query_system.caches.specializes, key.into_query_param(),
            true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting traits in scope at a block"]
    #[inline(always)]
    pub fn in_scope_traits_map(self, key: hir::OwnerId) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.in_scope_traits_map,
            &self.tcx.query_system.caches.in_scope_traits_map,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns whether the impl or associated function has the `default` keyword."]
    #[doc =
    " Note: This will ICE on inherent impl items. Consider using `AssocItem::defaultness`."]
    #[inline(always)]
    pub fn defaultness(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.defaultness,
            &self.tcx.query_system.caches.defaultness, key.into_query_param(),
            true);
    }
    #[doc =
    " Returns whether the field corresponding to the `DefId` has a default field value."]
    #[inline(always)]
    pub fn default_field(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.default_field,
            &self.tcx.query_system.caches.default_field,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking that  `tcx.def_path_str(key)`  is well-formed"]
    #[inline(always)]
    pub fn check_well_formed(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_well_formed,
            &self.tcx.query_system.caches.check_well_formed,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking that  `tcx.def_path_str(key)` 's generics are constrained by the impl header"]
    #[inline(always)]
    pub fn enforce_impl_non_lifetime_params_are_constrained(self,
        key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.enforce_impl_non_lifetime_params_are_constrained,
            &self.tcx.query_system.caches.enforce_impl_non_lifetime_params_are_constrained,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the exported symbols of a crate"]
    #[inline(always)]
    pub fn reachable_non_generics(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.reachable_non_generics,
            &self.tcx.query_system.caches.reachable_non_generics,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is an exported symbol"]
    #[inline(always)]
    pub fn is_reachable_non_generic(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_reachable_non_generic,
            &self.tcx.query_system.caches.is_reachable_non_generic,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is reachable from outside the crate"]
    #[inline(always)]
    pub fn is_unreachable_local_definition(self,
        key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_unreachable_local_definition,
            &self.tcx.query_system.caches.is_unreachable_local_definition,
            key.into_query_param(), true);
    }
    #[doc = " The entire set of monomorphizations the local crate can safely"]
    #[doc = " link to because they are exported from upstream crates. Do"]
    #[doc = " not depend on this directly, as its value changes anytime"]
    #[doc = " a monomorphization gets added or removed in any upstream"]
    #[doc =
    " crate. Instead use the narrower `upstream_monomorphizations_for`,"]
    #[doc = " `upstream_drop_glue_for`, `upstream_async_drop_glue_for`, or,"]
    #[doc = " even better, `Instance::upstream_monomorphization()`."]
    #[inline(always)]
    pub fn upstream_monomorphizations(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.upstream_monomorphizations,
            &self.tcx.query_system.caches.upstream_monomorphizations,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the set of upstream monomorphizations available for the"]
    #[doc =
    " generic function identified by the given `def_id`. The query makes"]
    #[doc =
    " sure to make a stable selection if the same monomorphization is"]
    #[doc = " available in multiple upstream crates."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    #[inline(always)]
    pub fn upstream_monomorphizations_for(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.upstream_monomorphizations_for,
            &self.tcx.query_system.caches.upstream_monomorphizations_for,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the upstream crate that exports drop-glue for the given"]
    #[doc =
    " type (`args` is expected to be a single-item list containing the"]
    #[doc = " type one wants drop-glue for)."]
    #[doc = ""]
    #[doc =
    " This is a subset of `upstream_monomorphizations_for` in order to"]
    #[doc =
    " increase dep-tracking granularity. Otherwise adding or removing any"]
    #[doc = " type with drop-glue in any upstream crate would invalidate all"]
    #[doc = " functions calling drop-glue of an upstream type."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    #[doc = ""]
    #[doc =
    " NOTE: This query could easily be extended to also support other"]
    #[doc =
    "       common functions that have are large set of monomorphizations"]
    #[doc = "       (like `Clone::clone` for example)."]
    #[inline(always)]
    pub fn upstream_drop_glue_for(self, key: GenericArgsRef<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.upstream_drop_glue_for,
            &self.tcx.query_system.caches.upstream_drop_glue_for,
            key.into_query_param(), true);
    }
    #[doc = " Returns the upstream crate that exports async-drop-glue for"]
    #[doc = " the given type (`args` is expected to be a single-item list"]
    #[doc = " containing the type one wants async-drop-glue for)."]
    #[doc = ""]
    #[doc = " This is a subset of `upstream_monomorphizations_for` in order"]
    #[doc = " to increase dep-tracking granularity. Otherwise adding or"]
    #[doc = " removing any type with async-drop-glue in any upstream crate"]
    #[doc = " would invalidate all functions calling async-drop-glue of an"]
    #[doc = " upstream type."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    #[doc = ""]
    #[doc =
    " NOTE: This query could easily be extended to also support other"]
    #[doc =
    "       common functions that have are large set of monomorphizations"]
    #[doc = "       (like `Clone::clone` for example)."]
    #[inline(always)]
    pub fn upstream_async_drop_glue_for(self, key: GenericArgsRef<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.upstream_async_drop_glue_for,
            &self.tcx.query_system.caches.upstream_async_drop_glue_for,
            key.into_query_param(), true);
    }
    #[doc = " Returns a list of all `extern` blocks of a crate."]
    #[inline(always)]
    pub fn foreign_modules(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.foreign_modules,
            &self.tcx.query_system.caches.foreign_modules,
            key.into_query_param(), true);
    }
    #[doc =
    " Lint against `extern fn` declarations having incompatible types."]
    #[inline(always)]
    pub fn clashing_extern_declarations(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.clashing_extern_declarations,
            &self.tcx.query_system.caches.clashing_extern_declarations,
            key.into_query_param(), true);
    }
    #[doc =
    " Identifies the entry-point (e.g., the `main` function) for a given"]
    #[doc =
    " crate, returning `None` if there is no entry point (such as for library crates)."]
    #[inline(always)]
    pub fn entry_fn(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.entry_fn,
            &self.tcx.query_system.caches.entry_fn, key.into_query_param(),
            true);
    }
    #[doc = " Finds the `rustc_proc_macro_decls` item of a crate."]
    #[inline(always)]
    pub fn proc_macro_decls_static(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.proc_macro_decls_static,
            &self.tcx.query_system.caches.proc_macro_decls_static,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the hash a crate"]
    #[inline(always)]
    pub fn crate_hash(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_hash,
            &self.tcx.query_system.caches.crate_hash, key.into_query_param(),
            true);
    }
    #[doc =
    " Gets the hash for the host proc macro. Used to support -Z dual-proc-macro."]
    #[inline(always)]
    pub fn crate_host_hash(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_host_hash,
            &self.tcx.query_system.caches.crate_host_hash,
            key.into_query_param(), true);
    }
    #[doc =
    " Gets the extra data to put in each output filename for a crate."]
    #[doc =
    " For example, compiling the `foo` crate with `extra-filename=-a` creates a `libfoo-b.rlib` file."]
    #[inline(always)]
    pub fn extra_filename(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.extra_filename,
            &self.tcx.query_system.caches.extra_filename,
            key.into_query_param(), true);
    }
    #[doc = " Gets the paths where the crate came from in the file system."]
    #[inline(always)]
    pub fn crate_extern_paths(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_extern_paths,
            &self.tcx.query_system.caches.crate_extern_paths,
            key.into_query_param(), true);
    }
    #[doc =
    " Given a crate and a trait, look up all impls of that trait in the crate."]
    #[doc = " Return `(impl_id, self_ty)`."]
    #[inline(always)]
    pub fn implementations_of_trait(self, key: (CrateNum, DefId)) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.implementations_of_trait,
            &self.tcx.query_system.caches.implementations_of_trait,
            key.into_query_param(), true);
    }
    #[doc = " Collects all incoherent impls for the given crate and type."]
    #[doc = ""]
    #[doc =
    " Do not call this directly, but instead use the `incoherent_impls` query."]
    #[doc =
    " This query is only used to get the data necessary for that query."]
    #[inline(always)]
    pub fn crate_incoherent_impls(self, key: (CrateNum, SimplifiedType)) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_incoherent_impls,
            &self.tcx.query_system.caches.crate_incoherent_impls,
            key.into_query_param(), true);
    }
    #[doc =
    " Get the corresponding native library from the `native_libraries` query"]
    #[inline(always)]
    pub fn native_library(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.native_library,
            &self.tcx.query_system.caches.native_library,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] inheriting delegation signature"]
    #[inline(always)]
    pub fn inherit_sig_for_delegation_item(self,
        key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.inherit_sig_for_delegation_item,
            &self.tcx.query_system.caches.inherit_sig_for_delegation_item,
            key.into_query_param(), true);
    }
    #[doc =
    " Does lifetime resolution on items. Importantly, we can\'t resolve"]
    #[doc =
    " lifetimes directly on things like trait methods, because of trait params."]
    #[doc = " See `rustc_resolve::late::lifetimes` for details."]
    #[inline(always)]
    pub fn resolve_bound_vars(self, key: hir::OwnerId) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.resolve_bound_vars,
            &self.tcx.query_system.caches.resolve_bound_vars,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up a named region inside  `tcx.def_path_str(owner_id)` "]
    #[inline(always)]
    pub fn named_variable_map(self, key: hir::OwnerId) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.named_variable_map,
            &self.tcx.query_system.caches.named_variable_map,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] testing if a region is late bound inside  `tcx.def_path_str(owner_id)` "]
    #[inline(always)]
    pub fn is_late_bound_map(self, key: hir::OwnerId) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_late_bound_map,
            &self.tcx.query_system.caches.is_late_bound_map,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the *default lifetime* to be used if a trait object type were to be passed for"]
    #[doc = " the type parameter given by `DefId`."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_object_lifetime_default]` on an item to basically"]
    #[doc =
    " print the result of this query for use in UI tests or for debugging purposes."]
    #[doc = ""]
    #[doc = " # Examples"]
    #[doc = ""]
    #[doc =
    " - For `T` in `struct Foo<\'a, T: \'a>(&\'a T);`, this would be `Param(\'a)`"]
    #[doc =
    " - For `T` in `struct Bar<\'a, T>(&\'a T);`, this would be `Empty`"]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not a type parameter."]
    #[inline(always)]
    pub fn object_lifetime_default(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.object_lifetime_default,
            &self.tcx.query_system.caches.object_lifetime_default,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up late bound vars inside  `tcx.def_path_str(owner_id)` "]
    #[inline(always)]
    pub fn late_bound_vars_map(self, key: hir::OwnerId) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.late_bound_vars_map,
            &self.tcx.query_system.caches.late_bound_vars_map,
            key.into_query_param(), true);
    }
    #[doc =
    " For an opaque type, return the list of (captured lifetime, inner generic param)."]
    #[doc = " ```ignore (illustrative)"]
    #[doc =
    " fn foo<\'a: \'a, \'b, T>(&\'b u8) -> impl Into<Self> + \'b { ... }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " We would return `[(\'a, \'_a), (\'b, \'_b)]`, with `\'a` early-bound and `\'b` late-bound."]
    #[doc = ""]
    #[doc = " After hir_ty_lowering, we get:"]
    #[doc = " ```ignore (pseudo-code)"]
    #[doc = " opaque foo::<\'a>::opaque<\'_a, \'_b>: Into<Foo<\'_a>> + \'_b;"]
    #[doc = "                          ^^^^^^^^ inner generic params"]
    #[doc =
    " fn foo<\'a>: for<\'b> fn(&\'b u8) -> foo::<\'a>::opaque::<\'a, \'b>"]
    #[doc =
    "                                                       ^^^^^^ captured lifetimes"]
    #[doc = " ```"]
    #[inline(always)]
    pub fn opaque_captured_lifetimes(self,
        key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.opaque_captured_lifetimes,
            &self.tcx.query_system.caches.opaque_captured_lifetimes,
            key.into_query_param(), true);
    }
    #[doc = " Computes the visibility of the provided `def_id`."]
    #[doc = ""]
    #[doc =
    " If the item from the `def_id` doesn\'t have a visibility, it will panic. For example"]
    #[doc =
    " a generic type parameter will panic if you call this method on it:"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " use std::fmt::Debug;"]
    #[doc = ""]
    #[doc = " pub trait Foo<T: Debug> {}"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc = " In here, if you call `visibility` on `T`, it\'ll panic."]
    #[inline(always)]
    pub fn visibility(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.visibility,
            &self.tcx.query_system.caches.visibility, key.into_query_param(),
            true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing the uninhabited predicate of `{:?}`"]
    #[inline(always)]
    pub fn inhabited_predicate_adt(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.inhabited_predicate_adt,
            &self.tcx.query_system.caches.inhabited_predicate_adt,
            key.into_query_param(), true);
    }
    #[doc =
    " Do not call this query directly: invoke `Ty::inhabited_predicate` instead."]
    #[inline(always)]
    pub fn inhabited_predicate_type(self, key: Ty<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.inhabited_predicate_type,
            &self.tcx.query_system.caches.inhabited_predicate_type,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching what a dependency looks like"]
    #[inline(always)]
    pub fn dep_kind(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.dep_kind,
            &self.tcx.query_system.caches.dep_kind, key.into_query_param(),
            true);
    }
    #[doc = " Gets the name of the crate."]
    #[inline(always)]
    pub fn crate_name(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_name,
            &self.tcx.query_system.caches.crate_name, key.into_query_param(),
            true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting child items of module  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn module_children(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.module_children,
            &self.tcx.query_system.caches.module_children,
            key.into_query_param(), true);
    }
    #[doc = " Gets the number of definitions in a foreign crate."]
    #[doc = ""]
    #[doc =
    " This allows external tools to iterate over all definitions in a foreign crate."]
    #[doc = ""]
    #[doc =
    " This should never be used for the local crate, instead use `iter_local_def_id`."]
    #[inline(always)]
    pub fn num_extern_def_ids(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.num_extern_def_ids,
            &self.tcx.query_system.caches.num_extern_def_ids,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] calculating the lib features defined in a crate"]
    #[inline(always)]
    pub fn lib_features(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.lib_features,
            &self.tcx.query_system.caches.lib_features,
            key.into_query_param(), true);
    }
    #[doc =
    " Mapping from feature name to feature name based on the `implied_by` field of `#[unstable]`"]
    #[doc =
    " attributes. If a `#[unstable(feature = \"implier\", implied_by = \"impliee\")]` attribute"]
    #[doc = " exists, then this map will have a `impliee -> implier` entry."]
    #[doc = ""]
    #[doc =
    " This mapping is necessary unless both the `#[stable]` and `#[unstable]` attributes should"]
    #[doc =
    " specify their implications (both `implies` and `implied_by`). If only one of the two"]
    #[doc =
    " attributes do (as in the current implementation, `implied_by` in `#[unstable]`), then this"]
    #[doc =
    " mapping is necessary for diagnostics. When a \"unnecessary feature attribute\" error is"]
    #[doc =
    " reported, only the `#[stable]` attribute information is available, so the map is necessary"]
    #[doc =
    " to know that the feature implies another feature. If it were reversed, and the `#[stable]`"]
    #[doc =
    " attribute had an `implies` meta item, then a map would be necessary when avoiding a \"use of"]
    #[doc = " unstable feature\" error for a feature that was implied."]
    #[inline(always)]
    pub fn stability_implications(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.stability_implications,
            &self.tcx.query_system.caches.stability_implications,
            key.into_query_param(), true);
    }
    #[doc = " Whether the function is an intrinsic"]
    #[inline(always)]
    pub fn intrinsic_raw(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.intrinsic_raw,
            &self.tcx.query_system.caches.intrinsic_raw,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the lang items defined in another crate by loading it from metadata."]
    #[inline(always)]
    pub fn get_lang_items(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.get_lang_items,
            &self.tcx.query_system.caches.get_lang_items,
            key.into_query_param(), true);
    }
    #[doc = " Returns all diagnostic items defined in all crates."]
    #[inline(always)]
    pub fn all_diagnostic_items(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.all_diagnostic_items,
            &self.tcx.query_system.caches.all_diagnostic_items,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the lang items defined in another crate by loading it from metadata."]
    #[inline(always)]
    pub fn defined_lang_items(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.defined_lang_items,
            &self.tcx.query_system.caches.defined_lang_items,
            key.into_query_param(), true);
    }
    #[doc = " Returns the diagnostic items defined in a crate."]
    #[inline(always)]
    pub fn diagnostic_items(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.diagnostic_items,
            &self.tcx.query_system.caches.diagnostic_items,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] calculating the missing lang items in a crate"]
    #[inline(always)]
    pub fn missing_lang_items(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.missing_lang_items,
            &self.tcx.query_system.caches.missing_lang_items,
            key.into_query_param(), true);
    }
    #[doc =
    " The visible parent map is a map from every item to a visible parent."]
    #[doc = " It prefers the shortest visible path to an item."]
    #[doc = " Used for diagnostics, for example path trimming."]
    #[doc = " The parents are modules, enums or traits."]
    #[inline(always)]
    pub fn visible_parent_map(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.visible_parent_map,
            &self.tcx.query_system.caches.visible_parent_map,
            key.into_query_param(), true);
    }
    #[doc =
    " Collects the \"trimmed\", shortest accessible paths to all items for diagnostics."]
    #[doc =
    " See the [provider docs](`rustc_middle::ty::print::trimmed_def_paths`) for more info."]
    #[inline(always)]
    pub fn trimmed_def_paths(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.trimmed_def_paths,
            &self.tcx.query_system.caches.trimmed_def_paths,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] seeing if we're missing an `extern crate` item for this crate"]
    #[inline(always)]
    pub fn missing_extern_crate_item(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.missing_extern_crate_item,
            &self.tcx.query_system.caches.missing_extern_crate_item,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking at the source for a crate"]
    #[inline(always)]
    pub fn used_crate_source(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.used_crate_source,
            &self.tcx.query_system.caches.used_crate_source,
            key.into_query_param(), true);
    }
    #[doc = " Returns the debugger visualizers defined for this crate."]
    #[doc =
    " NOTE: This query has to be marked `eval_always` because it reads data"]
    #[doc =
    "       directly from disk that is not tracked anywhere else. I.e. it"]
    #[doc = "       represents a genuine input to the query system."]
    #[inline(always)]
    pub fn debugger_visualizers(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.debugger_visualizers,
            &self.tcx.query_system.caches.debugger_visualizers,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] generating a postorder list of CrateNums"]
    #[inline(always)]
    pub fn postorder_cnums(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.postorder_cnums,
            &self.tcx.query_system.caches.postorder_cnums,
            key.into_query_param(), true);
    }
    #[doc = " Returns whether or not the crate with CrateNum \'cnum\'"]
    #[doc = " is marked as a private dependency"]
    #[inline(always)]
    pub fn is_private_dep(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_private_dep,
            &self.tcx.query_system.caches.is_private_dep,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the allocator kind for the current crate"]
    #[inline(always)]
    pub fn allocator_kind(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.allocator_kind,
            &self.tcx.query_system.caches.allocator_kind,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] alloc error handler kind for the current crate"]
    #[inline(always)]
    pub fn alloc_error_handler_kind(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.alloc_error_handler_kind,
            &self.tcx.query_system.caches.alloc_error_handler_kind,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting upvars mentioned in  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn upvars_mentioned(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.upvars_mentioned,
            &self.tcx.query_system.caches.upvars_mentioned,
            key.into_query_param(), true);
    }
    #[doc =
    " All available crates in the graph, including those that should not be user-facing"]
    #[doc = " (such as private crates)."]
    #[inline(always)]
    pub fn crates(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crates,
            &self.tcx.query_system.caches.crates, key.into_query_param(),
            true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching `CrateNum`s for all crates loaded non-speculatively"]
    #[inline(always)]
    pub fn used_crates(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.used_crates,
            &self.tcx.query_system.caches.used_crates, key.into_query_param(),
            true);
    }
    #[doc = " All crates that share the same name as crate `c`."]
    #[doc = ""]
    #[doc =
    " This normally occurs when multiple versions of the same dependency are present in the"]
    #[doc = " dependency tree."]
    #[inline(always)]
    pub fn duplicate_crate_names(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.duplicate_crate_names,
            &self.tcx.query_system.caches.duplicate_crate_names,
            key.into_query_param(), true);
    }
    #[doc =
    " A list of all traits in a crate, used by rustdoc and error reporting."]
    #[inline(always)]
    pub fn traits(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.traits,
            &self.tcx.query_system.caches.traits, key.into_query_param(),
            true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching all trait impls in a crate"]
    #[inline(always)]
    pub fn trait_impls_in_crate(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.trait_impls_in_crate,
            &self.tcx.query_system.caches.trait_impls_in_crate,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching the stable impl's order"]
    #[inline(always)]
    pub fn stable_order_of_exportable_impls(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.stable_order_of_exportable_impls,
            &self.tcx.query_system.caches.stable_order_of_exportable_impls,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching all exportable items in a crate"]
    #[inline(always)]
    pub fn exportable_items(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.exportable_items,
            &self.tcx.query_system.caches.exportable_items,
            key.into_query_param(), true);
    }
    #[doc = " The list of non-generic symbols exported from the given crate."]
    #[doc = ""]
    #[doc = " This is separate from exported_generic_symbols to avoid having"]
    #[doc = " to deserialize all non-generic symbols too for upstream crates"]
    #[doc = " in the upstream_monomorphizations query."]
    #[doc = ""]
    #[doc =
    " - All names contained in `exported_non_generic_symbols(cnum)` are"]
    #[doc =
    "   guaranteed to correspond to a publicly visible symbol in `cnum`"]
    #[doc = "   machine code."]
    #[doc =
    " - The `exported_non_generic_symbols` and `exported_generic_symbols`"]
    #[doc = "   sets of different crates do not intersect."]
    #[inline(always)]
    pub fn exported_non_generic_symbols(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.exported_non_generic_symbols,
            &self.tcx.query_system.caches.exported_non_generic_symbols,
            key.into_query_param(), true);
    }
    #[doc = " The list of generic symbols exported from the given crate."]
    #[doc = ""]
    #[doc = " - All names contained in `exported_generic_symbols(cnum)` are"]
    #[doc =
    "   guaranteed to correspond to a publicly visible symbol in `cnum`"]
    #[doc = "   machine code."]
    #[doc =
    " - The `exported_non_generic_symbols` and `exported_generic_symbols`"]
    #[doc = "   sets of different crates do not intersect."]
    #[inline(always)]
    pub fn exported_generic_symbols(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.exported_generic_symbols,
            &self.tcx.query_system.caches.exported_generic_symbols,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collect_and_partition_mono_items"]
    #[inline(always)]
    pub fn collect_and_partition_mono_items(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.collect_and_partition_mono_items,
            &self.tcx.query_system.caches.collect_and_partition_mono_items,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determining whether  `tcx.def_path_str(def_id)`  needs codegen"]
    #[inline(always)]
    pub fn is_codegened_item(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_codegened_item,
            &self.tcx.query_system.caches.is_codegened_item,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting codegen unit `{sym}`"]
    #[inline(always)]
    pub fn codegen_unit(self, key: Symbol) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.codegen_unit,
            &self.tcx.query_system.caches.codegen_unit,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] optimization level used by backend"]
    #[inline(always)]
    pub fn backend_optimization_level(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.backend_optimization_level,
            &self.tcx.query_system.caches.backend_optimization_level,
            key.into_query_param(), true);
    }
    #[doc = " Return the filenames where output artefacts shall be stored."]
    #[doc = ""]
    #[doc =
    " This query returns an `&Arc` because codegen backends need the value even after the `TyCtxt`"]
    #[doc = " has been destroyed."]
    #[inline(always)]
    pub fn output_filenames(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.output_filenames,
            &self.tcx.query_system.caches.output_filenames,
            key.into_query_param(), true);
    }
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn normalize_canonicalized_projection(self,
        key: CanonicalAliasGoal<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.normalize_canonicalized_projection,
            &self.tcx.query_system.caches.normalize_canonicalized_projection,
            key.into_query_param(), true);
    }
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn normalize_canonicalized_free_alias(self,
        key: CanonicalAliasGoal<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.normalize_canonicalized_free_alias,
            &self.tcx.query_system.caches.normalize_canonicalized_free_alias,
            key.into_query_param(), true);
    }
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn normalize_canonicalized_inherent_projection(self,
        key: CanonicalAliasGoal<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.normalize_canonicalized_inherent_projection,
            &self.tcx.query_system.caches.normalize_canonicalized_inherent_projection,
            key.into_query_param(), true);
    }
    #[doc =
    " Do not call this query directly: invoke `try_normalize_erasing_regions` instead."]
    #[inline(always)]
    pub fn try_normalize_generic_arg_after_erasing_regions(self,
        key: PseudoCanonicalInput<'tcx, GenericArg<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.try_normalize_generic_arg_after_erasing_regions,
            &self.tcx.query_system.caches.try_normalize_generic_arg_after_erasing_regions,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing implied outlives bounds for  `key.0.canonical.value.value.ty`  (hack disabled = {:?})"]
    #[inline(always)]
    pub fn implied_outlives_bounds(self,
        key: (CanonicalImpliedOutlivesBoundsGoal<'tcx>, bool)) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.implied_outlives_bounds,
            &self.tcx.query_system.caches.implied_outlives_bounds,
            key.into_query_param(), true);
    }
    #[doc = " Do not call this query directly:"]
    #[doc =
    " invoke `DropckOutlives::new(dropped_ty)).fully_perform(typeck.infcx)` instead."]
    #[inline(always)]
    pub fn dropck_outlives(self, key: CanonicalDropckOutlivesGoal<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.dropck_outlives,
            &self.tcx.query_system.caches.dropck_outlives,
            key.into_query_param(), true);
    }
    #[doc =
    " Do not call this query directly: invoke `infcx.predicate_may_hold()` or"]
    #[doc = " `infcx.predicate_must_hold()` instead."]
    #[inline(always)]
    pub fn evaluate_obligation(self, key: CanonicalPredicateGoal<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.evaluate_obligation,
            &self.tcx.query_system.caches.evaluate_obligation,
            key.into_query_param(), true);
    }
    #[doc = " Do not call this query directly: part of the `Eq` type-op"]
    #[inline(always)]
    pub fn type_op_ascribe_user_type(self,
        key: CanonicalTypeOpAscribeUserTypeGoal<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_op_ascribe_user_type,
            &self.tcx.query_system.caches.type_op_ascribe_user_type,
            key.into_query_param(), true);
    }
    #[doc =
    " Do not call this query directly: part of the `ProvePredicate` type-op"]
    #[inline(always)]
    pub fn type_op_prove_predicate(self,
        key: CanonicalTypeOpProvePredicateGoal<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_op_prove_predicate,
            &self.tcx.query_system.caches.type_op_prove_predicate,
            key.into_query_param(), true);
    }
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    #[inline(always)]
    pub fn type_op_normalize_ty(self,
        key: CanonicalTypeOpNormalizeGoal<'tcx, Ty<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_op_normalize_ty,
            &self.tcx.query_system.caches.type_op_normalize_ty,
            key.into_query_param(), true);
    }
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    #[inline(always)]
    pub fn type_op_normalize_clause(self,
        key: CanonicalTypeOpNormalizeGoal<'tcx, ty::Clause<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_op_normalize_clause,
            &self.tcx.query_system.caches.type_op_normalize_clause,
            key.into_query_param(), true);
    }
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    #[inline(always)]
    pub fn type_op_normalize_poly_fn_sig(self,
        key: CanonicalTypeOpNormalizeGoal<'tcx, ty::PolyFnSig<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_op_normalize_poly_fn_sig,
            &self.tcx.query_system.caches.type_op_normalize_poly_fn_sig,
            key.into_query_param(), true);
    }
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    #[inline(always)]
    pub fn type_op_normalize_fn_sig(self,
        key: CanonicalTypeOpNormalizeGoal<'tcx, ty::FnSig<'tcx>>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.type_op_normalize_fn_sig,
            &self.tcx.query_system.caches.type_op_normalize_fn_sig,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking impossible instantiated predicates:  `tcx.def_path_str(key.0)` "]
    #[inline(always)]
    pub fn instantiate_and_check_impossible_predicates(self,
        key: (DefId, GenericArgsRef<'tcx>)) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.instantiate_and_check_impossible_predicates,
            &self.tcx.query_system.caches.instantiate_and_check_impossible_predicates,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(key.1)`  is impossible to reference within  `tcx.def_path_str(key.0)` "]
    #[inline(always)]
    pub fn is_impossible_associated_item(self, key: (DefId, DefId)) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.is_impossible_associated_item,
            &self.tcx.query_system.caches.is_impossible_associated_item,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing autoderef types for  `goal.canonical.value.value.self_ty` "]
    #[inline(always)]
    pub fn method_autoderef_steps(self,
        key: CanonicalMethodAutoderefStepsGoal<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.method_autoderef_steps,
            &self.tcx.query_system.caches.method_autoderef_steps,
            key.into_query_param(), true);
    }
    #[doc = " Used by `-Znext-solver` to compute proof trees."]
    #[inline(always)]
    pub fn evaluate_root_goal_for_proof_tree_raw(self,
        key: solve::CanonicalInput<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.evaluate_root_goal_for_proof_tree_raw,
            &self.tcx.query_system.caches.evaluate_root_goal_for_proof_tree_raw,
            key.into_query_param(), true);
    }
    #[doc =
    " Returns the Rust target features for the current target. These are not always the same as LLVM target features!"]
    #[inline(always)]
    pub fn rust_target_features(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.rust_target_features,
            &self.tcx.query_system.caches.rust_target_features,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up implied target features"]
    #[inline(always)]
    pub fn implied_target_features(self, key: Symbol) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.implied_target_features,
            &self.tcx.query_system.caches.implied_target_features,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up enabled feature gates"]
    #[inline(always)]
    pub fn features_query(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.features_query,
            &self.tcx.query_system.caches.features_query,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] the ast before macro expansion and name resolution"]
    #[inline(always)]
    pub fn crate_for_resolver(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.crate_for_resolver,
            &self.tcx.query_system.caches.crate_for_resolver,
            key.into_query_param(), true);
    }
    #[doc = " Attempt to resolve the given `DefId` to an `Instance`, for the"]
    #[doc = " given generics args (`GenericArgsRef`), returning one of:"]
    #[doc = "  * `Ok(Some(instance))` on success"]
    #[doc = "  * `Ok(None)` when the `GenericArgsRef` are still too generic,"]
    #[doc = "    and therefore don\'t allow finding the final `Instance`"]
    #[doc =
    "  * `Err(ErrorGuaranteed)` when the `Instance` resolution process"]
    #[doc =
    "    couldn\'t complete due to errors elsewhere - this is distinct"]
    #[doc =
    "    from `Ok(None)` to avoid misleading diagnostics when an error"]
    #[doc = "    has already been/will be emitted, for the original cause."]
    #[inline(always)]
    pub fn resolve_instance_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, (DefId, GenericArgsRef<'tcx>)>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.resolve_instance_raw,
            &self.tcx.query_system.caches.resolve_instance_raw,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] revealing opaque types in `{:?}`"]
    #[inline(always)]
    pub fn reveal_opaque_types_in_bounds(self, key: ty::Clauses<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.reveal_opaque_types_in_bounds,
            &self.tcx.query_system.caches.reveal_opaque_types_in_bounds,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up limits"]
    #[inline(always)]
    pub fn limits(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.limits,
            &self.tcx.query_system.caches.limits, key.into_query_param(),
            true);
    }
    #[doc =
    " Performs an HIR-based well-formed check on the item with the given `HirId`. If"]
    #[doc =
    " we get an `Unimplemented` error that matches the provided `Predicate`, return"]
    #[doc = " the cause of the newly created obligation."]
    #[doc = ""]
    #[doc =
    " This is only used by error-reporting code to get a better cause (in particular, a better"]
    #[doc =
    " span) for an *existing* error. Therefore, it is best-effort, and may never handle"]
    #[doc =
    " all of the cases that the normal `ty::Ty`-based wfcheck does. This is fine,"]
    #[doc = " because the `ty::Ty`-based wfcheck is always run."]
    #[inline(always)]
    pub fn diagnostic_hir_wf_check(self,
        key: (ty::Predicate<'tcx>, WellFormedLoc)) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.diagnostic_hir_wf_check,
            &self.tcx.query_system.caches.diagnostic_hir_wf_check,
            key.into_query_param(), true);
    }
    #[doc =
    " The list of backend features computed from CLI flags (`-Ctarget-cpu`, `-Ctarget-feature`,"]
    #[doc = " `--target` and similar)."]
    #[inline(always)]
    pub fn global_backend_features(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.global_backend_features,
            &self.tcx.query_system.caches.global_backend_features,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking validity requirement for  `key.1.value` :  `key.0` "]
    #[inline(always)]
    pub fn check_validity_requirement(self,
        key:
            (ValidityRequirement, ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_validity_requirement,
            &self.tcx.query_system.caches.check_validity_requirement,
            key.into_query_param(), true);
    }
    #[doc =
    " This takes the def-id of an associated item from a impl of a trait,"]
    #[doc =
    " and checks its validity against the trait item it corresponds to."]
    #[doc = ""]
    #[doc = " Any other def id will ICE."]
    #[inline(always)]
    pub fn compare_impl_item(self, key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.compare_impl_item,
            &self.tcx.query_system.caches.compare_impl_item,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] deducing parameter attributes for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn deduced_param_attrs(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.deduced_param_attrs,
            &self.tcx.query_system.caches.deduced_param_attrs,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] resolutions for documentation links for a module"]
    #[inline(always)]
    pub fn doc_link_resolutions(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.doc_link_resolutions,
            &self.tcx.query_system.caches.doc_link_resolutions,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] traits in scope for documentation links for a module"]
    #[inline(always)]
    pub fn doc_link_traits_in_scope(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.doc_link_traits_in_scope,
            &self.tcx.query_system.caches.doc_link_traits_in_scope,
            key.into_query_param(), true);
    }
    #[doc =
    " Get all item paths that were stripped by a `#[cfg]` in a particular crate."]
    #[doc =
    " Should not be called for the local crate before the resolver outputs are created, as it"]
    #[doc = " is only fed there."]
    #[inline(always)]
    pub fn stripped_cfg_items(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.stripped_cfg_items,
            &self.tcx.query_system.caches.stripped_cfg_items,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] check whether the item has a `where Self: Sized` bound"]
    #[inline(always)]
    pub fn generics_require_sized_self(self,
        key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.generics_require_sized_self,
            &self.tcx.query_system.caches.generics_require_sized_self,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] whether the item should be made inlinable across crates"]
    #[inline(always)]
    pub fn cross_crate_inlinable(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.cross_crate_inlinable,
            &self.tcx.query_system.caches.cross_crate_inlinable,
            key.into_query_param(), true);
    }
    #[doc = " Perform monomorphization-time checking on this item."]
    #[doc =
    " This is used for lints/errors that can only be checked once the instance is fully"]
    #[doc = " monomorphized."]
    #[inline(always)]
    pub fn check_mono_item(self, key: ty::Instance<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_mono_item,
            &self.tcx.query_system.caches.check_mono_item,
            key.into_query_param(), true);
    }
    #[doc =
    " Builds the set of functions that should be skipped for the move-size check."]
    #[inline(always)]
    pub fn skip_move_check_fns(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.skip_move_check_fns,
            &self.tcx.query_system.caches.skip_move_check_fns,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting items used by  `key.0` "]
    #[inline(always)]
    pub fn items_of_instance(self,
        key: (ty::Instance<'tcx>, CollectionMode)) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.items_of_instance,
            &self.tcx.query_system.caches.items_of_instance,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] estimating codegen size of  `key` "]
    #[inline(always)]
    pub fn size_estimate(self, key: ty::Instance<'tcx>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.size_estimate,
            &self.tcx.query_system.caches.size_estimate,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up anon const kind of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn anon_const_kind(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.anon_const_kind,
            &self.tcx.query_system.caches.anon_const_kind,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(def_id)`  is a trivial const"]
    #[inline(always)]
    pub fn trivial_const(self, key: impl IntoQueryParam<DefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.trivial_const,
            &self.tcx.query_system.caches.trivial_const,
            key.into_query_param(), true);
    }
    #[doc = " Checks for the nearest `#[sanitize(xyz = \"off\")]` or"]
    #[doc =
    " `#[sanitize(xyz = \"on\")]` on this def and any enclosing defs, up to the"]
    #[doc = " crate root."]
    #[doc = ""]
    #[doc = " Returns the sanitizer settings for this def."]
    #[inline(always)]
    pub fn sanitizer_settings_for(self,
        key: impl IntoQueryParam<LocalDefId>) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.sanitizer_settings_for,
            &self.tcx.query_system.caches.sanitizer_settings_for,
            key.into_query_param(), true);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] check externally implementable items"]
    #[inline(always)]
    pub fn check_externally_implementable_items(self, key: ()) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.check_externally_implementable_items,
            &self.tcx.query_system.caches.check_externally_implementable_items,
            key.into_query_param(), true);
    }
    #[doc = " Returns a list of all `externally implementable items` crate."]
    #[inline(always)]
    pub fn externally_implementable_items(self, key: CrateNum) {
        crate::query::inner::query_ensure(self.tcx,
            self.tcx.query_system.fns.engine.externally_implementable_items,
            &self.tcx.query_system.caches.externally_implementable_items,
            key.into_query_param(), true);
    }
}
impl<'tcx> TyCtxt<'tcx> {
    #[doc =
    " Caches the expansion of a derive proc macro, e.g. `#[derive(Serialize)]`."]
    #[doc = " The key is:"]
    #[doc = " - A unique key corresponding to the invocation of a macro."]
    #[doc = " - Token stream which serves as an input to the macro."]
    #[doc = ""]
    #[doc = " The output is the token stream generated by the proc macro."]
    #[inline(always)]
    #[must_use]
    pub fn derive_macro_expansion(self, key: (LocalExpnId, &'tcx TokenStream))
        -> Result<&'tcx TokenStream, ()> {
        self.at(DUMMY_SP).derive_macro_expansion(key)
    }
    #[doc =
    " This exists purely for testing the interactions between delayed bugs and incremental."]
    #[inline(always)]
    #[must_use]
    pub fn trigger_delayed_bug(self, key: impl IntoQueryParam<DefId>) -> () {
        self.at(DUMMY_SP).trigger_delayed_bug(key)
    }
    #[doc =
    " Collects the list of all tools registered using `#![register_tool]`."]
    #[inline(always)]
    #[must_use]
    pub fn registered_tools(self, key: ()) -> &'tcx ty::RegisteredTools {
        self.at(DUMMY_SP).registered_tools(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] perform lints prior to AST lowering"]
    #[inline(always)]
    #[must_use]
    pub fn early_lint_checks(self, key: ()) -> () {
        self.at(DUMMY_SP).early_lint_checks(key)
    }
    #[doc = " Tracked access to environment variables."]
    #[doc = ""]
    #[doc =
    " Useful for the implementation of `std::env!`, `proc-macro`s change"]
    #[doc =
    " detection and other changes in the compiler\'s behaviour that is easier"]
    #[doc = " to control with an environment variable than a flag."]
    #[doc = ""]
    #[doc = " NOTE: This currently does not work with dependency info in the"]
    #[doc =
    " analysis, codegen and linking passes, place extra code at the top of"]
    #[doc = " `rustc_interface::passes::write_dep_info` to make that work."]
    #[inline(always)]
    #[must_use]
    pub fn env_var_os(self, key: &'tcx OsStr) -> Option<&'tcx OsStr> {
        self.at(DUMMY_SP).env_var_os(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the resolver outputs"]
    #[inline(always)]
    #[must_use]
    pub fn resolutions(self, key: ()) -> &'tcx ty::ResolverGlobalCtxt {
        self.at(DUMMY_SP).resolutions(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the resolver for lowering"]
    #[inline(always)]
    #[must_use]
    pub fn resolver_for_lowering_raw(self, key: ())
        ->
            (&'tcx Steal<(ty::ResolverAstLowering, Arc<ast::Crate>)>,
            &'tcx ty::ResolverGlobalCtxt) {
        self.at(DUMMY_SP).resolver_for_lowering_raw(key)
    }
    #[doc = " Return the span for a definition."]
    #[doc = ""]
    #[doc =
    " Contrary to `def_span` below, this query returns the full absolute span of the definition."]
    #[doc =
    " This span is meant for dep-tracking rather than diagnostics. It should not be used outside"]
    #[doc = " of rustc_middle::hir::source_map."]
    #[inline(always)]
    #[must_use]
    pub fn source_span(self, key: impl IntoQueryParam<LocalDefId>) -> Span {
        self.at(DUMMY_SP).source_span(key)
    }
    #[doc =
    " Represents crate as a whole (as distinct from the top-level crate module)."]
    #[doc = ""]
    #[doc =
    " If you call `tcx.hir_crate(())` we will have to assume that any change"]
    #[doc =
    " means that you need to be recompiled. This is because the `hir_crate`"]
    #[doc =
    " query gives you access to all other items. To avoid this fate, do not"]
    #[doc = " call `tcx.hir_crate(())`; instead, prefer wrappers like"]
    #[doc = " [`TyCtxt::hir_visit_all_item_likes_in_crate`]."]
    #[inline(always)]
    #[must_use]
    pub fn hir_crate(self, key: ()) -> &'tcx Crate<'tcx> {
        self.at(DUMMY_SP).hir_crate(key)
    }
    #[doc = " All items in the crate."]
    #[inline(always)]
    #[must_use]
    pub fn hir_crate_items(self, key: ())
        -> &'tcx rustc_middle::hir::ModuleItems {
        self.at(DUMMY_SP).hir_crate_items(key)
    }
    #[doc = " The items in a module."]
    #[doc = ""]
    #[doc =
    " This can be conveniently accessed by `tcx.hir_visit_item_likes_in_module`."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    #[must_use]
    pub fn hir_module_items(self, key: LocalModDefId)
        -> &'tcx rustc_middle::hir::ModuleItems {
        self.at(DUMMY_SP).hir_module_items(key)
    }
    #[doc = " Returns HIR ID for the given `LocalDefId`."]
    #[inline(always)]
    #[must_use]
    pub fn local_def_id_to_hir_id(self, key: impl IntoQueryParam<LocalDefId>)
        -> hir::HirId {
        self.at(DUMMY_SP).local_def_id_to_hir_id(key)
    }
    #[doc =
    " Gives access to the HIR node\'s parent for the HIR owner `key`."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    #[must_use]
    pub fn hir_owner_parent(self, key: hir::OwnerId) -> hir::HirId {
        self.at(DUMMY_SP).hir_owner_parent(key)
    }
    #[doc =
    " Gives access to the HIR nodes and bodies inside `key` if it\'s a HIR owner."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    #[must_use]
    pub fn opt_hir_owner_nodes(self, key: impl IntoQueryParam<LocalDefId>)
        -> Option<&'tcx hir::OwnerNodes<'tcx>> {
        self.at(DUMMY_SP).opt_hir_owner_nodes(key)
    }
    #[doc = " Gives access to the HIR attributes inside the HIR owner `key`."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    #[must_use]
    pub fn hir_attr_map(self, key: hir::OwnerId)
        -> &'tcx hir::AttributeMap<'tcx> {
        self.at(DUMMY_SP).hir_attr_map(key)
    }
    #[doc = " Gives access to lints emitted during ast lowering."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    #[must_use]
    pub fn opt_ast_lowering_delayed_lints(self, key: hir::OwnerId)
        -> Option<&'tcx hir::lints::DelayedLints> {
        self.at(DUMMY_SP).opt_ast_lowering_delayed_lints(key)
    }
    #[doc =
    " Returns the *default* of the const pararameter given by `DefId`."]
    #[doc = ""]
    #[doc =
    " E.g., given `struct Ty<const N: usize = 3>;` this returns `3` for `N`."]
    #[inline(always)]
    #[must_use]
    pub fn const_param_default(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Const<'tcx>> {
        self.at(DUMMY_SP).const_param_default(key)
    }
    #[doc =
    " Returns the const of the RHS of a (free or assoc) const item, if it is a `#[type_const]`."]
    #[doc = ""]
    #[doc =
    " When a const item is used in a type-level expression, like in equality for an assoc const"]
    #[doc =
    " projection, this allows us to retrieve the typesystem-appropriate representation of the"]
    #[doc = " const value."]
    #[doc = ""]
    #[doc =
    " This query will ICE if given a const that is not marked with `#[type_const]`."]
    #[inline(always)]
    #[must_use]
    pub fn const_of_item(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Const<'tcx>> {
        self.at(DUMMY_SP).const_of_item(key)
    }
    #[doc = " Returns the *type* of the definition given by `DefId`."]
    #[doc = ""]
    #[doc =
    " For type aliases (whether eager or lazy) and associated types, this returns"]
    #[doc =
    " the underlying aliased type (not the corresponding [alias type])."]
    #[doc = ""]
    #[doc =
    " For opaque types, this returns and thus reveals the hidden type! If you"]
    #[doc = " want to detect cycle errors use `type_of_opaque` instead."]
    #[doc = ""]
    #[doc =
    " To clarify, for type definitions, this does *not* return the \"type of a type\""]
    #[doc =
    " (aka *kind* or *sort*) in the type-theoretical sense! It merely returns"]
    #[doc = " the type primarily *associated with* it."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition doesn\'t (and can\'t"]
    #[doc = " conceptually) have an (underlying) type."]
    #[doc = ""]
    #[doc = " [alias type]: rustc_middle::ty::AliasTy"]
    #[inline(always)]
    #[must_use]
    pub fn type_of(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, Ty<'tcx>> {
        self.at(DUMMY_SP).type_of(key)
    }
    #[doc =
    " Returns the *hidden type* of the opaque type given by `DefId` unless a cycle occurred."]
    #[doc = ""]
    #[doc =
    " This is a specialized instance of [`Self::type_of`] that detects query cycles."]
    #[doc =
    " Unless `CyclePlaceholder` needs to be handled separately, call [`Self::type_of`] instead."]
    #[doc =
    " This is used to improve the error message in cases where revealing the hidden type"]
    #[doc = " for auto-trait leakage cycles."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not an opaque type."]
    #[inline(always)]
    #[must_use]
    pub fn type_of_opaque(self, key: impl IntoQueryParam<DefId>)
        -> Result<ty::EarlyBinder<'tcx, Ty<'tcx>>, CyclePlaceholder> {
        self.at(DUMMY_SP).type_of_opaque(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing type of opaque `{path}` via HIR typeck"]
    #[inline(always)]
    #[must_use]
    pub fn type_of_opaque_hir_typeck(self,
        key: impl IntoQueryParam<LocalDefId>)
        -> ty::EarlyBinder<'tcx, Ty<'tcx>> {
        self.at(DUMMY_SP).type_of_opaque_hir_typeck(key)
    }
    #[doc = " Returns whether the type alias given by `DefId` is lazy."]
    #[doc = ""]
    #[doc =
    " I.e., if the type alias expands / ought to expand to a [free] [alias type]"]
    #[doc = " instead of the underlying aliased type."]
    #[doc = ""]
    #[doc =
    " Relevant for features `lazy_type_alias` and `type_alias_impl_trait`."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query *may* panic if the given definition is not a type alias."]
    #[doc = ""]
    #[doc = " [free]: rustc_middle::ty::Free"]
    #[doc = " [alias type]: rustc_middle::ty::AliasTy"]
    #[inline(always)]
    #[must_use]
    pub fn type_alias_is_lazy(self, key: impl IntoQueryParam<DefId>) -> bool {
        self.at(DUMMY_SP).type_alias_is_lazy(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] comparing an impl and trait method signature, inferring any hidden `impl Trait` types in the process"]
    #[inline(always)]
    #[must_use]
    pub fn collect_return_position_impl_trait_in_trait_tys(self,
        key: impl IntoQueryParam<DefId>)
        ->
            Result<&'tcx DefIdMap<ty::EarlyBinder<'tcx, Ty<'tcx>>>,
            ErrorGuaranteed> {
        self.at(DUMMY_SP).collect_return_position_impl_trait_in_trait_tys(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determine where the opaque originates from"]
    #[inline(always)]
    #[must_use]
    pub fn opaque_ty_origin(self, key: impl IntoQueryParam<DefId>)
        -> hir::OpaqueTyOrigin<DefId> {
        self.at(DUMMY_SP).opaque_ty_origin(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determining what parameters of  `tcx.def_path_str(key)`  can participate in unsizing"]
    #[inline(always)]
    #[must_use]
    pub fn unsizing_params_for_adt(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx rustc_index::bit_set::DenseBitSet<u32> {
        self.at(DUMMY_SP).unsizing_params_for_adt(key)
    }
    #[doc =
    " The root query triggering all analysis passes like typeck or borrowck."]
    #[inline(always)]
    #[must_use]
    pub fn analysis(self, key: ()) -> () { self.at(DUMMY_SP).analysis(key) }
    #[doc =
    " This query checks the fulfillment of collected lint expectations."]
    #[doc =
    " All lint emitting queries have to be done before this is executed"]
    #[doc = " to ensure that all expectations can be fulfilled."]
    #[doc = ""]
    #[doc =
    " This is an extra query to enable other drivers (like rustdoc) to"]
    #[doc =
    " only execute a small subset of the `analysis` query, while allowing"]
    #[doc =
    " lints to be expected. In rustc, this query will be executed as part of"]
    #[doc =
    " the `analysis` query and doesn\'t have to be called a second time."]
    #[doc = ""]
    #[doc =
    " Tools can additionally pass in a tool filter. That will restrict the"]
    #[doc =
    " expectations to only trigger for lints starting with the listed tool"]
    #[doc =
    " name. This is useful for cases were not all linting code from rustc"]
    #[doc =
    " was called. With the default `None` all registered lints will also"]
    #[doc = " be checked for expectation fulfillment."]
    #[inline(always)]
    #[must_use]
    pub fn check_expectations(self, key: Option<Symbol>) -> () {
        self.at(DUMMY_SP).check_expectations(key)
    }
    #[doc = " Returns the *generics* of the definition given by `DefId`."]
    #[inline(always)]
    #[must_use]
    pub fn generics_of(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx ty::Generics {
        self.at(DUMMY_SP).generics_of(key)
    }
    #[doc =
    " Returns the (elaborated) *predicates* of the definition given by `DefId`"]
    #[doc =
    " that must be proven true at usage sites (and which can be assumed at definition site)."]
    #[doc = ""]
    #[doc =
    " This is almost always *the* \"predicates query\" that you want."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_dump_predicates]` on an item to basically print"]
    #[doc =
    " the result of this query for use in UI tests or for debugging purposes."]
    #[inline(always)]
    #[must_use]
    pub fn predicates_of(self, key: impl IntoQueryParam<DefId>)
        -> ty::GenericPredicates<'tcx> {
        self.at(DUMMY_SP).predicates_of(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing the opaque types defined by  `tcx.def_path_str(key.to_def_id())` "]
    #[inline(always)]
    #[must_use]
    pub fn opaque_types_defined_by(self, key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx ty::List<LocalDefId> {
        self.at(DUMMY_SP).opaque_types_defined_by(key)
    }
    #[doc =
    " A list of all bodies inside of `key`, nested bodies are always stored"]
    #[doc = " before their parent."]
    #[inline(always)]
    #[must_use]
    pub fn nested_bodies_within(self, key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx ty::List<LocalDefId> {
        self.at(DUMMY_SP).nested_bodies_within(key)
    }
    #[doc =
    " Returns the explicitly user-written *bounds* on the associated or opaque type given by `DefId`"]
    #[doc =
    " that must be proven true at definition site (and which can be assumed at usage sites)."]
    #[doc = ""]
    #[doc =
    " For associated types, these must be satisfied for an implementation"]
    #[doc =
    " to be well-formed, and for opaque types, these are required to be"]
    #[doc = " satisfied by the hidden type of the opaque."]
    #[doc = ""]
    #[doc =
    " Bounds from the parent (e.g. with nested `impl Trait`) are not included."]
    #[doc = ""]
    #[doc =
    " Syntactially, these are the bounds written on associated types in trait"]
    #[doc = " definitions, or those after the `impl` keyword for an opaque:"]
    #[doc = ""]
    #[doc = " ```ignore (illustrative)"]
    #[doc = " trait Trait { type X: Bound + \'lt; }"]
    #[doc = " //                    ^^^^^^^^^^^"]
    #[doc = " fn function() -> impl Debug + Display { /*...*/ }"]
    #[doc = " //                    ^^^^^^^^^^^^^^^"]
    #[doc = " ```"]
    #[inline(always)]
    #[must_use]
    pub fn explicit_item_bounds(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        self.at(DUMMY_SP).explicit_item_bounds(key)
    }
    #[doc =
    " Returns the explicitly user-written *bounds* that share the `Self` type of the item."]
    #[doc = ""]
    #[doc =
    " These are a subset of the [explicit item bounds] that may explicitly be used for things"]
    #[doc = " like closure signature deduction."]
    #[doc = ""]
    #[doc = " [explicit item bounds]: Self::explicit_item_bounds"]
    #[inline(always)]
    #[must_use]
    pub fn explicit_item_self_bounds(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        self.at(DUMMY_SP).explicit_item_self_bounds(key)
    }
    #[doc =
    " Returns the (elaborated) *bounds* on the associated or opaque type given by `DefId`"]
    #[doc =
    " that must be proven true at definition site (and which can be assumed at usage sites)."]
    #[doc = ""]
    #[doc =
    " Bounds from the parent (e.g. with nested `impl Trait`) are not included."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_dump_item_bounds]` on an item to basically print"]
    #[doc =
    " the result of this query for use in UI tests or for debugging purposes."]
    #[doc = ""]
    #[doc = " # Examples"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait Trait { type Assoc: Eq + ?Sized; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " While [`Self::explicit_item_bounds`] returns `[<Self as Trait>::Assoc: Eq]`"]
    #[doc = " here, `item_bounds` returns:"]
    #[doc = ""]
    #[doc = " ```text"]
    #[doc = " ["]
    #[doc = "     <Self as Trait>::Assoc: Eq,"]
    #[doc = "     <Self as Trait>::Assoc: PartialEq<<Self as Trait>::Assoc>"]
    #[doc = " ]"]
    #[doc = " ```"]
    #[inline(always)]
    #[must_use]
    pub fn item_bounds(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
        self.at(DUMMY_SP).item_bounds(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating item assumptions for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn item_self_bounds(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
        self.at(DUMMY_SP).item_self_bounds(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating item assumptions for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn item_non_self_bounds(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
        self.at(DUMMY_SP).item_non_self_bounds(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating supertrait outlives for trait of  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn impl_super_outlives(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
        self.at(DUMMY_SP).impl_super_outlives(key)
    }
    #[doc = " Look up all native libraries this crate depends on."]
    #[doc = " These are assembled from the following places:"]
    #[doc = " - `extern` blocks (depending on their `link` attributes)"]
    #[doc = " - the `libs` (`-l`) option"]
    #[inline(always)]
    #[must_use]
    pub fn native_libraries(self, key: CrateNum) -> &'tcx Vec<NativeLib> {
        self.at(DUMMY_SP).native_libraries(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up lint levels for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn shallow_lint_levels_on(self, key: hir::OwnerId)
        -> &'tcx rustc_middle::lint::ShallowLintLevelMap {
        self.at(DUMMY_SP).shallow_lint_levels_on(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing `#[expect]`ed lints in this crate"]
    #[inline(always)]
    #[must_use]
    pub fn lint_expectations(self, key: ())
        -> &'tcx Vec<(LintExpectationId, LintExpectation)> {
        self.at(DUMMY_SP).lint_expectations(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] Computing all lints that are explicitly enabled or with a default level greater than Allow"]
    #[inline(always)]
    #[must_use]
    pub fn lints_that_dont_need_to_run(self, key: ())
        -> &'tcx UnordSet<LintId> {
        self.at(DUMMY_SP).lints_that_dont_need_to_run(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the expansion that defined  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn expn_that_defined(self, key: impl IntoQueryParam<DefId>)
        -> rustc_span::ExpnId {
        self.at(DUMMY_SP).expn_that_defined(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate is_panic_runtime"]
    #[inline(always)]
    #[must_use]
    pub fn is_panic_runtime(self, key: CrateNum) -> bool {
        self.at(DUMMY_SP).is_panic_runtime(key)
    }
    #[doc = " Checks whether a type is representable or infinitely sized"]
    #[inline(always)]
    #[must_use]
    pub fn representability(self, key: impl IntoQueryParam<LocalDefId>)
        -> rustc_middle::ty::Representability {
        self.at(DUMMY_SP).representability(key)
    }
    #[doc = " An implementation detail for the `representability` query"]
    #[inline(always)]
    #[must_use]
    pub fn representability_adt_ty(self, key: Ty<'tcx>)
        -> rustc_middle::ty::Representability {
        self.at(DUMMY_SP).representability_adt_ty(key)
    }
    #[doc =
    " Set of param indexes for type params that are in the type\'s representation"]
    #[inline(always)]
    #[must_use]
    pub fn params_in_repr(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx rustc_index::bit_set::DenseBitSet<u32> {
        self.at(DUMMY_SP).params_in_repr(key)
    }
    #[doc =
    " Fetch the THIR for a given body. The THIR body gets stolen by unsafety checking unless"]
    #[doc = " `-Zno-steal-thir` is on."]
    #[inline(always)]
    #[must_use]
    pub fn thir_body(self, key: impl IntoQueryParam<LocalDefId>)
        ->
            Result<(&'tcx Steal<thir::Thir<'tcx>>, thir::ExprId),
            ErrorGuaranteed> {
        self.at(DUMMY_SP).thir_body(key)
    }
    #[doc =
    " Set of all the `DefId`s in this crate that have MIR associated with"]
    #[doc =
    " them. This includes all the body owners, but also things like struct"]
    #[doc = " constructors."]
    #[inline(always)]
    #[must_use]
    pub fn mir_keys(self, key: ())
        -> &'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId> {
        self.at(DUMMY_SP).mir_keys(key)
    }
    #[doc =
    " Maps DefId\'s that have an associated `mir::Body` to the result"]
    #[doc = " of the MIR const-checking pass. This is the set of qualifs in"]
    #[doc = " the final value of a `const`."]
    #[inline(always)]
    #[must_use]
    pub fn mir_const_qualif(self, key: impl IntoQueryParam<DefId>)
        -> mir::ConstQualifs {
        self.at(DUMMY_SP).mir_const_qualif(key)
    }
    #[doc =
    " Build the MIR for a given `DefId` and prepare it for const qualification."]
    #[doc = ""]
    #[doc = " See the [rustc dev guide] for more info."]
    #[doc = ""]
    #[doc =
    " [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/mir/construction.html"]
    #[inline(always)]
    #[must_use]
    pub fn mir_built(self, key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx Steal<mir::Body<'tcx>> {
        self.at(DUMMY_SP).mir_built(key)
    }
    #[doc = " Try to build an abstract representation of the given constant."]
    #[inline(always)]
    #[must_use]
    pub fn thir_abstract_const(self, key: impl IntoQueryParam<DefId>)
        ->
            Result<Option<ty::EarlyBinder<'tcx, ty::Const<'tcx>>>,
            ErrorGuaranteed> {
        self.at(DUMMY_SP).thir_abstract_const(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating drops for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn mir_drops_elaborated_and_const_checked(self,
        key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx Steal<mir::Body<'tcx>> {
        self.at(DUMMY_SP).mir_drops_elaborated_and_const_checked(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] caching mir of  `tcx.def_path_str(key)`  for CTFE"]
    #[inline(always)]
    #[must_use]
    pub fn mir_for_ctfe(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx mir::Body<'tcx> {
        self.at(DUMMY_SP).mir_for_ctfe(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] promoting constants in MIR for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn mir_promoted(self, key: impl IntoQueryParam<LocalDefId>)
        ->
            (&'tcx Steal<mir::Body<'tcx>>,
            &'tcx Steal<IndexVec<mir::Promoted, mir::Body<'tcx>>>) {
        self.at(DUMMY_SP).mir_promoted(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding symbols for captures of closure  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn closure_typeinfo(self, key: impl IntoQueryParam<LocalDefId>)
        -> ty::ClosureTypeInfo<'tcx> {
        self.at(DUMMY_SP).closure_typeinfo(key)
    }
    #[doc = " Returns names of captured upvars for closures and coroutines."]
    #[doc = ""]
    #[doc = " Here are some examples:"]
    #[doc = "  - `name__field1__field2` when the upvar is captured by value."]
    #[doc =
    "  - `_ref__name__field` when the upvar is captured by reference."]
    #[doc = ""]
    #[doc =
    " For coroutines this only contains upvars that are shared by all states."]
    #[inline(always)]
    #[must_use]
    pub fn closure_saved_names_of_captured_variables(self,
        key: impl IntoQueryParam<DefId>)
        -> &'tcx IndexVec<abi::FieldIdx, Symbol> {
        self.at(DUMMY_SP).closure_saved_names_of_captured_variables(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] coroutine witness types for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn mir_coroutine_witnesses(self, key: impl IntoQueryParam<DefId>)
        -> Option<&'tcx mir::CoroutineLayout<'tcx>> {
        self.at(DUMMY_SP).mir_coroutine_witnesses(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] verify auto trait bounds for coroutine interior type  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn check_coroutine_obligations(self,
        key: impl IntoQueryParam<LocalDefId>) -> Result<(), ErrorGuaranteed> {
        self.at(DUMMY_SP).check_coroutine_obligations(key)
    }
    #[doc =
    " Used in case `mir_borrowck` fails to prove an obligation. We generally assume that"]
    #[doc =
    " all goals we prove in MIR type check hold as we\'ve already checked them in HIR typeck."]
    #[doc = ""]
    #[doc =
    " However, we replace each free region in the MIR body with a unique region inference"]
    #[doc =
    " variable. As we may rely on structural identity when proving goals this may cause a"]
    #[doc =
    " goal to no longer hold. We store obligations for which this may happen during HIR"]
    #[doc =
    " typeck in the `TypeckResults`. We then uniquify and reprove them in case MIR typeck"]
    #[doc =
    " encounters an unexpected error. We expect this to result in an error when used and"]
    #[doc = " delay a bug if it does not."]
    #[inline(always)]
    #[must_use]
    pub fn check_potentially_region_dependent_goals(self,
        key: impl IntoQueryParam<LocalDefId>) -> Result<(), ErrorGuaranteed> {
        self.at(DUMMY_SP).check_potentially_region_dependent_goals(key)
    }
    #[doc =
    " MIR after our optimization passes have run. This is MIR that is ready"]
    #[doc =
    " for codegen. This is also the only query that can fetch non-local MIR, at present."]
    #[inline(always)]
    #[must_use]
    pub fn optimized_mir(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx mir::Body<'tcx> {
        self.at(DUMMY_SP).optimized_mir(key)
    }
    #[doc =
    " Checks for the nearest `#[coverage(off)]` or `#[coverage(on)]` on"]
    #[doc = " this def and any enclosing defs, up to the crate root."]
    #[doc = ""]
    #[doc = " Returns `false` if `#[coverage(off)]` was found, or `true` if"]
    #[doc = " either `#[coverage(on)]` or no coverage attribute was found."]
    #[inline(always)]
    #[must_use]
    pub fn coverage_attr_on(self, key: impl IntoQueryParam<LocalDefId>)
        -> bool {
        self.at(DUMMY_SP).coverage_attr_on(key)
    }
    #[doc =
    " Scans through a function\'s MIR after MIR optimizations, to prepare the"]
    #[doc =
    " information needed by codegen when `-Cinstrument-coverage` is active."]
    #[doc = ""]
    #[doc =
    " This includes the details of where to insert `llvm.instrprof.increment`"]
    #[doc =
    " intrinsics, and the expression tables to be embedded in the function\'s"]
    #[doc = " coverage metadata."]
    #[doc = ""]
    #[doc =
    " FIXME(Zalathar): This query\'s purpose has drifted a bit and should"]
    #[doc =
    " probably be renamed, but that can wait until after the potential"]
    #[doc = " follow-ups to #136053 have settled down."]
    #[doc = ""]
    #[doc = " Returns `None` for functions that were not instrumented."]
    #[inline(always)]
    #[must_use]
    pub fn coverage_ids_info(self, key: ty::InstanceKind<'tcx>)
        -> Option<&'tcx mir::coverage::CoverageIdsInfo> {
        self.at(DUMMY_SP).coverage_ids_info(key)
    }
    #[doc =
    " The `DefId` is the `DefId` of the containing MIR body. Promoteds do not have their own"]
    #[doc =
    " `DefId`. This function returns all promoteds in the specified body. The body references"]
    #[doc =
    " promoteds by the `DefId` and the `mir::Promoted` index. This is necessary, because"]
    #[doc =
    " after inlining a body may refer to promoteds from other bodies. In that case you still"]
    #[doc = " need to use the `DefId` of the original body."]
    #[inline(always)]
    #[must_use]
    pub fn promoted_mir(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx IndexVec<mir::Promoted, mir::Body<'tcx>> {
        self.at(DUMMY_SP).promoted_mir(key)
    }
    #[doc = " Erases regions from `ty` to yield a new type."]
    #[doc =
    " Normally you would just use `tcx.erase_and_anonymize_regions(value)`,"]
    #[doc = " however, which uses this query as a kind of cache."]
    #[inline(always)]
    #[must_use]
    pub fn erase_and_anonymize_regions_ty(self, key: Ty<'tcx>) -> Ty<'tcx> {
        self.at(DUMMY_SP).erase_and_anonymize_regions_ty(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting wasm import module map"]
    #[inline(always)]
    #[must_use]
    pub fn wasm_import_module_map(self, key: CrateNum)
        -> &'tcx DefIdMap<String> {
        self.at(DUMMY_SP).wasm_import_module_map(key)
    }
    #[doc =
    " Returns the explicitly user-written *predicates and bounds* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc = " Traits are unusual, because predicates on associated types are"]
    #[doc =
    " converted into bounds on that type for backwards compatibility:"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait X where Self::U: Copy { type U; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc = " becomes"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait X { type U: Copy; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " [`Self::explicit_predicates_of`] and [`Self::explicit_item_bounds`] will"]
    #[doc = " then take the appropriate subsets of the predicates here."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc = " This query will panic if the given definition is not a trait."]
    #[inline(always)]
    #[must_use]
    pub fn trait_explicit_predicates_and_bounds(self,
        key: impl IntoQueryParam<LocalDefId>) -> ty::GenericPredicates<'tcx> {
        self.at(DUMMY_SP).trait_explicit_predicates_and_bounds(key)
    }
    #[doc =
    " Returns the explicitly user-written *predicates* of the definition given by `DefId`"]
    #[doc =
    " that must be proven true at usage sites (and which can be assumed at definition site)."]
    #[doc = ""]
    #[doc =
    " You should probably use [`Self::predicates_of`] unless you\'re looking for"]
    #[doc = " predicates with explicit spans for diagnostics purposes."]
    #[inline(always)]
    #[must_use]
    pub fn explicit_predicates_of(self, key: impl IntoQueryParam<DefId>)
        -> ty::GenericPredicates<'tcx> {
        self.at(DUMMY_SP).explicit_predicates_of(key)
    }
    #[doc =
    " Returns the *inferred outlives-predicates* of the item given by `DefId`."]
    #[doc = ""]
    #[doc =
    " E.g., for `struct Foo<\'a, T> { x: &\'a T }`, this would return `[T: \'a]`."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_outlives]` on an item to basically print the"]
    #[doc =
    " result of this query for use in UI tests or for debugging purposes."]
    #[inline(always)]
    #[must_use]
    pub fn inferred_outlives_of(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [(ty::Clause<'tcx>, Span)] {
        self.at(DUMMY_SP).inferred_outlives_of(key)
    }
    #[doc =
    " Returns the explicitly user-written *super-predicates* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc =
    " These predicates are unelaborated and consequently don\'t contain transitive super-predicates."]
    #[doc = ""]
    #[doc =
    " This is a subset of the full list of predicates. We store these in a separate map"]
    #[doc =
    " because we must evaluate them even during type conversion, often before the full"]
    #[doc =
    " predicates are available (note that super-predicates must not be cyclic)."]
    #[inline(always)]
    #[must_use]
    pub fn explicit_super_predicates_of(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        self.at(DUMMY_SP).explicit_super_predicates_of(key)
    }
    #[doc =
    " The predicates of the trait that are implied during elaboration."]
    #[doc = ""]
    #[doc =
    " This is a superset of the super-predicates of the trait, but a subset of the predicates"]
    #[doc =
    " of the trait. For regular traits, this includes all super-predicates and their"]
    #[doc =
    " associated type bounds. For trait aliases, currently, this includes all of the"]
    #[doc = " predicates of the trait alias."]
    #[inline(always)]
    #[must_use]
    pub fn explicit_implied_predicates_of(self,
        key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        self.at(DUMMY_SP).explicit_implied_predicates_of(key)
    }
    #[doc =
    " The Ident is the name of an associated type.The query returns only the subset"]
    #[doc =
    " of supertraits that define the given associated type. This is used to avoid"]
    #[doc =
    " cycles in resolving type-dependent associated item paths like `T::Item`."]
    #[inline(always)]
    #[must_use]
    pub fn explicit_supertraits_containing_assoc_item(self,
        key: (DefId, rustc_span::Ident))
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        self.at(DUMMY_SP).explicit_supertraits_containing_assoc_item(key)
    }
    #[doc =
    " Compute the conditions that need to hold for a conditionally-const item to be const."]
    #[doc =
    " That is, compute the set of `[const]` where clauses for a given item."]
    #[doc = ""]
    #[doc =
    " This can be thought of as the `[const]` equivalent of `predicates_of`. These are the"]
    #[doc =
    " predicates that need to be proven at usage sites, and can be assumed at definition."]
    #[doc = ""]
    #[doc =
    " This query also computes the `[const]` where clauses for associated types, which are"]
    #[doc =
    " not \"const\", but which have item bounds which may be `[const]`. These must hold for"]
    #[doc = " the `[const]` item bound to hold."]
    #[inline(always)]
    #[must_use]
    pub fn const_conditions(self, key: impl IntoQueryParam<DefId>)
        -> ty::ConstConditions<'tcx> {
        self.at(DUMMY_SP).const_conditions(key)
    }
    #[doc =
    " Compute the const bounds that are implied for a conditionally-const item."]
    #[doc = ""]
    #[doc =
    " This can be though of as the `[const]` equivalent of `explicit_item_bounds`. These"]
    #[doc =
    " are the predicates that need to proven at definition sites, and can be assumed at"]
    #[doc = " usage sites."]
    #[inline(always)]
    #[must_use]
    pub fn explicit_implied_const_bounds(self,
        key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::PolyTraitRef<'tcx>, Span)]> {
        self.at(DUMMY_SP).explicit_implied_const_bounds(key)
    }
    #[doc =
    " To avoid cycles within the predicates of a single item we compute"]
    #[doc = " per-type-parameter predicates for resolving `T::AssocTy`."]
    #[inline(always)]
    #[must_use]
    pub fn type_param_predicates(self,
        key: (LocalDefId, LocalDefId, rustc_span::Ident))
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        self.at(DUMMY_SP).type_param_predicates(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing trait definition for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn trait_def(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx ty::TraitDef {
        self.at(DUMMY_SP).trait_def(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing ADT definition for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn adt_def(self, key: impl IntoQueryParam<DefId>)
        -> ty::AdtDef<'tcx> {
        self.at(DUMMY_SP).adt_def(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing `Drop` impl for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn adt_destructor(self, key: impl IntoQueryParam<DefId>)
        -> Option<ty::Destructor> {
        self.at(DUMMY_SP).adt_destructor(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing `AsyncDrop` impl for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn adt_async_destructor(self, key: impl IntoQueryParam<DefId>)
        -> Option<ty::AsyncDestructor> {
        self.at(DUMMY_SP).adt_async_destructor(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing the sizedness constraint for  `tcx.def_path_str(key.0)` "]
    #[inline(always)]
    #[must_use]
    pub fn adt_sizedness_constraint(self, key: (DefId, SizedTraitKind))
        -> Option<ty::EarlyBinder<'tcx, Ty<'tcx>>> {
        self.at(DUMMY_SP).adt_sizedness_constraint(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing drop-check constraints for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn adt_dtorck_constraint(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx DropckConstraint<'tcx> {
        self.at(DUMMY_SP).adt_dtorck_constraint(key)
    }
    #[doc =
    " Returns the constness of the function-like[^1] definition given by `DefId`."]
    #[doc = ""]
    #[doc =
    " Tuple struct/variant constructors are *always* const, foreign functions are"]
    #[doc =
    " *never* const. The rest is const iff marked with keyword `const` (or rather"]
    #[doc = " its parent in the case of associated functions)."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly. It is only meant to cache the base data for the"]
    #[doc =
    " higher-level functions. Consider using `is_const_fn` or `is_const_trait_impl` instead."]
    #[doc = ""]
    #[doc =
    " Also note that neither of them takes into account feature gates, stability and"]
    #[doc = " const predicates/conditions!"]
    #[doc = ""]
    #[doc = " </div>"]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not function-like[^1]."]
    #[doc = ""]
    #[doc =
    " [^1]: Tuple struct/variant constructors, closures and free, associated and foreign functions."]
    #[inline(always)]
    #[must_use]
    pub fn constness(self, key: impl IntoQueryParam<DefId>)
        -> hir::Constness {
        self.at(DUMMY_SP).constness(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the function is async:  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn asyncness(self, key: impl IntoQueryParam<DefId>) -> ty::Asyncness {
        self.at(DUMMY_SP).asyncness(key)
    }
    #[doc = " Returns `true` if calls to the function may be promoted."]
    #[doc = ""]
    #[doc =
    " This is either because the function is e.g., a tuple-struct or tuple-variant"]
    #[doc =
    " constructor, or because it has the `#[rustc_promotable]` attribute. The attribute should"]
    #[doc =
    " be removed in the future in favour of some form of check which figures out whether the"]
    #[doc =
    " function does not inspect the bits of any of its arguments (so is essentially just a"]
    #[doc = " constructor function)."]
    #[inline(always)]
    #[must_use]
    pub fn is_promotable_const_fn(self, key: impl IntoQueryParam<DefId>)
        -> bool {
        self.at(DUMMY_SP).is_promotable_const_fn(key)
    }
    #[doc =
    " The body of the coroutine, modified to take its upvars by move rather than by ref."]
    #[doc = ""]
    #[doc =
    " This is used by coroutine-closures, which must return a different flavor of coroutine"]
    #[doc =
    " when called using `AsyncFnOnce::call_once`. It is produced by the `ByMoveBody` pass which"]
    #[doc =
    " is run right after building the initial MIR, and will only be populated for coroutines"]
    #[doc = " which come out of the async closure desugaring."]
    #[inline(always)]
    #[must_use]
    pub fn coroutine_by_move_body_def_id(self,
        key: impl IntoQueryParam<DefId>) -> DefId {
        self.at(DUMMY_SP).coroutine_by_move_body_def_id(key)
    }
    #[doc =
    " Returns `Some(coroutine_kind)` if the node pointed to by `def_id` is a coroutine."]
    #[inline(always)]
    #[must_use]
    pub fn coroutine_kind(self, key: impl IntoQueryParam<DefId>)
        -> Option<hir::CoroutineKind> {
        self.at(DUMMY_SP).coroutine_kind(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] Given a coroutine-closure def id, return the def id of the coroutine returned by it"]
    #[inline(always)]
    #[must_use]
    pub fn coroutine_for_closure(self, key: impl IntoQueryParam<DefId>)
        -> DefId {
        self.at(DUMMY_SP).coroutine_for_closure(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the hidden types stored across await points in a coroutine"]
    #[inline(always)]
    #[must_use]
    pub fn coroutine_hidden_types(self, key: impl IntoQueryParam<DefId>)
        ->
            ty::EarlyBinder<'tcx,
            ty::Binder<'tcx, ty::CoroutineWitnessTypes<TyCtxt<'tcx>>>> {
        self.at(DUMMY_SP).coroutine_hidden_types(key)
    }
    #[doc =
    " Gets a map with the variances of every item in the local crate."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::variances_of`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    #[must_use]
    pub fn crate_variances(self, key: ())
        -> &'tcx ty::CrateVariancesMap<'tcx> {
        self.at(DUMMY_SP).crate_variances(key)
    }
    #[doc = " Returns the (inferred) variances of the item given by `DefId`."]
    #[doc = ""]
    #[doc =
    " The list of variances corresponds to the list of (early-bound) generic"]
    #[doc = " parameters of the item (including its parents)."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_variance]` on an item to basically print the"]
    #[doc =
    " result of this query for use in UI tests or for debugging purposes."]
    #[inline(always)]
    #[must_use]
    pub fn variances_of(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [ty::Variance] {
        self.at(DUMMY_SP).variances_of(key)
    }
    #[doc =
    " Gets a map with the inferred outlives-predicates of every item in the local crate."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::inferred_outlives_of`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    #[must_use]
    pub fn inferred_outlives_crate(self, key: ())
        -> &'tcx ty::CratePredicatesMap<'tcx> {
        self.at(DUMMY_SP).inferred_outlives_crate(key)
    }
    #[doc = " Maps from an impl/trait or struct/variant `DefId`"]
    #[doc = " to a list of the `DefId`s of its associated items or fields."]
    #[inline(always)]
    #[must_use]
    pub fn associated_item_def_ids(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [DefId] {
        self.at(DUMMY_SP).associated_item_def_ids(key)
    }
    #[doc =
    " Maps from a trait/impl item to the trait/impl item \"descriptor\"."]
    #[inline(always)]
    #[must_use]
    pub fn associated_item(self, key: impl IntoQueryParam<DefId>)
        -> ty::AssocItem {
        self.at(DUMMY_SP).associated_item(key)
    }
    #[doc = " Collects the associated items defined on a trait or impl."]
    #[inline(always)]
    #[must_use]
    pub fn associated_items(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx ty::AssocItems {
        self.at(DUMMY_SP).associated_items(key)
    }
    #[doc =
    " Maps from associated items on a trait to the corresponding associated"]
    #[doc = " item on the impl specified by `impl_id`."]
    #[doc = ""]
    #[doc = " For example, with the following code"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " struct Type {}"]
    #[doc = "                         // DefId"]
    #[doc = " trait Trait {           // trait_id"]
    #[doc = "     fn f();             // trait_f"]
    #[doc = "     fn g() {}           // trait_g"]
    #[doc = " }"]
    #[doc = ""]
    #[doc = " impl Trait for Type {   // impl_id"]
    #[doc = "     fn f() {}           // impl_f"]
    #[doc = "     fn g() {}           // impl_g"]
    #[doc = " }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " The map returned for `tcx.impl_item_implementor_ids(impl_id)` would be"]
    #[doc = "`{ trait_f: impl_f, trait_g: impl_g }`"]
    #[inline(always)]
    #[must_use]
    pub fn impl_item_implementor_ids(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx DefIdMap<DefId> {
        self.at(DUMMY_SP).impl_item_implementor_ids(key)
    }
    #[doc =
    " Given the `item_def_id` of a trait or impl, return a mapping from associated fn def id"]
    #[doc =
    " to its associated type items that correspond to the RPITITs in its signature."]
    #[inline(always)]
    #[must_use]
    pub fn associated_types_for_impl_traits_in_trait_or_impl(self,
        key: impl IntoQueryParam<DefId>) -> &'tcx DefIdMap<Vec<DefId>> {
        self.at(DUMMY_SP).associated_types_for_impl_traits_in_trait_or_impl(key)
    }
    #[doc =
    " Given an `impl_id`, return the trait it implements along with some header information."]
    #[inline(always)]
    #[must_use]
    pub fn impl_trait_header(self, key: impl IntoQueryParam<DefId>)
        -> ty::ImplTraitHeader<'tcx> {
        self.at(DUMMY_SP).impl_trait_header(key)
    }
    #[doc =
    " Given an `impl_def_id`, return true if the self type is guaranteed to be unsized due"]
    #[doc =
    " to either being one of the built-in unsized types (str/slice/dyn) or to be a struct"]
    #[doc = " whose tail is one of those types."]
    #[inline(always)]
    #[must_use]
    pub fn impl_self_is_guaranteed_unsized(self,
        key: impl IntoQueryParam<DefId>) -> bool {
        self.at(DUMMY_SP).impl_self_is_guaranteed_unsized(key)
    }
    #[doc = " Maps a `DefId` of a type to a list of its inherent impls."]
    #[doc =
    " Contains implementations of methods that are inherent to a type."]
    #[doc = " Methods in these implementations don\'t need to be exported."]
    #[inline(always)]
    #[must_use]
    pub fn inherent_impls(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [DefId] {
        self.at(DUMMY_SP).inherent_impls(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting all inherent impls for `{:?}`"]
    #[inline(always)]
    #[must_use]
    pub fn incoherent_impls(self, key: SimplifiedType) -> &'tcx [DefId] {
        self.at(DUMMY_SP).incoherent_impls(key)
    }
    #[doc = " Unsafety-check this `LocalDefId`."]
    #[inline(always)]
    #[must_use]
    pub fn check_transmutes(self, key: impl IntoQueryParam<LocalDefId>)
        -> () {
        self.at(DUMMY_SP).check_transmutes(key)
    }
    #[doc = " Unsafety-check this `LocalDefId`."]
    #[inline(always)]
    #[must_use]
    pub fn check_unsafety(self, key: impl IntoQueryParam<LocalDefId>) -> () {
        self.at(DUMMY_SP).check_unsafety(key)
    }
    #[doc = " Checks well-formedness of tail calls (`become f()`)."]
    #[inline(always)]
    #[must_use]
    pub fn check_tail_calls(self, key: impl IntoQueryParam<LocalDefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        self.at(DUMMY_SP).check_tail_calls(key)
    }
    #[doc =
    " Returns the types assumed to be well formed while \"inside\" of the given item."]
    #[doc = ""]
    #[doc =
    " Note that we\'ve liberated the late bound regions of function signatures, so"]
    #[doc =
    " this can not be used to check whether these types are well formed."]
    #[inline(always)]
    #[must_use]
    pub fn assumed_wf_types(self, key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx [(Ty<'tcx>, Span)] {
        self.at(DUMMY_SP).assumed_wf_types(key)
    }
    #[doc =
    " We need to store the assumed_wf_types for an RPITIT so that impls of foreign"]
    #[doc =
    " traits with return-position impl trait in traits can inherit the right wf types."]
    #[inline(always)]
    #[must_use]
    pub fn assumed_wf_types_for_rpitit(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [(Ty<'tcx>, Span)] {
        self.at(DUMMY_SP).assumed_wf_types_for_rpitit(key)
    }
    #[doc = " Computes the signature of the function."]
    #[inline(always)]
    #[must_use]
    pub fn fn_sig(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, ty::PolyFnSig<'tcx>> {
        self.at(DUMMY_SP).fn_sig(key)
    }
    #[doc = " Performs lint checking for the module."]
    #[inline(always)]
    #[must_use]
    pub fn lint_mod(self, key: LocalModDefId) -> () {
        self.at(DUMMY_SP).lint_mod(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking unused trait imports in crate"]
    #[inline(always)]
    #[must_use]
    pub fn check_unused_traits(self, key: ()) -> () {
        self.at(DUMMY_SP).check_unused_traits(key)
    }
    #[doc = " Checks the attributes in the module."]
    #[inline(always)]
    #[must_use]
    pub fn check_mod_attrs(self, key: LocalModDefId) -> () {
        self.at(DUMMY_SP).check_mod_attrs(key)
    }
    #[doc = " Checks for uses of unstable APIs in the module."]
    #[inline(always)]
    #[must_use]
    pub fn check_mod_unstable_api_usage(self, key: LocalModDefId) -> () {
        self.at(DUMMY_SP).check_mod_unstable_api_usage(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking privacy in  `describe_as_module(key.to_local_def_id(), tcx)` "]
    #[inline(always)]
    #[must_use]
    pub fn check_mod_privacy(self, key: LocalModDefId) -> () {
        self.at(DUMMY_SP).check_mod_privacy(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking liveness of variables in  `tcx.def_path_str(key.to_def_id())` "]
    #[inline(always)]
    #[must_use]
    pub fn check_liveness(self, key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx> {
        self.at(DUMMY_SP).check_liveness(key)
    }
    #[doc = " Return the live symbols in the crate for dead code check."]
    #[doc = ""]
    #[doc =
    " The second return value maps from ADTs to ignored derived traits (e.g. Debug and Clone)."]
    #[inline(always)]
    #[must_use]
    pub fn live_symbols_and_ignored_derived_traits(self, key: ())
        ->
            &'tcx Result<(LocalDefIdSet, LocalDefIdMap<FxIndexSet<DefId>>),
            ErrorGuaranteed> {
        self.at(DUMMY_SP).live_symbols_and_ignored_derived_traits(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking deathness of variables in  `describe_as_module(key, tcx)` "]
    #[inline(always)]
    #[must_use]
    pub fn check_mod_deathness(self, key: LocalModDefId) -> () {
        self.at(DUMMY_SP).check_mod_deathness(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking that types are well-formed"]
    #[inline(always)]
    #[must_use]
    pub fn check_type_wf(self, key: ()) -> Result<(), ErrorGuaranteed> {
        self.at(DUMMY_SP).check_type_wf(key)
    }
    #[doc = " Caches `CoerceUnsized` kinds for impls on custom types."]
    #[inline(always)]
    #[must_use]
    pub fn coerce_unsized_info(self, key: impl IntoQueryParam<DefId>)
        -> Result<ty::adjustment::CoerceUnsizedInfo, ErrorGuaranteed> {
        self.at(DUMMY_SP).coerce_unsized_info(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] type-checking  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn typeck(self, key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx ty::TypeckResults<'tcx> {
        self.at(DUMMY_SP).typeck(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding used_trait_imports  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn used_trait_imports(self, key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx UnordSet<LocalDefId> {
        self.at(DUMMY_SP).used_trait_imports(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] coherence checking all impls of trait  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn coherent_trait(self, key: impl IntoQueryParam<DefId>)
        -> Result<(), ErrorGuaranteed> {
        self.at(DUMMY_SP).coherent_trait(key)
    }
    #[doc =
    " Borrow-checks the given typeck root, e.g. functions, const/static items,"]
    #[doc = " and its children, e.g. closures, inline consts."]
    #[inline(always)]
    #[must_use]
    pub fn mir_borrowck(self, key: impl IntoQueryParam<LocalDefId>)
        ->
            Result<&'tcx FxIndexMap<LocalDefId,
            ty::DefinitionSiteHiddenType<'tcx>>, ErrorGuaranteed> {
        self.at(DUMMY_SP).mir_borrowck(key)
    }
    #[doc = " Gets a complete map from all types to their inherent impls."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    #[must_use]
    pub fn crate_inherent_impls(self, key: ())
        -> (&'tcx CrateInherentImpls, Result<(), ErrorGuaranteed>) {
        self.at(DUMMY_SP).crate_inherent_impls(key)
    }
    #[doc =
    " Checks all types in the crate for overlap in their inherent impls. Reports errors."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    #[must_use]
    pub fn crate_inherent_impls_validity_check(self, key: ())
        -> Result<(), ErrorGuaranteed> {
        self.at(DUMMY_SP).crate_inherent_impls_validity_check(key)
    }
    #[doc =
    " Checks all types in the crate for overlap in their inherent impls. Reports errors."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    #[must_use]
    pub fn crate_inherent_impls_overlap_check(self, key: ())
        -> Result<(), ErrorGuaranteed> {
        self.at(DUMMY_SP).crate_inherent_impls_overlap_check(key)
    }
    #[doc =
    " Checks whether all impls in the crate pass the overlap check, returning"]
    #[doc =
    " which impls fail it. If all impls are correct, the returned slice is empty."]
    #[inline(always)]
    #[must_use]
    pub fn orphan_check_impl(self, key: impl IntoQueryParam<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        self.at(DUMMY_SP).orphan_check_impl(key)
    }
    #[doc =
    " Return the set of (transitive) callees that may result in a recursive call to `key`,"]
    #[doc = " if we were able to walk all callees."]
    #[inline(always)]
    #[must_use]
    pub fn mir_callgraph_cyclic(self, key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx Option<UnordSet<LocalDefId>> {
        self.at(DUMMY_SP).mir_callgraph_cyclic(key)
    }
    #[doc = " Obtain all the calls into other local functions"]
    #[inline(always)]
    #[must_use]
    pub fn mir_inliner_callees(self, key: ty::InstanceKind<'tcx>)
        -> &'tcx [(DefId, GenericArgsRef<'tcx>)] {
        self.at(DUMMY_SP).mir_inliner_callees(key)
    }
    #[doc = " Computes the tag (if any) for a given type and variant."]
    #[doc = ""]
    #[doc =
    " `None` means that the variant doesn\'t need a tag (because it is niched)."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic for uninhabited variants and if the passed type is not an enum."]
    #[inline(always)]
    #[must_use]
    pub fn tag_for_variant(self,
        key: PseudoCanonicalInput<'tcx, (Ty<'tcx>, abi::VariantIdx)>)
        -> Option<ty::ScalarInt> {
        self.at(DUMMY_SP).tag_for_variant(key)
    }
    #[doc = " Evaluates a constant and returns the computed allocation."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::eval_to_const_value_raw`] or"]
    #[doc = " [`Self::eval_to_valtree`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    #[must_use]
    pub fn eval_to_allocation_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>)
        -> EvalToAllocationRawResult<'tcx> {
        self.at(DUMMY_SP).eval_to_allocation_raw(key)
    }
    #[doc =
    " Evaluate a static\'s initializer, returning the allocation of the initializer\'s memory."]
    #[inline(always)]
    #[must_use]
    pub fn eval_static_initializer(self, key: impl IntoQueryParam<DefId>)
        -> EvalStaticInitializerRawResult<'tcx> {
        self.at(DUMMY_SP).eval_static_initializer(key)
    }
    #[doc =
    " Evaluates const items or anonymous constants[^1] into a representation"]
    #[doc = " suitable for the type system and const generics."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this** directly, use one of the following wrappers:"]
    #[doc = " [`TyCtxt::const_eval_poly`], [`TyCtxt::const_eval_resolve`],"]
    #[doc =
    " [`TyCtxt::const_eval_instance`], or [`TyCtxt::const_eval_global_id`]."]
    #[doc = ""]
    #[doc = " </div>"]
    #[doc = ""]
    #[doc =
    " [^1]: Such as enum variant explicit discriminants or array lengths."]
    #[inline(always)]
    #[must_use]
    pub fn eval_to_const_value_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>)
        -> EvalToConstValueResult<'tcx> {
        self.at(DUMMY_SP).eval_to_const_value_raw(key)
    }
    #[doc = " Evaluate a constant and convert it to a type level constant or"]
    #[doc = " return `None` if that is not possible."]
    #[inline(always)]
    #[must_use]
    pub fn eval_to_valtree(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>)
        -> EvalToValTreeResult<'tcx> {
        self.at(DUMMY_SP).eval_to_valtree(key)
    }
    #[doc =
    " Converts a type-level constant value into a MIR constant value."]
    #[inline(always)]
    #[must_use]
    pub fn valtree_to_const_val(self, key: ty::Value<'tcx>)
        -> mir::ConstValue {
        self.at(DUMMY_SP).valtree_to_const_val(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] converting literal to const"]
    #[inline(always)]
    #[must_use]
    pub fn lit_to_const(self, key: LitToConstInput<'tcx>) -> ty::Const<'tcx> {
        self.at(DUMMY_SP).lit_to_const(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] match-checking  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn check_match(self, key: impl IntoQueryParam<LocalDefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        self.at(DUMMY_SP).check_match(key)
    }
    #[doc =
    " Performs part of the privacy check and computes effective visibilities."]
    #[inline(always)]
    #[must_use]
    pub fn effective_visibilities(self, key: ())
        -> &'tcx EffectiveVisibilities {
        self.at(DUMMY_SP).effective_visibilities(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking for private elements in public interfaces for  `describe_as_module(module_def_id, tcx)` "]
    #[inline(always)]
    #[must_use]
    pub fn check_private_in_public(self, key: LocalModDefId) -> () {
        self.at(DUMMY_SP).check_private_in_public(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] reachability"]
    #[inline(always)]
    #[must_use]
    pub fn reachable_set(self, key: ()) -> &'tcx LocalDefIdSet {
        self.at(DUMMY_SP).reachable_set(key)
    }
    #[doc =
    " Per-body `region::ScopeTree`. The `DefId` should be the owner `DefId` for the body;"]
    #[doc =
    " in the case of closures, this will be redirected to the enclosing function."]
    #[inline(always)]
    #[must_use]
    pub fn region_scope_tree(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx crate::middle::region::ScopeTree {
        self.at(DUMMY_SP).region_scope_tree(key)
    }
    #[doc = " Generates a MIR body for the shim."]
    #[inline(always)]
    #[must_use]
    pub fn mir_shims(self, key: ty::InstanceKind<'tcx>)
        -> &'tcx mir::Body<'tcx> {
        self.at(DUMMY_SP).mir_shims(key)
    }
    #[doc = " The `symbol_name` query provides the symbol name for calling a"]
    #[doc =
    " given instance from the local crate. In particular, it will also"]
    #[doc =
    " look up the correct symbol name of instances from upstream crates."]
    #[inline(always)]
    #[must_use]
    pub fn symbol_name(self, key: ty::Instance<'tcx>)
        -> ty::SymbolName<'tcx> {
        self.at(DUMMY_SP).symbol_name(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up definition kind of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn def_kind(self, key: impl IntoQueryParam<DefId>) -> DefKind {
        self.at(DUMMY_SP).def_kind(key)
    }
    #[doc = " Gets the span for the definition."]
    #[inline(always)]
    #[must_use]
    pub fn def_span(self, key: impl IntoQueryParam<DefId>) -> Span {
        self.at(DUMMY_SP).def_span(key)
    }
    #[doc = " Gets the span for the identifier of the definition."]
    #[inline(always)]
    #[must_use]
    pub fn def_ident_span(self, key: impl IntoQueryParam<DefId>)
        -> Option<Span> {
        self.at(DUMMY_SP).def_ident_span(key)
    }
    #[doc = " Gets the span for the type of the definition."]
    #[doc = " Panics if it is not a definition that has a single type."]
    #[inline(always)]
    #[must_use]
    pub fn ty_span(self, key: impl IntoQueryParam<LocalDefId>) -> Span {
        self.at(DUMMY_SP).ty_span(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up stability of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn lookup_stability(self, key: impl IntoQueryParam<DefId>)
        -> Option<hir::Stability> {
        self.at(DUMMY_SP).lookup_stability(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up const stability of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn lookup_const_stability(self, key: impl IntoQueryParam<DefId>)
        -> Option<hir::ConstStability> {
        self.at(DUMMY_SP).lookup_const_stability(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up default body stability of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn lookup_default_body_stability(self,
        key: impl IntoQueryParam<DefId>)
        -> Option<hir::DefaultBodyStability> {
        self.at(DUMMY_SP).lookup_default_body_stability(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing should_inherit_track_caller of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn should_inherit_track_caller(self, key: impl IntoQueryParam<DefId>)
        -> bool {
        self.at(DUMMY_SP).should_inherit_track_caller(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing inherited_align of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn inherited_align(self, key: impl IntoQueryParam<DefId>)
        -> Option<Align> {
        self.at(DUMMY_SP).inherited_align(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is deprecated"]
    #[inline(always)]
    #[must_use]
    pub fn lookup_deprecation_entry(self, key: impl IntoQueryParam<DefId>)
        -> Option<DeprecationEntry> {
        self.at(DUMMY_SP).lookup_deprecation_entry(key)
    }
    #[doc = " Determines whether an item is annotated with `#[doc(hidden)]`."]
    #[inline(always)]
    #[must_use]
    pub fn is_doc_hidden(self, key: impl IntoQueryParam<DefId>) -> bool {
        self.at(DUMMY_SP).is_doc_hidden(key)
    }
    #[doc =
    " Determines whether an item is annotated with `#[doc(notable_trait)]`."]
    #[inline(always)]
    #[must_use]
    pub fn is_doc_notable_trait(self, key: impl IntoQueryParam<DefId>)
        -> bool {
        self.at(DUMMY_SP).is_doc_notable_trait(key)
    }
    #[doc = " Returns the attributes on the item at `def_id`."]
    #[doc = ""]
    #[doc = " Do not use this directly, use `tcx.get_attrs` instead."]
    #[inline(always)]
    #[must_use]
    pub fn attrs_for_def(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [hir::Attribute] {
        self.at(DUMMY_SP).attrs_for_def(key)
    }
    #[doc = " Returns the `CodegenFnAttrs` for the item at `def_id`."]
    #[doc = ""]
    #[doc =
    " If possible, use `tcx.codegen_instance_attrs` instead. That function takes the"]
    #[doc = " instance kind into account."]
    #[doc = ""]
    #[doc =
    " For example, the `#[naked]` attribute should be applied for `InstanceKind::Item`,"]
    #[doc =
    " but should not be applied if the instance kind is `InstanceKind::ReifyShim`."]
    #[doc =
    " Using this query would include the attribute regardless of the actual instance"]
    #[doc = " kind at the call site."]
    #[inline(always)]
    #[must_use]
    pub fn codegen_fn_attrs(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx CodegenFnAttrs {
        self.at(DUMMY_SP).codegen_fn_attrs(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing target features for inline asm of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn asm_target_features(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx FxIndexSet<Symbol> {
        self.at(DUMMY_SP).asm_target_features(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up function parameter identifiers for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn fn_arg_idents(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [Option<rustc_span::Ident>] {
        self.at(DUMMY_SP).fn_arg_idents(key)
    }
    #[doc =
    " Gets the rendered value of the specified constant or associated constant."]
    #[doc = " Used by rustdoc."]
    #[inline(always)]
    #[must_use]
    pub fn rendered_const(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx String {
        self.at(DUMMY_SP).rendered_const(key)
    }
    #[doc =
    " Gets the rendered precise capturing args for an opaque for use in rustdoc."]
    #[inline(always)]
    #[must_use]
    pub fn rendered_precise_capturing_args(self,
        key: impl IntoQueryParam<DefId>)
        -> Option<&'tcx [PreciseCapturingArgKind<Symbol, Symbol>]> {
        self.at(DUMMY_SP).rendered_precise_capturing_args(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing specialization parent impl of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn impl_parent(self, key: impl IntoQueryParam<DefId>)
        -> Option<DefId> {
        self.at(DUMMY_SP).impl_parent(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if item has CTFE MIR available:  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn is_ctfe_mir_available(self, key: impl IntoQueryParam<DefId>)
        -> bool {
        self.at(DUMMY_SP).is_ctfe_mir_available(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if item has MIR available:  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn is_mir_available(self, key: impl IntoQueryParam<DefId>) -> bool {
        self.at(DUMMY_SP).is_mir_available(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding all existential vtable entries for trait  `tcx.def_path_str(key)` "]
    #[inline(always)]
    #[must_use]
    pub fn own_existential_vtable_entries(self,
        key: impl IntoQueryParam<DefId>) -> &'tcx [DefId] {
        self.at(DUMMY_SP).own_existential_vtable_entries(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding all vtable entries for trait  `tcx.def_path_str(key.def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn vtable_entries(self, key: ty::TraitRef<'tcx>)
        -> &'tcx [ty::VtblEntry<'tcx>] {
        self.at(DUMMY_SP).vtable_entries(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding the slot within the vtable of  `key.self_ty()`  for the implementation of  `key.print_only_trait_name()` "]
    #[inline(always)]
    #[must_use]
    pub fn first_method_vtable_slot(self, key: ty::TraitRef<'tcx>) -> usize {
        self.at(DUMMY_SP).first_method_vtable_slot(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding the slot within vtable for trait object  `key.1`  vtable ptr during trait upcasting coercion from  `key.0`  vtable"]
    #[inline(always)]
    #[must_use]
    pub fn supertrait_vtable_slot(self, key: (Ty<'tcx>, Ty<'tcx>))
        -> Option<usize> {
        self.at(DUMMY_SP).supertrait_vtable_slot(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] vtable const allocation for < `key.0`  as  `key.1.map(| trait_ref | format!\n(\"{trait_ref}\")).unwrap_or_else(| | \"_\".to_owned())` >"]
    #[inline(always)]
    #[must_use]
    pub fn vtable_allocation(self,
        key: (Ty<'tcx>, Option<ty::ExistentialTraitRef<'tcx>>))
        -> mir::interpret::AllocId {
        self.at(DUMMY_SP).vtable_allocation(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing candidate for  `key.value` "]
    #[inline(always)]
    #[must_use]
    pub fn codegen_select_candidate(self,
        key: PseudoCanonicalInput<'tcx, ty::TraitRef<'tcx>>)
        -> Result<&'tcx ImplSource<'tcx, ()>, CodegenObligationError> {
        self.at(DUMMY_SP).codegen_select_candidate(key)
    }
    #[doc = " Return all `impl` blocks in the current crate."]
    #[inline(always)]
    #[must_use]
    pub fn all_local_trait_impls(self, key: ())
        ->
            &'tcx rustc_data_structures::fx::FxIndexMap<DefId,
            Vec<LocalDefId>> {
        self.at(DUMMY_SP).all_local_trait_impls(key)
    }
    #[doc =
    " Return all `impl` blocks of the given trait in the current crate."]
    #[inline(always)]
    #[must_use]
    pub fn local_trait_impls(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [LocalDefId] {
        self.at(DUMMY_SP).local_trait_impls(key)
    }
    #[doc = " Given a trait `trait_id`, return all known `impl` blocks."]
    #[inline(always)]
    #[must_use]
    pub fn trait_impls_of(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx ty::trait_def::TraitImpls {
        self.at(DUMMY_SP).trait_impls_of(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] building specialization graph of trait  `tcx.def_path_str(trait_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn specialization_graph_of(self, key: impl IntoQueryParam<DefId>)
        -> Result<&'tcx specialization_graph::Graph, ErrorGuaranteed> {
        self.at(DUMMY_SP).specialization_graph_of(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determining dyn-compatibility of trait  `tcx.def_path_str(trait_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn dyn_compatibility_violations(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [DynCompatibilityViolation] {
        self.at(DUMMY_SP).dyn_compatibility_violations(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if trait  `tcx.def_path_str(trait_id)`  is dyn-compatible"]
    #[inline(always)]
    #[must_use]
    pub fn is_dyn_compatible(self, key: impl IntoQueryParam<DefId>) -> bool {
        self.at(DUMMY_SP).is_dyn_compatible(key)
    }
    #[doc =
    " Gets the ParameterEnvironment for a given item; this environment"]
    #[doc =
    " will be in \"user-facing\" mode, meaning that it is suitable for"]
    #[doc = " type-checking etc, and it does not normalize specializable"]
    #[doc = " associated types."]
    #[doc = ""]
    #[doc =
    " You should almost certainly not use this. If you already have an InferCtxt, then"]
    #[doc =
    " you should also probably have a `ParamEnv` from when it was built. If you don\'t,"]
    #[doc =
    " then you should take a `TypingEnv` to ensure that you handle opaque types correctly."]
    #[inline(always)]
    #[must_use]
    pub fn param_env(self, key: impl IntoQueryParam<DefId>)
        -> ty::ParamEnv<'tcx> {
        self.at(DUMMY_SP).param_env(key)
    }
    #[doc =
    " Like `param_env`, but returns the `ParamEnv` after all opaque types have been"]
    #[doc =
    " replaced with their hidden type. This is used in the old trait solver"]
    #[doc = " when in `PostAnalysis` mode and should not be called directly."]
    #[inline(always)]
    #[must_use]
    pub fn typing_env_normalized_for_post_analysis(self,
        key: impl IntoQueryParam<DefId>) -> ty::TypingEnv<'tcx> {
        self.at(DUMMY_SP).typing_env_normalized_for_post_analysis(key)
    }
    #[doc =
    " Trait selection queries. These are best used by invoking `ty.is_copy_modulo_regions()`,"]
    #[doc =
    " `ty.is_copy()`, etc, since that will prune the environment where possible."]
    #[inline(always)]
    #[must_use]
    pub fn is_copy_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> bool {
        self.at(DUMMY_SP).is_copy_raw(key)
    }
    #[doc =
    " Trait selection queries. These are best used by invoking `ty.is_use_cloned_modulo_regions()`,"]
    #[doc =
    " `ty.is_use_cloned()`, etc, since that will prune the environment where possible."]
    #[inline(always)]
    #[must_use]
    pub fn is_use_cloned_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
        self.at(DUMMY_SP).is_use_cloned_raw(key)
    }
    #[doc = " Query backing `Ty::is_sized`."]
    #[inline(always)]
    #[must_use]
    pub fn is_sized_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> bool {
        self.at(DUMMY_SP).is_sized_raw(key)
    }
    #[doc = " Query backing `Ty::is_freeze`."]
    #[inline(always)]
    #[must_use]
    pub fn is_freeze_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> bool {
        self.at(DUMMY_SP).is_freeze_raw(key)
    }
    #[doc = " Query backing `Ty::is_unpin`."]
    #[inline(always)]
    #[must_use]
    pub fn is_unpin_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> bool {
        self.at(DUMMY_SP).is_unpin_raw(key)
    }
    #[doc = " Query backing `Ty::is_async_drop`."]
    #[inline(always)]
    #[must_use]
    pub fn is_async_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
        self.at(DUMMY_SP).is_async_drop_raw(key)
    }
    #[doc = " Query backing `Ty::needs_drop`."]
    #[inline(always)]
    #[must_use]
    pub fn needs_drop_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> bool {
        self.at(DUMMY_SP).needs_drop_raw(key)
    }
    #[doc = " Query backing `Ty::needs_async_drop`."]
    #[inline(always)]
    #[must_use]
    pub fn needs_async_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
        self.at(DUMMY_SP).needs_async_drop_raw(key)
    }
    #[doc = " Query backing `Ty::has_significant_drop_raw`."]
    #[inline(always)]
    #[must_use]
    pub fn has_significant_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
        self.at(DUMMY_SP).has_significant_drop_raw(key)
    }
    #[doc = " Query backing `Ty::is_structural_eq_shallow`."]
    #[doc = ""]
    #[doc =
    " This is only correct for ADTs. Call `is_structural_eq_shallow` to handle all types"]
    #[doc = " correctly."]
    #[inline(always)]
    #[must_use]
    pub fn has_structural_eq_impl(self, key: Ty<'tcx>) -> bool {
        self.at(DUMMY_SP).has_structural_eq_impl(key)
    }
    #[doc =
    " A list of types where the ADT requires drop if and only if any of"]
    #[doc =
    " those types require drop. If the ADT is known to always need drop"]
    #[doc = " then `Err(AlwaysRequiresDrop)` is returned."]
    #[inline(always)]
    #[must_use]
    pub fn adt_drop_tys(self, key: impl IntoQueryParam<DefId>)
        -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
        self.at(DUMMY_SP).adt_drop_tys(key)
    }
    #[doc =
    " A list of types where the ADT requires async drop if and only if any of"]
    #[doc =
    " those types require async drop. If the ADT is known to always need async drop"]
    #[doc = " then `Err(AlwaysRequiresDrop)` is returned."]
    #[inline(always)]
    #[must_use]
    pub fn adt_async_drop_tys(self, key: impl IntoQueryParam<DefId>)
        -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
        self.at(DUMMY_SP).adt_async_drop_tys(key)
    }
    #[doc =
    " A list of types where the ADT requires drop if and only if any of those types"]
    #[doc =
    " has significant drop. A type marked with the attribute `rustc_insignificant_dtor`"]
    #[doc =
    " is considered to not be significant. A drop is significant if it is implemented"]
    #[doc =
    " by the user or does anything that will have any observable behavior (other than"]
    #[doc =
    " freeing up memory). If the ADT is known to have a significant destructor then"]
    #[doc = " `Err(AlwaysRequiresDrop)` is returned."]
    #[inline(always)]
    #[must_use]
    pub fn adt_significant_drop_tys(self, key: impl IntoQueryParam<DefId>)
        -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
        self.at(DUMMY_SP).adt_significant_drop_tys(key)
    }
    #[doc =
    " Returns a list of types which (a) have a potentially significant destructor"]
    #[doc =
    " and (b) may be dropped as a result of dropping a value of some type `ty`"]
    #[doc = " (in the given environment)."]
    #[doc = ""]
    #[doc =
    " The idea of \"significant\" drop is somewhat informal and is used only for"]
    #[doc =
    " diagnostics and edition migrations. The idea is that a significant drop may have"]
    #[doc =
    " some visible side-effect on execution; freeing memory is NOT considered a side-effect."]
    #[doc = " The rules are as follows:"]
    #[doc =
    " * Type with no explicit drop impl do not have significant drop."]
    #[doc =
    " * Types with a drop impl are assumed to have significant drop unless they have a `#[rustc_insignificant_dtor]` annotation."]
    #[doc = ""]
    #[doc =
    " Note that insignificant drop is a \"shallow\" property. A type like `Vec<LockGuard>` does not"]
    #[doc =
    " have significant drop but the type `LockGuard` does, and so if `ty  = Vec<LockGuard>`"]
    #[doc = " then the return value would be `&[LockGuard]`."]
    #[doc =
    " *IMPORTANT*: *DO NOT* run this query before promoted MIR body is constructed,"]
    #[doc = " because this query partially depends on that query."]
    #[doc = " Otherwise, there is a risk of query cycles."]
    #[inline(always)]
    #[must_use]
    pub fn list_significant_drop_tys(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> &'tcx ty::List<Ty<'tcx>> {
        self.at(DUMMY_SP).list_significant_drop_tys(key)
    }
    #[doc = " Computes the layout of a type. Note that this implicitly"]
    #[doc =
    " executes in `TypingMode::PostAnalysis`, and will normalize the input type."]
    #[inline(always)]
    #[must_use]
    pub fn layout_of(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        ->
            Result<ty::layout::TyAndLayout<'tcx>,
            &'tcx ty::layout::LayoutError<'tcx>> {
        self.at(DUMMY_SP).layout_of(key)
    }
    #[doc =
    " Compute a `FnAbi` suitable for indirect calls, i.e. to `fn` pointers."]
    #[doc = ""]
    #[doc =
    " NB: this doesn\'t handle virtual calls - those should use `fn_abi_of_instance`"]
    #[doc = " instead, where the instance is an `InstanceKind::Virtual`."]
    #[inline(always)]
    #[must_use]
    pub fn fn_abi_of_fn_ptr(self,
        key:
            ty::PseudoCanonicalInput<'tcx,
            (ty::PolyFnSig<'tcx>, &'tcx ty::List<Ty<'tcx>>)>)
        ->
            Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>,
            &'tcx ty::layout::FnAbiError<'tcx>> {
        self.at(DUMMY_SP).fn_abi_of_fn_ptr(key)
    }
    #[doc =
    " Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for"]
    #[doc = " direct calls to an `fn`."]
    #[doc = ""]
    #[doc =
    " NB: that includes virtual calls, which are represented by \"direct calls\""]
    #[doc =
    " to an `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`)."]
    #[inline(always)]
    #[must_use]
    pub fn fn_abi_of_instance(self,
        key:
            ty::PseudoCanonicalInput<'tcx,
            (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)>)
        ->
            Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>,
            &'tcx ty::layout::FnAbiError<'tcx>> {
        self.at(DUMMY_SP).fn_abi_of_instance(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting dylib dependency formats of crate"]
    #[inline(always)]
    #[must_use]
    pub fn dylib_dependency_formats(self, key: CrateNum)
        -> &'tcx [(CrateNum, LinkagePreference)] {
        self.at(DUMMY_SP).dylib_dependency_formats(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the linkage format of all dependencies"]
    #[inline(always)]
    #[must_use]
    pub fn dependency_formats(self, key: ())
        -> &'tcx Arc<crate::middle::dependency_format::Dependencies> {
        self.at(DUMMY_SP).dependency_formats(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate is_compiler_builtins"]
    #[inline(always)]
    #[must_use]
    pub fn is_compiler_builtins(self, key: CrateNum) -> bool {
        self.at(DUMMY_SP).is_compiler_builtins(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_global_allocator"]
    #[inline(always)]
    #[must_use]
    pub fn has_global_allocator(self, key: CrateNum) -> bool {
        self.at(DUMMY_SP).has_global_allocator(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_alloc_error_handler"]
    #[inline(always)]
    #[must_use]
    pub fn has_alloc_error_handler(self, key: CrateNum) -> bool {
        self.at(DUMMY_SP).has_alloc_error_handler(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_panic_handler"]
    #[inline(always)]
    #[must_use]
    pub fn has_panic_handler(self, key: CrateNum) -> bool {
        self.at(DUMMY_SP).has_panic_handler(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if a crate is `#![profiler_runtime]`"]
    #[inline(always)]
    #[must_use]
    pub fn is_profiler_runtime(self, key: CrateNum) -> bool {
        self.at(DUMMY_SP).is_profiler_runtime(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(key)`  contains FFI-unwind calls"]
    #[inline(always)]
    #[must_use]
    pub fn has_ffi_unwind_calls(self, key: impl IntoQueryParam<LocalDefId>)
        -> bool {
        self.at(DUMMY_SP).has_ffi_unwind_calls(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's required panic strategy"]
    #[inline(always)]
    #[must_use]
    pub fn required_panic_strategy(self, key: CrateNum)
        -> Option<PanicStrategy> {
        self.at(DUMMY_SP).required_panic_strategy(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's configured panic-in-drop strategy"]
    #[inline(always)]
    #[must_use]
    pub fn panic_in_drop_strategy(self, key: CrateNum) -> PanicStrategy {
        self.at(DUMMY_SP).panic_in_drop_strategy(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting whether a crate has `#![no_builtins]`"]
    #[inline(always)]
    #[must_use]
    pub fn is_no_builtins(self, key: CrateNum) -> bool {
        self.at(DUMMY_SP).is_no_builtins(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's symbol mangling version"]
    #[inline(always)]
    #[must_use]
    pub fn symbol_mangling_version(self, key: CrateNum)
        -> SymbolManglingVersion {
        self.at(DUMMY_SP).symbol_mangling_version(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting crate's ExternCrateData"]
    #[inline(always)]
    #[must_use]
    pub fn extern_crate(self, key: CrateNum) -> Option<&'tcx ExternCrate> {
        self.at(DUMMY_SP).extern_crate(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether the crate enabled `specialization`/`min_specialization`"]
    #[inline(always)]
    #[must_use]
    pub fn specialization_enabled_in(self, key: CrateNum) -> bool {
        self.at(DUMMY_SP).specialization_enabled_in(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing whether impls specialize one another"]
    #[inline(always)]
    #[must_use]
    pub fn specializes(self, key: (DefId, DefId)) -> bool {
        self.at(DUMMY_SP).specializes(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting traits in scope at a block"]
    #[inline(always)]
    #[must_use]
    pub fn in_scope_traits_map(self, key: hir::OwnerId)
        -> Option<&'tcx ItemLocalMap<Box<[TraitCandidate]>>> {
        self.at(DUMMY_SP).in_scope_traits_map(key)
    }
    #[doc =
    " Returns whether the impl or associated function has the `default` keyword."]
    #[doc =
    " Note: This will ICE on inherent impl items. Consider using `AssocItem::defaultness`."]
    #[inline(always)]
    #[must_use]
    pub fn defaultness(self, key: impl IntoQueryParam<DefId>)
        -> hir::Defaultness {
        self.at(DUMMY_SP).defaultness(key)
    }
    #[doc =
    " Returns whether the field corresponding to the `DefId` has a default field value."]
    #[inline(always)]
    #[must_use]
    pub fn default_field(self, key: impl IntoQueryParam<DefId>)
        -> Option<DefId> {
        self.at(DUMMY_SP).default_field(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking that  `tcx.def_path_str(key)`  is well-formed"]
    #[inline(always)]
    #[must_use]
    pub fn check_well_formed(self, key: impl IntoQueryParam<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        self.at(DUMMY_SP).check_well_formed(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking that  `tcx.def_path_str(key)` 's generics are constrained by the impl header"]
    #[inline(always)]
    #[must_use]
    pub fn enforce_impl_non_lifetime_params_are_constrained(self,
        key: impl IntoQueryParam<LocalDefId>) -> Result<(), ErrorGuaranteed> {
        self.at(DUMMY_SP).enforce_impl_non_lifetime_params_are_constrained(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the exported symbols of a crate"]
    #[inline(always)]
    #[must_use]
    pub fn reachable_non_generics(self, key: CrateNum)
        -> &'tcx DefIdMap<SymbolExportInfo> {
        self.at(DUMMY_SP).reachable_non_generics(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is an exported symbol"]
    #[inline(always)]
    #[must_use]
    pub fn is_reachable_non_generic(self, key: impl IntoQueryParam<DefId>)
        -> bool {
        self.at(DUMMY_SP).is_reachable_non_generic(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is reachable from outside the crate"]
    #[inline(always)]
    #[must_use]
    pub fn is_unreachable_local_definition(self,
        key: impl IntoQueryParam<LocalDefId>) -> bool {
        self.at(DUMMY_SP).is_unreachable_local_definition(key)
    }
    #[doc = " The entire set of monomorphizations the local crate can safely"]
    #[doc = " link to because they are exported from upstream crates. Do"]
    #[doc = " not depend on this directly, as its value changes anytime"]
    #[doc = " a monomorphization gets added or removed in any upstream"]
    #[doc =
    " crate. Instead use the narrower `upstream_monomorphizations_for`,"]
    #[doc = " `upstream_drop_glue_for`, `upstream_async_drop_glue_for`, or,"]
    #[doc = " even better, `Instance::upstream_monomorphization()`."]
    #[inline(always)]
    #[must_use]
    pub fn upstream_monomorphizations(self, key: ())
        -> &'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>, CrateNum>> {
        self.at(DUMMY_SP).upstream_monomorphizations(key)
    }
    #[doc =
    " Returns the set of upstream monomorphizations available for the"]
    #[doc =
    " generic function identified by the given `def_id`. The query makes"]
    #[doc =
    " sure to make a stable selection if the same monomorphization is"]
    #[doc = " available in multiple upstream crates."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    #[inline(always)]
    #[must_use]
    pub fn upstream_monomorphizations_for(self,
        key: impl IntoQueryParam<DefId>)
        -> Option<&'tcx UnordMap<GenericArgsRef<'tcx>, CrateNum>> {
        self.at(DUMMY_SP).upstream_monomorphizations_for(key)
    }
    #[doc =
    " Returns the upstream crate that exports drop-glue for the given"]
    #[doc =
    " type (`args` is expected to be a single-item list containing the"]
    #[doc = " type one wants drop-glue for)."]
    #[doc = ""]
    #[doc =
    " This is a subset of `upstream_monomorphizations_for` in order to"]
    #[doc =
    " increase dep-tracking granularity. Otherwise adding or removing any"]
    #[doc = " type with drop-glue in any upstream crate would invalidate all"]
    #[doc = " functions calling drop-glue of an upstream type."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    #[doc = ""]
    #[doc =
    " NOTE: This query could easily be extended to also support other"]
    #[doc =
    "       common functions that have are large set of monomorphizations"]
    #[doc = "       (like `Clone::clone` for example)."]
    #[inline(always)]
    #[must_use]
    pub fn upstream_drop_glue_for(self, key: GenericArgsRef<'tcx>)
        -> Option<CrateNum> {
        self.at(DUMMY_SP).upstream_drop_glue_for(key)
    }
    #[doc = " Returns the upstream crate that exports async-drop-glue for"]
    #[doc = " the given type (`args` is expected to be a single-item list"]
    #[doc = " containing the type one wants async-drop-glue for)."]
    #[doc = ""]
    #[doc = " This is a subset of `upstream_monomorphizations_for` in order"]
    #[doc = " to increase dep-tracking granularity. Otherwise adding or"]
    #[doc = " removing any type with async-drop-glue in any upstream crate"]
    #[doc = " would invalidate all functions calling async-drop-glue of an"]
    #[doc = " upstream type."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    #[doc = ""]
    #[doc =
    " NOTE: This query could easily be extended to also support other"]
    #[doc =
    "       common functions that have are large set of monomorphizations"]
    #[doc = "       (like `Clone::clone` for example)."]
    #[inline(always)]
    #[must_use]
    pub fn upstream_async_drop_glue_for(self, key: GenericArgsRef<'tcx>)
        -> Option<CrateNum> {
        self.at(DUMMY_SP).upstream_async_drop_glue_for(key)
    }
    #[doc = " Returns a list of all `extern` blocks of a crate."]
    #[inline(always)]
    #[must_use]
    pub fn foreign_modules(self, key: CrateNum)
        -> &'tcx FxIndexMap<DefId, ForeignModule> {
        self.at(DUMMY_SP).foreign_modules(key)
    }
    #[doc =
    " Lint against `extern fn` declarations having incompatible types."]
    #[inline(always)]
    #[must_use]
    pub fn clashing_extern_declarations(self, key: ()) -> () {
        self.at(DUMMY_SP).clashing_extern_declarations(key)
    }
    #[doc =
    " Identifies the entry-point (e.g., the `main` function) for a given"]
    #[doc =
    " crate, returning `None` if there is no entry point (such as for library crates)."]
    #[inline(always)]
    #[must_use]
    pub fn entry_fn(self, key: ()) -> Option<(DefId, EntryFnType)> {
        self.at(DUMMY_SP).entry_fn(key)
    }
    #[doc = " Finds the `rustc_proc_macro_decls` item of a crate."]
    #[inline(always)]
    #[must_use]
    pub fn proc_macro_decls_static(self, key: ()) -> Option<LocalDefId> {
        self.at(DUMMY_SP).proc_macro_decls_static(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the hash a crate"]
    #[inline(always)]
    #[must_use]
    pub fn crate_hash(self, key: CrateNum) -> Svh {
        self.at(DUMMY_SP).crate_hash(key)
    }
    #[doc =
    " Gets the hash for the host proc macro. Used to support -Z dual-proc-macro."]
    #[inline(always)]
    #[must_use]
    pub fn crate_host_hash(self, key: CrateNum) -> Option<Svh> {
        self.at(DUMMY_SP).crate_host_hash(key)
    }
    #[doc =
    " Gets the extra data to put in each output filename for a crate."]
    #[doc =
    " For example, compiling the `foo` crate with `extra-filename=-a` creates a `libfoo-b.rlib` file."]
    #[inline(always)]
    #[must_use]
    pub fn extra_filename(self, key: CrateNum) -> &'tcx String {
        self.at(DUMMY_SP).extra_filename(key)
    }
    #[doc = " Gets the paths where the crate came from in the file system."]
    #[inline(always)]
    #[must_use]
    pub fn crate_extern_paths(self, key: CrateNum) -> &'tcx Vec<PathBuf> {
        self.at(DUMMY_SP).crate_extern_paths(key)
    }
    #[doc =
    " Given a crate and a trait, look up all impls of that trait in the crate."]
    #[doc = " Return `(impl_id, self_ty)`."]
    #[inline(always)]
    #[must_use]
    pub fn implementations_of_trait(self, key: (CrateNum, DefId))
        -> &'tcx [(DefId, Option<SimplifiedType>)] {
        self.at(DUMMY_SP).implementations_of_trait(key)
    }
    #[doc = " Collects all incoherent impls for the given crate and type."]
    #[doc = ""]
    #[doc =
    " Do not call this directly, but instead use the `incoherent_impls` query."]
    #[doc =
    " This query is only used to get the data necessary for that query."]
    #[inline(always)]
    #[must_use]
    pub fn crate_incoherent_impls(self, key: (CrateNum, SimplifiedType))
        -> &'tcx [DefId] {
        self.at(DUMMY_SP).crate_incoherent_impls(key)
    }
    #[doc =
    " Get the corresponding native library from the `native_libraries` query"]
    #[inline(always)]
    #[must_use]
    pub fn native_library(self, key: impl IntoQueryParam<DefId>)
        -> Option<&'tcx NativeLib> {
        self.at(DUMMY_SP).native_library(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] inheriting delegation signature"]
    #[inline(always)]
    #[must_use]
    pub fn inherit_sig_for_delegation_item(self,
        key: impl IntoQueryParam<LocalDefId>) -> &'tcx [Ty<'tcx>] {
        self.at(DUMMY_SP).inherit_sig_for_delegation_item(key)
    }
    #[doc =
    " Does lifetime resolution on items. Importantly, we can\'t resolve"]
    #[doc =
    " lifetimes directly on things like trait methods, because of trait params."]
    #[doc = " See `rustc_resolve::late::lifetimes` for details."]
    #[inline(always)]
    #[must_use]
    pub fn resolve_bound_vars(self, key: hir::OwnerId)
        -> &'tcx ResolveBoundVars {
        self.at(DUMMY_SP).resolve_bound_vars(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up a named region inside  `tcx.def_path_str(owner_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn named_variable_map(self, key: hir::OwnerId)
        -> &'tcx SortedMap<ItemLocalId, ResolvedArg> {
        self.at(DUMMY_SP).named_variable_map(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] testing if a region is late bound inside  `tcx.def_path_str(owner_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn is_late_bound_map(self, key: hir::OwnerId)
        -> Option<&'tcx FxIndexSet<ItemLocalId>> {
        self.at(DUMMY_SP).is_late_bound_map(key)
    }
    #[doc =
    " Returns the *default lifetime* to be used if a trait object type were to be passed for"]
    #[doc = " the type parameter given by `DefId`."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_object_lifetime_default]` on an item to basically"]
    #[doc =
    " print the result of this query for use in UI tests or for debugging purposes."]
    #[doc = ""]
    #[doc = " # Examples"]
    #[doc = ""]
    #[doc =
    " - For `T` in `struct Foo<\'a, T: \'a>(&\'a T);`, this would be `Param(\'a)`"]
    #[doc =
    " - For `T` in `struct Bar<\'a, T>(&\'a T);`, this would be `Empty`"]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not a type parameter."]
    #[inline(always)]
    #[must_use]
    pub fn object_lifetime_default(self, key: impl IntoQueryParam<DefId>)
        -> ObjectLifetimeDefault {
        self.at(DUMMY_SP).object_lifetime_default(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up late bound vars inside  `tcx.def_path_str(owner_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn late_bound_vars_map(self, key: hir::OwnerId)
        -> &'tcx SortedMap<ItemLocalId, Vec<ty::BoundVariableKind>> {
        self.at(DUMMY_SP).late_bound_vars_map(key)
    }
    #[doc =
    " For an opaque type, return the list of (captured lifetime, inner generic param)."]
    #[doc = " ```ignore (illustrative)"]
    #[doc =
    " fn foo<\'a: \'a, \'b, T>(&\'b u8) -> impl Into<Self> + \'b { ... }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " We would return `[(\'a, \'_a), (\'b, \'_b)]`, with `\'a` early-bound and `\'b` late-bound."]
    #[doc = ""]
    #[doc = " After hir_ty_lowering, we get:"]
    #[doc = " ```ignore (pseudo-code)"]
    #[doc = " opaque foo::<\'a>::opaque<\'_a, \'_b>: Into<Foo<\'_a>> + \'_b;"]
    #[doc = "                          ^^^^^^^^ inner generic params"]
    #[doc =
    " fn foo<\'a>: for<\'b> fn(&\'b u8) -> foo::<\'a>::opaque::<\'a, \'b>"]
    #[doc =
    "                                                       ^^^^^^ captured lifetimes"]
    #[doc = " ```"]
    #[inline(always)]
    #[must_use]
    pub fn opaque_captured_lifetimes(self,
        key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx [(ResolvedArg, LocalDefId)] {
        self.at(DUMMY_SP).opaque_captured_lifetimes(key)
    }
    #[doc = " Computes the visibility of the provided `def_id`."]
    #[doc = ""]
    #[doc =
    " If the item from the `def_id` doesn\'t have a visibility, it will panic. For example"]
    #[doc =
    " a generic type parameter will panic if you call this method on it:"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " use std::fmt::Debug;"]
    #[doc = ""]
    #[doc = " pub trait Foo<T: Debug> {}"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc = " In here, if you call `visibility` on `T`, it\'ll panic."]
    #[inline(always)]
    #[must_use]
    pub fn visibility(self, key: impl IntoQueryParam<DefId>)
        -> ty::Visibility<DefId> {
        self.at(DUMMY_SP).visibility(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing the uninhabited predicate of `{:?}`"]
    #[inline(always)]
    #[must_use]
    pub fn inhabited_predicate_adt(self, key: impl IntoQueryParam<DefId>)
        -> ty::inhabitedness::InhabitedPredicate<'tcx> {
        self.at(DUMMY_SP).inhabited_predicate_adt(key)
    }
    #[doc =
    " Do not call this query directly: invoke `Ty::inhabited_predicate` instead."]
    #[inline(always)]
    #[must_use]
    pub fn inhabited_predicate_type(self, key: Ty<'tcx>)
        -> ty::inhabitedness::InhabitedPredicate<'tcx> {
        self.at(DUMMY_SP).inhabited_predicate_type(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching what a dependency looks like"]
    #[inline(always)]
    #[must_use]
    pub fn dep_kind(self, key: CrateNum) -> CrateDepKind {
        self.at(DUMMY_SP).dep_kind(key)
    }
    #[doc = " Gets the name of the crate."]
    #[inline(always)]
    #[must_use]
    pub fn crate_name(self, key: CrateNum) -> Symbol {
        self.at(DUMMY_SP).crate_name(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting child items of module  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn module_children(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [ModChild] {
        self.at(DUMMY_SP).module_children(key)
    }
    #[doc = " Gets the number of definitions in a foreign crate."]
    #[doc = ""]
    #[doc =
    " This allows external tools to iterate over all definitions in a foreign crate."]
    #[doc = ""]
    #[doc =
    " This should never be used for the local crate, instead use `iter_local_def_id`."]
    #[inline(always)]
    #[must_use]
    pub fn num_extern_def_ids(self, key: CrateNum) -> usize {
        self.at(DUMMY_SP).num_extern_def_ids(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] calculating the lib features defined in a crate"]
    #[inline(always)]
    #[must_use]
    pub fn lib_features(self, key: CrateNum) -> &'tcx LibFeatures {
        self.at(DUMMY_SP).lib_features(key)
    }
    #[doc =
    " Mapping from feature name to feature name based on the `implied_by` field of `#[unstable]`"]
    #[doc =
    " attributes. If a `#[unstable(feature = \"implier\", implied_by = \"impliee\")]` attribute"]
    #[doc = " exists, then this map will have a `impliee -> implier` entry."]
    #[doc = ""]
    #[doc =
    " This mapping is necessary unless both the `#[stable]` and `#[unstable]` attributes should"]
    #[doc =
    " specify their implications (both `implies` and `implied_by`). If only one of the two"]
    #[doc =
    " attributes do (as in the current implementation, `implied_by` in `#[unstable]`), then this"]
    #[doc =
    " mapping is necessary for diagnostics. When a \"unnecessary feature attribute\" error is"]
    #[doc =
    " reported, only the `#[stable]` attribute information is available, so the map is necessary"]
    #[doc =
    " to know that the feature implies another feature. If it were reversed, and the `#[stable]`"]
    #[doc =
    " attribute had an `implies` meta item, then a map would be necessary when avoiding a \"use of"]
    #[doc = " unstable feature\" error for a feature that was implied."]
    #[inline(always)]
    #[must_use]
    pub fn stability_implications(self, key: CrateNum)
        -> &'tcx UnordMap<Symbol, Symbol> {
        self.at(DUMMY_SP).stability_implications(key)
    }
    #[doc = " Whether the function is an intrinsic"]
    #[inline(always)]
    #[must_use]
    pub fn intrinsic_raw(self, key: impl IntoQueryParam<DefId>)
        -> Option<rustc_middle::ty::IntrinsicDef> {
        self.at(DUMMY_SP).intrinsic_raw(key)
    }
    #[doc =
    " Returns the lang items defined in another crate by loading it from metadata."]
    #[inline(always)]
    #[must_use]
    pub fn get_lang_items(self, key: ()) -> &'tcx LanguageItems {
        self.at(DUMMY_SP).get_lang_items(key)
    }
    #[doc = " Returns all diagnostic items defined in all crates."]
    #[inline(always)]
    #[must_use]
    pub fn all_diagnostic_items(self, key: ())
        -> &'tcx rustc_hir::diagnostic_items::DiagnosticItems {
        self.at(DUMMY_SP).all_diagnostic_items(key)
    }
    #[doc =
    " Returns the lang items defined in another crate by loading it from metadata."]
    #[inline(always)]
    #[must_use]
    pub fn defined_lang_items(self, key: CrateNum)
        -> &'tcx [(DefId, LangItem)] {
        self.at(DUMMY_SP).defined_lang_items(key)
    }
    #[doc = " Returns the diagnostic items defined in a crate."]
    #[inline(always)]
    #[must_use]
    pub fn diagnostic_items(self, key: CrateNum)
        -> &'tcx rustc_hir::diagnostic_items::DiagnosticItems {
        self.at(DUMMY_SP).diagnostic_items(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] calculating the missing lang items in a crate"]
    #[inline(always)]
    #[must_use]
    pub fn missing_lang_items(self, key: CrateNum) -> &'tcx [LangItem] {
        self.at(DUMMY_SP).missing_lang_items(key)
    }
    #[doc =
    " The visible parent map is a map from every item to a visible parent."]
    #[doc = " It prefers the shortest visible path to an item."]
    #[doc = " Used for diagnostics, for example path trimming."]
    #[doc = " The parents are modules, enums or traits."]
    #[inline(always)]
    #[must_use]
    pub fn visible_parent_map(self, key: ()) -> &'tcx DefIdMap<DefId> {
        self.at(DUMMY_SP).visible_parent_map(key)
    }
    #[doc =
    " Collects the \"trimmed\", shortest accessible paths to all items for diagnostics."]
    #[doc =
    " See the [provider docs](`rustc_middle::ty::print::trimmed_def_paths`) for more info."]
    #[inline(always)]
    #[must_use]
    pub fn trimmed_def_paths(self, key: ()) -> &'tcx DefIdMap<Symbol> {
        self.at(DUMMY_SP).trimmed_def_paths(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] seeing if we're missing an `extern crate` item for this crate"]
    #[inline(always)]
    #[must_use]
    pub fn missing_extern_crate_item(self, key: CrateNum) -> bool {
        self.at(DUMMY_SP).missing_extern_crate_item(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking at the source for a crate"]
    #[inline(always)]
    #[must_use]
    pub fn used_crate_source(self, key: CrateNum) -> &'tcx Arc<CrateSource> {
        self.at(DUMMY_SP).used_crate_source(key)
    }
    #[doc = " Returns the debugger visualizers defined for this crate."]
    #[doc =
    " NOTE: This query has to be marked `eval_always` because it reads data"]
    #[doc =
    "       directly from disk that is not tracked anywhere else. I.e. it"]
    #[doc = "       represents a genuine input to the query system."]
    #[inline(always)]
    #[must_use]
    pub fn debugger_visualizers(self, key: CrateNum)
        -> &'tcx Vec<DebuggerVisualizerFile> {
        self.at(DUMMY_SP).debugger_visualizers(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] generating a postorder list of CrateNums"]
    #[inline(always)]
    #[must_use]
    pub fn postorder_cnums(self, key: ()) -> &'tcx [CrateNum] {
        self.at(DUMMY_SP).postorder_cnums(key)
    }
    #[doc = " Returns whether or not the crate with CrateNum \'cnum\'"]
    #[doc = " is marked as a private dependency"]
    #[inline(always)]
    #[must_use]
    pub fn is_private_dep(self, key: CrateNum) -> bool {
        self.at(DUMMY_SP).is_private_dep(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the allocator kind for the current crate"]
    #[inline(always)]
    #[must_use]
    pub fn allocator_kind(self, key: ()) -> Option<AllocatorKind> {
        self.at(DUMMY_SP).allocator_kind(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] alloc error handler kind for the current crate"]
    #[inline(always)]
    #[must_use]
    pub fn alloc_error_handler_kind(self, key: ()) -> Option<AllocatorKind> {
        self.at(DUMMY_SP).alloc_error_handler_kind(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting upvars mentioned in  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn upvars_mentioned(self, key: impl IntoQueryParam<DefId>)
        -> Option<&'tcx FxIndexMap<hir::HirId, hir::Upvar>> {
        self.at(DUMMY_SP).upvars_mentioned(key)
    }
    #[doc =
    " All available crates in the graph, including those that should not be user-facing"]
    #[doc = " (such as private crates)."]
    #[inline(always)]
    #[must_use]
    pub fn crates(self, key: ()) -> &'tcx [CrateNum] {
        self.at(DUMMY_SP).crates(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching `CrateNum`s for all crates loaded non-speculatively"]
    #[inline(always)]
    #[must_use]
    pub fn used_crates(self, key: ()) -> &'tcx [CrateNum] {
        self.at(DUMMY_SP).used_crates(key)
    }
    #[doc = " All crates that share the same name as crate `c`."]
    #[doc = ""]
    #[doc =
    " This normally occurs when multiple versions of the same dependency are present in the"]
    #[doc = " dependency tree."]
    #[inline(always)]
    #[must_use]
    pub fn duplicate_crate_names(self, key: CrateNum) -> &'tcx [CrateNum] {
        self.at(DUMMY_SP).duplicate_crate_names(key)
    }
    #[doc =
    " A list of all traits in a crate, used by rustdoc and error reporting."]
    #[inline(always)]
    #[must_use]
    pub fn traits(self, key: CrateNum) -> &'tcx [DefId] {
        self.at(DUMMY_SP).traits(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching all trait impls in a crate"]
    #[inline(always)]
    #[must_use]
    pub fn trait_impls_in_crate(self, key: CrateNum) -> &'tcx [DefId] {
        self.at(DUMMY_SP).trait_impls_in_crate(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching the stable impl's order"]
    #[inline(always)]
    #[must_use]
    pub fn stable_order_of_exportable_impls(self, key: CrateNum)
        -> &'tcx FxIndexMap<DefId, usize> {
        self.at(DUMMY_SP).stable_order_of_exportable_impls(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching all exportable items in a crate"]
    #[inline(always)]
    #[must_use]
    pub fn exportable_items(self, key: CrateNum) -> &'tcx [DefId] {
        self.at(DUMMY_SP).exportable_items(key)
    }
    #[doc = " The list of non-generic symbols exported from the given crate."]
    #[doc = ""]
    #[doc = " This is separate from exported_generic_symbols to avoid having"]
    #[doc = " to deserialize all non-generic symbols too for upstream crates"]
    #[doc = " in the upstream_monomorphizations query."]
    #[doc = ""]
    #[doc =
    " - All names contained in `exported_non_generic_symbols(cnum)` are"]
    #[doc =
    "   guaranteed to correspond to a publicly visible symbol in `cnum`"]
    #[doc = "   machine code."]
    #[doc =
    " - The `exported_non_generic_symbols` and `exported_generic_symbols`"]
    #[doc = "   sets of different crates do not intersect."]
    #[inline(always)]
    #[must_use]
    pub fn exported_non_generic_symbols(self, key: CrateNum)
        -> &'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)] {
        self.at(DUMMY_SP).exported_non_generic_symbols(key)
    }
    #[doc = " The list of generic symbols exported from the given crate."]
    #[doc = ""]
    #[doc = " - All names contained in `exported_generic_symbols(cnum)` are"]
    #[doc =
    "   guaranteed to correspond to a publicly visible symbol in `cnum`"]
    #[doc = "   machine code."]
    #[doc =
    " - The `exported_non_generic_symbols` and `exported_generic_symbols`"]
    #[doc = "   sets of different crates do not intersect."]
    #[inline(always)]
    #[must_use]
    pub fn exported_generic_symbols(self, key: CrateNum)
        -> &'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)] {
        self.at(DUMMY_SP).exported_generic_symbols(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collect_and_partition_mono_items"]
    #[inline(always)]
    #[must_use]
    pub fn collect_and_partition_mono_items(self, key: ())
        -> MonoItemPartitions<'tcx> {
        self.at(DUMMY_SP).collect_and_partition_mono_items(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determining whether  `tcx.def_path_str(def_id)`  needs codegen"]
    #[inline(always)]
    #[must_use]
    pub fn is_codegened_item(self, key: impl IntoQueryParam<DefId>) -> bool {
        self.at(DUMMY_SP).is_codegened_item(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting codegen unit `{sym}`"]
    #[inline(always)]
    #[must_use]
    pub fn codegen_unit(self, key: Symbol) -> &'tcx CodegenUnit<'tcx> {
        self.at(DUMMY_SP).codegen_unit(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] optimization level used by backend"]
    #[inline(always)]
    #[must_use]
    pub fn backend_optimization_level(self, key: ()) -> OptLevel {
        self.at(DUMMY_SP).backend_optimization_level(key)
    }
    #[doc = " Return the filenames where output artefacts shall be stored."]
    #[doc = ""]
    #[doc =
    " This query returns an `&Arc` because codegen backends need the value even after the `TyCtxt`"]
    #[doc = " has been destroyed."]
    #[inline(always)]
    #[must_use]
    pub fn output_filenames(self, key: ()) -> &'tcx Arc<OutputFilenames> {
        self.at(DUMMY_SP).output_filenames(key)
    }
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    #[must_use]
    pub fn normalize_canonicalized_projection(self,
        key: CanonicalAliasGoal<'tcx>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution> {
        self.at(DUMMY_SP).normalize_canonicalized_projection(key)
    }
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    #[must_use]
    pub fn normalize_canonicalized_free_alias(self,
        key: CanonicalAliasGoal<'tcx>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution> {
        self.at(DUMMY_SP).normalize_canonicalized_free_alias(key)
    }
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    #[must_use]
    pub fn normalize_canonicalized_inherent_projection(self,
        key: CanonicalAliasGoal<'tcx>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution> {
        self.at(DUMMY_SP).normalize_canonicalized_inherent_projection(key)
    }
    #[doc =
    " Do not call this query directly: invoke `try_normalize_erasing_regions` instead."]
    #[inline(always)]
    #[must_use]
    pub fn try_normalize_generic_arg_after_erasing_regions(self,
        key: PseudoCanonicalInput<'tcx, GenericArg<'tcx>>)
        -> Result<GenericArg<'tcx>, NoSolution> {
        self.at(DUMMY_SP).try_normalize_generic_arg_after_erasing_regions(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing implied outlives bounds for  `key.0.canonical.value.value.ty`  (hack disabled = {:?})"]
    #[inline(always)]
    #[must_use]
    pub fn implied_outlives_bounds(self,
        key: (CanonicalImpliedOutlivesBoundsGoal<'tcx>, bool))
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, Vec<OutlivesBound<'tcx>>>>,
            NoSolution> {
        self.at(DUMMY_SP).implied_outlives_bounds(key)
    }
    #[doc = " Do not call this query directly:"]
    #[doc =
    " invoke `DropckOutlives::new(dropped_ty)).fully_perform(typeck.infcx)` instead."]
    #[inline(always)]
    #[must_use]
    pub fn dropck_outlives(self, key: CanonicalDropckOutlivesGoal<'tcx>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, DropckOutlivesResult<'tcx>>>,
            NoSolution> {
        self.at(DUMMY_SP).dropck_outlives(key)
    }
    #[doc =
    " Do not call this query directly: invoke `infcx.predicate_may_hold()` or"]
    #[doc = " `infcx.predicate_must_hold()` instead."]
    #[inline(always)]
    #[must_use]
    pub fn evaluate_obligation(self, key: CanonicalPredicateGoal<'tcx>)
        -> Result<EvaluationResult, OverflowError> {
        self.at(DUMMY_SP).evaluate_obligation(key)
    }
    #[doc = " Do not call this query directly: part of the `Eq` type-op"]
    #[inline(always)]
    #[must_use]
    pub fn type_op_ascribe_user_type(self,
        key: CanonicalTypeOpAscribeUserTypeGoal<'tcx>)
        ->
            Result<&'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ()>>,
            NoSolution> {
        self.at(DUMMY_SP).type_op_ascribe_user_type(key)
    }
    #[doc =
    " Do not call this query directly: part of the `ProvePredicate` type-op"]
    #[inline(always)]
    #[must_use]
    pub fn type_op_prove_predicate(self,
        key: CanonicalTypeOpProvePredicateGoal<'tcx>)
        ->
            Result<&'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ()>>,
            NoSolution> {
        self.at(DUMMY_SP).type_op_prove_predicate(key)
    }
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    #[inline(always)]
    #[must_use]
    pub fn type_op_normalize_ty(self,
        key: CanonicalTypeOpNormalizeGoal<'tcx, Ty<'tcx>>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, Ty<'tcx>>>, NoSolution> {
        self.at(DUMMY_SP).type_op_normalize_ty(key)
    }
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    #[inline(always)]
    #[must_use]
    pub fn type_op_normalize_clause(self,
        key: CanonicalTypeOpNormalizeGoal<'tcx, ty::Clause<'tcx>>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::Clause<'tcx>>>, NoSolution> {
        self.at(DUMMY_SP).type_op_normalize_clause(key)
    }
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    #[inline(always)]
    #[must_use]
    pub fn type_op_normalize_poly_fn_sig(self,
        key: CanonicalTypeOpNormalizeGoal<'tcx, ty::PolyFnSig<'tcx>>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::PolyFnSig<'tcx>>>,
            NoSolution> {
        self.at(DUMMY_SP).type_op_normalize_poly_fn_sig(key)
    }
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    #[inline(always)]
    #[must_use]
    pub fn type_op_normalize_fn_sig(self,
        key: CanonicalTypeOpNormalizeGoal<'tcx, ty::FnSig<'tcx>>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::FnSig<'tcx>>>, NoSolution> {
        self.at(DUMMY_SP).type_op_normalize_fn_sig(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking impossible instantiated predicates:  `tcx.def_path_str(key.0)` "]
    #[inline(always)]
    #[must_use]
    pub fn instantiate_and_check_impossible_predicates(self,
        key: (DefId, GenericArgsRef<'tcx>)) -> bool {
        self.at(DUMMY_SP).instantiate_and_check_impossible_predicates(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(key.1)`  is impossible to reference within  `tcx.def_path_str(key.0)` "]
    #[inline(always)]
    #[must_use]
    pub fn is_impossible_associated_item(self, key: (DefId, DefId)) -> bool {
        self.at(DUMMY_SP).is_impossible_associated_item(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing autoderef types for  `goal.canonical.value.value.self_ty` "]
    #[inline(always)]
    #[must_use]
    pub fn method_autoderef_steps(self,
        key: CanonicalMethodAutoderefStepsGoal<'tcx>)
        -> MethodAutoderefStepsResult<'tcx> {
        self.at(DUMMY_SP).method_autoderef_steps(key)
    }
    #[doc = " Used by `-Znext-solver` to compute proof trees."]
    #[inline(always)]
    #[must_use]
    pub fn evaluate_root_goal_for_proof_tree_raw(self,
        key: solve::CanonicalInput<'tcx>)
        ->
            (solve::QueryResult<'tcx>,
            &'tcx solve::inspect::Probe<TyCtxt<'tcx>>) {
        self.at(DUMMY_SP).evaluate_root_goal_for_proof_tree_raw(key)
    }
    #[doc =
    " Returns the Rust target features for the current target. These are not always the same as LLVM target features!"]
    #[inline(always)]
    #[must_use]
    pub fn rust_target_features(self, key: CrateNum)
        -> &'tcx UnordMap<String, rustc_target::target_features::Stability> {
        self.at(DUMMY_SP).rust_target_features(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up implied target features"]
    #[inline(always)]
    #[must_use]
    pub fn implied_target_features(self, key: Symbol) -> &'tcx Vec<Symbol> {
        self.at(DUMMY_SP).implied_target_features(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up enabled feature gates"]
    #[inline(always)]
    #[must_use]
    pub fn features_query(self, key: ()) -> &'tcx rustc_feature::Features {
        self.at(DUMMY_SP).features_query(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] the ast before macro expansion and name resolution"]
    #[inline(always)]
    #[must_use]
    pub fn crate_for_resolver(self, key: ())
        -> &'tcx Steal<(rustc_ast::Crate, rustc_ast::AttrVec)> {
        self.at(DUMMY_SP).crate_for_resolver(key)
    }
    #[doc = " Attempt to resolve the given `DefId` to an `Instance`, for the"]
    #[doc = " given generics args (`GenericArgsRef`), returning one of:"]
    #[doc = "  * `Ok(Some(instance))` on success"]
    #[doc = "  * `Ok(None)` when the `GenericArgsRef` are still too generic,"]
    #[doc = "    and therefore don\'t allow finding the final `Instance`"]
    #[doc =
    "  * `Err(ErrorGuaranteed)` when the `Instance` resolution process"]
    #[doc =
    "    couldn\'t complete due to errors elsewhere - this is distinct"]
    #[doc =
    "    from `Ok(None)` to avoid misleading diagnostics when an error"]
    #[doc = "    has already been/will be emitted, for the original cause."]
    #[inline(always)]
    #[must_use]
    pub fn resolve_instance_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, (DefId, GenericArgsRef<'tcx>)>)
        -> Result<Option<ty::Instance<'tcx>>, ErrorGuaranteed> {
        self.at(DUMMY_SP).resolve_instance_raw(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] revealing opaque types in `{:?}`"]
    #[inline(always)]
    #[must_use]
    pub fn reveal_opaque_types_in_bounds(self, key: ty::Clauses<'tcx>)
        -> ty::Clauses<'tcx> {
        self.at(DUMMY_SP).reveal_opaque_types_in_bounds(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up limits"]
    #[inline(always)]
    #[must_use]
    pub fn limits(self, key: ()) -> Limits { self.at(DUMMY_SP).limits(key) }
    #[doc =
    " Performs an HIR-based well-formed check on the item with the given `HirId`. If"]
    #[doc =
    " we get an `Unimplemented` error that matches the provided `Predicate`, return"]
    #[doc = " the cause of the newly created obligation."]
    #[doc = ""]
    #[doc =
    " This is only used by error-reporting code to get a better cause (in particular, a better"]
    #[doc =
    " span) for an *existing* error. Therefore, it is best-effort, and may never handle"]
    #[doc =
    " all of the cases that the normal `ty::Ty`-based wfcheck does. This is fine,"]
    #[doc = " because the `ty::Ty`-based wfcheck is always run."]
    #[inline(always)]
    #[must_use]
    pub fn diagnostic_hir_wf_check(self,
        key: (ty::Predicate<'tcx>, WellFormedLoc))
        -> Option<&'tcx ObligationCause<'tcx>> {
        self.at(DUMMY_SP).diagnostic_hir_wf_check(key)
    }
    #[doc =
    " The list of backend features computed from CLI flags (`-Ctarget-cpu`, `-Ctarget-feature`,"]
    #[doc = " `--target` and similar)."]
    #[inline(always)]
    #[must_use]
    pub fn global_backend_features(self, key: ()) -> &'tcx Vec<String> {
        self.at(DUMMY_SP).global_backend_features(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking validity requirement for  `key.1.value` :  `key.0` "]
    #[inline(always)]
    #[must_use]
    pub fn check_validity_requirement(self,
        key: (ValidityRequirement, ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>))
        -> Result<bool, &'tcx ty::layout::LayoutError<'tcx>> {
        self.at(DUMMY_SP).check_validity_requirement(key)
    }
    #[doc =
    " This takes the def-id of an associated item from a impl of a trait,"]
    #[doc =
    " and checks its validity against the trait item it corresponds to."]
    #[doc = ""]
    #[doc = " Any other def id will ICE."]
    #[inline(always)]
    #[must_use]
    pub fn compare_impl_item(self, key: impl IntoQueryParam<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        self.at(DUMMY_SP).compare_impl_item(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] deducing parameter attributes for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn deduced_param_attrs(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [DeducedParamAttrs] {
        self.at(DUMMY_SP).deduced_param_attrs(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] resolutions for documentation links for a module"]
    #[inline(always)]
    #[must_use]
    pub fn doc_link_resolutions(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx DocLinkResMap {
        self.at(DUMMY_SP).doc_link_resolutions(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] traits in scope for documentation links for a module"]
    #[inline(always)]
    #[must_use]
    pub fn doc_link_traits_in_scope(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [DefId] {
        self.at(DUMMY_SP).doc_link_traits_in_scope(key)
    }
    #[doc =
    " Get all item paths that were stripped by a `#[cfg]` in a particular crate."]
    #[doc =
    " Should not be called for the local crate before the resolver outputs are created, as it"]
    #[doc = " is only fed there."]
    #[inline(always)]
    #[must_use]
    pub fn stripped_cfg_items(self, key: CrateNum)
        -> &'tcx [StrippedCfgItem] {
        self.at(DUMMY_SP).stripped_cfg_items(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] check whether the item has a `where Self: Sized` bound"]
    #[inline(always)]
    #[must_use]
    pub fn generics_require_sized_self(self, key: impl IntoQueryParam<DefId>)
        -> bool {
        self.at(DUMMY_SP).generics_require_sized_self(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] whether the item should be made inlinable across crates"]
    #[inline(always)]
    #[must_use]
    pub fn cross_crate_inlinable(self, key: impl IntoQueryParam<DefId>)
        -> bool {
        self.at(DUMMY_SP).cross_crate_inlinable(key)
    }
    #[doc = " Perform monomorphization-time checking on this item."]
    #[doc =
    " This is used for lints/errors that can only be checked once the instance is fully"]
    #[doc = " monomorphized."]
    #[inline(always)]
    #[must_use]
    pub fn check_mono_item(self, key: ty::Instance<'tcx>) -> () {
        self.at(DUMMY_SP).check_mono_item(key)
    }
    #[doc =
    " Builds the set of functions that should be skipped for the move-size check."]
    #[inline(always)]
    #[must_use]
    pub fn skip_move_check_fns(self, key: ()) -> &'tcx FxIndexSet<DefId> {
        self.at(DUMMY_SP).skip_move_check_fns(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting items used by  `key.0` "]
    #[inline(always)]
    #[must_use]
    pub fn items_of_instance(self, key: (ty::Instance<'tcx>, CollectionMode))
        ->
            Result<(&'tcx [Spanned<MonoItem<'tcx>>],
            &'tcx [Spanned<MonoItem<'tcx>>]), NormalizationErrorInMono> {
        self.at(DUMMY_SP).items_of_instance(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] estimating codegen size of  `key` "]
    #[inline(always)]
    #[must_use]
    pub fn size_estimate(self, key: ty::Instance<'tcx>) -> usize {
        self.at(DUMMY_SP).size_estimate(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up anon const kind of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn anon_const_kind(self, key: impl IntoQueryParam<DefId>)
        -> ty::AnonConstKind {
        self.at(DUMMY_SP).anon_const_kind(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(def_id)`  is a trivial const"]
    #[inline(always)]
    #[must_use]
    pub fn trivial_const(self, key: impl IntoQueryParam<DefId>)
        -> Option<(mir::ConstValue, Ty<'tcx>)> {
        self.at(DUMMY_SP).trivial_const(key)
    }
    #[doc = " Checks for the nearest `#[sanitize(xyz = \"off\")]` or"]
    #[doc =
    " `#[sanitize(xyz = \"on\")]` on this def and any enclosing defs, up to the"]
    #[doc = " crate root."]
    #[doc = ""]
    #[doc = " Returns the sanitizer settings for this def."]
    #[inline(always)]
    #[must_use]
    pub fn sanitizer_settings_for(self, key: impl IntoQueryParam<LocalDefId>)
        -> SanitizerFnAttrs {
        self.at(DUMMY_SP).sanitizer_settings_for(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] check externally implementable items"]
    #[inline(always)]
    #[must_use]
    pub fn check_externally_implementable_items(self, key: ()) -> () {
        self.at(DUMMY_SP).check_externally_implementable_items(key)
    }
    #[doc = " Returns a list of all `externally implementable items` crate."]
    #[inline(always)]
    #[must_use]
    pub fn externally_implementable_items(self, key: CrateNum)
        -> &'tcx FxIndexMap<DefId, (EiiDecl, FxIndexMap<DefId, EiiImpl>)> {
        self.at(DUMMY_SP).externally_implementable_items(key)
    }
}
impl<'tcx> TyCtxtAt<'tcx> {
    #[doc =
    " Caches the expansion of a derive proc macro, e.g. `#[derive(Serialize)]`."]
    #[doc = " The key is:"]
    #[doc = " - A unique key corresponding to the invocation of a macro."]
    #[doc = " - Token stream which serves as an input to the macro."]
    #[doc = ""]
    #[doc = " The output is the token stream generated by the proc macro."]
    #[inline(always)]
    pub fn derive_macro_expansion(self, key: (LocalExpnId, &'tcx TokenStream))
        -> Result<&'tcx TokenStream, ()> {
        restore::<Result<&'tcx TokenStream,
                ()>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.derive_macro_expansion,
                &self.tcx.query_system.caches.derive_macro_expansion,
                self.span, key.into_query_param()))
    }
    #[doc =
    " This exists purely for testing the interactions between delayed bugs and incremental."]
    #[inline(always)]
    pub fn trigger_delayed_bug(self, key: impl IntoQueryParam<DefId>) -> () {
        restore::<()>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.trigger_delayed_bug,
                &self.tcx.query_system.caches.trigger_delayed_bug, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Collects the list of all tools registered using `#![register_tool]`."]
    #[inline(always)]
    pub fn registered_tools(self, key: ()) -> &'tcx ty::RegisteredTools {
        restore::<&'tcx ty::RegisteredTools>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.registered_tools,
                &self.tcx.query_system.caches.registered_tools, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] perform lints prior to AST lowering"]
    #[inline(always)]
    pub fn early_lint_checks(self, key: ()) -> () {
        restore::<()>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.early_lint_checks,
                &self.tcx.query_system.caches.early_lint_checks, self.span,
                key.into_query_param()))
    }
    #[doc = " Tracked access to environment variables."]
    #[doc = ""]
    #[doc =
    " Useful for the implementation of `std::env!`, `proc-macro`s change"]
    #[doc =
    " detection and other changes in the compiler\'s behaviour that is easier"]
    #[doc = " to control with an environment variable than a flag."]
    #[doc = ""]
    #[doc = " NOTE: This currently does not work with dependency info in the"]
    #[doc =
    " analysis, codegen and linking passes, place extra code at the top of"]
    #[doc = " `rustc_interface::passes::write_dep_info` to make that work."]
    #[inline(always)]
    pub fn env_var_os(self, key: &'tcx OsStr) -> Option<&'tcx OsStr> {
        restore::<Option<&'tcx OsStr>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.env_var_os,
                &self.tcx.query_system.caches.env_var_os, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the resolver outputs"]
    #[inline(always)]
    pub fn resolutions(self, key: ()) -> &'tcx ty::ResolverGlobalCtxt {
        restore::<&'tcx ty::ResolverGlobalCtxt>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.resolutions,
                &self.tcx.query_system.caches.resolutions, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the resolver for lowering"]
    #[inline(always)]
    pub fn resolver_for_lowering_raw(self, key: ())
        ->
            (&'tcx Steal<(ty::ResolverAstLowering, Arc<ast::Crate>)>,
            &'tcx ty::ResolverGlobalCtxt) {
        restore::<(&'tcx Steal<(ty::ResolverAstLowering, Arc<ast::Crate>)>,
                &'tcx ty::ResolverGlobalCtxt)>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.resolver_for_lowering_raw,
                &self.tcx.query_system.caches.resolver_for_lowering_raw,
                self.span, key.into_query_param()))
    }
    #[doc = " Return the span for a definition."]
    #[doc = ""]
    #[doc =
    " Contrary to `def_span` below, this query returns the full absolute span of the definition."]
    #[doc =
    " This span is meant for dep-tracking rather than diagnostics. It should not be used outside"]
    #[doc = " of rustc_middle::hir::source_map."]
    #[inline(always)]
    pub fn source_span(self, key: impl IntoQueryParam<LocalDefId>) -> Span {
        restore::<Span>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.source_span,
                &self.tcx.query_system.caches.source_span, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Represents crate as a whole (as distinct from the top-level crate module)."]
    #[doc = ""]
    #[doc =
    " If you call `tcx.hir_crate(())` we will have to assume that any change"]
    #[doc =
    " means that you need to be recompiled. This is because the `hir_crate`"]
    #[doc =
    " query gives you access to all other items. To avoid this fate, do not"]
    #[doc = " call `tcx.hir_crate(())`; instead, prefer wrappers like"]
    #[doc = " [`TyCtxt::hir_visit_all_item_likes_in_crate`]."]
    #[inline(always)]
    pub fn hir_crate(self, key: ()) -> &'tcx Crate<'tcx> {
        restore::<&'tcx Crate<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.hir_crate,
                &self.tcx.query_system.caches.hir_crate, self.span,
                key.into_query_param()))
    }
    #[doc = " All items in the crate."]
    #[inline(always)]
    pub fn hir_crate_items(self, key: ())
        -> &'tcx rustc_middle::hir::ModuleItems {
        restore::<&'tcx rustc_middle::hir::ModuleItems>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.hir_crate_items,
                &self.tcx.query_system.caches.hir_crate_items, self.span,
                key.into_query_param()))
    }
    #[doc = " The items in a module."]
    #[doc = ""]
    #[doc =
    " This can be conveniently accessed by `tcx.hir_visit_item_likes_in_module`."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    pub fn hir_module_items(self, key: LocalModDefId)
        -> &'tcx rustc_middle::hir::ModuleItems {
        restore::<&'tcx rustc_middle::hir::ModuleItems>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.hir_module_items,
                &self.tcx.query_system.caches.hir_module_items, self.span,
                key.into_query_param()))
    }
    #[doc = " Returns HIR ID for the given `LocalDefId`."]
    #[inline(always)]
    pub fn local_def_id_to_hir_id(self, key: impl IntoQueryParam<LocalDefId>)
        -> hir::HirId {
        restore::<hir::HirId>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.local_def_id_to_hir_id,
                &self.tcx.query_system.caches.local_def_id_to_hir_id,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Gives access to the HIR node\'s parent for the HIR owner `key`."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    pub fn hir_owner_parent(self, key: hir::OwnerId) -> hir::HirId {
        restore::<hir::HirId>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.hir_owner_parent,
                &self.tcx.query_system.caches.hir_owner_parent, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Gives access to the HIR nodes and bodies inside `key` if it\'s a HIR owner."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    pub fn opt_hir_owner_nodes(self, key: impl IntoQueryParam<LocalDefId>)
        -> Option<&'tcx hir::OwnerNodes<'tcx>> {
        restore::<Option<&'tcx hir::OwnerNodes<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.opt_hir_owner_nodes,
                &self.tcx.query_system.caches.opt_hir_owner_nodes, self.span,
                key.into_query_param()))
    }
    #[doc = " Gives access to the HIR attributes inside the HIR owner `key`."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    pub fn hir_attr_map(self, key: hir::OwnerId)
        -> &'tcx hir::AttributeMap<'tcx> {
        restore::<&'tcx hir::AttributeMap<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.hir_attr_map,
                &self.tcx.query_system.caches.hir_attr_map, self.span,
                key.into_query_param()))
    }
    #[doc = " Gives access to lints emitted during ast lowering."]
    #[doc = ""]
    #[doc = " This can be conveniently accessed by `tcx.hir_*` methods."]
    #[doc = " Avoid calling this query directly."]
    #[inline(always)]
    pub fn opt_ast_lowering_delayed_lints(self, key: hir::OwnerId)
        -> Option<&'tcx hir::lints::DelayedLints> {
        restore::<Option<&'tcx hir::lints::DelayedLints>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.opt_ast_lowering_delayed_lints,
                &self.tcx.query_system.caches.opt_ast_lowering_delayed_lints,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Returns the *default* of the const pararameter given by `DefId`."]
    #[doc = ""]
    #[doc =
    " E.g., given `struct Ty<const N: usize = 3>;` this returns `3` for `N`."]
    #[inline(always)]
    pub fn const_param_default(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Const<'tcx>> {
        restore::<ty::EarlyBinder<'tcx,
                ty::Const<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.const_param_default,
                &self.tcx.query_system.caches.const_param_default, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Returns the const of the RHS of a (free or assoc) const item, if it is a `#[type_const]`."]
    #[doc = ""]
    #[doc =
    " When a const item is used in a type-level expression, like in equality for an assoc const"]
    #[doc =
    " projection, this allows us to retrieve the typesystem-appropriate representation of the"]
    #[doc = " const value."]
    #[doc = ""]
    #[doc =
    " This query will ICE if given a const that is not marked with `#[type_const]`."]
    #[inline(always)]
    pub fn const_of_item(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Const<'tcx>> {
        restore::<ty::EarlyBinder<'tcx,
                ty::Const<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.const_of_item,
                &self.tcx.query_system.caches.const_of_item, self.span,
                key.into_query_param()))
    }
    #[doc = " Returns the *type* of the definition given by `DefId`."]
    #[doc = ""]
    #[doc =
    " For type aliases (whether eager or lazy) and associated types, this returns"]
    #[doc =
    " the underlying aliased type (not the corresponding [alias type])."]
    #[doc = ""]
    #[doc =
    " For opaque types, this returns and thus reveals the hidden type! If you"]
    #[doc = " want to detect cycle errors use `type_of_opaque` instead."]
    #[doc = ""]
    #[doc =
    " To clarify, for type definitions, this does *not* return the \"type of a type\""]
    #[doc =
    " (aka *kind* or *sort*) in the type-theoretical sense! It merely returns"]
    #[doc = " the type primarily *associated with* it."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition doesn\'t (and can\'t"]
    #[doc = " conceptually) have an (underlying) type."]
    #[doc = ""]
    #[doc = " [alias type]: rustc_middle::ty::AliasTy"]
    #[inline(always)]
    pub fn type_of(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, Ty<'tcx>> {
        restore::<ty::EarlyBinder<'tcx,
                Ty<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.type_of,
                &self.tcx.query_system.caches.type_of, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Returns the *hidden type* of the opaque type given by `DefId` unless a cycle occurred."]
    #[doc = ""]
    #[doc =
    " This is a specialized instance of [`Self::type_of`] that detects query cycles."]
    #[doc =
    " Unless `CyclePlaceholder` needs to be handled separately, call [`Self::type_of`] instead."]
    #[doc =
    " This is used to improve the error message in cases where revealing the hidden type"]
    #[doc = " for auto-trait leakage cycles."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not an opaque type."]
    #[inline(always)]
    pub fn type_of_opaque(self, key: impl IntoQueryParam<DefId>)
        -> Result<ty::EarlyBinder<'tcx, Ty<'tcx>>, CyclePlaceholder> {
        restore::<Result<ty::EarlyBinder<'tcx, Ty<'tcx>>,
                CyclePlaceholder>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.type_of_opaque,
                &self.tcx.query_system.caches.type_of_opaque, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing type of opaque `{path}` via HIR typeck"]
    #[inline(always)]
    pub fn type_of_opaque_hir_typeck(self,
        key: impl IntoQueryParam<LocalDefId>)
        -> ty::EarlyBinder<'tcx, Ty<'tcx>> {
        restore::<ty::EarlyBinder<'tcx,
                Ty<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.type_of_opaque_hir_typeck,
                &self.tcx.query_system.caches.type_of_opaque_hir_typeck,
                self.span, key.into_query_param()))
    }
    #[doc = " Returns whether the type alias given by `DefId` is lazy."]
    #[doc = ""]
    #[doc =
    " I.e., if the type alias expands / ought to expand to a [free] [alias type]"]
    #[doc = " instead of the underlying aliased type."]
    #[doc = ""]
    #[doc =
    " Relevant for features `lazy_type_alias` and `type_alias_impl_trait`."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query *may* panic if the given definition is not a type alias."]
    #[doc = ""]
    #[doc = " [free]: rustc_middle::ty::Free"]
    #[doc = " [alias type]: rustc_middle::ty::AliasTy"]
    #[inline(always)]
    pub fn type_alias_is_lazy(self, key: impl IntoQueryParam<DefId>) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.type_alias_is_lazy,
                &self.tcx.query_system.caches.type_alias_is_lazy, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] comparing an impl and trait method signature, inferring any hidden `impl Trait` types in the process"]
    #[inline(always)]
    pub fn collect_return_position_impl_trait_in_trait_tys(self,
        key: impl IntoQueryParam<DefId>)
        ->
            Result<&'tcx DefIdMap<ty::EarlyBinder<'tcx, Ty<'tcx>>>,
            ErrorGuaranteed> {
        restore::<Result<&'tcx DefIdMap<ty::EarlyBinder<'tcx, Ty<'tcx>>>,
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.collect_return_position_impl_trait_in_trait_tys,
                &self.tcx.query_system.caches.collect_return_position_impl_trait_in_trait_tys,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determine where the opaque originates from"]
    #[inline(always)]
    pub fn opaque_ty_origin(self, key: impl IntoQueryParam<DefId>)
        -> hir::OpaqueTyOrigin<DefId> {
        restore::<hir::OpaqueTyOrigin<DefId>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.opaque_ty_origin,
                &self.tcx.query_system.caches.opaque_ty_origin, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determining what parameters of  `tcx.def_path_str(key)`  can participate in unsizing"]
    #[inline(always)]
    pub fn unsizing_params_for_adt(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx rustc_index::bit_set::DenseBitSet<u32> {
        restore::<&'tcx rustc_index::bit_set::DenseBitSet<u32>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.unsizing_params_for_adt,
                &self.tcx.query_system.caches.unsizing_params_for_adt,
                self.span, key.into_query_param()))
    }
    #[doc =
    " The root query triggering all analysis passes like typeck or borrowck."]
    #[inline(always)]
    pub fn analysis(self, key: ()) -> () {
        restore::<()>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.analysis,
                &self.tcx.query_system.caches.analysis, self.span,
                key.into_query_param()))
    }
    #[doc =
    " This query checks the fulfillment of collected lint expectations."]
    #[doc =
    " All lint emitting queries have to be done before this is executed"]
    #[doc = " to ensure that all expectations can be fulfilled."]
    #[doc = ""]
    #[doc =
    " This is an extra query to enable other drivers (like rustdoc) to"]
    #[doc =
    " only execute a small subset of the `analysis` query, while allowing"]
    #[doc =
    " lints to be expected. In rustc, this query will be executed as part of"]
    #[doc =
    " the `analysis` query and doesn\'t have to be called a second time."]
    #[doc = ""]
    #[doc =
    " Tools can additionally pass in a tool filter. That will restrict the"]
    #[doc =
    " expectations to only trigger for lints starting with the listed tool"]
    #[doc =
    " name. This is useful for cases were not all linting code from rustc"]
    #[doc =
    " was called. With the default `None` all registered lints will also"]
    #[doc = " be checked for expectation fulfillment."]
    #[inline(always)]
    pub fn check_expectations(self, key: Option<Symbol>) -> () {
        restore::<()>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_expectations,
                &self.tcx.query_system.caches.check_expectations, self.span,
                key.into_query_param()))
    }
    #[doc = " Returns the *generics* of the definition given by `DefId`."]
    #[inline(always)]
    pub fn generics_of(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx ty::Generics {
        restore::<&'tcx ty::Generics>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.generics_of,
                &self.tcx.query_system.caches.generics_of, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Returns the (elaborated) *predicates* of the definition given by `DefId`"]
    #[doc =
    " that must be proven true at usage sites (and which can be assumed at definition site)."]
    #[doc = ""]
    #[doc =
    " This is almost always *the* \"predicates query\" that you want."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_dump_predicates]` on an item to basically print"]
    #[doc =
    " the result of this query for use in UI tests or for debugging purposes."]
    #[inline(always)]
    pub fn predicates_of(self, key: impl IntoQueryParam<DefId>)
        -> ty::GenericPredicates<'tcx> {
        restore::<ty::GenericPredicates<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.predicates_of,
                &self.tcx.query_system.caches.predicates_of, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing the opaque types defined by  `tcx.def_path_str(key.to_def_id())` "]
    #[inline(always)]
    pub fn opaque_types_defined_by(self, key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx ty::List<LocalDefId> {
        restore::<&'tcx ty::List<LocalDefId>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.opaque_types_defined_by,
                &self.tcx.query_system.caches.opaque_types_defined_by,
                self.span, key.into_query_param()))
    }
    #[doc =
    " A list of all bodies inside of `key`, nested bodies are always stored"]
    #[doc = " before their parent."]
    #[inline(always)]
    pub fn nested_bodies_within(self, key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx ty::List<LocalDefId> {
        restore::<&'tcx ty::List<LocalDefId>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.nested_bodies_within,
                &self.tcx.query_system.caches.nested_bodies_within, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Returns the explicitly user-written *bounds* on the associated or opaque type given by `DefId`"]
    #[doc =
    " that must be proven true at definition site (and which can be assumed at usage sites)."]
    #[doc = ""]
    #[doc =
    " For associated types, these must be satisfied for an implementation"]
    #[doc =
    " to be well-formed, and for opaque types, these are required to be"]
    #[doc = " satisfied by the hidden type of the opaque."]
    #[doc = ""]
    #[doc =
    " Bounds from the parent (e.g. with nested `impl Trait`) are not included."]
    #[doc = ""]
    #[doc =
    " Syntactially, these are the bounds written on associated types in trait"]
    #[doc = " definitions, or those after the `impl` keyword for an opaque:"]
    #[doc = ""]
    #[doc = " ```ignore (illustrative)"]
    #[doc = " trait Trait { type X: Bound + \'lt; }"]
    #[doc = " //                    ^^^^^^^^^^^"]
    #[doc = " fn function() -> impl Debug + Display { /*...*/ }"]
    #[doc = " //                    ^^^^^^^^^^^^^^^"]
    #[doc = " ```"]
    #[inline(always)]
    pub fn explicit_item_bounds(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        restore::<ty::EarlyBinder<'tcx,
                &'tcx [(ty::Clause<'tcx>,
                Span)]>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.explicit_item_bounds,
                &self.tcx.query_system.caches.explicit_item_bounds, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Returns the explicitly user-written *bounds* that share the `Self` type of the item."]
    #[doc = ""]
    #[doc =
    " These are a subset of the [explicit item bounds] that may explicitly be used for things"]
    #[doc = " like closure signature deduction."]
    #[doc = ""]
    #[doc = " [explicit item bounds]: Self::explicit_item_bounds"]
    #[inline(always)]
    pub fn explicit_item_self_bounds(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        restore::<ty::EarlyBinder<'tcx,
                &'tcx [(ty::Clause<'tcx>,
                Span)]>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.explicit_item_self_bounds,
                &self.tcx.query_system.caches.explicit_item_self_bounds,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Returns the (elaborated) *bounds* on the associated or opaque type given by `DefId`"]
    #[doc =
    " that must be proven true at definition site (and which can be assumed at usage sites)."]
    #[doc = ""]
    #[doc =
    " Bounds from the parent (e.g. with nested `impl Trait`) are not included."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_dump_item_bounds]` on an item to basically print"]
    #[doc =
    " the result of this query for use in UI tests or for debugging purposes."]
    #[doc = ""]
    #[doc = " # Examples"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait Trait { type Assoc: Eq + ?Sized; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " While [`Self::explicit_item_bounds`] returns `[<Self as Trait>::Assoc: Eq]`"]
    #[doc = " here, `item_bounds` returns:"]
    #[doc = ""]
    #[doc = " ```text"]
    #[doc = " ["]
    #[doc = "     <Self as Trait>::Assoc: Eq,"]
    #[doc = "     <Self as Trait>::Assoc: PartialEq<<Self as Trait>::Assoc>"]
    #[doc = " ]"]
    #[doc = " ```"]
    #[inline(always)]
    pub fn item_bounds(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
        restore::<ty::EarlyBinder<'tcx,
                ty::Clauses<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.item_bounds,
                &self.tcx.query_system.caches.item_bounds, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating item assumptions for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn item_self_bounds(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
        restore::<ty::EarlyBinder<'tcx,
                ty::Clauses<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.item_self_bounds,
                &self.tcx.query_system.caches.item_self_bounds, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating item assumptions for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn item_non_self_bounds(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
        restore::<ty::EarlyBinder<'tcx,
                ty::Clauses<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.item_non_self_bounds,
                &self.tcx.query_system.caches.item_non_self_bounds, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating supertrait outlives for trait of  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn impl_super_outlives(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
        restore::<ty::EarlyBinder<'tcx,
                ty::Clauses<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.impl_super_outlives,
                &self.tcx.query_system.caches.impl_super_outlives, self.span,
                key.into_query_param()))
    }
    #[doc = " Look up all native libraries this crate depends on."]
    #[doc = " These are assembled from the following places:"]
    #[doc = " - `extern` blocks (depending on their `link` attributes)"]
    #[doc = " - the `libs` (`-l`) option"]
    #[inline(always)]
    pub fn native_libraries(self, key: CrateNum) -> &'tcx Vec<NativeLib> {
        restore::<&'tcx Vec<NativeLib>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.native_libraries,
                &self.tcx.query_system.caches.native_libraries, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up lint levels for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn shallow_lint_levels_on(self, key: hir::OwnerId)
        -> &'tcx rustc_middle::lint::ShallowLintLevelMap {
        restore::<&'tcx rustc_middle::lint::ShallowLintLevelMap>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.shallow_lint_levels_on,
                &self.tcx.query_system.caches.shallow_lint_levels_on,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing `#[expect]`ed lints in this crate"]
    #[inline(always)]
    pub fn lint_expectations(self, key: ())
        -> &'tcx Vec<(LintExpectationId, LintExpectation)> {
        restore::<&'tcx Vec<(LintExpectationId,
                LintExpectation)>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.lint_expectations,
                &self.tcx.query_system.caches.lint_expectations, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] Computing all lints that are explicitly enabled or with a default level greater than Allow"]
    #[inline(always)]
    pub fn lints_that_dont_need_to_run(self, key: ())
        -> &'tcx UnordSet<LintId> {
        restore::<&'tcx UnordSet<LintId>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.lints_that_dont_need_to_run,
                &self.tcx.query_system.caches.lints_that_dont_need_to_run,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the expansion that defined  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn expn_that_defined(self, key: impl IntoQueryParam<DefId>)
        -> rustc_span::ExpnId {
        restore::<rustc_span::ExpnId>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.expn_that_defined,
                &self.tcx.query_system.caches.expn_that_defined, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate is_panic_runtime"]
    #[inline(always)]
    pub fn is_panic_runtime(self, key: CrateNum) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_panic_runtime,
                &self.tcx.query_system.caches.is_panic_runtime, self.span,
                key.into_query_param()))
    }
    #[doc = " Checks whether a type is representable or infinitely sized"]
    #[inline(always)]
    pub fn representability(self, key: impl IntoQueryParam<LocalDefId>)
        -> rustc_middle::ty::Representability {
        restore::<rustc_middle::ty::Representability>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.representability,
                &self.tcx.query_system.caches.representability, self.span,
                key.into_query_param()))
    }
    #[doc = " An implementation detail for the `representability` query"]
    #[inline(always)]
    pub fn representability_adt_ty(self, key: Ty<'tcx>)
        -> rustc_middle::ty::Representability {
        restore::<rustc_middle::ty::Representability>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.representability_adt_ty,
                &self.tcx.query_system.caches.representability_adt_ty,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Set of param indexes for type params that are in the type\'s representation"]
    #[inline(always)]
    pub fn params_in_repr(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx rustc_index::bit_set::DenseBitSet<u32> {
        restore::<&'tcx rustc_index::bit_set::DenseBitSet<u32>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.params_in_repr,
                &self.tcx.query_system.caches.params_in_repr, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Fetch the THIR for a given body. The THIR body gets stolen by unsafety checking unless"]
    #[doc = " `-Zno-steal-thir` is on."]
    #[inline(always)]
    pub fn thir_body(self, key: impl IntoQueryParam<LocalDefId>)
        ->
            Result<(&'tcx Steal<thir::Thir<'tcx>>, thir::ExprId),
            ErrorGuaranteed> {
        restore::<Result<(&'tcx Steal<thir::Thir<'tcx>>, thir::ExprId),
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.thir_body,
                &self.tcx.query_system.caches.thir_body, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Set of all the `DefId`s in this crate that have MIR associated with"]
    #[doc =
    " them. This includes all the body owners, but also things like struct"]
    #[doc = " constructors."]
    #[inline(always)]
    pub fn mir_keys(self, key: ())
        -> &'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId> {
        restore::<&'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.mir_keys,
                &self.tcx.query_system.caches.mir_keys, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Maps DefId\'s that have an associated `mir::Body` to the result"]
    #[doc = " of the MIR const-checking pass. This is the set of qualifs in"]
    #[doc = " the final value of a `const`."]
    #[inline(always)]
    pub fn mir_const_qualif(self, key: impl IntoQueryParam<DefId>)
        -> mir::ConstQualifs {
        restore::<mir::ConstQualifs>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.mir_const_qualif,
                &self.tcx.query_system.caches.mir_const_qualif, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Build the MIR for a given `DefId` and prepare it for const qualification."]
    #[doc = ""]
    #[doc = " See the [rustc dev guide] for more info."]
    #[doc = ""]
    #[doc =
    " [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/mir/construction.html"]
    #[inline(always)]
    pub fn mir_built(self, key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx Steal<mir::Body<'tcx>> {
        restore::<&'tcx Steal<mir::Body<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.mir_built,
                &self.tcx.query_system.caches.mir_built, self.span,
                key.into_query_param()))
    }
    #[doc = " Try to build an abstract representation of the given constant."]
    #[inline(always)]
    pub fn thir_abstract_const(self, key: impl IntoQueryParam<DefId>)
        ->
            Result<Option<ty::EarlyBinder<'tcx, ty::Const<'tcx>>>,
            ErrorGuaranteed> {
        restore::<Result<Option<ty::EarlyBinder<'tcx, ty::Const<'tcx>>>,
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.thir_abstract_const,
                &self.tcx.query_system.caches.thir_abstract_const, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] elaborating drops for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn mir_drops_elaborated_and_const_checked(self,
        key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx Steal<mir::Body<'tcx>> {
        restore::<&'tcx Steal<mir::Body<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.mir_drops_elaborated_and_const_checked,
                &self.tcx.query_system.caches.mir_drops_elaborated_and_const_checked,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] caching mir of  `tcx.def_path_str(key)`  for CTFE"]
    #[inline(always)]
    pub fn mir_for_ctfe(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx mir::Body<'tcx> {
        restore::<&'tcx mir::Body<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.mir_for_ctfe,
                &self.tcx.query_system.caches.mir_for_ctfe, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] promoting constants in MIR for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn mir_promoted(self, key: impl IntoQueryParam<LocalDefId>)
        ->
            (&'tcx Steal<mir::Body<'tcx>>,
            &'tcx Steal<IndexVec<mir::Promoted, mir::Body<'tcx>>>) {
        restore::<(&'tcx Steal<mir::Body<'tcx>>,
                &'tcx Steal<IndexVec<mir::Promoted,
                mir::Body<'tcx>>>)>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.mir_promoted,
                &self.tcx.query_system.caches.mir_promoted, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding symbols for captures of closure  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn closure_typeinfo(self, key: impl IntoQueryParam<LocalDefId>)
        -> ty::ClosureTypeInfo<'tcx> {
        restore::<ty::ClosureTypeInfo<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.closure_typeinfo,
                &self.tcx.query_system.caches.closure_typeinfo, self.span,
                key.into_query_param()))
    }
    #[doc = " Returns names of captured upvars for closures and coroutines."]
    #[doc = ""]
    #[doc = " Here are some examples:"]
    #[doc = "  - `name__field1__field2` when the upvar is captured by value."]
    #[doc =
    "  - `_ref__name__field` when the upvar is captured by reference."]
    #[doc = ""]
    #[doc =
    " For coroutines this only contains upvars that are shared by all states."]
    #[inline(always)]
    pub fn closure_saved_names_of_captured_variables(self,
        key: impl IntoQueryParam<DefId>)
        -> &'tcx IndexVec<abi::FieldIdx, Symbol> {
        restore::<&'tcx IndexVec<abi::FieldIdx,
                Symbol>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.closure_saved_names_of_captured_variables,
                &self.tcx.query_system.caches.closure_saved_names_of_captured_variables,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] coroutine witness types for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn mir_coroutine_witnesses(self, key: impl IntoQueryParam<DefId>)
        -> Option<&'tcx mir::CoroutineLayout<'tcx>> {
        restore::<Option<&'tcx mir::CoroutineLayout<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.mir_coroutine_witnesses,
                &self.tcx.query_system.caches.mir_coroutine_witnesses,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] verify auto trait bounds for coroutine interior type  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn check_coroutine_obligations(self,
        key: impl IntoQueryParam<LocalDefId>) -> Result<(), ErrorGuaranteed> {
        restore::<Result<(),
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_coroutine_obligations,
                &self.tcx.query_system.caches.check_coroutine_obligations,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Used in case `mir_borrowck` fails to prove an obligation. We generally assume that"]
    #[doc =
    " all goals we prove in MIR type check hold as we\'ve already checked them in HIR typeck."]
    #[doc = ""]
    #[doc =
    " However, we replace each free region in the MIR body with a unique region inference"]
    #[doc =
    " variable. As we may rely on structural identity when proving goals this may cause a"]
    #[doc =
    " goal to no longer hold. We store obligations for which this may happen during HIR"]
    #[doc =
    " typeck in the `TypeckResults`. We then uniquify and reprove them in case MIR typeck"]
    #[doc =
    " encounters an unexpected error. We expect this to result in an error when used and"]
    #[doc = " delay a bug if it does not."]
    #[inline(always)]
    pub fn check_potentially_region_dependent_goals(self,
        key: impl IntoQueryParam<LocalDefId>) -> Result<(), ErrorGuaranteed> {
        restore::<Result<(),
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_potentially_region_dependent_goals,
                &self.tcx.query_system.caches.check_potentially_region_dependent_goals,
                self.span, key.into_query_param()))
    }
    #[doc =
    " MIR after our optimization passes have run. This is MIR that is ready"]
    #[doc =
    " for codegen. This is also the only query that can fetch non-local MIR, at present."]
    #[inline(always)]
    pub fn optimized_mir(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx mir::Body<'tcx> {
        restore::<&'tcx mir::Body<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.optimized_mir,
                &self.tcx.query_system.caches.optimized_mir, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Checks for the nearest `#[coverage(off)]` or `#[coverage(on)]` on"]
    #[doc = " this def and any enclosing defs, up to the crate root."]
    #[doc = ""]
    #[doc = " Returns `false` if `#[coverage(off)]` was found, or `true` if"]
    #[doc = " either `#[coverage(on)]` or no coverage attribute was found."]
    #[inline(always)]
    pub fn coverage_attr_on(self, key: impl IntoQueryParam<LocalDefId>)
        -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.coverage_attr_on,
                &self.tcx.query_system.caches.coverage_attr_on, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Scans through a function\'s MIR after MIR optimizations, to prepare the"]
    #[doc =
    " information needed by codegen when `-Cinstrument-coverage` is active."]
    #[doc = ""]
    #[doc =
    " This includes the details of where to insert `llvm.instrprof.increment`"]
    #[doc =
    " intrinsics, and the expression tables to be embedded in the function\'s"]
    #[doc = " coverage metadata."]
    #[doc = ""]
    #[doc =
    " FIXME(Zalathar): This query\'s purpose has drifted a bit and should"]
    #[doc =
    " probably be renamed, but that can wait until after the potential"]
    #[doc = " follow-ups to #136053 have settled down."]
    #[doc = ""]
    #[doc = " Returns `None` for functions that were not instrumented."]
    #[inline(always)]
    pub fn coverage_ids_info(self, key: ty::InstanceKind<'tcx>)
        -> Option<&'tcx mir::coverage::CoverageIdsInfo> {
        restore::<Option<&'tcx mir::coverage::CoverageIdsInfo>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.coverage_ids_info,
                &self.tcx.query_system.caches.coverage_ids_info, self.span,
                key.into_query_param()))
    }
    #[doc =
    " The `DefId` is the `DefId` of the containing MIR body. Promoteds do not have their own"]
    #[doc =
    " `DefId`. This function returns all promoteds in the specified body. The body references"]
    #[doc =
    " promoteds by the `DefId` and the `mir::Promoted` index. This is necessary, because"]
    #[doc =
    " after inlining a body may refer to promoteds from other bodies. In that case you still"]
    #[doc = " need to use the `DefId` of the original body."]
    #[inline(always)]
    pub fn promoted_mir(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx IndexVec<mir::Promoted, mir::Body<'tcx>> {
        restore::<&'tcx IndexVec<mir::Promoted,
                mir::Body<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.promoted_mir,
                &self.tcx.query_system.caches.promoted_mir, self.span,
                key.into_query_param()))
    }
    #[doc = " Erases regions from `ty` to yield a new type."]
    #[doc =
    " Normally you would just use `tcx.erase_and_anonymize_regions(value)`,"]
    #[doc = " however, which uses this query as a kind of cache."]
    #[inline(always)]
    pub fn erase_and_anonymize_regions_ty(self, key: Ty<'tcx>) -> Ty<'tcx> {
        restore::<Ty<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.erase_and_anonymize_regions_ty,
                &self.tcx.query_system.caches.erase_and_anonymize_regions_ty,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting wasm import module map"]
    #[inline(always)]
    pub fn wasm_import_module_map(self, key: CrateNum)
        -> &'tcx DefIdMap<String> {
        restore::<&'tcx DefIdMap<String>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.wasm_import_module_map,
                &self.tcx.query_system.caches.wasm_import_module_map,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Returns the explicitly user-written *predicates and bounds* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc = " Traits are unusual, because predicates on associated types are"]
    #[doc =
    " converted into bounds on that type for backwards compatibility:"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait X where Self::U: Copy { type U; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc = " becomes"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " trait X { type U: Copy; }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " [`Self::explicit_predicates_of`] and [`Self::explicit_item_bounds`] will"]
    #[doc = " then take the appropriate subsets of the predicates here."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc = " This query will panic if the given definition is not a trait."]
    #[inline(always)]
    pub fn trait_explicit_predicates_and_bounds(self,
        key: impl IntoQueryParam<LocalDefId>) -> ty::GenericPredicates<'tcx> {
        restore::<ty::GenericPredicates<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.trait_explicit_predicates_and_bounds,
                &self.tcx.query_system.caches.trait_explicit_predicates_and_bounds,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Returns the explicitly user-written *predicates* of the definition given by `DefId`"]
    #[doc =
    " that must be proven true at usage sites (and which can be assumed at definition site)."]
    #[doc = ""]
    #[doc =
    " You should probably use [`Self::predicates_of`] unless you\'re looking for"]
    #[doc = " predicates with explicit spans for diagnostics purposes."]
    #[inline(always)]
    pub fn explicit_predicates_of(self, key: impl IntoQueryParam<DefId>)
        -> ty::GenericPredicates<'tcx> {
        restore::<ty::GenericPredicates<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.explicit_predicates_of,
                &self.tcx.query_system.caches.explicit_predicates_of,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Returns the *inferred outlives-predicates* of the item given by `DefId`."]
    #[doc = ""]
    #[doc =
    " E.g., for `struct Foo<\'a, T> { x: &\'a T }`, this would return `[T: \'a]`."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_outlives]` on an item to basically print the"]
    #[doc =
    " result of this query for use in UI tests or for debugging purposes."]
    #[inline(always)]
    pub fn inferred_outlives_of(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [(ty::Clause<'tcx>, Span)] {
        restore::<&'tcx [(ty::Clause<'tcx>,
                Span)]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.inferred_outlives_of,
                &self.tcx.query_system.caches.inferred_outlives_of, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Returns the explicitly user-written *super-predicates* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc =
    " These predicates are unelaborated and consequently don\'t contain transitive super-predicates."]
    #[doc = ""]
    #[doc =
    " This is a subset of the full list of predicates. We store these in a separate map"]
    #[doc =
    " because we must evaluate them even during type conversion, often before the full"]
    #[doc =
    " predicates are available (note that super-predicates must not be cyclic)."]
    #[inline(always)]
    pub fn explicit_super_predicates_of(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        restore::<ty::EarlyBinder<'tcx,
                &'tcx [(ty::Clause<'tcx>,
                Span)]>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.explicit_super_predicates_of,
                &self.tcx.query_system.caches.explicit_super_predicates_of,
                self.span, key.into_query_param()))
    }
    #[doc =
    " The predicates of the trait that are implied during elaboration."]
    #[doc = ""]
    #[doc =
    " This is a superset of the super-predicates of the trait, but a subset of the predicates"]
    #[doc =
    " of the trait. For regular traits, this includes all super-predicates and their"]
    #[doc =
    " associated type bounds. For trait aliases, currently, this includes all of the"]
    #[doc = " predicates of the trait alias."]
    #[inline(always)]
    pub fn explicit_implied_predicates_of(self,
        key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        restore::<ty::EarlyBinder<'tcx,
                &'tcx [(ty::Clause<'tcx>,
                Span)]>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.explicit_implied_predicates_of,
                &self.tcx.query_system.caches.explicit_implied_predicates_of,
                self.span, key.into_query_param()))
    }
    #[doc =
    " The Ident is the name of an associated type.The query returns only the subset"]
    #[doc =
    " of supertraits that define the given associated type. This is used to avoid"]
    #[doc =
    " cycles in resolving type-dependent associated item paths like `T::Item`."]
    #[inline(always)]
    pub fn explicit_supertraits_containing_assoc_item(self,
        key: (DefId, rustc_span::Ident))
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        restore::<ty::EarlyBinder<'tcx,
                &'tcx [(ty::Clause<'tcx>,
                Span)]>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.explicit_supertraits_containing_assoc_item,
                &self.tcx.query_system.caches.explicit_supertraits_containing_assoc_item,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Compute the conditions that need to hold for a conditionally-const item to be const."]
    #[doc =
    " That is, compute the set of `[const]` where clauses for a given item."]
    #[doc = ""]
    #[doc =
    " This can be thought of as the `[const]` equivalent of `predicates_of`. These are the"]
    #[doc =
    " predicates that need to be proven at usage sites, and can be assumed at definition."]
    #[doc = ""]
    #[doc =
    " This query also computes the `[const]` where clauses for associated types, which are"]
    #[doc =
    " not \"const\", but which have item bounds which may be `[const]`. These must hold for"]
    #[doc = " the `[const]` item bound to hold."]
    #[inline(always)]
    pub fn const_conditions(self, key: impl IntoQueryParam<DefId>)
        -> ty::ConstConditions<'tcx> {
        restore::<ty::ConstConditions<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.const_conditions,
                &self.tcx.query_system.caches.const_conditions, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Compute the const bounds that are implied for a conditionally-const item."]
    #[doc = ""]
    #[doc =
    " This can be though of as the `[const]` equivalent of `explicit_item_bounds`. These"]
    #[doc =
    " are the predicates that need to proven at definition sites, and can be assumed at"]
    #[doc = " usage sites."]
    #[inline(always)]
    pub fn explicit_implied_const_bounds(self,
        key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::PolyTraitRef<'tcx>, Span)]> {
        restore::<ty::EarlyBinder<'tcx,
                &'tcx [(ty::PolyTraitRef<'tcx>,
                Span)]>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.explicit_implied_const_bounds,
                &self.tcx.query_system.caches.explicit_implied_const_bounds,
                self.span, key.into_query_param()))
    }
    #[doc =
    " To avoid cycles within the predicates of a single item we compute"]
    #[doc = " per-type-parameter predicates for resolving `T::AssocTy`."]
    #[inline(always)]
    pub fn type_param_predicates(self,
        key: (LocalDefId, LocalDefId, rustc_span::Ident))
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        restore::<ty::EarlyBinder<'tcx,
                &'tcx [(ty::Clause<'tcx>,
                Span)]>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.type_param_predicates,
                &self.tcx.query_system.caches.type_param_predicates,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing trait definition for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn trait_def(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx ty::TraitDef {
        restore::<&'tcx ty::TraitDef>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.trait_def,
                &self.tcx.query_system.caches.trait_def, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing ADT definition for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn adt_def(self, key: impl IntoQueryParam<DefId>)
        -> ty::AdtDef<'tcx> {
        restore::<ty::AdtDef<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.adt_def,
                &self.tcx.query_system.caches.adt_def, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing `Drop` impl for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn adt_destructor(self, key: impl IntoQueryParam<DefId>)
        -> Option<ty::Destructor> {
        restore::<Option<ty::Destructor>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.adt_destructor,
                &self.tcx.query_system.caches.adt_destructor, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing `AsyncDrop` impl for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn adt_async_destructor(self, key: impl IntoQueryParam<DefId>)
        -> Option<ty::AsyncDestructor> {
        restore::<Option<ty::AsyncDestructor>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.adt_async_destructor,
                &self.tcx.query_system.caches.adt_async_destructor, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing the sizedness constraint for  `tcx.def_path_str(key.0)` "]
    #[inline(always)]
    pub fn adt_sizedness_constraint(self, key: (DefId, SizedTraitKind))
        -> Option<ty::EarlyBinder<'tcx, Ty<'tcx>>> {
        restore::<Option<ty::EarlyBinder<'tcx,
                Ty<'tcx>>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.adt_sizedness_constraint,
                &self.tcx.query_system.caches.adt_sizedness_constraint,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing drop-check constraints for  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn adt_dtorck_constraint(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx DropckConstraint<'tcx> {
        restore::<&'tcx DropckConstraint<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.adt_dtorck_constraint,
                &self.tcx.query_system.caches.adt_dtorck_constraint,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Returns the constness of the function-like[^1] definition given by `DefId`."]
    #[doc = ""]
    #[doc =
    " Tuple struct/variant constructors are *always* const, foreign functions are"]
    #[doc =
    " *never* const. The rest is const iff marked with keyword `const` (or rather"]
    #[doc = " its parent in the case of associated functions)."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly. It is only meant to cache the base data for the"]
    #[doc =
    " higher-level functions. Consider using `is_const_fn` or `is_const_trait_impl` instead."]
    #[doc = ""]
    #[doc =
    " Also note that neither of them takes into account feature gates, stability and"]
    #[doc = " const predicates/conditions!"]
    #[doc = ""]
    #[doc = " </div>"]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not function-like[^1]."]
    #[doc = ""]
    #[doc =
    " [^1]: Tuple struct/variant constructors, closures and free, associated and foreign functions."]
    #[inline(always)]
    pub fn constness(self, key: impl IntoQueryParam<DefId>)
        -> hir::Constness {
        restore::<hir::Constness>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.constness,
                &self.tcx.query_system.caches.constness, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the function is async:  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn asyncness(self, key: impl IntoQueryParam<DefId>) -> ty::Asyncness {
        restore::<ty::Asyncness>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.asyncness,
                &self.tcx.query_system.caches.asyncness, self.span,
                key.into_query_param()))
    }
    #[doc = " Returns `true` if calls to the function may be promoted."]
    #[doc = ""]
    #[doc =
    " This is either because the function is e.g., a tuple-struct or tuple-variant"]
    #[doc =
    " constructor, or because it has the `#[rustc_promotable]` attribute. The attribute should"]
    #[doc =
    " be removed in the future in favour of some form of check which figures out whether the"]
    #[doc =
    " function does not inspect the bits of any of its arguments (so is essentially just a"]
    #[doc = " constructor function)."]
    #[inline(always)]
    pub fn is_promotable_const_fn(self, key: impl IntoQueryParam<DefId>)
        -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_promotable_const_fn,
                &self.tcx.query_system.caches.is_promotable_const_fn,
                self.span, key.into_query_param()))
    }
    #[doc =
    " The body of the coroutine, modified to take its upvars by move rather than by ref."]
    #[doc = ""]
    #[doc =
    " This is used by coroutine-closures, which must return a different flavor of coroutine"]
    #[doc =
    " when called using `AsyncFnOnce::call_once`. It is produced by the `ByMoveBody` pass which"]
    #[doc =
    " is run right after building the initial MIR, and will only be populated for coroutines"]
    #[doc = " which come out of the async closure desugaring."]
    #[inline(always)]
    pub fn coroutine_by_move_body_def_id(self,
        key: impl IntoQueryParam<DefId>) -> DefId {
        restore::<DefId>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.coroutine_by_move_body_def_id,
                &self.tcx.query_system.caches.coroutine_by_move_body_def_id,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Returns `Some(coroutine_kind)` if the node pointed to by `def_id` is a coroutine."]
    #[inline(always)]
    pub fn coroutine_kind(self, key: impl IntoQueryParam<DefId>)
        -> Option<hir::CoroutineKind> {
        restore::<Option<hir::CoroutineKind>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.coroutine_kind,
                &self.tcx.query_system.caches.coroutine_kind, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] Given a coroutine-closure def id, return the def id of the coroutine returned by it"]
    #[inline(always)]
    pub fn coroutine_for_closure(self, key: impl IntoQueryParam<DefId>)
        -> DefId {
        restore::<DefId>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.coroutine_for_closure,
                &self.tcx.query_system.caches.coroutine_for_closure,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the hidden types stored across await points in a coroutine"]
    #[inline(always)]
    pub fn coroutine_hidden_types(self, key: impl IntoQueryParam<DefId>)
        ->
            ty::EarlyBinder<'tcx,
            ty::Binder<'tcx, ty::CoroutineWitnessTypes<TyCtxt<'tcx>>>> {
        restore::<ty::EarlyBinder<'tcx,
                ty::Binder<'tcx,
                ty::CoroutineWitnessTypes<TyCtxt<'tcx>>>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.coroutine_hidden_types,
                &self.tcx.query_system.caches.coroutine_hidden_types,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Gets a map with the variances of every item in the local crate."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::variances_of`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn crate_variances(self, key: ())
        -> &'tcx ty::CrateVariancesMap<'tcx> {
        restore::<&'tcx ty::CrateVariancesMap<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.crate_variances,
                &self.tcx.query_system.caches.crate_variances, self.span,
                key.into_query_param()))
    }
    #[doc = " Returns the (inferred) variances of the item given by `DefId`."]
    #[doc = ""]
    #[doc =
    " The list of variances corresponds to the list of (early-bound) generic"]
    #[doc = " parameters of the item (including its parents)."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_variance]` on an item to basically print the"]
    #[doc =
    " result of this query for use in UI tests or for debugging purposes."]
    #[inline(always)]
    pub fn variances_of(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [ty::Variance] {
        restore::<&'tcx [ty::Variance]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.variances_of,
                &self.tcx.query_system.caches.variances_of, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Gets a map with the inferred outlives-predicates of every item in the local crate."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::inferred_outlives_of`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn inferred_outlives_crate(self, key: ())
        -> &'tcx ty::CratePredicatesMap<'tcx> {
        restore::<&'tcx ty::CratePredicatesMap<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.inferred_outlives_crate,
                &self.tcx.query_system.caches.inferred_outlives_crate,
                self.span, key.into_query_param()))
    }
    #[doc = " Maps from an impl/trait or struct/variant `DefId`"]
    #[doc = " to a list of the `DefId`s of its associated items or fields."]
    #[inline(always)]
    pub fn associated_item_def_ids(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [DefId] {
        restore::<&'tcx [DefId]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.associated_item_def_ids,
                &self.tcx.query_system.caches.associated_item_def_ids,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Maps from a trait/impl item to the trait/impl item \"descriptor\"."]
    #[inline(always)]
    pub fn associated_item(self, key: impl IntoQueryParam<DefId>)
        -> ty::AssocItem {
        restore::<ty::AssocItem>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.associated_item,
                &self.tcx.query_system.caches.associated_item, self.span,
                key.into_query_param()))
    }
    #[doc = " Collects the associated items defined on a trait or impl."]
    #[inline(always)]
    pub fn associated_items(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx ty::AssocItems {
        restore::<&'tcx ty::AssocItems>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.associated_items,
                &self.tcx.query_system.caches.associated_items, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Maps from associated items on a trait to the corresponding associated"]
    #[doc = " item on the impl specified by `impl_id`."]
    #[doc = ""]
    #[doc = " For example, with the following code"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " struct Type {}"]
    #[doc = "                         // DefId"]
    #[doc = " trait Trait {           // trait_id"]
    #[doc = "     fn f();             // trait_f"]
    #[doc = "     fn g() {}           // trait_g"]
    #[doc = " }"]
    #[doc = ""]
    #[doc = " impl Trait for Type {   // impl_id"]
    #[doc = "     fn f() {}           // impl_f"]
    #[doc = "     fn g() {}           // impl_g"]
    #[doc = " }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " The map returned for `tcx.impl_item_implementor_ids(impl_id)` would be"]
    #[doc = "`{ trait_f: impl_f, trait_g: impl_g }`"]
    #[inline(always)]
    pub fn impl_item_implementor_ids(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx DefIdMap<DefId> {
        restore::<&'tcx DefIdMap<DefId>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.impl_item_implementor_ids,
                &self.tcx.query_system.caches.impl_item_implementor_ids,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Given the `item_def_id` of a trait or impl, return a mapping from associated fn def id"]
    #[doc =
    " to its associated type items that correspond to the RPITITs in its signature."]
    #[inline(always)]
    pub fn associated_types_for_impl_traits_in_trait_or_impl(self,
        key: impl IntoQueryParam<DefId>) -> &'tcx DefIdMap<Vec<DefId>> {
        restore::<&'tcx DefIdMap<Vec<DefId>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.associated_types_for_impl_traits_in_trait_or_impl,
                &self.tcx.query_system.caches.associated_types_for_impl_traits_in_trait_or_impl,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Given an `impl_id`, return the trait it implements along with some header information."]
    #[inline(always)]
    pub fn impl_trait_header(self, key: impl IntoQueryParam<DefId>)
        -> ty::ImplTraitHeader<'tcx> {
        restore::<ty::ImplTraitHeader<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.impl_trait_header,
                &self.tcx.query_system.caches.impl_trait_header, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Given an `impl_def_id`, return true if the self type is guaranteed to be unsized due"]
    #[doc =
    " to either being one of the built-in unsized types (str/slice/dyn) or to be a struct"]
    #[doc = " whose tail is one of those types."]
    #[inline(always)]
    pub fn impl_self_is_guaranteed_unsized(self,
        key: impl IntoQueryParam<DefId>) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.impl_self_is_guaranteed_unsized,
                &self.tcx.query_system.caches.impl_self_is_guaranteed_unsized,
                self.span, key.into_query_param()))
    }
    #[doc = " Maps a `DefId` of a type to a list of its inherent impls."]
    #[doc =
    " Contains implementations of methods that are inherent to a type."]
    #[doc = " Methods in these implementations don\'t need to be exported."]
    #[inline(always)]
    pub fn inherent_impls(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [DefId] {
        restore::<&'tcx [DefId]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.inherent_impls,
                &self.tcx.query_system.caches.inherent_impls, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting all inherent impls for `{:?}`"]
    #[inline(always)]
    pub fn incoherent_impls(self, key: SimplifiedType) -> &'tcx [DefId] {
        restore::<&'tcx [DefId]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.incoherent_impls,
                &self.tcx.query_system.caches.incoherent_impls, self.span,
                key.into_query_param()))
    }
    #[doc = " Unsafety-check this `LocalDefId`."]
    #[inline(always)]
    pub fn check_transmutes(self, key: impl IntoQueryParam<LocalDefId>)
        -> () {
        restore::<()>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_transmutes,
                &self.tcx.query_system.caches.check_transmutes, self.span,
                key.into_query_param()))
    }
    #[doc = " Unsafety-check this `LocalDefId`."]
    #[inline(always)]
    pub fn check_unsafety(self, key: impl IntoQueryParam<LocalDefId>) -> () {
        restore::<()>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_unsafety,
                &self.tcx.query_system.caches.check_unsafety, self.span,
                key.into_query_param()))
    }
    #[doc = " Checks well-formedness of tail calls (`become f()`)."]
    #[inline(always)]
    pub fn check_tail_calls(self, key: impl IntoQueryParam<LocalDefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        restore::<Result<(),
                rustc_errors::ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_tail_calls,
                &self.tcx.query_system.caches.check_tail_calls, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Returns the types assumed to be well formed while \"inside\" of the given item."]
    #[doc = ""]
    #[doc =
    " Note that we\'ve liberated the late bound regions of function signatures, so"]
    #[doc =
    " this can not be used to check whether these types are well formed."]
    #[inline(always)]
    pub fn assumed_wf_types(self, key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx [(Ty<'tcx>, Span)] {
        restore::<&'tcx [(Ty<'tcx>,
                Span)]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.assumed_wf_types,
                &self.tcx.query_system.caches.assumed_wf_types, self.span,
                key.into_query_param()))
    }
    #[doc =
    " We need to store the assumed_wf_types for an RPITIT so that impls of foreign"]
    #[doc =
    " traits with return-position impl trait in traits can inherit the right wf types."]
    #[inline(always)]
    pub fn assumed_wf_types_for_rpitit(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [(Ty<'tcx>, Span)] {
        restore::<&'tcx [(Ty<'tcx>,
                Span)]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.assumed_wf_types_for_rpitit,
                &self.tcx.query_system.caches.assumed_wf_types_for_rpitit,
                self.span, key.into_query_param()))
    }
    #[doc = " Computes the signature of the function."]
    #[inline(always)]
    pub fn fn_sig(self, key: impl IntoQueryParam<DefId>)
        -> ty::EarlyBinder<'tcx, ty::PolyFnSig<'tcx>> {
        restore::<ty::EarlyBinder<'tcx,
                ty::PolyFnSig<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.fn_sig,
                &self.tcx.query_system.caches.fn_sig, self.span,
                key.into_query_param()))
    }
    #[doc = " Performs lint checking for the module."]
    #[inline(always)]
    pub fn lint_mod(self, key: LocalModDefId) -> () {
        restore::<()>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.lint_mod,
                &self.tcx.query_system.caches.lint_mod, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking unused trait imports in crate"]
    #[inline(always)]
    pub fn check_unused_traits(self, key: ()) -> () {
        restore::<()>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_unused_traits,
                &self.tcx.query_system.caches.check_unused_traits, self.span,
                key.into_query_param()))
    }
    #[doc = " Checks the attributes in the module."]
    #[inline(always)]
    pub fn check_mod_attrs(self, key: LocalModDefId) -> () {
        restore::<()>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_mod_attrs,
                &self.tcx.query_system.caches.check_mod_attrs, self.span,
                key.into_query_param()))
    }
    #[doc = " Checks for uses of unstable APIs in the module."]
    #[inline(always)]
    pub fn check_mod_unstable_api_usage(self, key: LocalModDefId) -> () {
        restore::<()>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_mod_unstable_api_usage,
                &self.tcx.query_system.caches.check_mod_unstable_api_usage,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking privacy in  `describe_as_module(key.to_local_def_id(), tcx)` "]
    #[inline(always)]
    pub fn check_mod_privacy(self, key: LocalModDefId) -> () {
        restore::<()>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_mod_privacy,
                &self.tcx.query_system.caches.check_mod_privacy, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking liveness of variables in  `tcx.def_path_str(key.to_def_id())` "]
    #[inline(always)]
    pub fn check_liveness(self, key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx> {
        restore::<&'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_liveness,
                &self.tcx.query_system.caches.check_liveness, self.span,
                key.into_query_param()))
    }
    #[doc = " Return the live symbols in the crate for dead code check."]
    #[doc = ""]
    #[doc =
    " The second return value maps from ADTs to ignored derived traits (e.g. Debug and Clone)."]
    #[inline(always)]
    pub fn live_symbols_and_ignored_derived_traits(self, key: ())
        ->
            &'tcx Result<(LocalDefIdSet, LocalDefIdMap<FxIndexSet<DefId>>),
            ErrorGuaranteed> {
        restore::<&'tcx Result<(LocalDefIdSet,
                LocalDefIdMap<FxIndexSet<DefId>>),
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.live_symbols_and_ignored_derived_traits,
                &self.tcx.query_system.caches.live_symbols_and_ignored_derived_traits,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking deathness of variables in  `describe_as_module(key, tcx)` "]
    #[inline(always)]
    pub fn check_mod_deathness(self, key: LocalModDefId) -> () {
        restore::<()>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_mod_deathness,
                &self.tcx.query_system.caches.check_mod_deathness, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking that types are well-formed"]
    #[inline(always)]
    pub fn check_type_wf(self, key: ()) -> Result<(), ErrorGuaranteed> {
        restore::<Result<(),
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_type_wf,
                &self.tcx.query_system.caches.check_type_wf, self.span,
                key.into_query_param()))
    }
    #[doc = " Caches `CoerceUnsized` kinds for impls on custom types."]
    #[inline(always)]
    pub fn coerce_unsized_info(self, key: impl IntoQueryParam<DefId>)
        -> Result<ty::adjustment::CoerceUnsizedInfo, ErrorGuaranteed> {
        restore::<Result<ty::adjustment::CoerceUnsizedInfo,
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.coerce_unsized_info,
                &self.tcx.query_system.caches.coerce_unsized_info, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] type-checking  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn typeck(self, key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx ty::TypeckResults<'tcx> {
        restore::<&'tcx ty::TypeckResults<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.typeck,
                &self.tcx.query_system.caches.typeck, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding used_trait_imports  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn used_trait_imports(self, key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx UnordSet<LocalDefId> {
        restore::<&'tcx UnordSet<LocalDefId>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.used_trait_imports,
                &self.tcx.query_system.caches.used_trait_imports, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] coherence checking all impls of trait  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn coherent_trait(self, key: impl IntoQueryParam<DefId>)
        -> Result<(), ErrorGuaranteed> {
        restore::<Result<(),
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.coherent_trait,
                &self.tcx.query_system.caches.coherent_trait, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Borrow-checks the given typeck root, e.g. functions, const/static items,"]
    #[doc = " and its children, e.g. closures, inline consts."]
    #[inline(always)]
    pub fn mir_borrowck(self, key: impl IntoQueryParam<LocalDefId>)
        ->
            Result<&'tcx FxIndexMap<LocalDefId,
            ty::DefinitionSiteHiddenType<'tcx>>, ErrorGuaranteed> {
        restore::<Result<&'tcx FxIndexMap<LocalDefId,
                ty::DefinitionSiteHiddenType<'tcx>>,
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.mir_borrowck,
                &self.tcx.query_system.caches.mir_borrowck, self.span,
                key.into_query_param()))
    }
    #[doc = " Gets a complete map from all types to their inherent impls."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn crate_inherent_impls(self, key: ())
        -> (&'tcx CrateInherentImpls, Result<(), ErrorGuaranteed>) {
        restore::<(&'tcx CrateInherentImpls,
                Result<(),
                ErrorGuaranteed>)>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.crate_inherent_impls,
                &self.tcx.query_system.caches.crate_inherent_impls, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Checks all types in the crate for overlap in their inherent impls. Reports errors."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn crate_inherent_impls_validity_check(self, key: ())
        -> Result<(), ErrorGuaranteed> {
        restore::<Result<(),
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.crate_inherent_impls_validity_check,
                &self.tcx.query_system.caches.crate_inherent_impls_validity_check,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Checks all types in the crate for overlap in their inherent impls. Reports errors."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " **Not meant to be used** directly outside of coherence."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn crate_inherent_impls_overlap_check(self, key: ())
        -> Result<(), ErrorGuaranteed> {
        restore::<Result<(),
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.crate_inherent_impls_overlap_check,
                &self.tcx.query_system.caches.crate_inherent_impls_overlap_check,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Checks whether all impls in the crate pass the overlap check, returning"]
    #[doc =
    " which impls fail it. If all impls are correct, the returned slice is empty."]
    #[inline(always)]
    pub fn orphan_check_impl(self, key: impl IntoQueryParam<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        restore::<Result<(),
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.orphan_check_impl,
                &self.tcx.query_system.caches.orphan_check_impl, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Return the set of (transitive) callees that may result in a recursive call to `key`,"]
    #[doc = " if we were able to walk all callees."]
    #[inline(always)]
    pub fn mir_callgraph_cyclic(self, key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx Option<UnordSet<LocalDefId>> {
        restore::<&'tcx Option<UnordSet<LocalDefId>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.mir_callgraph_cyclic,
                &self.tcx.query_system.caches.mir_callgraph_cyclic, self.span,
                key.into_query_param()))
    }
    #[doc = " Obtain all the calls into other local functions"]
    #[inline(always)]
    pub fn mir_inliner_callees(self, key: ty::InstanceKind<'tcx>)
        -> &'tcx [(DefId, GenericArgsRef<'tcx>)] {
        restore::<&'tcx [(DefId,
                GenericArgsRef<'tcx>)]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.mir_inliner_callees,
                &self.tcx.query_system.caches.mir_inliner_callees, self.span,
                key.into_query_param()))
    }
    #[doc = " Computes the tag (if any) for a given type and variant."]
    #[doc = ""]
    #[doc =
    " `None` means that the variant doesn\'t need a tag (because it is niched)."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic for uninhabited variants and if the passed type is not an enum."]
    #[inline(always)]
    pub fn tag_for_variant(self,
        key: PseudoCanonicalInput<'tcx, (Ty<'tcx>, abi::VariantIdx)>)
        -> Option<ty::ScalarInt> {
        restore::<Option<ty::ScalarInt>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.tag_for_variant,
                &self.tcx.query_system.caches.tag_for_variant, self.span,
                key.into_query_param()))
    }
    #[doc = " Evaluates a constant and returns the computed allocation."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this query** directly, use [`Self::eval_to_const_value_raw`] or"]
    #[doc = " [`Self::eval_to_valtree`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn eval_to_allocation_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>)
        -> EvalToAllocationRawResult<'tcx> {
        restore::<EvalToAllocationRawResult<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.eval_to_allocation_raw,
                &self.tcx.query_system.caches.eval_to_allocation_raw,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Evaluate a static\'s initializer, returning the allocation of the initializer\'s memory."]
    #[inline(always)]
    pub fn eval_static_initializer(self, key: impl IntoQueryParam<DefId>)
        -> EvalStaticInitializerRawResult<'tcx> {
        restore::<EvalStaticInitializerRawResult<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.eval_static_initializer,
                &self.tcx.query_system.caches.eval_static_initializer,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Evaluates const items or anonymous constants[^1] into a representation"]
    #[doc = " suitable for the type system and const generics."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " **Do not call this** directly, use one of the following wrappers:"]
    #[doc = " [`TyCtxt::const_eval_poly`], [`TyCtxt::const_eval_resolve`],"]
    #[doc =
    " [`TyCtxt::const_eval_instance`], or [`TyCtxt::const_eval_global_id`]."]
    #[doc = ""]
    #[doc = " </div>"]
    #[doc = ""]
    #[doc =
    " [^1]: Such as enum variant explicit discriminants or array lengths."]
    #[inline(always)]
    pub fn eval_to_const_value_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>)
        -> EvalToConstValueResult<'tcx> {
        restore::<EvalToConstValueResult<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.eval_to_const_value_raw,
                &self.tcx.query_system.caches.eval_to_const_value_raw,
                self.span, key.into_query_param()))
    }
    #[doc = " Evaluate a constant and convert it to a type level constant or"]
    #[doc = " return `None` if that is not possible."]
    #[inline(always)]
    pub fn eval_to_valtree(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>)
        -> EvalToValTreeResult<'tcx> {
        restore::<EvalToValTreeResult<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.eval_to_valtree,
                &self.tcx.query_system.caches.eval_to_valtree, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Converts a type-level constant value into a MIR constant value."]
    #[inline(always)]
    pub fn valtree_to_const_val(self, key: ty::Value<'tcx>)
        -> mir::ConstValue {
        restore::<mir::ConstValue>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.valtree_to_const_val,
                &self.tcx.query_system.caches.valtree_to_const_val, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] converting literal to const"]
    #[inline(always)]
    pub fn lit_to_const(self, key: LitToConstInput<'tcx>) -> ty::Const<'tcx> {
        restore::<ty::Const<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.lit_to_const,
                &self.tcx.query_system.caches.lit_to_const, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] match-checking  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn check_match(self, key: impl IntoQueryParam<LocalDefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        restore::<Result<(),
                rustc_errors::ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_match,
                &self.tcx.query_system.caches.check_match, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Performs part of the privacy check and computes effective visibilities."]
    #[inline(always)]
    pub fn effective_visibilities(self, key: ())
        -> &'tcx EffectiveVisibilities {
        restore::<&'tcx EffectiveVisibilities>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.effective_visibilities,
                &self.tcx.query_system.caches.effective_visibilities,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking for private elements in public interfaces for  `describe_as_module(module_def_id, tcx)` "]
    #[inline(always)]
    pub fn check_private_in_public(self, key: LocalModDefId) -> () {
        restore::<()>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_private_in_public,
                &self.tcx.query_system.caches.check_private_in_public,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] reachability"]
    #[inline(always)]
    pub fn reachable_set(self, key: ()) -> &'tcx LocalDefIdSet {
        restore::<&'tcx LocalDefIdSet>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.reachable_set,
                &self.tcx.query_system.caches.reachable_set, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Per-body `region::ScopeTree`. The `DefId` should be the owner `DefId` for the body;"]
    #[doc =
    " in the case of closures, this will be redirected to the enclosing function."]
    #[inline(always)]
    pub fn region_scope_tree(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx crate::middle::region::ScopeTree {
        restore::<&'tcx crate::middle::region::ScopeTree>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.region_scope_tree,
                &self.tcx.query_system.caches.region_scope_tree, self.span,
                key.into_query_param()))
    }
    #[doc = " Generates a MIR body for the shim."]
    #[inline(always)]
    pub fn mir_shims(self, key: ty::InstanceKind<'tcx>)
        -> &'tcx mir::Body<'tcx> {
        restore::<&'tcx mir::Body<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.mir_shims,
                &self.tcx.query_system.caches.mir_shims, self.span,
                key.into_query_param()))
    }
    #[doc = " The `symbol_name` query provides the symbol name for calling a"]
    #[doc =
    " given instance from the local crate. In particular, it will also"]
    #[doc =
    " look up the correct symbol name of instances from upstream crates."]
    #[inline(always)]
    pub fn symbol_name(self, key: ty::Instance<'tcx>)
        -> ty::SymbolName<'tcx> {
        restore::<ty::SymbolName<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.symbol_name,
                &self.tcx.query_system.caches.symbol_name, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up definition kind of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn def_kind(self, key: impl IntoQueryParam<DefId>) -> DefKind {
        restore::<DefKind>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.def_kind,
                &self.tcx.query_system.caches.def_kind, self.span,
                key.into_query_param()))
    }
    #[doc = " Gets the span for the definition."]
    #[inline(always)]
    pub fn def_span(self, key: impl IntoQueryParam<DefId>) -> Span {
        restore::<Span>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.def_span,
                &self.tcx.query_system.caches.def_span, self.span,
                key.into_query_param()))
    }
    #[doc = " Gets the span for the identifier of the definition."]
    #[inline(always)]
    pub fn def_ident_span(self, key: impl IntoQueryParam<DefId>)
        -> Option<Span> {
        restore::<Option<Span>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.def_ident_span,
                &self.tcx.query_system.caches.def_ident_span, self.span,
                key.into_query_param()))
    }
    #[doc = " Gets the span for the type of the definition."]
    #[doc = " Panics if it is not a definition that has a single type."]
    #[inline(always)]
    pub fn ty_span(self, key: impl IntoQueryParam<LocalDefId>) -> Span {
        restore::<Span>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.ty_span,
                &self.tcx.query_system.caches.ty_span, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up stability of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn lookup_stability(self, key: impl IntoQueryParam<DefId>)
        -> Option<hir::Stability> {
        restore::<Option<hir::Stability>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.lookup_stability,
                &self.tcx.query_system.caches.lookup_stability, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up const stability of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn lookup_const_stability(self, key: impl IntoQueryParam<DefId>)
        -> Option<hir::ConstStability> {
        restore::<Option<hir::ConstStability>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.lookup_const_stability,
                &self.tcx.query_system.caches.lookup_const_stability,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up default body stability of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn lookup_default_body_stability(self,
        key: impl IntoQueryParam<DefId>)
        -> Option<hir::DefaultBodyStability> {
        restore::<Option<hir::DefaultBodyStability>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.lookup_default_body_stability,
                &self.tcx.query_system.caches.lookup_default_body_stability,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing should_inherit_track_caller of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn should_inherit_track_caller(self, key: impl IntoQueryParam<DefId>)
        -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.should_inherit_track_caller,
                &self.tcx.query_system.caches.should_inherit_track_caller,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing inherited_align of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn inherited_align(self, key: impl IntoQueryParam<DefId>)
        -> Option<Align> {
        restore::<Option<Align>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.inherited_align,
                &self.tcx.query_system.caches.inherited_align, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is deprecated"]
    #[inline(always)]
    pub fn lookup_deprecation_entry(self, key: impl IntoQueryParam<DefId>)
        -> Option<DeprecationEntry> {
        restore::<Option<DeprecationEntry>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.lookup_deprecation_entry,
                &self.tcx.query_system.caches.lookup_deprecation_entry,
                self.span, key.into_query_param()))
    }
    #[doc = " Determines whether an item is annotated with `#[doc(hidden)]`."]
    #[inline(always)]
    pub fn is_doc_hidden(self, key: impl IntoQueryParam<DefId>) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_doc_hidden,
                &self.tcx.query_system.caches.is_doc_hidden, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Determines whether an item is annotated with `#[doc(notable_trait)]`."]
    #[inline(always)]
    pub fn is_doc_notable_trait(self, key: impl IntoQueryParam<DefId>)
        -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_doc_notable_trait,
                &self.tcx.query_system.caches.is_doc_notable_trait, self.span,
                key.into_query_param()))
    }
    #[doc = " Returns the attributes on the item at `def_id`."]
    #[doc = ""]
    #[doc = " Do not use this directly, use `tcx.get_attrs` instead."]
    #[inline(always)]
    pub fn attrs_for_def(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [hir::Attribute] {
        restore::<&'tcx [hir::Attribute]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.attrs_for_def,
                &self.tcx.query_system.caches.attrs_for_def, self.span,
                key.into_query_param()))
    }
    #[doc = " Returns the `CodegenFnAttrs` for the item at `def_id`."]
    #[doc = ""]
    #[doc =
    " If possible, use `tcx.codegen_instance_attrs` instead. That function takes the"]
    #[doc = " instance kind into account."]
    #[doc = ""]
    #[doc =
    " For example, the `#[naked]` attribute should be applied for `InstanceKind::Item`,"]
    #[doc =
    " but should not be applied if the instance kind is `InstanceKind::ReifyShim`."]
    #[doc =
    " Using this query would include the attribute regardless of the actual instance"]
    #[doc = " kind at the call site."]
    #[inline(always)]
    pub fn codegen_fn_attrs(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx CodegenFnAttrs {
        restore::<&'tcx CodegenFnAttrs>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.codegen_fn_attrs,
                &self.tcx.query_system.caches.codegen_fn_attrs, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing target features for inline asm of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn asm_target_features(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx FxIndexSet<Symbol> {
        restore::<&'tcx FxIndexSet<Symbol>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.asm_target_features,
                &self.tcx.query_system.caches.asm_target_features, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up function parameter identifiers for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn fn_arg_idents(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [Option<rustc_span::Ident>] {
        restore::<&'tcx [Option<rustc_span::Ident>]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.fn_arg_idents,
                &self.tcx.query_system.caches.fn_arg_idents, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Gets the rendered value of the specified constant or associated constant."]
    #[doc = " Used by rustdoc."]
    #[inline(always)]
    pub fn rendered_const(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx String {
        restore::<&'tcx String>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.rendered_const,
                &self.tcx.query_system.caches.rendered_const, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Gets the rendered precise capturing args for an opaque for use in rustdoc."]
    #[inline(always)]
    pub fn rendered_precise_capturing_args(self,
        key: impl IntoQueryParam<DefId>)
        -> Option<&'tcx [PreciseCapturingArgKind<Symbol, Symbol>]> {
        restore::<Option<&'tcx [PreciseCapturingArgKind<Symbol,
                Symbol>]>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.rendered_precise_capturing_args,
                &self.tcx.query_system.caches.rendered_precise_capturing_args,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing specialization parent impl of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn impl_parent(self, key: impl IntoQueryParam<DefId>)
        -> Option<DefId> {
        restore::<Option<DefId>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.impl_parent,
                &self.tcx.query_system.caches.impl_parent, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if item has CTFE MIR available:  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn is_ctfe_mir_available(self, key: impl IntoQueryParam<DefId>)
        -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_ctfe_mir_available,
                &self.tcx.query_system.caches.is_ctfe_mir_available,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if item has MIR available:  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn is_mir_available(self, key: impl IntoQueryParam<DefId>) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_mir_available,
                &self.tcx.query_system.caches.is_mir_available, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding all existential vtable entries for trait  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn own_existential_vtable_entries(self,
        key: impl IntoQueryParam<DefId>) -> &'tcx [DefId] {
        restore::<&'tcx [DefId]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.own_existential_vtable_entries,
                &self.tcx.query_system.caches.own_existential_vtable_entries,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding all vtable entries for trait  `tcx.def_path_str(key.def_id)` "]
    #[inline(always)]
    pub fn vtable_entries(self, key: ty::TraitRef<'tcx>)
        -> &'tcx [ty::VtblEntry<'tcx>] {
        restore::<&'tcx [ty::VtblEntry<'tcx>]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.vtable_entries,
                &self.tcx.query_system.caches.vtable_entries, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding the slot within the vtable of  `key.self_ty()`  for the implementation of  `key.print_only_trait_name()` "]
    #[inline(always)]
    pub fn first_method_vtable_slot(self, key: ty::TraitRef<'tcx>) -> usize {
        restore::<usize>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.first_method_vtable_slot,
                &self.tcx.query_system.caches.first_method_vtable_slot,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] finding the slot within vtable for trait object  `key.1`  vtable ptr during trait upcasting coercion from  `key.0`  vtable"]
    #[inline(always)]
    pub fn supertrait_vtable_slot(self, key: (Ty<'tcx>, Ty<'tcx>))
        -> Option<usize> {
        restore::<Option<usize>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.supertrait_vtable_slot,
                &self.tcx.query_system.caches.supertrait_vtable_slot,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] vtable const allocation for < `key.0`  as  `key.1.map(| trait_ref | format!\n(\"{trait_ref}\")).unwrap_or_else(| | \"_\".to_owned())` >"]
    #[inline(always)]
    pub fn vtable_allocation(self,
        key: (Ty<'tcx>, Option<ty::ExistentialTraitRef<'tcx>>))
        -> mir::interpret::AllocId {
        restore::<mir::interpret::AllocId>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.vtable_allocation,
                &self.tcx.query_system.caches.vtable_allocation, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing candidate for  `key.value` "]
    #[inline(always)]
    pub fn codegen_select_candidate(self,
        key: PseudoCanonicalInput<'tcx, ty::TraitRef<'tcx>>)
        -> Result<&'tcx ImplSource<'tcx, ()>, CodegenObligationError> {
        restore::<Result<&'tcx ImplSource<'tcx, ()>,
                CodegenObligationError>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.codegen_select_candidate,
                &self.tcx.query_system.caches.codegen_select_candidate,
                self.span, key.into_query_param()))
    }
    #[doc = " Return all `impl` blocks in the current crate."]
    #[inline(always)]
    pub fn all_local_trait_impls(self, key: ())
        ->
            &'tcx rustc_data_structures::fx::FxIndexMap<DefId,
            Vec<LocalDefId>> {
        restore::<&'tcx rustc_data_structures::fx::FxIndexMap<DefId,
                Vec<LocalDefId>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.all_local_trait_impls,
                &self.tcx.query_system.caches.all_local_trait_impls,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Return all `impl` blocks of the given trait in the current crate."]
    #[inline(always)]
    pub fn local_trait_impls(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [LocalDefId] {
        restore::<&'tcx [LocalDefId]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.local_trait_impls,
                &self.tcx.query_system.caches.local_trait_impls, self.span,
                key.into_query_param()))
    }
    #[doc = " Given a trait `trait_id`, return all known `impl` blocks."]
    #[inline(always)]
    pub fn trait_impls_of(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx ty::trait_def::TraitImpls {
        restore::<&'tcx ty::trait_def::TraitImpls>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.trait_impls_of,
                &self.tcx.query_system.caches.trait_impls_of, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] building specialization graph of trait  `tcx.def_path_str(trait_id)` "]
    #[inline(always)]
    pub fn specialization_graph_of(self, key: impl IntoQueryParam<DefId>)
        -> Result<&'tcx specialization_graph::Graph, ErrorGuaranteed> {
        restore::<Result<&'tcx specialization_graph::Graph,
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.specialization_graph_of,
                &self.tcx.query_system.caches.specialization_graph_of,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determining dyn-compatibility of trait  `tcx.def_path_str(trait_id)` "]
    #[inline(always)]
    pub fn dyn_compatibility_violations(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [DynCompatibilityViolation] {
        restore::<&'tcx [DynCompatibilityViolation]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.dyn_compatibility_violations,
                &self.tcx.query_system.caches.dyn_compatibility_violations,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if trait  `tcx.def_path_str(trait_id)`  is dyn-compatible"]
    #[inline(always)]
    pub fn is_dyn_compatible(self, key: impl IntoQueryParam<DefId>) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_dyn_compatible,
                &self.tcx.query_system.caches.is_dyn_compatible, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Gets the ParameterEnvironment for a given item; this environment"]
    #[doc =
    " will be in \"user-facing\" mode, meaning that it is suitable for"]
    #[doc = " type-checking etc, and it does not normalize specializable"]
    #[doc = " associated types."]
    #[doc = ""]
    #[doc =
    " You should almost certainly not use this. If you already have an InferCtxt, then"]
    #[doc =
    " you should also probably have a `ParamEnv` from when it was built. If you don\'t,"]
    #[doc =
    " then you should take a `TypingEnv` to ensure that you handle opaque types correctly."]
    #[inline(always)]
    pub fn param_env(self, key: impl IntoQueryParam<DefId>)
        -> ty::ParamEnv<'tcx> {
        restore::<ty::ParamEnv<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.param_env,
                &self.tcx.query_system.caches.param_env, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Like `param_env`, but returns the `ParamEnv` after all opaque types have been"]
    #[doc =
    " replaced with their hidden type. This is used in the old trait solver"]
    #[doc = " when in `PostAnalysis` mode and should not be called directly."]
    #[inline(always)]
    pub fn typing_env_normalized_for_post_analysis(self,
        key: impl IntoQueryParam<DefId>) -> ty::TypingEnv<'tcx> {
        restore::<ty::TypingEnv<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.typing_env_normalized_for_post_analysis,
                &self.tcx.query_system.caches.typing_env_normalized_for_post_analysis,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Trait selection queries. These are best used by invoking `ty.is_copy_modulo_regions()`,"]
    #[doc =
    " `ty.is_copy()`, etc, since that will prune the environment where possible."]
    #[inline(always)]
    pub fn is_copy_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_copy_raw,
                &self.tcx.query_system.caches.is_copy_raw, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Trait selection queries. These are best used by invoking `ty.is_use_cloned_modulo_regions()`,"]
    #[doc =
    " `ty.is_use_cloned()`, etc, since that will prune the environment where possible."]
    #[inline(always)]
    pub fn is_use_cloned_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_use_cloned_raw,
                &self.tcx.query_system.caches.is_use_cloned_raw, self.span,
                key.into_query_param()))
    }
    #[doc = " Query backing `Ty::is_sized`."]
    #[inline(always)]
    pub fn is_sized_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_sized_raw,
                &self.tcx.query_system.caches.is_sized_raw, self.span,
                key.into_query_param()))
    }
    #[doc = " Query backing `Ty::is_freeze`."]
    #[inline(always)]
    pub fn is_freeze_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_freeze_raw,
                &self.tcx.query_system.caches.is_freeze_raw, self.span,
                key.into_query_param()))
    }
    #[doc = " Query backing `Ty::is_unpin`."]
    #[inline(always)]
    pub fn is_unpin_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_unpin_raw,
                &self.tcx.query_system.caches.is_unpin_raw, self.span,
                key.into_query_param()))
    }
    #[doc = " Query backing `Ty::is_async_drop`."]
    #[inline(always)]
    pub fn is_async_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_async_drop_raw,
                &self.tcx.query_system.caches.is_async_drop_raw, self.span,
                key.into_query_param()))
    }
    #[doc = " Query backing `Ty::needs_drop`."]
    #[inline(always)]
    pub fn needs_drop_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.needs_drop_raw,
                &self.tcx.query_system.caches.needs_drop_raw, self.span,
                key.into_query_param()))
    }
    #[doc = " Query backing `Ty::needs_async_drop`."]
    #[inline(always)]
    pub fn needs_async_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.needs_async_drop_raw,
                &self.tcx.query_system.caches.needs_async_drop_raw, self.span,
                key.into_query_param()))
    }
    #[doc = " Query backing `Ty::has_significant_drop_raw`."]
    #[inline(always)]
    pub fn has_significant_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.has_significant_drop_raw,
                &self.tcx.query_system.caches.has_significant_drop_raw,
                self.span, key.into_query_param()))
    }
    #[doc = " Query backing `Ty::is_structural_eq_shallow`."]
    #[doc = ""]
    #[doc =
    " This is only correct for ADTs. Call `is_structural_eq_shallow` to handle all types"]
    #[doc = " correctly."]
    #[inline(always)]
    pub fn has_structural_eq_impl(self, key: Ty<'tcx>) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.has_structural_eq_impl,
                &self.tcx.query_system.caches.has_structural_eq_impl,
                self.span, key.into_query_param()))
    }
    #[doc =
    " A list of types where the ADT requires drop if and only if any of"]
    #[doc =
    " those types require drop. If the ADT is known to always need drop"]
    #[doc = " then `Err(AlwaysRequiresDrop)` is returned."]
    #[inline(always)]
    pub fn adt_drop_tys(self, key: impl IntoQueryParam<DefId>)
        -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
        restore::<Result<&'tcx ty::List<Ty<'tcx>>,
                AlwaysRequiresDrop>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.adt_drop_tys,
                &self.tcx.query_system.caches.adt_drop_tys, self.span,
                key.into_query_param()))
    }
    #[doc =
    " A list of types where the ADT requires async drop if and only if any of"]
    #[doc =
    " those types require async drop. If the ADT is known to always need async drop"]
    #[doc = " then `Err(AlwaysRequiresDrop)` is returned."]
    #[inline(always)]
    pub fn adt_async_drop_tys(self, key: impl IntoQueryParam<DefId>)
        -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
        restore::<Result<&'tcx ty::List<Ty<'tcx>>,
                AlwaysRequiresDrop>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.adt_async_drop_tys,
                &self.tcx.query_system.caches.adt_async_drop_tys, self.span,
                key.into_query_param()))
    }
    #[doc =
    " A list of types where the ADT requires drop if and only if any of those types"]
    #[doc =
    " has significant drop. A type marked with the attribute `rustc_insignificant_dtor`"]
    #[doc =
    " is considered to not be significant. A drop is significant if it is implemented"]
    #[doc =
    " by the user or does anything that will have any observable behavior (other than"]
    #[doc =
    " freeing up memory). If the ADT is known to have a significant destructor then"]
    #[doc = " `Err(AlwaysRequiresDrop)` is returned."]
    #[inline(always)]
    pub fn adt_significant_drop_tys(self, key: impl IntoQueryParam<DefId>)
        -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
        restore::<Result<&'tcx ty::List<Ty<'tcx>>,
                AlwaysRequiresDrop>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.adt_significant_drop_tys,
                &self.tcx.query_system.caches.adt_significant_drop_tys,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Returns a list of types which (a) have a potentially significant destructor"]
    #[doc =
    " and (b) may be dropped as a result of dropping a value of some type `ty`"]
    #[doc = " (in the given environment)."]
    #[doc = ""]
    #[doc =
    " The idea of \"significant\" drop is somewhat informal and is used only for"]
    #[doc =
    " diagnostics and edition migrations. The idea is that a significant drop may have"]
    #[doc =
    " some visible side-effect on execution; freeing memory is NOT considered a side-effect."]
    #[doc = " The rules are as follows:"]
    #[doc =
    " * Type with no explicit drop impl do not have significant drop."]
    #[doc =
    " * Types with a drop impl are assumed to have significant drop unless they have a `#[rustc_insignificant_dtor]` annotation."]
    #[doc = ""]
    #[doc =
    " Note that insignificant drop is a \"shallow\" property. A type like `Vec<LockGuard>` does not"]
    #[doc =
    " have significant drop but the type `LockGuard` does, and so if `ty  = Vec<LockGuard>`"]
    #[doc = " then the return value would be `&[LockGuard]`."]
    #[doc =
    " *IMPORTANT*: *DO NOT* run this query before promoted MIR body is constructed,"]
    #[doc = " because this query partially depends on that query."]
    #[doc = " Otherwise, there is a risk of query cycles."]
    #[inline(always)]
    pub fn list_significant_drop_tys(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> &'tcx ty::List<Ty<'tcx>> {
        restore::<&'tcx ty::List<Ty<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.list_significant_drop_tys,
                &self.tcx.query_system.caches.list_significant_drop_tys,
                self.span, key.into_query_param()))
    }
    #[doc = " Computes the layout of a type. Note that this implicitly"]
    #[doc =
    " executes in `TypingMode::PostAnalysis`, and will normalize the input type."]
    #[inline(always)]
    pub fn layout_of(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        ->
            Result<ty::layout::TyAndLayout<'tcx>,
            &'tcx ty::layout::LayoutError<'tcx>> {
        restore::<Result<ty::layout::TyAndLayout<'tcx>,
                &'tcx ty::layout::LayoutError<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.layout_of,
                &self.tcx.query_system.caches.layout_of, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Compute a `FnAbi` suitable for indirect calls, i.e. to `fn` pointers."]
    #[doc = ""]
    #[doc =
    " NB: this doesn\'t handle virtual calls - those should use `fn_abi_of_instance`"]
    #[doc = " instead, where the instance is an `InstanceKind::Virtual`."]
    #[inline(always)]
    pub fn fn_abi_of_fn_ptr(self,
        key:
            ty::PseudoCanonicalInput<'tcx,
            (ty::PolyFnSig<'tcx>, &'tcx ty::List<Ty<'tcx>>)>)
        ->
            Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>,
            &'tcx ty::layout::FnAbiError<'tcx>> {
        restore::<Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>,
                &'tcx ty::layout::FnAbiError<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.fn_abi_of_fn_ptr,
                &self.tcx.query_system.caches.fn_abi_of_fn_ptr, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for"]
    #[doc = " direct calls to an `fn`."]
    #[doc = ""]
    #[doc =
    " NB: that includes virtual calls, which are represented by \"direct calls\""]
    #[doc =
    " to an `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`)."]
    #[inline(always)]
    pub fn fn_abi_of_instance(self,
        key:
            ty::PseudoCanonicalInput<'tcx,
            (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)>)
        ->
            Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>,
            &'tcx ty::layout::FnAbiError<'tcx>> {
        restore::<Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>,
                &'tcx ty::layout::FnAbiError<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.fn_abi_of_instance,
                &self.tcx.query_system.caches.fn_abi_of_instance, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting dylib dependency formats of crate"]
    #[inline(always)]
    pub fn dylib_dependency_formats(self, key: CrateNum)
        -> &'tcx [(CrateNum, LinkagePreference)] {
        restore::<&'tcx [(CrateNum,
                LinkagePreference)]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.dylib_dependency_formats,
                &self.tcx.query_system.caches.dylib_dependency_formats,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the linkage format of all dependencies"]
    #[inline(always)]
    pub fn dependency_formats(self, key: ())
        -> &'tcx Arc<crate::middle::dependency_format::Dependencies> {
        restore::<&'tcx Arc<crate::middle::dependency_format::Dependencies>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.dependency_formats,
                &self.tcx.query_system.caches.dependency_formats, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate is_compiler_builtins"]
    #[inline(always)]
    pub fn is_compiler_builtins(self, key: CrateNum) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_compiler_builtins,
                &self.tcx.query_system.caches.is_compiler_builtins, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_global_allocator"]
    #[inline(always)]
    pub fn has_global_allocator(self, key: CrateNum) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.has_global_allocator,
                &self.tcx.query_system.caches.has_global_allocator, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_alloc_error_handler"]
    #[inline(always)]
    pub fn has_alloc_error_handler(self, key: CrateNum) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.has_alloc_error_handler,
                &self.tcx.query_system.caches.has_alloc_error_handler,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if the crate has_panic_handler"]
    #[inline(always)]
    pub fn has_panic_handler(self, key: CrateNum) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.has_panic_handler,
                &self.tcx.query_system.caches.has_panic_handler, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if a crate is `#![profiler_runtime]`"]
    #[inline(always)]
    pub fn is_profiler_runtime(self, key: CrateNum) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_profiler_runtime,
                &self.tcx.query_system.caches.is_profiler_runtime, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(key)`  contains FFI-unwind calls"]
    #[inline(always)]
    pub fn has_ffi_unwind_calls(self, key: impl IntoQueryParam<LocalDefId>)
        -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.has_ffi_unwind_calls,
                &self.tcx.query_system.caches.has_ffi_unwind_calls, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's required panic strategy"]
    #[inline(always)]
    pub fn required_panic_strategy(self, key: CrateNum)
        -> Option<PanicStrategy> {
        restore::<Option<PanicStrategy>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.required_panic_strategy,
                &self.tcx.query_system.caches.required_panic_strategy,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's configured panic-in-drop strategy"]
    #[inline(always)]
    pub fn panic_in_drop_strategy(self, key: CrateNum) -> PanicStrategy {
        restore::<PanicStrategy>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.panic_in_drop_strategy,
                &self.tcx.query_system.caches.panic_in_drop_strategy,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting whether a crate has `#![no_builtins]`"]
    #[inline(always)]
    pub fn is_no_builtins(self, key: CrateNum) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_no_builtins,
                &self.tcx.query_system.caches.is_no_builtins, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting a crate's symbol mangling version"]
    #[inline(always)]
    pub fn symbol_mangling_version(self, key: CrateNum)
        -> SymbolManglingVersion {
        restore::<SymbolManglingVersion>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.symbol_mangling_version,
                &self.tcx.query_system.caches.symbol_mangling_version,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting crate's ExternCrateData"]
    #[inline(always)]
    pub fn extern_crate(self, key: CrateNum) -> Option<&'tcx ExternCrate> {
        restore::<Option<&'tcx ExternCrate>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.extern_crate,
                &self.tcx.query_system.caches.extern_crate, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether the crate enabled `specialization`/`min_specialization`"]
    #[inline(always)]
    pub fn specialization_enabled_in(self, key: CrateNum) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.specialization_enabled_in,
                &self.tcx.query_system.caches.specialization_enabled_in,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing whether impls specialize one another"]
    #[inline(always)]
    pub fn specializes(self, key: (DefId, DefId)) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.specializes,
                &self.tcx.query_system.caches.specializes, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting traits in scope at a block"]
    #[inline(always)]
    pub fn in_scope_traits_map(self, key: hir::OwnerId)
        -> Option<&'tcx ItemLocalMap<Box<[TraitCandidate]>>> {
        restore::<Option<&'tcx ItemLocalMap<Box<[TraitCandidate]>>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.in_scope_traits_map,
                &self.tcx.query_system.caches.in_scope_traits_map, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Returns whether the impl or associated function has the `default` keyword."]
    #[doc =
    " Note: This will ICE on inherent impl items. Consider using `AssocItem::defaultness`."]
    #[inline(always)]
    pub fn defaultness(self, key: impl IntoQueryParam<DefId>)
        -> hir::Defaultness {
        restore::<hir::Defaultness>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.defaultness,
                &self.tcx.query_system.caches.defaultness, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Returns whether the field corresponding to the `DefId` has a default field value."]
    #[inline(always)]
    pub fn default_field(self, key: impl IntoQueryParam<DefId>)
        -> Option<DefId> {
        restore::<Option<DefId>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.default_field,
                &self.tcx.query_system.caches.default_field, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking that  `tcx.def_path_str(key)`  is well-formed"]
    #[inline(always)]
    pub fn check_well_formed(self, key: impl IntoQueryParam<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        restore::<Result<(),
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_well_formed,
                &self.tcx.query_system.caches.check_well_formed, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking that  `tcx.def_path_str(key)` 's generics are constrained by the impl header"]
    #[inline(always)]
    pub fn enforce_impl_non_lifetime_params_are_constrained(self,
        key: impl IntoQueryParam<LocalDefId>) -> Result<(), ErrorGuaranteed> {
        restore::<Result<(),
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.enforce_impl_non_lifetime_params_are_constrained,
                &self.tcx.query_system.caches.enforce_impl_non_lifetime_params_are_constrained,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the exported symbols of a crate"]
    #[inline(always)]
    pub fn reachable_non_generics(self, key: CrateNum)
        -> &'tcx DefIdMap<SymbolExportInfo> {
        restore::<&'tcx DefIdMap<SymbolExportInfo>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.reachable_non_generics,
                &self.tcx.query_system.caches.reachable_non_generics,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is an exported symbol"]
    #[inline(always)]
    pub fn is_reachable_non_generic(self, key: impl IntoQueryParam<DefId>)
        -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_reachable_non_generic,
                &self.tcx.query_system.caches.is_reachable_non_generic,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is reachable from outside the crate"]
    #[inline(always)]
    pub fn is_unreachable_local_definition(self,
        key: impl IntoQueryParam<LocalDefId>) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_unreachable_local_definition,
                &self.tcx.query_system.caches.is_unreachable_local_definition,
                self.span, key.into_query_param()))
    }
    #[doc = " The entire set of monomorphizations the local crate can safely"]
    #[doc = " link to because they are exported from upstream crates. Do"]
    #[doc = " not depend on this directly, as its value changes anytime"]
    #[doc = " a monomorphization gets added or removed in any upstream"]
    #[doc =
    " crate. Instead use the narrower `upstream_monomorphizations_for`,"]
    #[doc = " `upstream_drop_glue_for`, `upstream_async_drop_glue_for`, or,"]
    #[doc = " even better, `Instance::upstream_monomorphization()`."]
    #[inline(always)]
    pub fn upstream_monomorphizations(self, key: ())
        -> &'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>, CrateNum>> {
        restore::<&'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>,
                CrateNum>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.upstream_monomorphizations,
                &self.tcx.query_system.caches.upstream_monomorphizations,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Returns the set of upstream monomorphizations available for the"]
    #[doc =
    " generic function identified by the given `def_id`. The query makes"]
    #[doc =
    " sure to make a stable selection if the same monomorphization is"]
    #[doc = " available in multiple upstream crates."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    #[inline(always)]
    pub fn upstream_monomorphizations_for(self,
        key: impl IntoQueryParam<DefId>)
        -> Option<&'tcx UnordMap<GenericArgsRef<'tcx>, CrateNum>> {
        restore::<Option<&'tcx UnordMap<GenericArgsRef<'tcx>,
                CrateNum>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.upstream_monomorphizations_for,
                &self.tcx.query_system.caches.upstream_monomorphizations_for,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Returns the upstream crate that exports drop-glue for the given"]
    #[doc =
    " type (`args` is expected to be a single-item list containing the"]
    #[doc = " type one wants drop-glue for)."]
    #[doc = ""]
    #[doc =
    " This is a subset of `upstream_monomorphizations_for` in order to"]
    #[doc =
    " increase dep-tracking granularity. Otherwise adding or removing any"]
    #[doc = " type with drop-glue in any upstream crate would invalidate all"]
    #[doc = " functions calling drop-glue of an upstream type."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    #[doc = ""]
    #[doc =
    " NOTE: This query could easily be extended to also support other"]
    #[doc =
    "       common functions that have are large set of monomorphizations"]
    #[doc = "       (like `Clone::clone` for example)."]
    #[inline(always)]
    pub fn upstream_drop_glue_for(self, key: GenericArgsRef<'tcx>)
        -> Option<CrateNum> {
        restore::<Option<CrateNum>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.upstream_drop_glue_for,
                &self.tcx.query_system.caches.upstream_drop_glue_for,
                self.span, key.into_query_param()))
    }
    #[doc = " Returns the upstream crate that exports async-drop-glue for"]
    #[doc = " the given type (`args` is expected to be a single-item list"]
    #[doc = " containing the type one wants async-drop-glue for)."]
    #[doc = ""]
    #[doc = " This is a subset of `upstream_monomorphizations_for` in order"]
    #[doc = " to increase dep-tracking granularity. Otherwise adding or"]
    #[doc = " removing any type with async-drop-glue in any upstream crate"]
    #[doc = " would invalidate all functions calling async-drop-glue of an"]
    #[doc = " upstream type."]
    #[doc = ""]
    #[doc =
    " You likely want to call `Instance::upstream_monomorphization()`"]
    #[doc = " instead of invoking this query directly."]
    #[doc = ""]
    #[doc =
    " NOTE: This query could easily be extended to also support other"]
    #[doc =
    "       common functions that have are large set of monomorphizations"]
    #[doc = "       (like `Clone::clone` for example)."]
    #[inline(always)]
    pub fn upstream_async_drop_glue_for(self, key: GenericArgsRef<'tcx>)
        -> Option<CrateNum> {
        restore::<Option<CrateNum>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.upstream_async_drop_glue_for,
                &self.tcx.query_system.caches.upstream_async_drop_glue_for,
                self.span, key.into_query_param()))
    }
    #[doc = " Returns a list of all `extern` blocks of a crate."]
    #[inline(always)]
    pub fn foreign_modules(self, key: CrateNum)
        -> &'tcx FxIndexMap<DefId, ForeignModule> {
        restore::<&'tcx FxIndexMap<DefId,
                ForeignModule>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.foreign_modules,
                &self.tcx.query_system.caches.foreign_modules, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Lint against `extern fn` declarations having incompatible types."]
    #[inline(always)]
    pub fn clashing_extern_declarations(self, key: ()) -> () {
        restore::<()>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.clashing_extern_declarations,
                &self.tcx.query_system.caches.clashing_extern_declarations,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Identifies the entry-point (e.g., the `main` function) for a given"]
    #[doc =
    " crate, returning `None` if there is no entry point (such as for library crates)."]
    #[inline(always)]
    pub fn entry_fn(self, key: ()) -> Option<(DefId, EntryFnType)> {
        restore::<Option<(DefId,
                EntryFnType)>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.entry_fn,
                &self.tcx.query_system.caches.entry_fn, self.span,
                key.into_query_param()))
    }
    #[doc = " Finds the `rustc_proc_macro_decls` item of a crate."]
    #[inline(always)]
    pub fn proc_macro_decls_static(self, key: ()) -> Option<LocalDefId> {
        restore::<Option<LocalDefId>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.proc_macro_decls_static,
                &self.tcx.query_system.caches.proc_macro_decls_static,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the hash a crate"]
    #[inline(always)]
    pub fn crate_hash(self, key: CrateNum) -> Svh {
        restore::<Svh>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.crate_hash,
                &self.tcx.query_system.caches.crate_hash, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Gets the hash for the host proc macro. Used to support -Z dual-proc-macro."]
    #[inline(always)]
    pub fn crate_host_hash(self, key: CrateNum) -> Option<Svh> {
        restore::<Option<Svh>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.crate_host_hash,
                &self.tcx.query_system.caches.crate_host_hash, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Gets the extra data to put in each output filename for a crate."]
    #[doc =
    " For example, compiling the `foo` crate with `extra-filename=-a` creates a `libfoo-b.rlib` file."]
    #[inline(always)]
    pub fn extra_filename(self, key: CrateNum) -> &'tcx String {
        restore::<&'tcx String>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.extra_filename,
                &self.tcx.query_system.caches.extra_filename, self.span,
                key.into_query_param()))
    }
    #[doc = " Gets the paths where the crate came from in the file system."]
    #[inline(always)]
    pub fn crate_extern_paths(self, key: CrateNum) -> &'tcx Vec<PathBuf> {
        restore::<&'tcx Vec<PathBuf>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.crate_extern_paths,
                &self.tcx.query_system.caches.crate_extern_paths, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Given a crate and a trait, look up all impls of that trait in the crate."]
    #[doc = " Return `(impl_id, self_ty)`."]
    #[inline(always)]
    pub fn implementations_of_trait(self, key: (CrateNum, DefId))
        -> &'tcx [(DefId, Option<SimplifiedType>)] {
        restore::<&'tcx [(DefId,
                Option<SimplifiedType>)]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.implementations_of_trait,
                &self.tcx.query_system.caches.implementations_of_trait,
                self.span, key.into_query_param()))
    }
    #[doc = " Collects all incoherent impls for the given crate and type."]
    #[doc = ""]
    #[doc =
    " Do not call this directly, but instead use the `incoherent_impls` query."]
    #[doc =
    " This query is only used to get the data necessary for that query."]
    #[inline(always)]
    pub fn crate_incoherent_impls(self, key: (CrateNum, SimplifiedType))
        -> &'tcx [DefId] {
        restore::<&'tcx [DefId]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.crate_incoherent_impls,
                &self.tcx.query_system.caches.crate_incoherent_impls,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Get the corresponding native library from the `native_libraries` query"]
    #[inline(always)]
    pub fn native_library(self, key: impl IntoQueryParam<DefId>)
        -> Option<&'tcx NativeLib> {
        restore::<Option<&'tcx NativeLib>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.native_library,
                &self.tcx.query_system.caches.native_library, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] inheriting delegation signature"]
    #[inline(always)]
    pub fn inherit_sig_for_delegation_item(self,
        key: impl IntoQueryParam<LocalDefId>) -> &'tcx [Ty<'tcx>] {
        restore::<&'tcx [Ty<'tcx>]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.inherit_sig_for_delegation_item,
                &self.tcx.query_system.caches.inherit_sig_for_delegation_item,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Does lifetime resolution on items. Importantly, we can\'t resolve"]
    #[doc =
    " lifetimes directly on things like trait methods, because of trait params."]
    #[doc = " See `rustc_resolve::late::lifetimes` for details."]
    #[inline(always)]
    pub fn resolve_bound_vars(self, key: hir::OwnerId)
        -> &'tcx ResolveBoundVars {
        restore::<&'tcx ResolveBoundVars>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.resolve_bound_vars,
                &self.tcx.query_system.caches.resolve_bound_vars, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up a named region inside  `tcx.def_path_str(owner_id)` "]
    #[inline(always)]
    pub fn named_variable_map(self, key: hir::OwnerId)
        -> &'tcx SortedMap<ItemLocalId, ResolvedArg> {
        restore::<&'tcx SortedMap<ItemLocalId,
                ResolvedArg>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.named_variable_map,
                &self.tcx.query_system.caches.named_variable_map, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] testing if a region is late bound inside  `tcx.def_path_str(owner_id)` "]
    #[inline(always)]
    pub fn is_late_bound_map(self, key: hir::OwnerId)
        -> Option<&'tcx FxIndexSet<ItemLocalId>> {
        restore::<Option<&'tcx FxIndexSet<ItemLocalId>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_late_bound_map,
                &self.tcx.query_system.caches.is_late_bound_map, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Returns the *default lifetime* to be used if a trait object type were to be passed for"]
    #[doc = " the type parameter given by `DefId`."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_object_lifetime_default]` on an item to basically"]
    #[doc =
    " print the result of this query for use in UI tests or for debugging purposes."]
    #[doc = ""]
    #[doc = " # Examples"]
    #[doc = ""]
    #[doc =
    " - For `T` in `struct Foo<\'a, T: \'a>(&\'a T);`, this would be `Param(\'a)`"]
    #[doc =
    " - For `T` in `struct Bar<\'a, T>(&\'a T);`, this would be `Empty`"]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc =
    " This query will panic if the given definition is not a type parameter."]
    #[inline(always)]
    pub fn object_lifetime_default(self, key: impl IntoQueryParam<DefId>)
        -> ObjectLifetimeDefault {
        restore::<ObjectLifetimeDefault>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.object_lifetime_default,
                &self.tcx.query_system.caches.object_lifetime_default,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up late bound vars inside  `tcx.def_path_str(owner_id)` "]
    #[inline(always)]
    pub fn late_bound_vars_map(self, key: hir::OwnerId)
        -> &'tcx SortedMap<ItemLocalId, Vec<ty::BoundVariableKind>> {
        restore::<&'tcx SortedMap<ItemLocalId,
                Vec<ty::BoundVariableKind>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.late_bound_vars_map,
                &self.tcx.query_system.caches.late_bound_vars_map, self.span,
                key.into_query_param()))
    }
    #[doc =
    " For an opaque type, return the list of (captured lifetime, inner generic param)."]
    #[doc = " ```ignore (illustrative)"]
    #[doc =
    " fn foo<\'a: \'a, \'b, T>(&\'b u8) -> impl Into<Self> + \'b { ... }"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc =
    " We would return `[(\'a, \'_a), (\'b, \'_b)]`, with `\'a` early-bound and `\'b` late-bound."]
    #[doc = ""]
    #[doc = " After hir_ty_lowering, we get:"]
    #[doc = " ```ignore (pseudo-code)"]
    #[doc = " opaque foo::<\'a>::opaque<\'_a, \'_b>: Into<Foo<\'_a>> + \'_b;"]
    #[doc = "                          ^^^^^^^^ inner generic params"]
    #[doc =
    " fn foo<\'a>: for<\'b> fn(&\'b u8) -> foo::<\'a>::opaque::<\'a, \'b>"]
    #[doc =
    "                                                       ^^^^^^ captured lifetimes"]
    #[doc = " ```"]
    #[inline(always)]
    pub fn opaque_captured_lifetimes(self,
        key: impl IntoQueryParam<LocalDefId>)
        -> &'tcx [(ResolvedArg, LocalDefId)] {
        restore::<&'tcx [(ResolvedArg,
                LocalDefId)]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.opaque_captured_lifetimes,
                &self.tcx.query_system.caches.opaque_captured_lifetimes,
                self.span, key.into_query_param()))
    }
    #[doc = " Computes the visibility of the provided `def_id`."]
    #[doc = ""]
    #[doc =
    " If the item from the `def_id` doesn\'t have a visibility, it will panic. For example"]
    #[doc =
    " a generic type parameter will panic if you call this method on it:"]
    #[doc = ""]
    #[doc = " ```"]
    #[doc = " use std::fmt::Debug;"]
    #[doc = ""]
    #[doc = " pub trait Foo<T: Debug> {}"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc = " In here, if you call `visibility` on `T`, it\'ll panic."]
    #[inline(always)]
    pub fn visibility(self, key: impl IntoQueryParam<DefId>)
        -> ty::Visibility<DefId> {
        restore::<ty::Visibility<DefId>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.visibility,
                &self.tcx.query_system.caches.visibility, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing the uninhabited predicate of `{:?}`"]
    #[inline(always)]
    pub fn inhabited_predicate_adt(self, key: impl IntoQueryParam<DefId>)
        -> ty::inhabitedness::InhabitedPredicate<'tcx> {
        restore::<ty::inhabitedness::InhabitedPredicate<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.inhabited_predicate_adt,
                &self.tcx.query_system.caches.inhabited_predicate_adt,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Do not call this query directly: invoke `Ty::inhabited_predicate` instead."]
    #[inline(always)]
    pub fn inhabited_predicate_type(self, key: Ty<'tcx>)
        -> ty::inhabitedness::InhabitedPredicate<'tcx> {
        restore::<ty::inhabitedness::InhabitedPredicate<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.inhabited_predicate_type,
                &self.tcx.query_system.caches.inhabited_predicate_type,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching what a dependency looks like"]
    #[inline(always)]
    pub fn dep_kind(self, key: CrateNum) -> CrateDepKind {
        restore::<CrateDepKind>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.dep_kind,
                &self.tcx.query_system.caches.dep_kind, self.span,
                key.into_query_param()))
    }
    #[doc = " Gets the name of the crate."]
    #[inline(always)]
    pub fn crate_name(self, key: CrateNum) -> Symbol {
        restore::<Symbol>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.crate_name,
                &self.tcx.query_system.caches.crate_name, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting child items of module  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn module_children(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [ModChild] {
        restore::<&'tcx [ModChild]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.module_children,
                &self.tcx.query_system.caches.module_children, self.span,
                key.into_query_param()))
    }
    #[doc = " Gets the number of definitions in a foreign crate."]
    #[doc = ""]
    #[doc =
    " This allows external tools to iterate over all definitions in a foreign crate."]
    #[doc = ""]
    #[doc =
    " This should never be used for the local crate, instead use `iter_local_def_id`."]
    #[inline(always)]
    pub fn num_extern_def_ids(self, key: CrateNum) -> usize {
        restore::<usize>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.num_extern_def_ids,
                &self.tcx.query_system.caches.num_extern_def_ids, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] calculating the lib features defined in a crate"]
    #[inline(always)]
    pub fn lib_features(self, key: CrateNum) -> &'tcx LibFeatures {
        restore::<&'tcx LibFeatures>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.lib_features,
                &self.tcx.query_system.caches.lib_features, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Mapping from feature name to feature name based on the `implied_by` field of `#[unstable]`"]
    #[doc =
    " attributes. If a `#[unstable(feature = \"implier\", implied_by = \"impliee\")]` attribute"]
    #[doc = " exists, then this map will have a `impliee -> implier` entry."]
    #[doc = ""]
    #[doc =
    " This mapping is necessary unless both the `#[stable]` and `#[unstable]` attributes should"]
    #[doc =
    " specify their implications (both `implies` and `implied_by`). If only one of the two"]
    #[doc =
    " attributes do (as in the current implementation, `implied_by` in `#[unstable]`), then this"]
    #[doc =
    " mapping is necessary for diagnostics. When a \"unnecessary feature attribute\" error is"]
    #[doc =
    " reported, only the `#[stable]` attribute information is available, so the map is necessary"]
    #[doc =
    " to know that the feature implies another feature. If it were reversed, and the `#[stable]`"]
    #[doc =
    " attribute had an `implies` meta item, then a map would be necessary when avoiding a \"use of"]
    #[doc = " unstable feature\" error for a feature that was implied."]
    #[inline(always)]
    pub fn stability_implications(self, key: CrateNum)
        -> &'tcx UnordMap<Symbol, Symbol> {
        restore::<&'tcx UnordMap<Symbol,
                Symbol>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.stability_implications,
                &self.tcx.query_system.caches.stability_implications,
                self.span, key.into_query_param()))
    }
    #[doc = " Whether the function is an intrinsic"]
    #[inline(always)]
    pub fn intrinsic_raw(self, key: impl IntoQueryParam<DefId>)
        -> Option<rustc_middle::ty::IntrinsicDef> {
        restore::<Option<rustc_middle::ty::IntrinsicDef>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.intrinsic_raw,
                &self.tcx.query_system.caches.intrinsic_raw, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Returns the lang items defined in another crate by loading it from metadata."]
    #[inline(always)]
    pub fn get_lang_items(self, key: ()) -> &'tcx LanguageItems {
        restore::<&'tcx LanguageItems>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.get_lang_items,
                &self.tcx.query_system.caches.get_lang_items, self.span,
                key.into_query_param()))
    }
    #[doc = " Returns all diagnostic items defined in all crates."]
    #[inline(always)]
    pub fn all_diagnostic_items(self, key: ())
        -> &'tcx rustc_hir::diagnostic_items::DiagnosticItems {
        restore::<&'tcx rustc_hir::diagnostic_items::DiagnosticItems>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.all_diagnostic_items,
                &self.tcx.query_system.caches.all_diagnostic_items, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Returns the lang items defined in another crate by loading it from metadata."]
    #[inline(always)]
    pub fn defined_lang_items(self, key: CrateNum)
        -> &'tcx [(DefId, LangItem)] {
        restore::<&'tcx [(DefId,
                LangItem)]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.defined_lang_items,
                &self.tcx.query_system.caches.defined_lang_items, self.span,
                key.into_query_param()))
    }
    #[doc = " Returns the diagnostic items defined in a crate."]
    #[inline(always)]
    pub fn diagnostic_items(self, key: CrateNum)
        -> &'tcx rustc_hir::diagnostic_items::DiagnosticItems {
        restore::<&'tcx rustc_hir::diagnostic_items::DiagnosticItems>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.diagnostic_items,
                &self.tcx.query_system.caches.diagnostic_items, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] calculating the missing lang items in a crate"]
    #[inline(always)]
    pub fn missing_lang_items(self, key: CrateNum) -> &'tcx [LangItem] {
        restore::<&'tcx [LangItem]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.missing_lang_items,
                &self.tcx.query_system.caches.missing_lang_items, self.span,
                key.into_query_param()))
    }
    #[doc =
    " The visible parent map is a map from every item to a visible parent."]
    #[doc = " It prefers the shortest visible path to an item."]
    #[doc = " Used for diagnostics, for example path trimming."]
    #[doc = " The parents are modules, enums or traits."]
    #[inline(always)]
    pub fn visible_parent_map(self, key: ()) -> &'tcx DefIdMap<DefId> {
        restore::<&'tcx DefIdMap<DefId>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.visible_parent_map,
                &self.tcx.query_system.caches.visible_parent_map, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Collects the \"trimmed\", shortest accessible paths to all items for diagnostics."]
    #[doc =
    " See the [provider docs](`rustc_middle::ty::print::trimmed_def_paths`) for more info."]
    #[inline(always)]
    pub fn trimmed_def_paths(self, key: ()) -> &'tcx DefIdMap<Symbol> {
        restore::<&'tcx DefIdMap<Symbol>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.trimmed_def_paths,
                &self.tcx.query_system.caches.trimmed_def_paths, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] seeing if we're missing an `extern crate` item for this crate"]
    #[inline(always)]
    pub fn missing_extern_crate_item(self, key: CrateNum) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.missing_extern_crate_item,
                &self.tcx.query_system.caches.missing_extern_crate_item,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking at the source for a crate"]
    #[inline(always)]
    pub fn used_crate_source(self, key: CrateNum) -> &'tcx Arc<CrateSource> {
        restore::<&'tcx Arc<CrateSource>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.used_crate_source,
                &self.tcx.query_system.caches.used_crate_source, self.span,
                key.into_query_param()))
    }
    #[doc = " Returns the debugger visualizers defined for this crate."]
    #[doc =
    " NOTE: This query has to be marked `eval_always` because it reads data"]
    #[doc =
    "       directly from disk that is not tracked anywhere else. I.e. it"]
    #[doc = "       represents a genuine input to the query system."]
    #[inline(always)]
    pub fn debugger_visualizers(self, key: CrateNum)
        -> &'tcx Vec<DebuggerVisualizerFile> {
        restore::<&'tcx Vec<DebuggerVisualizerFile>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.debugger_visualizers,
                &self.tcx.query_system.caches.debugger_visualizers, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] generating a postorder list of CrateNums"]
    #[inline(always)]
    pub fn postorder_cnums(self, key: ()) -> &'tcx [CrateNum] {
        restore::<&'tcx [CrateNum]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.postorder_cnums,
                &self.tcx.query_system.caches.postorder_cnums, self.span,
                key.into_query_param()))
    }
    #[doc = " Returns whether or not the crate with CrateNum \'cnum\'"]
    #[doc = " is marked as a private dependency"]
    #[inline(always)]
    pub fn is_private_dep(self, key: CrateNum) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_private_dep,
                &self.tcx.query_system.caches.is_private_dep, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the allocator kind for the current crate"]
    #[inline(always)]
    pub fn allocator_kind(self, key: ()) -> Option<AllocatorKind> {
        restore::<Option<AllocatorKind>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.allocator_kind,
                &self.tcx.query_system.caches.allocator_kind, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] alloc error handler kind for the current crate"]
    #[inline(always)]
    pub fn alloc_error_handler_kind(self, key: ()) -> Option<AllocatorKind> {
        restore::<Option<AllocatorKind>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.alloc_error_handler_kind,
                &self.tcx.query_system.caches.alloc_error_handler_kind,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting upvars mentioned in  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn upvars_mentioned(self, key: impl IntoQueryParam<DefId>)
        -> Option<&'tcx FxIndexMap<hir::HirId, hir::Upvar>> {
        restore::<Option<&'tcx FxIndexMap<hir::HirId,
                hir::Upvar>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.upvars_mentioned,
                &self.tcx.query_system.caches.upvars_mentioned, self.span,
                key.into_query_param()))
    }
    #[doc =
    " All available crates in the graph, including those that should not be user-facing"]
    #[doc = " (such as private crates)."]
    #[inline(always)]
    pub fn crates(self, key: ()) -> &'tcx [CrateNum] {
        restore::<&'tcx [CrateNum]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.crates,
                &self.tcx.query_system.caches.crates, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching `CrateNum`s for all crates loaded non-speculatively"]
    #[inline(always)]
    pub fn used_crates(self, key: ()) -> &'tcx [CrateNum] {
        restore::<&'tcx [CrateNum]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.used_crates,
                &self.tcx.query_system.caches.used_crates, self.span,
                key.into_query_param()))
    }
    #[doc = " All crates that share the same name as crate `c`."]
    #[doc = ""]
    #[doc =
    " This normally occurs when multiple versions of the same dependency are present in the"]
    #[doc = " dependency tree."]
    #[inline(always)]
    pub fn duplicate_crate_names(self, key: CrateNum) -> &'tcx [CrateNum] {
        restore::<&'tcx [CrateNum]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.duplicate_crate_names,
                &self.tcx.query_system.caches.duplicate_crate_names,
                self.span, key.into_query_param()))
    }
    #[doc =
    " A list of all traits in a crate, used by rustdoc and error reporting."]
    #[inline(always)]
    pub fn traits(self, key: CrateNum) -> &'tcx [DefId] {
        restore::<&'tcx [DefId]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.traits,
                &self.tcx.query_system.caches.traits, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching all trait impls in a crate"]
    #[inline(always)]
    pub fn trait_impls_in_crate(self, key: CrateNum) -> &'tcx [DefId] {
        restore::<&'tcx [DefId]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.trait_impls_in_crate,
                &self.tcx.query_system.caches.trait_impls_in_crate, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching the stable impl's order"]
    #[inline(always)]
    pub fn stable_order_of_exportable_impls(self, key: CrateNum)
        -> &'tcx FxIndexMap<DefId, usize> {
        restore::<&'tcx FxIndexMap<DefId,
                usize>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.stable_order_of_exportable_impls,
                &self.tcx.query_system.caches.stable_order_of_exportable_impls,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching all exportable items in a crate"]
    #[inline(always)]
    pub fn exportable_items(self, key: CrateNum) -> &'tcx [DefId] {
        restore::<&'tcx [DefId]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.exportable_items,
                &self.tcx.query_system.caches.exportable_items, self.span,
                key.into_query_param()))
    }
    #[doc = " The list of non-generic symbols exported from the given crate."]
    #[doc = ""]
    #[doc = " This is separate from exported_generic_symbols to avoid having"]
    #[doc = " to deserialize all non-generic symbols too for upstream crates"]
    #[doc = " in the upstream_monomorphizations query."]
    #[doc = ""]
    #[doc =
    " - All names contained in `exported_non_generic_symbols(cnum)` are"]
    #[doc =
    "   guaranteed to correspond to a publicly visible symbol in `cnum`"]
    #[doc = "   machine code."]
    #[doc =
    " - The `exported_non_generic_symbols` and `exported_generic_symbols`"]
    #[doc = "   sets of different crates do not intersect."]
    #[inline(always)]
    pub fn exported_non_generic_symbols(self, key: CrateNum)
        -> &'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)] {
        restore::<&'tcx [(ExportedSymbol<'tcx>,
                SymbolExportInfo)]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.exported_non_generic_symbols,
                &self.tcx.query_system.caches.exported_non_generic_symbols,
                self.span, key.into_query_param()))
    }
    #[doc = " The list of generic symbols exported from the given crate."]
    #[doc = ""]
    #[doc = " - All names contained in `exported_generic_symbols(cnum)` are"]
    #[doc =
    "   guaranteed to correspond to a publicly visible symbol in `cnum`"]
    #[doc = "   machine code."]
    #[doc =
    " - The `exported_non_generic_symbols` and `exported_generic_symbols`"]
    #[doc = "   sets of different crates do not intersect."]
    #[inline(always)]
    pub fn exported_generic_symbols(self, key: CrateNum)
        -> &'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)] {
        restore::<&'tcx [(ExportedSymbol<'tcx>,
                SymbolExportInfo)]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.exported_generic_symbols,
                &self.tcx.query_system.caches.exported_generic_symbols,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collect_and_partition_mono_items"]
    #[inline(always)]
    pub fn collect_and_partition_mono_items(self, key: ())
        -> MonoItemPartitions<'tcx> {
        restore::<MonoItemPartitions<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.collect_and_partition_mono_items,
                &self.tcx.query_system.caches.collect_and_partition_mono_items,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determining whether  `tcx.def_path_str(def_id)`  needs codegen"]
    #[inline(always)]
    pub fn is_codegened_item(self, key: impl IntoQueryParam<DefId>) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_codegened_item,
                &self.tcx.query_system.caches.is_codegened_item, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting codegen unit `{sym}`"]
    #[inline(always)]
    pub fn codegen_unit(self, key: Symbol) -> &'tcx CodegenUnit<'tcx> {
        restore::<&'tcx CodegenUnit<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.codegen_unit,
                &self.tcx.query_system.caches.codegen_unit, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] optimization level used by backend"]
    #[inline(always)]
    pub fn backend_optimization_level(self, key: ()) -> OptLevel {
        restore::<OptLevel>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.backend_optimization_level,
                &self.tcx.query_system.caches.backend_optimization_level,
                self.span, key.into_query_param()))
    }
    #[doc = " Return the filenames where output artefacts shall be stored."]
    #[doc = ""]
    #[doc =
    " This query returns an `&Arc` because codegen backends need the value even after the `TyCtxt`"]
    #[doc = " has been destroyed."]
    #[inline(always)]
    pub fn output_filenames(self, key: ()) -> &'tcx Arc<OutputFilenames> {
        restore::<&'tcx Arc<OutputFilenames>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.output_filenames,
                &self.tcx.query_system.caches.output_filenames, self.span,
                key.into_query_param()))
    }
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn normalize_canonicalized_projection(self,
        key: CanonicalAliasGoal<'tcx>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution> {
        restore::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
                NoSolution>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.normalize_canonicalized_projection,
                &self.tcx.query_system.caches.normalize_canonicalized_projection,
                self.span, key.into_query_param()))
    }
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn normalize_canonicalized_free_alias(self,
        key: CanonicalAliasGoal<'tcx>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution> {
        restore::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
                NoSolution>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.normalize_canonicalized_free_alias,
                &self.tcx.query_system.caches.normalize_canonicalized_free_alias,
                self.span, key.into_query_param()))
    }
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc = " Do not call this query directly: Invoke `normalize` instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn normalize_canonicalized_inherent_projection(self,
        key: CanonicalAliasGoal<'tcx>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution> {
        restore::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
                NoSolution>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.normalize_canonicalized_inherent_projection,
                &self.tcx.query_system.caches.normalize_canonicalized_inherent_projection,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Do not call this query directly: invoke `try_normalize_erasing_regions` instead."]
    #[inline(always)]
    pub fn try_normalize_generic_arg_after_erasing_regions(self,
        key: PseudoCanonicalInput<'tcx, GenericArg<'tcx>>)
        -> Result<GenericArg<'tcx>, NoSolution> {
        restore::<Result<GenericArg<'tcx>,
                NoSolution>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.try_normalize_generic_arg_after_erasing_regions,
                &self.tcx.query_system.caches.try_normalize_generic_arg_after_erasing_regions,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing implied outlives bounds for  `key.0.canonical.value.value.ty`  (hack disabled = {:?})"]
    #[inline(always)]
    pub fn implied_outlives_bounds(self,
        key: (CanonicalImpliedOutlivesBoundsGoal<'tcx>, bool))
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, Vec<OutlivesBound<'tcx>>>>,
            NoSolution> {
        restore::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, Vec<OutlivesBound<'tcx>>>>,
                NoSolution>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.implied_outlives_bounds,
                &self.tcx.query_system.caches.implied_outlives_bounds,
                self.span, key.into_query_param()))
    }
    #[doc = " Do not call this query directly:"]
    #[doc =
    " invoke `DropckOutlives::new(dropped_ty)).fully_perform(typeck.infcx)` instead."]
    #[inline(always)]
    pub fn dropck_outlives(self, key: CanonicalDropckOutlivesGoal<'tcx>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, DropckOutlivesResult<'tcx>>>,
            NoSolution> {
        restore::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, DropckOutlivesResult<'tcx>>>,
                NoSolution>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.dropck_outlives,
                &self.tcx.query_system.caches.dropck_outlives, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Do not call this query directly: invoke `infcx.predicate_may_hold()` or"]
    #[doc = " `infcx.predicate_must_hold()` instead."]
    #[inline(always)]
    pub fn evaluate_obligation(self, key: CanonicalPredicateGoal<'tcx>)
        -> Result<EvaluationResult, OverflowError> {
        restore::<Result<EvaluationResult,
                OverflowError>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.evaluate_obligation,
                &self.tcx.query_system.caches.evaluate_obligation, self.span,
                key.into_query_param()))
    }
    #[doc = " Do not call this query directly: part of the `Eq` type-op"]
    #[inline(always)]
    pub fn type_op_ascribe_user_type(self,
        key: CanonicalTypeOpAscribeUserTypeGoal<'tcx>)
        ->
            Result<&'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ()>>,
            NoSolution> {
        restore::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, ()>>,
                NoSolution>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.type_op_ascribe_user_type,
                &self.tcx.query_system.caches.type_op_ascribe_user_type,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Do not call this query directly: part of the `ProvePredicate` type-op"]
    #[inline(always)]
    pub fn type_op_prove_predicate(self,
        key: CanonicalTypeOpProvePredicateGoal<'tcx>)
        ->
            Result<&'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ()>>,
            NoSolution> {
        restore::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, ()>>,
                NoSolution>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.type_op_prove_predicate,
                &self.tcx.query_system.caches.type_op_prove_predicate,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    #[inline(always)]
    pub fn type_op_normalize_ty(self,
        key: CanonicalTypeOpNormalizeGoal<'tcx, Ty<'tcx>>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, Ty<'tcx>>>, NoSolution> {
        restore::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, Ty<'tcx>>>,
                NoSolution>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.type_op_normalize_ty,
                &self.tcx.query_system.caches.type_op_normalize_ty, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    #[inline(always)]
    pub fn type_op_normalize_clause(self,
        key: CanonicalTypeOpNormalizeGoal<'tcx, ty::Clause<'tcx>>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::Clause<'tcx>>>, NoSolution> {
        restore::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, ty::Clause<'tcx>>>,
                NoSolution>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.type_op_normalize_clause,
                &self.tcx.query_system.caches.type_op_normalize_clause,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    #[inline(always)]
    pub fn type_op_normalize_poly_fn_sig(self,
        key: CanonicalTypeOpNormalizeGoal<'tcx, ty::PolyFnSig<'tcx>>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::PolyFnSig<'tcx>>>,
            NoSolution> {
        restore::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, ty::PolyFnSig<'tcx>>>,
                NoSolution>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.type_op_normalize_poly_fn_sig,
                &self.tcx.query_system.caches.type_op_normalize_poly_fn_sig,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Do not call this query directly: part of the `Normalize` type-op"]
    #[inline(always)]
    pub fn type_op_normalize_fn_sig(self,
        key: CanonicalTypeOpNormalizeGoal<'tcx, ty::FnSig<'tcx>>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::FnSig<'tcx>>>, NoSolution> {
        restore::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, ty::FnSig<'tcx>>>,
                NoSolution>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.type_op_normalize_fn_sig,
                &self.tcx.query_system.caches.type_op_normalize_fn_sig,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking impossible instantiated predicates:  `tcx.def_path_str(key.0)` "]
    #[inline(always)]
    pub fn instantiate_and_check_impossible_predicates(self,
        key: (DefId, GenericArgsRef<'tcx>)) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.instantiate_and_check_impossible_predicates,
                &self.tcx.query_system.caches.instantiate_and_check_impossible_predicates,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(key.1)`  is impossible to reference within  `tcx.def_path_str(key.0)` "]
    #[inline(always)]
    pub fn is_impossible_associated_item(self, key: (DefId, DefId)) -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.is_impossible_associated_item,
                &self.tcx.query_system.caches.is_impossible_associated_item,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing autoderef types for  `goal.canonical.value.value.self_ty` "]
    #[inline(always)]
    pub fn method_autoderef_steps(self,
        key: CanonicalMethodAutoderefStepsGoal<'tcx>)
        -> MethodAutoderefStepsResult<'tcx> {
        restore::<MethodAutoderefStepsResult<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.method_autoderef_steps,
                &self.tcx.query_system.caches.method_autoderef_steps,
                self.span, key.into_query_param()))
    }
    #[doc = " Used by `-Znext-solver` to compute proof trees."]
    #[inline(always)]
    pub fn evaluate_root_goal_for_proof_tree_raw(self,
        key: solve::CanonicalInput<'tcx>)
        ->
            (solve::QueryResult<'tcx>,
            &'tcx solve::inspect::Probe<TyCtxt<'tcx>>) {
        restore::<(solve::QueryResult<'tcx>,
                &'tcx solve::inspect::Probe<TyCtxt<'tcx>>)>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.evaluate_root_goal_for_proof_tree_raw,
                &self.tcx.query_system.caches.evaluate_root_goal_for_proof_tree_raw,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Returns the Rust target features for the current target. These are not always the same as LLVM target features!"]
    #[inline(always)]
    pub fn rust_target_features(self, key: CrateNum)
        -> &'tcx UnordMap<String, rustc_target::target_features::Stability> {
        restore::<&'tcx UnordMap<String,
                rustc_target::target_features::Stability>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.rust_target_features,
                &self.tcx.query_system.caches.rust_target_features, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up implied target features"]
    #[inline(always)]
    pub fn implied_target_features(self, key: Symbol) -> &'tcx Vec<Symbol> {
        restore::<&'tcx Vec<Symbol>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.implied_target_features,
                &self.tcx.query_system.caches.implied_target_features,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up enabled feature gates"]
    #[inline(always)]
    pub fn features_query(self, key: ()) -> &'tcx rustc_feature::Features {
        restore::<&'tcx rustc_feature::Features>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.features_query,
                &self.tcx.query_system.caches.features_query, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] the ast before macro expansion and name resolution"]
    #[inline(always)]
    pub fn crate_for_resolver(self, key: ())
        -> &'tcx Steal<(rustc_ast::Crate, rustc_ast::AttrVec)> {
        restore::<&'tcx Steal<(rustc_ast::Crate,
                rustc_ast::AttrVec)>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.crate_for_resolver,
                &self.tcx.query_system.caches.crate_for_resolver, self.span,
                key.into_query_param()))
    }
    #[doc = " Attempt to resolve the given `DefId` to an `Instance`, for the"]
    #[doc = " given generics args (`GenericArgsRef`), returning one of:"]
    #[doc = "  * `Ok(Some(instance))` on success"]
    #[doc = "  * `Ok(None)` when the `GenericArgsRef` are still too generic,"]
    #[doc = "    and therefore don\'t allow finding the final `Instance`"]
    #[doc =
    "  * `Err(ErrorGuaranteed)` when the `Instance` resolution process"]
    #[doc =
    "    couldn\'t complete due to errors elsewhere - this is distinct"]
    #[doc =
    "    from `Ok(None)` to avoid misleading diagnostics when an error"]
    #[doc = "    has already been/will be emitted, for the original cause."]
    #[inline(always)]
    pub fn resolve_instance_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, (DefId, GenericArgsRef<'tcx>)>)
        -> Result<Option<ty::Instance<'tcx>>, ErrorGuaranteed> {
        restore::<Result<Option<ty::Instance<'tcx>>,
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.resolve_instance_raw,
                &self.tcx.query_system.caches.resolve_instance_raw, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] revealing opaque types in `{:?}`"]
    #[inline(always)]
    pub fn reveal_opaque_types_in_bounds(self, key: ty::Clauses<'tcx>)
        -> ty::Clauses<'tcx> {
        restore::<ty::Clauses<'tcx>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.reveal_opaque_types_in_bounds,
                &self.tcx.query_system.caches.reveal_opaque_types_in_bounds,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up limits"]
    #[inline(always)]
    pub fn limits(self, key: ()) -> Limits {
        restore::<Limits>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.limits,
                &self.tcx.query_system.caches.limits, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Performs an HIR-based well-formed check on the item with the given `HirId`. If"]
    #[doc =
    " we get an `Unimplemented` error that matches the provided `Predicate`, return"]
    #[doc = " the cause of the newly created obligation."]
    #[doc = ""]
    #[doc =
    " This is only used by error-reporting code to get a better cause (in particular, a better"]
    #[doc =
    " span) for an *existing* error. Therefore, it is best-effort, and may never handle"]
    #[doc =
    " all of the cases that the normal `ty::Ty`-based wfcheck does. This is fine,"]
    #[doc = " because the `ty::Ty`-based wfcheck is always run."]
    #[inline(always)]
    pub fn diagnostic_hir_wf_check(self,
        key: (ty::Predicate<'tcx>, WellFormedLoc))
        -> Option<&'tcx ObligationCause<'tcx>> {
        restore::<Option<&'tcx ObligationCause<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.diagnostic_hir_wf_check,
                &self.tcx.query_system.caches.diagnostic_hir_wf_check,
                self.span, key.into_query_param()))
    }
    #[doc =
    " The list of backend features computed from CLI flags (`-Ctarget-cpu`, `-Ctarget-feature`,"]
    #[doc = " `--target` and similar)."]
    #[inline(always)]
    pub fn global_backend_features(self, key: ()) -> &'tcx Vec<String> {
        restore::<&'tcx Vec<String>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.global_backend_features,
                &self.tcx.query_system.caches.global_backend_features,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking validity requirement for  `key.1.value` :  `key.0` "]
    #[inline(always)]
    pub fn check_validity_requirement(self,
        key: (ValidityRequirement, ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>))
        -> Result<bool, &'tcx ty::layout::LayoutError<'tcx>> {
        restore::<Result<bool,
                &'tcx ty::layout::LayoutError<'tcx>>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_validity_requirement,
                &self.tcx.query_system.caches.check_validity_requirement,
                self.span, key.into_query_param()))
    }
    #[doc =
    " This takes the def-id of an associated item from a impl of a trait,"]
    #[doc =
    " and checks its validity against the trait item it corresponds to."]
    #[doc = ""]
    #[doc = " Any other def id will ICE."]
    #[inline(always)]
    pub fn compare_impl_item(self, key: impl IntoQueryParam<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        restore::<Result<(),
                ErrorGuaranteed>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.compare_impl_item,
                &self.tcx.query_system.caches.compare_impl_item, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] deducing parameter attributes for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn deduced_param_attrs(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [DeducedParamAttrs] {
        restore::<&'tcx [DeducedParamAttrs]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.deduced_param_attrs,
                &self.tcx.query_system.caches.deduced_param_attrs, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] resolutions for documentation links for a module"]
    #[inline(always)]
    pub fn doc_link_resolutions(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx DocLinkResMap {
        restore::<&'tcx DocLinkResMap>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.doc_link_resolutions,
                &self.tcx.query_system.caches.doc_link_resolutions, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] traits in scope for documentation links for a module"]
    #[inline(always)]
    pub fn doc_link_traits_in_scope(self, key: impl IntoQueryParam<DefId>)
        -> &'tcx [DefId] {
        restore::<&'tcx [DefId]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.doc_link_traits_in_scope,
                &self.tcx.query_system.caches.doc_link_traits_in_scope,
                self.span, key.into_query_param()))
    }
    #[doc =
    " Get all item paths that were stripped by a `#[cfg]` in a particular crate."]
    #[doc =
    " Should not be called for the local crate before the resolver outputs are created, as it"]
    #[doc = " is only fed there."]
    #[inline(always)]
    pub fn stripped_cfg_items(self, key: CrateNum)
        -> &'tcx [StrippedCfgItem] {
        restore::<&'tcx [StrippedCfgItem]>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.stripped_cfg_items,
                &self.tcx.query_system.caches.stripped_cfg_items, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] check whether the item has a `where Self: Sized` bound"]
    #[inline(always)]
    pub fn generics_require_sized_self(self, key: impl IntoQueryParam<DefId>)
        -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.generics_require_sized_self,
                &self.tcx.query_system.caches.generics_require_sized_self,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] whether the item should be made inlinable across crates"]
    #[inline(always)]
    pub fn cross_crate_inlinable(self, key: impl IntoQueryParam<DefId>)
        -> bool {
        restore::<bool>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.cross_crate_inlinable,
                &self.tcx.query_system.caches.cross_crate_inlinable,
                self.span, key.into_query_param()))
    }
    #[doc = " Perform monomorphization-time checking on this item."]
    #[doc =
    " This is used for lints/errors that can only be checked once the instance is fully"]
    #[doc = " monomorphized."]
    #[inline(always)]
    pub fn check_mono_item(self, key: ty::Instance<'tcx>) -> () {
        restore::<()>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_mono_item,
                &self.tcx.query_system.caches.check_mono_item, self.span,
                key.into_query_param()))
    }
    #[doc =
    " Builds the set of functions that should be skipped for the move-size check."]
    #[inline(always)]
    pub fn skip_move_check_fns(self, key: ()) -> &'tcx FxIndexSet<DefId> {
        restore::<&'tcx FxIndexSet<DefId>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.skip_move_check_fns,
                &self.tcx.query_system.caches.skip_move_check_fns, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting items used by  `key.0` "]
    #[inline(always)]
    pub fn items_of_instance(self, key: (ty::Instance<'tcx>, CollectionMode))
        ->
            Result<(&'tcx [Spanned<MonoItem<'tcx>>],
            &'tcx [Spanned<MonoItem<'tcx>>]), NormalizationErrorInMono> {
        restore::<Result<(&'tcx [Spanned<MonoItem<'tcx>>],
                &'tcx [Spanned<MonoItem<'tcx>>]),
                NormalizationErrorInMono>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.items_of_instance,
                &self.tcx.query_system.caches.items_of_instance, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] estimating codegen size of  `key` "]
    #[inline(always)]
    pub fn size_estimate(self, key: ty::Instance<'tcx>) -> usize {
        restore::<usize>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.size_estimate,
                &self.tcx.query_system.caches.size_estimate, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up anon const kind of  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn anon_const_kind(self, key: impl IntoQueryParam<DefId>)
        -> ty::AnonConstKind {
        restore::<ty::AnonConstKind>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.anon_const_kind,
                &self.tcx.query_system.caches.anon_const_kind, self.span,
                key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(def_id)`  is a trivial const"]
    #[inline(always)]
    pub fn trivial_const(self, key: impl IntoQueryParam<DefId>)
        -> Option<(mir::ConstValue, Ty<'tcx>)> {
        restore::<Option<(mir::ConstValue,
                Ty<'tcx>)>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.trivial_const,
                &self.tcx.query_system.caches.trivial_const, self.span,
                key.into_query_param()))
    }
    #[doc = " Checks for the nearest `#[sanitize(xyz = \"off\")]` or"]
    #[doc =
    " `#[sanitize(xyz = \"on\")]` on this def and any enclosing defs, up to the"]
    #[doc = " crate root."]
    #[doc = ""]
    #[doc = " Returns the sanitizer settings for this def."]
    #[inline(always)]
    pub fn sanitizer_settings_for(self, key: impl IntoQueryParam<LocalDefId>)
        -> SanitizerFnAttrs {
        restore::<SanitizerFnAttrs>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.sanitizer_settings_for,
                &self.tcx.query_system.caches.sanitizer_settings_for,
                self.span, key.into_query_param()))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] check externally implementable items"]
    #[inline(always)]
    pub fn check_externally_implementable_items(self, key: ()) -> () {
        restore::<()>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.check_externally_implementable_items,
                &self.tcx.query_system.caches.check_externally_implementable_items,
                self.span, key.into_query_param()))
    }
    #[doc = " Returns a list of all `externally implementable items` crate."]
    #[inline(always)]
    pub fn externally_implementable_items(self, key: CrateNum)
        -> &'tcx FxIndexMap<DefId, (EiiDecl, FxIndexMap<DefId, EiiImpl>)> {
        restore::<&'tcx FxIndexMap<DefId,
                (EiiDecl,
                FxIndexMap<DefId,
                EiiImpl>)>>(crate::query::inner::query_get_at(self.tcx,
                self.tcx.query_system.fns.engine.externally_implementable_items,
                &self.tcx.query_system.caches.externally_implementable_items,
                self.span, key.into_query_param()))
    }
}
pub struct DynamicQueries<'tcx> {
    pub derive_macro_expansion: DynamicQuery<'tcx,
    queries::derive_macro_expansion::Storage<'tcx>>,
    pub trigger_delayed_bug: DynamicQuery<'tcx,
    queries::trigger_delayed_bug::Storage<'tcx>>,
    pub registered_tools: DynamicQuery<'tcx,
    queries::registered_tools::Storage<'tcx>>,
    pub early_lint_checks: DynamicQuery<'tcx,
    queries::early_lint_checks::Storage<'tcx>>,
    pub env_var_os: DynamicQuery<'tcx, queries::env_var_os::Storage<'tcx>>,
    pub resolutions: DynamicQuery<'tcx, queries::resolutions::Storage<'tcx>>,
    pub resolver_for_lowering_raw: DynamicQuery<'tcx,
    queries::resolver_for_lowering_raw::Storage<'tcx>>,
    pub source_span: DynamicQuery<'tcx, queries::source_span::Storage<'tcx>>,
    pub hir_crate: DynamicQuery<'tcx, queries::hir_crate::Storage<'tcx>>,
    pub hir_crate_items: DynamicQuery<'tcx,
    queries::hir_crate_items::Storage<'tcx>>,
    pub hir_module_items: DynamicQuery<'tcx,
    queries::hir_module_items::Storage<'tcx>>,
    pub local_def_id_to_hir_id: DynamicQuery<'tcx,
    queries::local_def_id_to_hir_id::Storage<'tcx>>,
    pub hir_owner_parent: DynamicQuery<'tcx,
    queries::hir_owner_parent::Storage<'tcx>>,
    pub opt_hir_owner_nodes: DynamicQuery<'tcx,
    queries::opt_hir_owner_nodes::Storage<'tcx>>,
    pub hir_attr_map: DynamicQuery<'tcx,
    queries::hir_attr_map::Storage<'tcx>>,
    pub opt_ast_lowering_delayed_lints: DynamicQuery<'tcx,
    queries::opt_ast_lowering_delayed_lints::Storage<'tcx>>,
    pub const_param_default: DynamicQuery<'tcx,
    queries::const_param_default::Storage<'tcx>>,
    pub const_of_item: DynamicQuery<'tcx,
    queries::const_of_item::Storage<'tcx>>,
    pub type_of: DynamicQuery<'tcx, queries::type_of::Storage<'tcx>>,
    pub type_of_opaque: DynamicQuery<'tcx,
    queries::type_of_opaque::Storage<'tcx>>,
    pub type_of_opaque_hir_typeck: DynamicQuery<'tcx,
    queries::type_of_opaque_hir_typeck::Storage<'tcx>>,
    pub type_alias_is_lazy: DynamicQuery<'tcx,
    queries::type_alias_is_lazy::Storage<'tcx>>,
    pub collect_return_position_impl_trait_in_trait_tys: DynamicQuery<'tcx,
    queries::collect_return_position_impl_trait_in_trait_tys::Storage<'tcx>>,
    pub opaque_ty_origin: DynamicQuery<'tcx,
    queries::opaque_ty_origin::Storage<'tcx>>,
    pub unsizing_params_for_adt: DynamicQuery<'tcx,
    queries::unsizing_params_for_adt::Storage<'tcx>>,
    pub analysis: DynamicQuery<'tcx, queries::analysis::Storage<'tcx>>,
    pub check_expectations: DynamicQuery<'tcx,
    queries::check_expectations::Storage<'tcx>>,
    pub generics_of: DynamicQuery<'tcx, queries::generics_of::Storage<'tcx>>,
    pub predicates_of: DynamicQuery<'tcx,
    queries::predicates_of::Storage<'tcx>>,
    pub opaque_types_defined_by: DynamicQuery<'tcx,
    queries::opaque_types_defined_by::Storage<'tcx>>,
    pub nested_bodies_within: DynamicQuery<'tcx,
    queries::nested_bodies_within::Storage<'tcx>>,
    pub explicit_item_bounds: DynamicQuery<'tcx,
    queries::explicit_item_bounds::Storage<'tcx>>,
    pub explicit_item_self_bounds: DynamicQuery<'tcx,
    queries::explicit_item_self_bounds::Storage<'tcx>>,
    pub item_bounds: DynamicQuery<'tcx, queries::item_bounds::Storage<'tcx>>,
    pub item_self_bounds: DynamicQuery<'tcx,
    queries::item_self_bounds::Storage<'tcx>>,
    pub item_non_self_bounds: DynamicQuery<'tcx,
    queries::item_non_self_bounds::Storage<'tcx>>,
    pub impl_super_outlives: DynamicQuery<'tcx,
    queries::impl_super_outlives::Storage<'tcx>>,
    pub native_libraries: DynamicQuery<'tcx,
    queries::native_libraries::Storage<'tcx>>,
    pub shallow_lint_levels_on: DynamicQuery<'tcx,
    queries::shallow_lint_levels_on::Storage<'tcx>>,
    pub lint_expectations: DynamicQuery<'tcx,
    queries::lint_expectations::Storage<'tcx>>,
    pub lints_that_dont_need_to_run: DynamicQuery<'tcx,
    queries::lints_that_dont_need_to_run::Storage<'tcx>>,
    pub expn_that_defined: DynamicQuery<'tcx,
    queries::expn_that_defined::Storage<'tcx>>,
    pub is_panic_runtime: DynamicQuery<'tcx,
    queries::is_panic_runtime::Storage<'tcx>>,
    pub representability: DynamicQuery<'tcx,
    queries::representability::Storage<'tcx>>,
    pub representability_adt_ty: DynamicQuery<'tcx,
    queries::representability_adt_ty::Storage<'tcx>>,
    pub params_in_repr: DynamicQuery<'tcx,
    queries::params_in_repr::Storage<'tcx>>,
    pub thir_body: DynamicQuery<'tcx, queries::thir_body::Storage<'tcx>>,
    pub mir_keys: DynamicQuery<'tcx, queries::mir_keys::Storage<'tcx>>,
    pub mir_const_qualif: DynamicQuery<'tcx,
    queries::mir_const_qualif::Storage<'tcx>>,
    pub mir_built: DynamicQuery<'tcx, queries::mir_built::Storage<'tcx>>,
    pub thir_abstract_const: DynamicQuery<'tcx,
    queries::thir_abstract_const::Storage<'tcx>>,
    pub mir_drops_elaborated_and_const_checked: DynamicQuery<'tcx,
    queries::mir_drops_elaborated_and_const_checked::Storage<'tcx>>,
    pub mir_for_ctfe: DynamicQuery<'tcx,
    queries::mir_for_ctfe::Storage<'tcx>>,
    pub mir_promoted: DynamicQuery<'tcx,
    queries::mir_promoted::Storage<'tcx>>,
    pub closure_typeinfo: DynamicQuery<'tcx,
    queries::closure_typeinfo::Storage<'tcx>>,
    pub closure_saved_names_of_captured_variables: DynamicQuery<'tcx,
    queries::closure_saved_names_of_captured_variables::Storage<'tcx>>,
    pub mir_coroutine_witnesses: DynamicQuery<'tcx,
    queries::mir_coroutine_witnesses::Storage<'tcx>>,
    pub check_coroutine_obligations: DynamicQuery<'tcx,
    queries::check_coroutine_obligations::Storage<'tcx>>,
    pub check_potentially_region_dependent_goals: DynamicQuery<'tcx,
    queries::check_potentially_region_dependent_goals::Storage<'tcx>>,
    pub optimized_mir: DynamicQuery<'tcx,
    queries::optimized_mir::Storage<'tcx>>,
    pub coverage_attr_on: DynamicQuery<'tcx,
    queries::coverage_attr_on::Storage<'tcx>>,
    pub coverage_ids_info: DynamicQuery<'tcx,
    queries::coverage_ids_info::Storage<'tcx>>,
    pub promoted_mir: DynamicQuery<'tcx,
    queries::promoted_mir::Storage<'tcx>>,
    pub erase_and_anonymize_regions_ty: DynamicQuery<'tcx,
    queries::erase_and_anonymize_regions_ty::Storage<'tcx>>,
    pub wasm_import_module_map: DynamicQuery<'tcx,
    queries::wasm_import_module_map::Storage<'tcx>>,
    pub trait_explicit_predicates_and_bounds: DynamicQuery<'tcx,
    queries::trait_explicit_predicates_and_bounds::Storage<'tcx>>,
    pub explicit_predicates_of: DynamicQuery<'tcx,
    queries::explicit_predicates_of::Storage<'tcx>>,
    pub inferred_outlives_of: DynamicQuery<'tcx,
    queries::inferred_outlives_of::Storage<'tcx>>,
    pub explicit_super_predicates_of: DynamicQuery<'tcx,
    queries::explicit_super_predicates_of::Storage<'tcx>>,
    pub explicit_implied_predicates_of: DynamicQuery<'tcx,
    queries::explicit_implied_predicates_of::Storage<'tcx>>,
    pub explicit_supertraits_containing_assoc_item: DynamicQuery<'tcx,
    queries::explicit_supertraits_containing_assoc_item::Storage<'tcx>>,
    pub const_conditions: DynamicQuery<'tcx,
    queries::const_conditions::Storage<'tcx>>,
    pub explicit_implied_const_bounds: DynamicQuery<'tcx,
    queries::explicit_implied_const_bounds::Storage<'tcx>>,
    pub type_param_predicates: DynamicQuery<'tcx,
    queries::type_param_predicates::Storage<'tcx>>,
    pub trait_def: DynamicQuery<'tcx, queries::trait_def::Storage<'tcx>>,
    pub adt_def: DynamicQuery<'tcx, queries::adt_def::Storage<'tcx>>,
    pub adt_destructor: DynamicQuery<'tcx,
    queries::adt_destructor::Storage<'tcx>>,
    pub adt_async_destructor: DynamicQuery<'tcx,
    queries::adt_async_destructor::Storage<'tcx>>,
    pub adt_sizedness_constraint: DynamicQuery<'tcx,
    queries::adt_sizedness_constraint::Storage<'tcx>>,
    pub adt_dtorck_constraint: DynamicQuery<'tcx,
    queries::adt_dtorck_constraint::Storage<'tcx>>,
    pub constness: DynamicQuery<'tcx, queries::constness::Storage<'tcx>>,
    pub asyncness: DynamicQuery<'tcx, queries::asyncness::Storage<'tcx>>,
    pub is_promotable_const_fn: DynamicQuery<'tcx,
    queries::is_promotable_const_fn::Storage<'tcx>>,
    pub coroutine_by_move_body_def_id: DynamicQuery<'tcx,
    queries::coroutine_by_move_body_def_id::Storage<'tcx>>,
    pub coroutine_kind: DynamicQuery<'tcx,
    queries::coroutine_kind::Storage<'tcx>>,
    pub coroutine_for_closure: DynamicQuery<'tcx,
    queries::coroutine_for_closure::Storage<'tcx>>,
    pub coroutine_hidden_types: DynamicQuery<'tcx,
    queries::coroutine_hidden_types::Storage<'tcx>>,
    pub crate_variances: DynamicQuery<'tcx,
    queries::crate_variances::Storage<'tcx>>,
    pub variances_of: DynamicQuery<'tcx,
    queries::variances_of::Storage<'tcx>>,
    pub inferred_outlives_crate: DynamicQuery<'tcx,
    queries::inferred_outlives_crate::Storage<'tcx>>,
    pub associated_item_def_ids: DynamicQuery<'tcx,
    queries::associated_item_def_ids::Storage<'tcx>>,
    pub associated_item: DynamicQuery<'tcx,
    queries::associated_item::Storage<'tcx>>,
    pub associated_items: DynamicQuery<'tcx,
    queries::associated_items::Storage<'tcx>>,
    pub impl_item_implementor_ids: DynamicQuery<'tcx,
    queries::impl_item_implementor_ids::Storage<'tcx>>,
    pub associated_types_for_impl_traits_in_trait_or_impl: DynamicQuery<'tcx,
    queries::associated_types_for_impl_traits_in_trait_or_impl::Storage<'tcx>>,
    pub impl_trait_header: DynamicQuery<'tcx,
    queries::impl_trait_header::Storage<'tcx>>,
    pub impl_self_is_guaranteed_unsized: DynamicQuery<'tcx,
    queries::impl_self_is_guaranteed_unsized::Storage<'tcx>>,
    pub inherent_impls: DynamicQuery<'tcx,
    queries::inherent_impls::Storage<'tcx>>,
    pub incoherent_impls: DynamicQuery<'tcx,
    queries::incoherent_impls::Storage<'tcx>>,
    pub check_transmutes: DynamicQuery<'tcx,
    queries::check_transmutes::Storage<'tcx>>,
    pub check_unsafety: DynamicQuery<'tcx,
    queries::check_unsafety::Storage<'tcx>>,
    pub check_tail_calls: DynamicQuery<'tcx,
    queries::check_tail_calls::Storage<'tcx>>,
    pub assumed_wf_types: DynamicQuery<'tcx,
    queries::assumed_wf_types::Storage<'tcx>>,
    pub assumed_wf_types_for_rpitit: DynamicQuery<'tcx,
    queries::assumed_wf_types_for_rpitit::Storage<'tcx>>,
    pub fn_sig: DynamicQuery<'tcx, queries::fn_sig::Storage<'tcx>>,
    pub lint_mod: DynamicQuery<'tcx, queries::lint_mod::Storage<'tcx>>,
    pub check_unused_traits: DynamicQuery<'tcx,
    queries::check_unused_traits::Storage<'tcx>>,
    pub check_mod_attrs: DynamicQuery<'tcx,
    queries::check_mod_attrs::Storage<'tcx>>,
    pub check_mod_unstable_api_usage: DynamicQuery<'tcx,
    queries::check_mod_unstable_api_usage::Storage<'tcx>>,
    pub check_mod_privacy: DynamicQuery<'tcx,
    queries::check_mod_privacy::Storage<'tcx>>,
    pub check_liveness: DynamicQuery<'tcx,
    queries::check_liveness::Storage<'tcx>>,
    pub live_symbols_and_ignored_derived_traits: DynamicQuery<'tcx,
    queries::live_symbols_and_ignored_derived_traits::Storage<'tcx>>,
    pub check_mod_deathness: DynamicQuery<'tcx,
    queries::check_mod_deathness::Storage<'tcx>>,
    pub check_type_wf: DynamicQuery<'tcx,
    queries::check_type_wf::Storage<'tcx>>,
    pub coerce_unsized_info: DynamicQuery<'tcx,
    queries::coerce_unsized_info::Storage<'tcx>>,
    pub typeck: DynamicQuery<'tcx, queries::typeck::Storage<'tcx>>,
    pub used_trait_imports: DynamicQuery<'tcx,
    queries::used_trait_imports::Storage<'tcx>>,
    pub coherent_trait: DynamicQuery<'tcx,
    queries::coherent_trait::Storage<'tcx>>,
    pub mir_borrowck: DynamicQuery<'tcx,
    queries::mir_borrowck::Storage<'tcx>>,
    pub crate_inherent_impls: DynamicQuery<'tcx,
    queries::crate_inherent_impls::Storage<'tcx>>,
    pub crate_inherent_impls_validity_check: DynamicQuery<'tcx,
    queries::crate_inherent_impls_validity_check::Storage<'tcx>>,
    pub crate_inherent_impls_overlap_check: DynamicQuery<'tcx,
    queries::crate_inherent_impls_overlap_check::Storage<'tcx>>,
    pub orphan_check_impl: DynamicQuery<'tcx,
    queries::orphan_check_impl::Storage<'tcx>>,
    pub mir_callgraph_cyclic: DynamicQuery<'tcx,
    queries::mir_callgraph_cyclic::Storage<'tcx>>,
    pub mir_inliner_callees: DynamicQuery<'tcx,
    queries::mir_inliner_callees::Storage<'tcx>>,
    pub tag_for_variant: DynamicQuery<'tcx,
    queries::tag_for_variant::Storage<'tcx>>,
    pub eval_to_allocation_raw: DynamicQuery<'tcx,
    queries::eval_to_allocation_raw::Storage<'tcx>>,
    pub eval_static_initializer: DynamicQuery<'tcx,
    queries::eval_static_initializer::Storage<'tcx>>,
    pub eval_to_const_value_raw: DynamicQuery<'tcx,
    queries::eval_to_const_value_raw::Storage<'tcx>>,
    pub eval_to_valtree: DynamicQuery<'tcx,
    queries::eval_to_valtree::Storage<'tcx>>,
    pub valtree_to_const_val: DynamicQuery<'tcx,
    queries::valtree_to_const_val::Storage<'tcx>>,
    pub lit_to_const: DynamicQuery<'tcx,
    queries::lit_to_const::Storage<'tcx>>,
    pub check_match: DynamicQuery<'tcx, queries::check_match::Storage<'tcx>>,
    pub effective_visibilities: DynamicQuery<'tcx,
    queries::effective_visibilities::Storage<'tcx>>,
    pub check_private_in_public: DynamicQuery<'tcx,
    queries::check_private_in_public::Storage<'tcx>>,
    pub reachable_set: DynamicQuery<'tcx,
    queries::reachable_set::Storage<'tcx>>,
    pub region_scope_tree: DynamicQuery<'tcx,
    queries::region_scope_tree::Storage<'tcx>>,
    pub mir_shims: DynamicQuery<'tcx, queries::mir_shims::Storage<'tcx>>,
    pub symbol_name: DynamicQuery<'tcx, queries::symbol_name::Storage<'tcx>>,
    pub def_kind: DynamicQuery<'tcx, queries::def_kind::Storage<'tcx>>,
    pub def_span: DynamicQuery<'tcx, queries::def_span::Storage<'tcx>>,
    pub def_ident_span: DynamicQuery<'tcx,
    queries::def_ident_span::Storage<'tcx>>,
    pub ty_span: DynamicQuery<'tcx, queries::ty_span::Storage<'tcx>>,
    pub lookup_stability: DynamicQuery<'tcx,
    queries::lookup_stability::Storage<'tcx>>,
    pub lookup_const_stability: DynamicQuery<'tcx,
    queries::lookup_const_stability::Storage<'tcx>>,
    pub lookup_default_body_stability: DynamicQuery<'tcx,
    queries::lookup_default_body_stability::Storage<'tcx>>,
    pub should_inherit_track_caller: DynamicQuery<'tcx,
    queries::should_inherit_track_caller::Storage<'tcx>>,
    pub inherited_align: DynamicQuery<'tcx,
    queries::inherited_align::Storage<'tcx>>,
    pub lookup_deprecation_entry: DynamicQuery<'tcx,
    queries::lookup_deprecation_entry::Storage<'tcx>>,
    pub is_doc_hidden: DynamicQuery<'tcx,
    queries::is_doc_hidden::Storage<'tcx>>,
    pub is_doc_notable_trait: DynamicQuery<'tcx,
    queries::is_doc_notable_trait::Storage<'tcx>>,
    pub attrs_for_def: DynamicQuery<'tcx,
    queries::attrs_for_def::Storage<'tcx>>,
    pub codegen_fn_attrs: DynamicQuery<'tcx,
    queries::codegen_fn_attrs::Storage<'tcx>>,
    pub asm_target_features: DynamicQuery<'tcx,
    queries::asm_target_features::Storage<'tcx>>,
    pub fn_arg_idents: DynamicQuery<'tcx,
    queries::fn_arg_idents::Storage<'tcx>>,
    pub rendered_const: DynamicQuery<'tcx,
    queries::rendered_const::Storage<'tcx>>,
    pub rendered_precise_capturing_args: DynamicQuery<'tcx,
    queries::rendered_precise_capturing_args::Storage<'tcx>>,
    pub impl_parent: DynamicQuery<'tcx, queries::impl_parent::Storage<'tcx>>,
    pub is_ctfe_mir_available: DynamicQuery<'tcx,
    queries::is_ctfe_mir_available::Storage<'tcx>>,
    pub is_mir_available: DynamicQuery<'tcx,
    queries::is_mir_available::Storage<'tcx>>,
    pub own_existential_vtable_entries: DynamicQuery<'tcx,
    queries::own_existential_vtable_entries::Storage<'tcx>>,
    pub vtable_entries: DynamicQuery<'tcx,
    queries::vtable_entries::Storage<'tcx>>,
    pub first_method_vtable_slot: DynamicQuery<'tcx,
    queries::first_method_vtable_slot::Storage<'tcx>>,
    pub supertrait_vtable_slot: DynamicQuery<'tcx,
    queries::supertrait_vtable_slot::Storage<'tcx>>,
    pub vtable_allocation: DynamicQuery<'tcx,
    queries::vtable_allocation::Storage<'tcx>>,
    pub codegen_select_candidate: DynamicQuery<'tcx,
    queries::codegen_select_candidate::Storage<'tcx>>,
    pub all_local_trait_impls: DynamicQuery<'tcx,
    queries::all_local_trait_impls::Storage<'tcx>>,
    pub local_trait_impls: DynamicQuery<'tcx,
    queries::local_trait_impls::Storage<'tcx>>,
    pub trait_impls_of: DynamicQuery<'tcx,
    queries::trait_impls_of::Storage<'tcx>>,
    pub specialization_graph_of: DynamicQuery<'tcx,
    queries::specialization_graph_of::Storage<'tcx>>,
    pub dyn_compatibility_violations: DynamicQuery<'tcx,
    queries::dyn_compatibility_violations::Storage<'tcx>>,
    pub is_dyn_compatible: DynamicQuery<'tcx,
    queries::is_dyn_compatible::Storage<'tcx>>,
    pub param_env: DynamicQuery<'tcx, queries::param_env::Storage<'tcx>>,
    pub typing_env_normalized_for_post_analysis: DynamicQuery<'tcx,
    queries::typing_env_normalized_for_post_analysis::Storage<'tcx>>,
    pub is_copy_raw: DynamicQuery<'tcx, queries::is_copy_raw::Storage<'tcx>>,
    pub is_use_cloned_raw: DynamicQuery<'tcx,
    queries::is_use_cloned_raw::Storage<'tcx>>,
    pub is_sized_raw: DynamicQuery<'tcx,
    queries::is_sized_raw::Storage<'tcx>>,
    pub is_freeze_raw: DynamicQuery<'tcx,
    queries::is_freeze_raw::Storage<'tcx>>,
    pub is_unpin_raw: DynamicQuery<'tcx,
    queries::is_unpin_raw::Storage<'tcx>>,
    pub is_async_drop_raw: DynamicQuery<'tcx,
    queries::is_async_drop_raw::Storage<'tcx>>,
    pub needs_drop_raw: DynamicQuery<'tcx,
    queries::needs_drop_raw::Storage<'tcx>>,
    pub needs_async_drop_raw: DynamicQuery<'tcx,
    queries::needs_async_drop_raw::Storage<'tcx>>,
    pub has_significant_drop_raw: DynamicQuery<'tcx,
    queries::has_significant_drop_raw::Storage<'tcx>>,
    pub has_structural_eq_impl: DynamicQuery<'tcx,
    queries::has_structural_eq_impl::Storage<'tcx>>,
    pub adt_drop_tys: DynamicQuery<'tcx,
    queries::adt_drop_tys::Storage<'tcx>>,
    pub adt_async_drop_tys: DynamicQuery<'tcx,
    queries::adt_async_drop_tys::Storage<'tcx>>,
    pub adt_significant_drop_tys: DynamicQuery<'tcx,
    queries::adt_significant_drop_tys::Storage<'tcx>>,
    pub list_significant_drop_tys: DynamicQuery<'tcx,
    queries::list_significant_drop_tys::Storage<'tcx>>,
    pub layout_of: DynamicQuery<'tcx, queries::layout_of::Storage<'tcx>>,
    pub fn_abi_of_fn_ptr: DynamicQuery<'tcx,
    queries::fn_abi_of_fn_ptr::Storage<'tcx>>,
    pub fn_abi_of_instance: DynamicQuery<'tcx,
    queries::fn_abi_of_instance::Storage<'tcx>>,
    pub dylib_dependency_formats: DynamicQuery<'tcx,
    queries::dylib_dependency_formats::Storage<'tcx>>,
    pub dependency_formats: DynamicQuery<'tcx,
    queries::dependency_formats::Storage<'tcx>>,
    pub is_compiler_builtins: DynamicQuery<'tcx,
    queries::is_compiler_builtins::Storage<'tcx>>,
    pub has_global_allocator: DynamicQuery<'tcx,
    queries::has_global_allocator::Storage<'tcx>>,
    pub has_alloc_error_handler: DynamicQuery<'tcx,
    queries::has_alloc_error_handler::Storage<'tcx>>,
    pub has_panic_handler: DynamicQuery<'tcx,
    queries::has_panic_handler::Storage<'tcx>>,
    pub is_profiler_runtime: DynamicQuery<'tcx,
    queries::is_profiler_runtime::Storage<'tcx>>,
    pub has_ffi_unwind_calls: DynamicQuery<'tcx,
    queries::has_ffi_unwind_calls::Storage<'tcx>>,
    pub required_panic_strategy: DynamicQuery<'tcx,
    queries::required_panic_strategy::Storage<'tcx>>,
    pub panic_in_drop_strategy: DynamicQuery<'tcx,
    queries::panic_in_drop_strategy::Storage<'tcx>>,
    pub is_no_builtins: DynamicQuery<'tcx,
    queries::is_no_builtins::Storage<'tcx>>,
    pub symbol_mangling_version: DynamicQuery<'tcx,
    queries::symbol_mangling_version::Storage<'tcx>>,
    pub extern_crate: DynamicQuery<'tcx,
    queries::extern_crate::Storage<'tcx>>,
    pub specialization_enabled_in: DynamicQuery<'tcx,
    queries::specialization_enabled_in::Storage<'tcx>>,
    pub specializes: DynamicQuery<'tcx, queries::specializes::Storage<'tcx>>,
    pub in_scope_traits_map: DynamicQuery<'tcx,
    queries::in_scope_traits_map::Storage<'tcx>>,
    pub defaultness: DynamicQuery<'tcx, queries::defaultness::Storage<'tcx>>,
    pub default_field: DynamicQuery<'tcx,
    queries::default_field::Storage<'tcx>>,
    pub check_well_formed: DynamicQuery<'tcx,
    queries::check_well_formed::Storage<'tcx>>,
    pub enforce_impl_non_lifetime_params_are_constrained: DynamicQuery<'tcx,
    queries::enforce_impl_non_lifetime_params_are_constrained::Storage<'tcx>>,
    pub reachable_non_generics: DynamicQuery<'tcx,
    queries::reachable_non_generics::Storage<'tcx>>,
    pub is_reachable_non_generic: DynamicQuery<'tcx,
    queries::is_reachable_non_generic::Storage<'tcx>>,
    pub is_unreachable_local_definition: DynamicQuery<'tcx,
    queries::is_unreachable_local_definition::Storage<'tcx>>,
    pub upstream_monomorphizations: DynamicQuery<'tcx,
    queries::upstream_monomorphizations::Storage<'tcx>>,
    pub upstream_monomorphizations_for: DynamicQuery<'tcx,
    queries::upstream_monomorphizations_for::Storage<'tcx>>,
    pub upstream_drop_glue_for: DynamicQuery<'tcx,
    queries::upstream_drop_glue_for::Storage<'tcx>>,
    pub upstream_async_drop_glue_for: DynamicQuery<'tcx,
    queries::upstream_async_drop_glue_for::Storage<'tcx>>,
    pub foreign_modules: DynamicQuery<'tcx,
    queries::foreign_modules::Storage<'tcx>>,
    pub clashing_extern_declarations: DynamicQuery<'tcx,
    queries::clashing_extern_declarations::Storage<'tcx>>,
    pub entry_fn: DynamicQuery<'tcx, queries::entry_fn::Storage<'tcx>>,
    pub proc_macro_decls_static: DynamicQuery<'tcx,
    queries::proc_macro_decls_static::Storage<'tcx>>,
    pub crate_hash: DynamicQuery<'tcx, queries::crate_hash::Storage<'tcx>>,
    pub crate_host_hash: DynamicQuery<'tcx,
    queries::crate_host_hash::Storage<'tcx>>,
    pub extra_filename: DynamicQuery<'tcx,
    queries::extra_filename::Storage<'tcx>>,
    pub crate_extern_paths: DynamicQuery<'tcx,
    queries::crate_extern_paths::Storage<'tcx>>,
    pub implementations_of_trait: DynamicQuery<'tcx,
    queries::implementations_of_trait::Storage<'tcx>>,
    pub crate_incoherent_impls: DynamicQuery<'tcx,
    queries::crate_incoherent_impls::Storage<'tcx>>,
    pub native_library: DynamicQuery<'tcx,
    queries::native_library::Storage<'tcx>>,
    pub inherit_sig_for_delegation_item: DynamicQuery<'tcx,
    queries::inherit_sig_for_delegation_item::Storage<'tcx>>,
    pub resolve_bound_vars: DynamicQuery<'tcx,
    queries::resolve_bound_vars::Storage<'tcx>>,
    pub named_variable_map: DynamicQuery<'tcx,
    queries::named_variable_map::Storage<'tcx>>,
    pub is_late_bound_map: DynamicQuery<'tcx,
    queries::is_late_bound_map::Storage<'tcx>>,
    pub object_lifetime_default: DynamicQuery<'tcx,
    queries::object_lifetime_default::Storage<'tcx>>,
    pub late_bound_vars_map: DynamicQuery<'tcx,
    queries::late_bound_vars_map::Storage<'tcx>>,
    pub opaque_captured_lifetimes: DynamicQuery<'tcx,
    queries::opaque_captured_lifetimes::Storage<'tcx>>,
    pub visibility: DynamicQuery<'tcx, queries::visibility::Storage<'tcx>>,
    pub inhabited_predicate_adt: DynamicQuery<'tcx,
    queries::inhabited_predicate_adt::Storage<'tcx>>,
    pub inhabited_predicate_type: DynamicQuery<'tcx,
    queries::inhabited_predicate_type::Storage<'tcx>>,
    pub dep_kind: DynamicQuery<'tcx, queries::dep_kind::Storage<'tcx>>,
    pub crate_name: DynamicQuery<'tcx, queries::crate_name::Storage<'tcx>>,
    pub module_children: DynamicQuery<'tcx,
    queries::module_children::Storage<'tcx>>,
    pub num_extern_def_ids: DynamicQuery<'tcx,
    queries::num_extern_def_ids::Storage<'tcx>>,
    pub lib_features: DynamicQuery<'tcx,
    queries::lib_features::Storage<'tcx>>,
    pub stability_implications: DynamicQuery<'tcx,
    queries::stability_implications::Storage<'tcx>>,
    pub intrinsic_raw: DynamicQuery<'tcx,
    queries::intrinsic_raw::Storage<'tcx>>,
    pub get_lang_items: DynamicQuery<'tcx,
    queries::get_lang_items::Storage<'tcx>>,
    pub all_diagnostic_items: DynamicQuery<'tcx,
    queries::all_diagnostic_items::Storage<'tcx>>,
    pub defined_lang_items: DynamicQuery<'tcx,
    queries::defined_lang_items::Storage<'tcx>>,
    pub diagnostic_items: DynamicQuery<'tcx,
    queries::diagnostic_items::Storage<'tcx>>,
    pub missing_lang_items: DynamicQuery<'tcx,
    queries::missing_lang_items::Storage<'tcx>>,
    pub visible_parent_map: DynamicQuery<'tcx,
    queries::visible_parent_map::Storage<'tcx>>,
    pub trimmed_def_paths: DynamicQuery<'tcx,
    queries::trimmed_def_paths::Storage<'tcx>>,
    pub missing_extern_crate_item: DynamicQuery<'tcx,
    queries::missing_extern_crate_item::Storage<'tcx>>,
    pub used_crate_source: DynamicQuery<'tcx,
    queries::used_crate_source::Storage<'tcx>>,
    pub debugger_visualizers: DynamicQuery<'tcx,
    queries::debugger_visualizers::Storage<'tcx>>,
    pub postorder_cnums: DynamicQuery<'tcx,
    queries::postorder_cnums::Storage<'tcx>>,
    pub is_private_dep: DynamicQuery<'tcx,
    queries::is_private_dep::Storage<'tcx>>,
    pub allocator_kind: DynamicQuery<'tcx,
    queries::allocator_kind::Storage<'tcx>>,
    pub alloc_error_handler_kind: DynamicQuery<'tcx,
    queries::alloc_error_handler_kind::Storage<'tcx>>,
    pub upvars_mentioned: DynamicQuery<'tcx,
    queries::upvars_mentioned::Storage<'tcx>>,
    pub crates: DynamicQuery<'tcx, queries::crates::Storage<'tcx>>,
    pub used_crates: DynamicQuery<'tcx, queries::used_crates::Storage<'tcx>>,
    pub duplicate_crate_names: DynamicQuery<'tcx,
    queries::duplicate_crate_names::Storage<'tcx>>,
    pub traits: DynamicQuery<'tcx, queries::traits::Storage<'tcx>>,
    pub trait_impls_in_crate: DynamicQuery<'tcx,
    queries::trait_impls_in_crate::Storage<'tcx>>,
    pub stable_order_of_exportable_impls: DynamicQuery<'tcx,
    queries::stable_order_of_exportable_impls::Storage<'tcx>>,
    pub exportable_items: DynamicQuery<'tcx,
    queries::exportable_items::Storage<'tcx>>,
    pub exported_non_generic_symbols: DynamicQuery<'tcx,
    queries::exported_non_generic_symbols::Storage<'tcx>>,
    pub exported_generic_symbols: DynamicQuery<'tcx,
    queries::exported_generic_symbols::Storage<'tcx>>,
    pub collect_and_partition_mono_items: DynamicQuery<'tcx,
    queries::collect_and_partition_mono_items::Storage<'tcx>>,
    pub is_codegened_item: DynamicQuery<'tcx,
    queries::is_codegened_item::Storage<'tcx>>,
    pub codegen_unit: DynamicQuery<'tcx,
    queries::codegen_unit::Storage<'tcx>>,
    pub backend_optimization_level: DynamicQuery<'tcx,
    queries::backend_optimization_level::Storage<'tcx>>,
    pub output_filenames: DynamicQuery<'tcx,
    queries::output_filenames::Storage<'tcx>>,
    pub normalize_canonicalized_projection: DynamicQuery<'tcx,
    queries::normalize_canonicalized_projection::Storage<'tcx>>,
    pub normalize_canonicalized_free_alias: DynamicQuery<'tcx,
    queries::normalize_canonicalized_free_alias::Storage<'tcx>>,
    pub normalize_canonicalized_inherent_projection: DynamicQuery<'tcx,
    queries::normalize_canonicalized_inherent_projection::Storage<'tcx>>,
    pub try_normalize_generic_arg_after_erasing_regions: DynamicQuery<'tcx,
    queries::try_normalize_generic_arg_after_erasing_regions::Storage<'tcx>>,
    pub implied_outlives_bounds: DynamicQuery<'tcx,
    queries::implied_outlives_bounds::Storage<'tcx>>,
    pub dropck_outlives: DynamicQuery<'tcx,
    queries::dropck_outlives::Storage<'tcx>>,
    pub evaluate_obligation: DynamicQuery<'tcx,
    queries::evaluate_obligation::Storage<'tcx>>,
    pub type_op_ascribe_user_type: DynamicQuery<'tcx,
    queries::type_op_ascribe_user_type::Storage<'tcx>>,
    pub type_op_prove_predicate: DynamicQuery<'tcx,
    queries::type_op_prove_predicate::Storage<'tcx>>,
    pub type_op_normalize_ty: DynamicQuery<'tcx,
    queries::type_op_normalize_ty::Storage<'tcx>>,
    pub type_op_normalize_clause: DynamicQuery<'tcx,
    queries::type_op_normalize_clause::Storage<'tcx>>,
    pub type_op_normalize_poly_fn_sig: DynamicQuery<'tcx,
    queries::type_op_normalize_poly_fn_sig::Storage<'tcx>>,
    pub type_op_normalize_fn_sig: DynamicQuery<'tcx,
    queries::type_op_normalize_fn_sig::Storage<'tcx>>,
    pub instantiate_and_check_impossible_predicates: DynamicQuery<'tcx,
    queries::instantiate_and_check_impossible_predicates::Storage<'tcx>>,
    pub is_impossible_associated_item: DynamicQuery<'tcx,
    queries::is_impossible_associated_item::Storage<'tcx>>,
    pub method_autoderef_steps: DynamicQuery<'tcx,
    queries::method_autoderef_steps::Storage<'tcx>>,
    pub evaluate_root_goal_for_proof_tree_raw: DynamicQuery<'tcx,
    queries::evaluate_root_goal_for_proof_tree_raw::Storage<'tcx>>,
    pub rust_target_features: DynamicQuery<'tcx,
    queries::rust_target_features::Storage<'tcx>>,
    pub implied_target_features: DynamicQuery<'tcx,
    queries::implied_target_features::Storage<'tcx>>,
    pub features_query: DynamicQuery<'tcx,
    queries::features_query::Storage<'tcx>>,
    pub crate_for_resolver: DynamicQuery<'tcx,
    queries::crate_for_resolver::Storage<'tcx>>,
    pub resolve_instance_raw: DynamicQuery<'tcx,
    queries::resolve_instance_raw::Storage<'tcx>>,
    pub reveal_opaque_types_in_bounds: DynamicQuery<'tcx,
    queries::reveal_opaque_types_in_bounds::Storage<'tcx>>,
    pub limits: DynamicQuery<'tcx, queries::limits::Storage<'tcx>>,
    pub diagnostic_hir_wf_check: DynamicQuery<'tcx,
    queries::diagnostic_hir_wf_check::Storage<'tcx>>,
    pub global_backend_features: DynamicQuery<'tcx,
    queries::global_backend_features::Storage<'tcx>>,
    pub check_validity_requirement: DynamicQuery<'tcx,
    queries::check_validity_requirement::Storage<'tcx>>,
    pub compare_impl_item: DynamicQuery<'tcx,
    queries::compare_impl_item::Storage<'tcx>>,
    pub deduced_param_attrs: DynamicQuery<'tcx,
    queries::deduced_param_attrs::Storage<'tcx>>,
    pub doc_link_resolutions: DynamicQuery<'tcx,
    queries::doc_link_resolutions::Storage<'tcx>>,
    pub doc_link_traits_in_scope: DynamicQuery<'tcx,
    queries::doc_link_traits_in_scope::Storage<'tcx>>,
    pub stripped_cfg_items: DynamicQuery<'tcx,
    queries::stripped_cfg_items::Storage<'tcx>>,
    pub generics_require_sized_self: DynamicQuery<'tcx,
    queries::generics_require_sized_self::Storage<'tcx>>,
    pub cross_crate_inlinable: DynamicQuery<'tcx,
    queries::cross_crate_inlinable::Storage<'tcx>>,
    pub check_mono_item: DynamicQuery<'tcx,
    queries::check_mono_item::Storage<'tcx>>,
    pub skip_move_check_fns: DynamicQuery<'tcx,
    queries::skip_move_check_fns::Storage<'tcx>>,
    pub items_of_instance: DynamicQuery<'tcx,
    queries::items_of_instance::Storage<'tcx>>,
    pub size_estimate: DynamicQuery<'tcx,
    queries::size_estimate::Storage<'tcx>>,
    pub anon_const_kind: DynamicQuery<'tcx,
    queries::anon_const_kind::Storage<'tcx>>,
    pub trivial_const: DynamicQuery<'tcx,
    queries::trivial_const::Storage<'tcx>>,
    pub sanitizer_settings_for: DynamicQuery<'tcx,
    queries::sanitizer_settings_for::Storage<'tcx>>,
    pub check_externally_implementable_items: DynamicQuery<'tcx,
    queries::check_externally_implementable_items::Storage<'tcx>>,
    pub externally_implementable_items: DynamicQuery<'tcx,
    queries::externally_implementable_items::Storage<'tcx>>,
}
pub struct QueryStates<'tcx> {
    pub derive_macro_expansion: QueryState<(LocalExpnId, &'tcx TokenStream)>,
    pub trigger_delayed_bug: QueryState<DefId>,
    pub registered_tools: QueryState<()>,
    pub early_lint_checks: QueryState<()>,
    pub env_var_os: QueryState<&'tcx OsStr>,
    pub resolutions: QueryState<()>,
    pub resolver_for_lowering_raw: QueryState<()>,
    pub source_span: QueryState<LocalDefId>,
    pub hir_crate: QueryState<()>,
    pub hir_crate_items: QueryState<()>,
    pub hir_module_items: QueryState<LocalModDefId>,
    pub local_def_id_to_hir_id: QueryState<LocalDefId>,
    pub hir_owner_parent: QueryState<hir::OwnerId>,
    pub opt_hir_owner_nodes: QueryState<LocalDefId>,
    pub hir_attr_map: QueryState<hir::OwnerId>,
    pub opt_ast_lowering_delayed_lints: QueryState<hir::OwnerId>,
    pub const_param_default: QueryState<DefId>,
    pub const_of_item: QueryState<DefId>,
    pub type_of: QueryState<DefId>,
    pub type_of_opaque: QueryState<DefId>,
    pub type_of_opaque_hir_typeck: QueryState<LocalDefId>,
    pub type_alias_is_lazy: QueryState<DefId>,
    pub collect_return_position_impl_trait_in_trait_tys: QueryState<DefId>,
    pub opaque_ty_origin: QueryState<DefId>,
    pub unsizing_params_for_adt: QueryState<DefId>,
    pub analysis: QueryState<()>,
    pub check_expectations: QueryState<Option<Symbol>>,
    pub generics_of: QueryState<DefId>,
    pub predicates_of: QueryState<DefId>,
    pub opaque_types_defined_by: QueryState<LocalDefId>,
    pub nested_bodies_within: QueryState<LocalDefId>,
    pub explicit_item_bounds: QueryState<DefId>,
    pub explicit_item_self_bounds: QueryState<DefId>,
    pub item_bounds: QueryState<DefId>,
    pub item_self_bounds: QueryState<DefId>,
    pub item_non_self_bounds: QueryState<DefId>,
    pub impl_super_outlives: QueryState<DefId>,
    pub native_libraries: QueryState<CrateNum>,
    pub shallow_lint_levels_on: QueryState<hir::OwnerId>,
    pub lint_expectations: QueryState<()>,
    pub lints_that_dont_need_to_run: QueryState<()>,
    pub expn_that_defined: QueryState<DefId>,
    pub is_panic_runtime: QueryState<CrateNum>,
    pub representability: QueryState<LocalDefId>,
    pub representability_adt_ty: QueryState<Ty<'tcx>>,
    pub params_in_repr: QueryState<DefId>,
    pub thir_body: QueryState<LocalDefId>,
    pub mir_keys: QueryState<()>,
    pub mir_const_qualif: QueryState<DefId>,
    pub mir_built: QueryState<LocalDefId>,
    pub thir_abstract_const: QueryState<DefId>,
    pub mir_drops_elaborated_and_const_checked: QueryState<LocalDefId>,
    pub mir_for_ctfe: QueryState<DefId>,
    pub mir_promoted: QueryState<LocalDefId>,
    pub closure_typeinfo: QueryState<LocalDefId>,
    pub closure_saved_names_of_captured_variables: QueryState<DefId>,
    pub mir_coroutine_witnesses: QueryState<DefId>,
    pub check_coroutine_obligations: QueryState<LocalDefId>,
    pub check_potentially_region_dependent_goals: QueryState<LocalDefId>,
    pub optimized_mir: QueryState<DefId>,
    pub coverage_attr_on: QueryState<LocalDefId>,
    pub coverage_ids_info: QueryState<ty::InstanceKind<'tcx>>,
    pub promoted_mir: QueryState<DefId>,
    pub erase_and_anonymize_regions_ty: QueryState<Ty<'tcx>>,
    pub wasm_import_module_map: QueryState<CrateNum>,
    pub trait_explicit_predicates_and_bounds: QueryState<LocalDefId>,
    pub explicit_predicates_of: QueryState<DefId>,
    pub inferred_outlives_of: QueryState<DefId>,
    pub explicit_super_predicates_of: QueryState<DefId>,
    pub explicit_implied_predicates_of: QueryState<DefId>,
    pub explicit_supertraits_containing_assoc_item: QueryState<(DefId,
    rustc_span::Ident)>,
    pub const_conditions: QueryState<DefId>,
    pub explicit_implied_const_bounds: QueryState<DefId>,
    pub type_param_predicates: QueryState<(LocalDefId, LocalDefId,
    rustc_span::Ident)>,
    pub trait_def: QueryState<DefId>,
    pub adt_def: QueryState<DefId>,
    pub adt_destructor: QueryState<DefId>,
    pub adt_async_destructor: QueryState<DefId>,
    pub adt_sizedness_constraint: QueryState<(DefId, SizedTraitKind)>,
    pub adt_dtorck_constraint: QueryState<DefId>,
    pub constness: QueryState<DefId>,
    pub asyncness: QueryState<DefId>,
    pub is_promotable_const_fn: QueryState<DefId>,
    pub coroutine_by_move_body_def_id: QueryState<DefId>,
    pub coroutine_kind: QueryState<DefId>,
    pub coroutine_for_closure: QueryState<DefId>,
    pub coroutine_hidden_types: QueryState<DefId>,
    pub crate_variances: QueryState<()>,
    pub variances_of: QueryState<DefId>,
    pub inferred_outlives_crate: QueryState<()>,
    pub associated_item_def_ids: QueryState<DefId>,
    pub associated_item: QueryState<DefId>,
    pub associated_items: QueryState<DefId>,
    pub impl_item_implementor_ids: QueryState<DefId>,
    pub associated_types_for_impl_traits_in_trait_or_impl: QueryState<DefId>,
    pub impl_trait_header: QueryState<DefId>,
    pub impl_self_is_guaranteed_unsized: QueryState<DefId>,
    pub inherent_impls: QueryState<DefId>,
    pub incoherent_impls: QueryState<SimplifiedType>,
    pub check_transmutes: QueryState<LocalDefId>,
    pub check_unsafety: QueryState<LocalDefId>,
    pub check_tail_calls: QueryState<LocalDefId>,
    pub assumed_wf_types: QueryState<LocalDefId>,
    pub assumed_wf_types_for_rpitit: QueryState<DefId>,
    pub fn_sig: QueryState<DefId>,
    pub lint_mod: QueryState<LocalModDefId>,
    pub check_unused_traits: QueryState<()>,
    pub check_mod_attrs: QueryState<LocalModDefId>,
    pub check_mod_unstable_api_usage: QueryState<LocalModDefId>,
    pub check_mod_privacy: QueryState<LocalModDefId>,
    pub check_liveness: QueryState<LocalDefId>,
    pub live_symbols_and_ignored_derived_traits: QueryState<()>,
    pub check_mod_deathness: QueryState<LocalModDefId>,
    pub check_type_wf: QueryState<()>,
    pub coerce_unsized_info: QueryState<DefId>,
    pub typeck: QueryState<LocalDefId>,
    pub used_trait_imports: QueryState<LocalDefId>,
    pub coherent_trait: QueryState<DefId>,
    pub mir_borrowck: QueryState<LocalDefId>,
    pub crate_inherent_impls: QueryState<()>,
    pub crate_inherent_impls_validity_check: QueryState<()>,
    pub crate_inherent_impls_overlap_check: QueryState<()>,
    pub orphan_check_impl: QueryState<LocalDefId>,
    pub mir_callgraph_cyclic: QueryState<LocalDefId>,
    pub mir_inliner_callees: QueryState<ty::InstanceKind<'tcx>>,
    pub tag_for_variant: QueryState<PseudoCanonicalInput<'tcx,
    (Ty<'tcx>, abi::VariantIdx)>>,
    pub eval_to_allocation_raw: QueryState<ty::PseudoCanonicalInput<'tcx,
    GlobalId<'tcx>>>,
    pub eval_static_initializer: QueryState<DefId>,
    pub eval_to_const_value_raw: QueryState<ty::PseudoCanonicalInput<'tcx,
    GlobalId<'tcx>>>,
    pub eval_to_valtree: QueryState<ty::PseudoCanonicalInput<'tcx,
    GlobalId<'tcx>>>,
    pub valtree_to_const_val: QueryState<ty::Value<'tcx>>,
    pub lit_to_const: QueryState<LitToConstInput<'tcx>>,
    pub check_match: QueryState<LocalDefId>,
    pub effective_visibilities: QueryState<()>,
    pub check_private_in_public: QueryState<LocalModDefId>,
    pub reachable_set: QueryState<()>,
    pub region_scope_tree: QueryState<DefId>,
    pub mir_shims: QueryState<ty::InstanceKind<'tcx>>,
    pub symbol_name: QueryState<ty::Instance<'tcx>>,
    pub def_kind: QueryState<DefId>,
    pub def_span: QueryState<DefId>,
    pub def_ident_span: QueryState<DefId>,
    pub ty_span: QueryState<LocalDefId>,
    pub lookup_stability: QueryState<DefId>,
    pub lookup_const_stability: QueryState<DefId>,
    pub lookup_default_body_stability: QueryState<DefId>,
    pub should_inherit_track_caller: QueryState<DefId>,
    pub inherited_align: QueryState<DefId>,
    pub lookup_deprecation_entry: QueryState<DefId>,
    pub is_doc_hidden: QueryState<DefId>,
    pub is_doc_notable_trait: QueryState<DefId>,
    pub attrs_for_def: QueryState<DefId>,
    pub codegen_fn_attrs: QueryState<DefId>,
    pub asm_target_features: QueryState<DefId>,
    pub fn_arg_idents: QueryState<DefId>,
    pub rendered_const: QueryState<DefId>,
    pub rendered_precise_capturing_args: QueryState<DefId>,
    pub impl_parent: QueryState<DefId>,
    pub is_ctfe_mir_available: QueryState<DefId>,
    pub is_mir_available: QueryState<DefId>,
    pub own_existential_vtable_entries: QueryState<DefId>,
    pub vtable_entries: QueryState<ty::TraitRef<'tcx>>,
    pub first_method_vtable_slot: QueryState<ty::TraitRef<'tcx>>,
    pub supertrait_vtable_slot: QueryState<(Ty<'tcx>, Ty<'tcx>)>,
    pub vtable_allocation: QueryState<(Ty<'tcx>,
    Option<ty::ExistentialTraitRef<'tcx>>)>,
    pub codegen_select_candidate: QueryState<PseudoCanonicalInput<'tcx,
    ty::TraitRef<'tcx>>>,
    pub all_local_trait_impls: QueryState<()>,
    pub local_trait_impls: QueryState<DefId>,
    pub trait_impls_of: QueryState<DefId>,
    pub specialization_graph_of: QueryState<DefId>,
    pub dyn_compatibility_violations: QueryState<DefId>,
    pub is_dyn_compatible: QueryState<DefId>,
    pub param_env: QueryState<DefId>,
    pub typing_env_normalized_for_post_analysis: QueryState<DefId>,
    pub is_copy_raw: QueryState<ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>>,
    pub is_use_cloned_raw: QueryState<ty::PseudoCanonicalInput<'tcx,
    Ty<'tcx>>>,
    pub is_sized_raw: QueryState<ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>>,
    pub is_freeze_raw: QueryState<ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>>,
    pub is_unpin_raw: QueryState<ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>>,
    pub is_async_drop_raw: QueryState<ty::PseudoCanonicalInput<'tcx,
    Ty<'tcx>>>,
    pub needs_drop_raw: QueryState<ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>>,
    pub needs_async_drop_raw: QueryState<ty::PseudoCanonicalInput<'tcx,
    Ty<'tcx>>>,
    pub has_significant_drop_raw: QueryState<ty::PseudoCanonicalInput<'tcx,
    Ty<'tcx>>>,
    pub has_structural_eq_impl: QueryState<Ty<'tcx>>,
    pub adt_drop_tys: QueryState<DefId>,
    pub adt_async_drop_tys: QueryState<DefId>,
    pub adt_significant_drop_tys: QueryState<DefId>,
    pub list_significant_drop_tys: QueryState<ty::PseudoCanonicalInput<'tcx,
    Ty<'tcx>>>,
    pub layout_of: QueryState<ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>>,
    pub fn_abi_of_fn_ptr: QueryState<ty::PseudoCanonicalInput<'tcx,
    (ty::PolyFnSig<'tcx>, &'tcx ty::List<Ty<'tcx>>)>>,
    pub fn_abi_of_instance: QueryState<ty::PseudoCanonicalInput<'tcx,
    (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)>>,
    pub dylib_dependency_formats: QueryState<CrateNum>,
    pub dependency_formats: QueryState<()>,
    pub is_compiler_builtins: QueryState<CrateNum>,
    pub has_global_allocator: QueryState<CrateNum>,
    pub has_alloc_error_handler: QueryState<CrateNum>,
    pub has_panic_handler: QueryState<CrateNum>,
    pub is_profiler_runtime: QueryState<CrateNum>,
    pub has_ffi_unwind_calls: QueryState<LocalDefId>,
    pub required_panic_strategy: QueryState<CrateNum>,
    pub panic_in_drop_strategy: QueryState<CrateNum>,
    pub is_no_builtins: QueryState<CrateNum>,
    pub symbol_mangling_version: QueryState<CrateNum>,
    pub extern_crate: QueryState<CrateNum>,
    pub specialization_enabled_in: QueryState<CrateNum>,
    pub specializes: QueryState<(DefId, DefId)>,
    pub in_scope_traits_map: QueryState<hir::OwnerId>,
    pub defaultness: QueryState<DefId>,
    pub default_field: QueryState<DefId>,
    pub check_well_formed: QueryState<LocalDefId>,
    pub enforce_impl_non_lifetime_params_are_constrained: QueryState<LocalDefId>,
    pub reachable_non_generics: QueryState<CrateNum>,
    pub is_reachable_non_generic: QueryState<DefId>,
    pub is_unreachable_local_definition: QueryState<LocalDefId>,
    pub upstream_monomorphizations: QueryState<()>,
    pub upstream_monomorphizations_for: QueryState<DefId>,
    pub upstream_drop_glue_for: QueryState<GenericArgsRef<'tcx>>,
    pub upstream_async_drop_glue_for: QueryState<GenericArgsRef<'tcx>>,
    pub foreign_modules: QueryState<CrateNum>,
    pub clashing_extern_declarations: QueryState<()>,
    pub entry_fn: QueryState<()>,
    pub proc_macro_decls_static: QueryState<()>,
    pub crate_hash: QueryState<CrateNum>,
    pub crate_host_hash: QueryState<CrateNum>,
    pub extra_filename: QueryState<CrateNum>,
    pub crate_extern_paths: QueryState<CrateNum>,
    pub implementations_of_trait: QueryState<(CrateNum, DefId)>,
    pub crate_incoherent_impls: QueryState<(CrateNum, SimplifiedType)>,
    pub native_library: QueryState<DefId>,
    pub inherit_sig_for_delegation_item: QueryState<LocalDefId>,
    pub resolve_bound_vars: QueryState<hir::OwnerId>,
    pub named_variable_map: QueryState<hir::OwnerId>,
    pub is_late_bound_map: QueryState<hir::OwnerId>,
    pub object_lifetime_default: QueryState<DefId>,
    pub late_bound_vars_map: QueryState<hir::OwnerId>,
    pub opaque_captured_lifetimes: QueryState<LocalDefId>,
    pub visibility: QueryState<DefId>,
    pub inhabited_predicate_adt: QueryState<DefId>,
    pub inhabited_predicate_type: QueryState<Ty<'tcx>>,
    pub dep_kind: QueryState<CrateNum>,
    pub crate_name: QueryState<CrateNum>,
    pub module_children: QueryState<DefId>,
    pub num_extern_def_ids: QueryState<CrateNum>,
    pub lib_features: QueryState<CrateNum>,
    pub stability_implications: QueryState<CrateNum>,
    pub intrinsic_raw: QueryState<DefId>,
    pub get_lang_items: QueryState<()>,
    pub all_diagnostic_items: QueryState<()>,
    pub defined_lang_items: QueryState<CrateNum>,
    pub diagnostic_items: QueryState<CrateNum>,
    pub missing_lang_items: QueryState<CrateNum>,
    pub visible_parent_map: QueryState<()>,
    pub trimmed_def_paths: QueryState<()>,
    pub missing_extern_crate_item: QueryState<CrateNum>,
    pub used_crate_source: QueryState<CrateNum>,
    pub debugger_visualizers: QueryState<CrateNum>,
    pub postorder_cnums: QueryState<()>,
    pub is_private_dep: QueryState<CrateNum>,
    pub allocator_kind: QueryState<()>,
    pub alloc_error_handler_kind: QueryState<()>,
    pub upvars_mentioned: QueryState<DefId>,
    pub crates: QueryState<()>,
    pub used_crates: QueryState<()>,
    pub duplicate_crate_names: QueryState<CrateNum>,
    pub traits: QueryState<CrateNum>,
    pub trait_impls_in_crate: QueryState<CrateNum>,
    pub stable_order_of_exportable_impls: QueryState<CrateNum>,
    pub exportable_items: QueryState<CrateNum>,
    pub exported_non_generic_symbols: QueryState<CrateNum>,
    pub exported_generic_symbols: QueryState<CrateNum>,
    pub collect_and_partition_mono_items: QueryState<()>,
    pub is_codegened_item: QueryState<DefId>,
    pub codegen_unit: QueryState<Symbol>,
    pub backend_optimization_level: QueryState<()>,
    pub output_filenames: QueryState<()>,
    pub normalize_canonicalized_projection: QueryState<CanonicalAliasGoal<'tcx>>,
    pub normalize_canonicalized_free_alias: QueryState<CanonicalAliasGoal<'tcx>>,
    pub normalize_canonicalized_inherent_projection: QueryState<CanonicalAliasGoal<'tcx>>,
    pub try_normalize_generic_arg_after_erasing_regions: QueryState<PseudoCanonicalInput<'tcx,
    GenericArg<'tcx>>>,
    pub implied_outlives_bounds: QueryState<(CanonicalImpliedOutlivesBoundsGoal<'tcx>,
    bool)>,
    pub dropck_outlives: QueryState<CanonicalDropckOutlivesGoal<'tcx>>,
    pub evaluate_obligation: QueryState<CanonicalPredicateGoal<'tcx>>,
    pub type_op_ascribe_user_type: QueryState<CanonicalTypeOpAscribeUserTypeGoal<'tcx>>,
    pub type_op_prove_predicate: QueryState<CanonicalTypeOpProvePredicateGoal<'tcx>>,
    pub type_op_normalize_ty: QueryState<CanonicalTypeOpNormalizeGoal<'tcx,
    Ty<'tcx>>>,
    pub type_op_normalize_clause: QueryState<CanonicalTypeOpNormalizeGoal<'tcx,
    ty::Clause<'tcx>>>,
    pub type_op_normalize_poly_fn_sig: QueryState<CanonicalTypeOpNormalizeGoal<'tcx,
    ty::PolyFnSig<'tcx>>>,
    pub type_op_normalize_fn_sig: QueryState<CanonicalTypeOpNormalizeGoal<'tcx,
    ty::FnSig<'tcx>>>,
    pub instantiate_and_check_impossible_predicates: QueryState<(DefId,
    GenericArgsRef<'tcx>)>,
    pub is_impossible_associated_item: QueryState<(DefId, DefId)>,
    pub method_autoderef_steps: QueryState<CanonicalMethodAutoderefStepsGoal<'tcx>>,
    pub evaluate_root_goal_for_proof_tree_raw: QueryState<solve::CanonicalInput<'tcx>>,
    pub rust_target_features: QueryState<CrateNum>,
    pub implied_target_features: QueryState<Symbol>,
    pub features_query: QueryState<()>,
    pub crate_for_resolver: QueryState<()>,
    pub resolve_instance_raw: QueryState<ty::PseudoCanonicalInput<'tcx,
    (DefId, GenericArgsRef<'tcx>)>>,
    pub reveal_opaque_types_in_bounds: QueryState<ty::Clauses<'tcx>>,
    pub limits: QueryState<()>,
    pub diagnostic_hir_wf_check: QueryState<(ty::Predicate<'tcx>,
    WellFormedLoc)>,
    pub global_backend_features: QueryState<()>,
    pub check_validity_requirement: QueryState<(ValidityRequirement,
    ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)>,
    pub compare_impl_item: QueryState<LocalDefId>,
    pub deduced_param_attrs: QueryState<DefId>,
    pub doc_link_resolutions: QueryState<DefId>,
    pub doc_link_traits_in_scope: QueryState<DefId>,
    pub stripped_cfg_items: QueryState<CrateNum>,
    pub generics_require_sized_self: QueryState<DefId>,
    pub cross_crate_inlinable: QueryState<DefId>,
    pub check_mono_item: QueryState<ty::Instance<'tcx>>,
    pub skip_move_check_fns: QueryState<()>,
    pub items_of_instance: QueryState<(ty::Instance<'tcx>, CollectionMode)>,
    pub size_estimate: QueryState<ty::Instance<'tcx>>,
    pub anon_const_kind: QueryState<DefId>,
    pub trivial_const: QueryState<DefId>,
    pub sanitizer_settings_for: QueryState<LocalDefId>,
    pub check_externally_implementable_items: QueryState<()>,
    pub externally_implementable_items: QueryState<CrateNum>,
}
#[automatically_derived]
impl<'tcx> ::core::default::Default for QueryStates<'tcx> {
    #[inline]
    fn default() -> QueryStates<'tcx> {
        QueryStates {
            derive_macro_expansion: ::core::default::Default::default(),
            trigger_delayed_bug: ::core::default::Default::default(),
            registered_tools: ::core::default::Default::default(),
            early_lint_checks: ::core::default::Default::default(),
            env_var_os: ::core::default::Default::default(),
            resolutions: ::core::default::Default::default(),
            resolver_for_lowering_raw: ::core::default::Default::default(),
            source_span: ::core::default::Default::default(),
            hir_crate: ::core::default::Default::default(),
            hir_crate_items: ::core::default::Default::default(),
            hir_module_items: ::core::default::Default::default(),
            local_def_id_to_hir_id: ::core::default::Default::default(),
            hir_owner_parent: ::core::default::Default::default(),
            opt_hir_owner_nodes: ::core::default::Default::default(),
            hir_attr_map: ::core::default::Default::default(),
            opt_ast_lowering_delayed_lints: ::core::default::Default::default(),
            const_param_default: ::core::default::Default::default(),
            const_of_item: ::core::default::Default::default(),
            type_of: ::core::default::Default::default(),
            type_of_opaque: ::core::default::Default::default(),
            type_of_opaque_hir_typeck: ::core::default::Default::default(),
            type_alias_is_lazy: ::core::default::Default::default(),
            collect_return_position_impl_trait_in_trait_tys: ::core::default::Default::default(),
            opaque_ty_origin: ::core::default::Default::default(),
            unsizing_params_for_adt: ::core::default::Default::default(),
            analysis: ::core::default::Default::default(),
            check_expectations: ::core::default::Default::default(),
            generics_of: ::core::default::Default::default(),
            predicates_of: ::core::default::Default::default(),
            opaque_types_defined_by: ::core::default::Default::default(),
            nested_bodies_within: ::core::default::Default::default(),
            explicit_item_bounds: ::core::default::Default::default(),
            explicit_item_self_bounds: ::core::default::Default::default(),
            item_bounds: ::core::default::Default::default(),
            item_self_bounds: ::core::default::Default::default(),
            item_non_self_bounds: ::core::default::Default::default(),
            impl_super_outlives: ::core::default::Default::default(),
            native_libraries: ::core::default::Default::default(),
            shallow_lint_levels_on: ::core::default::Default::default(),
            lint_expectations: ::core::default::Default::default(),
            lints_that_dont_need_to_run: ::core::default::Default::default(),
            expn_that_defined: ::core::default::Default::default(),
            is_panic_runtime: ::core::default::Default::default(),
            representability: ::core::default::Default::default(),
            representability_adt_ty: ::core::default::Default::default(),
            params_in_repr: ::core::default::Default::default(),
            thir_body: ::core::default::Default::default(),
            mir_keys: ::core::default::Default::default(),
            mir_const_qualif: ::core::default::Default::default(),
            mir_built: ::core::default::Default::default(),
            thir_abstract_const: ::core::default::Default::default(),
            mir_drops_elaborated_and_const_checked: ::core::default::Default::default(),
            mir_for_ctfe: ::core::default::Default::default(),
            mir_promoted: ::core::default::Default::default(),
            closure_typeinfo: ::core::default::Default::default(),
            closure_saved_names_of_captured_variables: ::core::default::Default::default(),
            mir_coroutine_witnesses: ::core::default::Default::default(),
            check_coroutine_obligations: ::core::default::Default::default(),
            check_potentially_region_dependent_goals: ::core::default::Default::default(),
            optimized_mir: ::core::default::Default::default(),
            coverage_attr_on: ::core::default::Default::default(),
            coverage_ids_info: ::core::default::Default::default(),
            promoted_mir: ::core::default::Default::default(),
            erase_and_anonymize_regions_ty: ::core::default::Default::default(),
            wasm_import_module_map: ::core::default::Default::default(),
            trait_explicit_predicates_and_bounds: ::core::default::Default::default(),
            explicit_predicates_of: ::core::default::Default::default(),
            inferred_outlives_of: ::core::default::Default::default(),
            explicit_super_predicates_of: ::core::default::Default::default(),
            explicit_implied_predicates_of: ::core::default::Default::default(),
            explicit_supertraits_containing_assoc_item: ::core::default::Default::default(),
            const_conditions: ::core::default::Default::default(),
            explicit_implied_const_bounds: ::core::default::Default::default(),
            type_param_predicates: ::core::default::Default::default(),
            trait_def: ::core::default::Default::default(),
            adt_def: ::core::default::Default::default(),
            adt_destructor: ::core::default::Default::default(),
            adt_async_destructor: ::core::default::Default::default(),
            adt_sizedness_constraint: ::core::default::Default::default(),
            adt_dtorck_constraint: ::core::default::Default::default(),
            constness: ::core::default::Default::default(),
            asyncness: ::core::default::Default::default(),
            is_promotable_const_fn: ::core::default::Default::default(),
            coroutine_by_move_body_def_id: ::core::default::Default::default(),
            coroutine_kind: ::core::default::Default::default(),
            coroutine_for_closure: ::core::default::Default::default(),
            coroutine_hidden_types: ::core::default::Default::default(),
            crate_variances: ::core::default::Default::default(),
            variances_of: ::core::default::Default::default(),
            inferred_outlives_crate: ::core::default::Default::default(),
            associated_item_def_ids: ::core::default::Default::default(),
            associated_item: ::core::default::Default::default(),
            associated_items: ::core::default::Default::default(),
            impl_item_implementor_ids: ::core::default::Default::default(),
            associated_types_for_impl_traits_in_trait_or_impl: ::core::default::Default::default(),
            impl_trait_header: ::core::default::Default::default(),
            impl_self_is_guaranteed_unsized: ::core::default::Default::default(),
            inherent_impls: ::core::default::Default::default(),
            incoherent_impls: ::core::default::Default::default(),
            check_transmutes: ::core::default::Default::default(),
            check_unsafety: ::core::default::Default::default(),
            check_tail_calls: ::core::default::Default::default(),
            assumed_wf_types: ::core::default::Default::default(),
            assumed_wf_types_for_rpitit: ::core::default::Default::default(),
            fn_sig: ::core::default::Default::default(),
            lint_mod: ::core::default::Default::default(),
            check_unused_traits: ::core::default::Default::default(),
            check_mod_attrs: ::core::default::Default::default(),
            check_mod_unstable_api_usage: ::core::default::Default::default(),
            check_mod_privacy: ::core::default::Default::default(),
            check_liveness: ::core::default::Default::default(),
            live_symbols_and_ignored_derived_traits: ::core::default::Default::default(),
            check_mod_deathness: ::core::default::Default::default(),
            check_type_wf: ::core::default::Default::default(),
            coerce_unsized_info: ::core::default::Default::default(),
            typeck: ::core::default::Default::default(),
            used_trait_imports: ::core::default::Default::default(),
            coherent_trait: ::core::default::Default::default(),
            mir_borrowck: ::core::default::Default::default(),
            crate_inherent_impls: ::core::default::Default::default(),
            crate_inherent_impls_validity_check: ::core::default::Default::default(),
            crate_inherent_impls_overlap_check: ::core::default::Default::default(),
            orphan_check_impl: ::core::default::Default::default(),
            mir_callgraph_cyclic: ::core::default::Default::default(),
            mir_inliner_callees: ::core::default::Default::default(),
            tag_for_variant: ::core::default::Default::default(),
            eval_to_allocation_raw: ::core::default::Default::default(),
            eval_static_initializer: ::core::default::Default::default(),
            eval_to_const_value_raw: ::core::default::Default::default(),
            eval_to_valtree: ::core::default::Default::default(),
            valtree_to_const_val: ::core::default::Default::default(),
            lit_to_const: ::core::default::Default::default(),
            check_match: ::core::default::Default::default(),
            effective_visibilities: ::core::default::Default::default(),
            check_private_in_public: ::core::default::Default::default(),
            reachable_set: ::core::default::Default::default(),
            region_scope_tree: ::core::default::Default::default(),
            mir_shims: ::core::default::Default::default(),
            symbol_name: ::core::default::Default::default(),
            def_kind: ::core::default::Default::default(),
            def_span: ::core::default::Default::default(),
            def_ident_span: ::core::default::Default::default(),
            ty_span: ::core::default::Default::default(),
            lookup_stability: ::core::default::Default::default(),
            lookup_const_stability: ::core::default::Default::default(),
            lookup_default_body_stability: ::core::default::Default::default(),
            should_inherit_track_caller: ::core::default::Default::default(),
            inherited_align: ::core::default::Default::default(),
            lookup_deprecation_entry: ::core::default::Default::default(),
            is_doc_hidden: ::core::default::Default::default(),
            is_doc_notable_trait: ::core::default::Default::default(),
            attrs_for_def: ::core::default::Default::default(),
            codegen_fn_attrs: ::core::default::Default::default(),
            asm_target_features: ::core::default::Default::default(),
            fn_arg_idents: ::core::default::Default::default(),
            rendered_const: ::core::default::Default::default(),
            rendered_precise_capturing_args: ::core::default::Default::default(),
            impl_parent: ::core::default::Default::default(),
            is_ctfe_mir_available: ::core::default::Default::default(),
            is_mir_available: ::core::default::Default::default(),
            own_existential_vtable_entries: ::core::default::Default::default(),
            vtable_entries: ::core::default::Default::default(),
            first_method_vtable_slot: ::core::default::Default::default(),
            supertrait_vtable_slot: ::core::default::Default::default(),
            vtable_allocation: ::core::default::Default::default(),
            codegen_select_candidate: ::core::default::Default::default(),
            all_local_trait_impls: ::core::default::Default::default(),
            local_trait_impls: ::core::default::Default::default(),
            trait_impls_of: ::core::default::Default::default(),
            specialization_graph_of: ::core::default::Default::default(),
            dyn_compatibility_violations: ::core::default::Default::default(),
            is_dyn_compatible: ::core::default::Default::default(),
            param_env: ::core::default::Default::default(),
            typing_env_normalized_for_post_analysis: ::core::default::Default::default(),
            is_copy_raw: ::core::default::Default::default(),
            is_use_cloned_raw: ::core::default::Default::default(),
            is_sized_raw: ::core::default::Default::default(),
            is_freeze_raw: ::core::default::Default::default(),
            is_unpin_raw: ::core::default::Default::default(),
            is_async_drop_raw: ::core::default::Default::default(),
            needs_drop_raw: ::core::default::Default::default(),
            needs_async_drop_raw: ::core::default::Default::default(),
            has_significant_drop_raw: ::core::default::Default::default(),
            has_structural_eq_impl: ::core::default::Default::default(),
            adt_drop_tys: ::core::default::Default::default(),
            adt_async_drop_tys: ::core::default::Default::default(),
            adt_significant_drop_tys: ::core::default::Default::default(),
            list_significant_drop_tys: ::core::default::Default::default(),
            layout_of: ::core::default::Default::default(),
            fn_abi_of_fn_ptr: ::core::default::Default::default(),
            fn_abi_of_instance: ::core::default::Default::default(),
            dylib_dependency_formats: ::core::default::Default::default(),
            dependency_formats: ::core::default::Default::default(),
            is_compiler_builtins: ::core::default::Default::default(),
            has_global_allocator: ::core::default::Default::default(),
            has_alloc_error_handler: ::core::default::Default::default(),
            has_panic_handler: ::core::default::Default::default(),
            is_profiler_runtime: ::core::default::Default::default(),
            has_ffi_unwind_calls: ::core::default::Default::default(),
            required_panic_strategy: ::core::default::Default::default(),
            panic_in_drop_strategy: ::core::default::Default::default(),
            is_no_builtins: ::core::default::Default::default(),
            symbol_mangling_version: ::core::default::Default::default(),
            extern_crate: ::core::default::Default::default(),
            specialization_enabled_in: ::core::default::Default::default(),
            specializes: ::core::default::Default::default(),
            in_scope_traits_map: ::core::default::Default::default(),
            defaultness: ::core::default::Default::default(),
            default_field: ::core::default::Default::default(),
            check_well_formed: ::core::default::Default::default(),
            enforce_impl_non_lifetime_params_are_constrained: ::core::default::Default::default(),
            reachable_non_generics: ::core::default::Default::default(),
            is_reachable_non_generic: ::core::default::Default::default(),
            is_unreachable_local_definition: ::core::default::Default::default(),
            upstream_monomorphizations: ::core::default::Default::default(),
            upstream_monomorphizations_for: ::core::default::Default::default(),
            upstream_drop_glue_for: ::core::default::Default::default(),
            upstream_async_drop_glue_for: ::core::default::Default::default(),
            foreign_modules: ::core::default::Default::default(),
            clashing_extern_declarations: ::core::default::Default::default(),
            entry_fn: ::core::default::Default::default(),
            proc_macro_decls_static: ::core::default::Default::default(),
            crate_hash: ::core::default::Default::default(),
            crate_host_hash: ::core::default::Default::default(),
            extra_filename: ::core::default::Default::default(),
            crate_extern_paths: ::core::default::Default::default(),
            implementations_of_trait: ::core::default::Default::default(),
            crate_incoherent_impls: ::core::default::Default::default(),
            native_library: ::core::default::Default::default(),
            inherit_sig_for_delegation_item: ::core::default::Default::default(),
            resolve_bound_vars: ::core::default::Default::default(),
            named_variable_map: ::core::default::Default::default(),
            is_late_bound_map: ::core::default::Default::default(),
            object_lifetime_default: ::core::default::Default::default(),
            late_bound_vars_map: ::core::default::Default::default(),
            opaque_captured_lifetimes: ::core::default::Default::default(),
            visibility: ::core::default::Default::default(),
            inhabited_predicate_adt: ::core::default::Default::default(),
            inhabited_predicate_type: ::core::default::Default::default(),
            dep_kind: ::core::default::Default::default(),
            crate_name: ::core::default::Default::default(),
            module_children: ::core::default::Default::default(),
            num_extern_def_ids: ::core::default::Default::default(),
            lib_features: ::core::default::Default::default(),
            stability_implications: ::core::default::Default::default(),
            intrinsic_raw: ::core::default::Default::default(),
            get_lang_items: ::core::default::Default::default(),
            all_diagnostic_items: ::core::default::Default::default(),
            defined_lang_items: ::core::default::Default::default(),
            diagnostic_items: ::core::default::Default::default(),
            missing_lang_items: ::core::default::Default::default(),
            visible_parent_map: ::core::default::Default::default(),
            trimmed_def_paths: ::core::default::Default::default(),
            missing_extern_crate_item: ::core::default::Default::default(),
            used_crate_source: ::core::default::Default::default(),
            debugger_visualizers: ::core::default::Default::default(),
            postorder_cnums: ::core::default::Default::default(),
            is_private_dep: ::core::default::Default::default(),
            allocator_kind: ::core::default::Default::default(),
            alloc_error_handler_kind: ::core::default::Default::default(),
            upvars_mentioned: ::core::default::Default::default(),
            crates: ::core::default::Default::default(),
            used_crates: ::core::default::Default::default(),
            duplicate_crate_names: ::core::default::Default::default(),
            traits: ::core::default::Default::default(),
            trait_impls_in_crate: ::core::default::Default::default(),
            stable_order_of_exportable_impls: ::core::default::Default::default(),
            exportable_items: ::core::default::Default::default(),
            exported_non_generic_symbols: ::core::default::Default::default(),
            exported_generic_symbols: ::core::default::Default::default(),
            collect_and_partition_mono_items: ::core::default::Default::default(),
            is_codegened_item: ::core::default::Default::default(),
            codegen_unit: ::core::default::Default::default(),
            backend_optimization_level: ::core::default::Default::default(),
            output_filenames: ::core::default::Default::default(),
            normalize_canonicalized_projection: ::core::default::Default::default(),
            normalize_canonicalized_free_alias: ::core::default::Default::default(),
            normalize_canonicalized_inherent_projection: ::core::default::Default::default(),
            try_normalize_generic_arg_after_erasing_regions: ::core::default::Default::default(),
            implied_outlives_bounds: ::core::default::Default::default(),
            dropck_outlives: ::core::default::Default::default(),
            evaluate_obligation: ::core::default::Default::default(),
            type_op_ascribe_user_type: ::core::default::Default::default(),
            type_op_prove_predicate: ::core::default::Default::default(),
            type_op_normalize_ty: ::core::default::Default::default(),
            type_op_normalize_clause: ::core::default::Default::default(),
            type_op_normalize_poly_fn_sig: ::core::default::Default::default(),
            type_op_normalize_fn_sig: ::core::default::Default::default(),
            instantiate_and_check_impossible_predicates: ::core::default::Default::default(),
            is_impossible_associated_item: ::core::default::Default::default(),
            method_autoderef_steps: ::core::default::Default::default(),
            evaluate_root_goal_for_proof_tree_raw: ::core::default::Default::default(),
            rust_target_features: ::core::default::Default::default(),
            implied_target_features: ::core::default::Default::default(),
            features_query: ::core::default::Default::default(),
            crate_for_resolver: ::core::default::Default::default(),
            resolve_instance_raw: ::core::default::Default::default(),
            reveal_opaque_types_in_bounds: ::core::default::Default::default(),
            limits: ::core::default::Default::default(),
            diagnostic_hir_wf_check: ::core::default::Default::default(),
            global_backend_features: ::core::default::Default::default(),
            check_validity_requirement: ::core::default::Default::default(),
            compare_impl_item: ::core::default::Default::default(),
            deduced_param_attrs: ::core::default::Default::default(),
            doc_link_resolutions: ::core::default::Default::default(),
            doc_link_traits_in_scope: ::core::default::Default::default(),
            stripped_cfg_items: ::core::default::Default::default(),
            generics_require_sized_self: ::core::default::Default::default(),
            cross_crate_inlinable: ::core::default::Default::default(),
            check_mono_item: ::core::default::Default::default(),
            skip_move_check_fns: ::core::default::Default::default(),
            items_of_instance: ::core::default::Default::default(),
            size_estimate: ::core::default::Default::default(),
            anon_const_kind: ::core::default::Default::default(),
            trivial_const: ::core::default::Default::default(),
            sanitizer_settings_for: ::core::default::Default::default(),
            check_externally_implementable_items: ::core::default::Default::default(),
            externally_implementable_items: ::core::default::Default::default(),
        }
    }
}
pub struct Providers {
    pub derive_macro_expansion: for<'tcx> fn(TyCtxt<'tcx>,
        queries::derive_macro_expansion::LocalKey<'tcx>)
        -> queries::derive_macro_expansion::ProvidedValue<'tcx>,
    pub trigger_delayed_bug: for<'tcx> fn(TyCtxt<'tcx>,
        queries::trigger_delayed_bug::LocalKey<'tcx>)
        -> queries::trigger_delayed_bug::ProvidedValue<'tcx>,
    pub registered_tools: for<'tcx> fn(TyCtxt<'tcx>,
        queries::registered_tools::LocalKey<'tcx>)
        -> queries::registered_tools::ProvidedValue<'tcx>,
    pub early_lint_checks: for<'tcx> fn(TyCtxt<'tcx>,
        queries::early_lint_checks::LocalKey<'tcx>)
        -> queries::early_lint_checks::ProvidedValue<'tcx>,
    pub env_var_os: for<'tcx> fn(TyCtxt<'tcx>,
        queries::env_var_os::LocalKey<'tcx>)
        -> queries::env_var_os::ProvidedValue<'tcx>,
    pub resolutions: for<'tcx> fn(TyCtxt<'tcx>,
        queries::resolutions::LocalKey<'tcx>)
        -> queries::resolutions::ProvidedValue<'tcx>,
    pub resolver_for_lowering_raw: for<'tcx> fn(TyCtxt<'tcx>,
        queries::resolver_for_lowering_raw::LocalKey<'tcx>)
        -> queries::resolver_for_lowering_raw::ProvidedValue<'tcx>,
    pub source_span: for<'tcx> fn(TyCtxt<'tcx>,
        queries::source_span::LocalKey<'tcx>)
        -> queries::source_span::ProvidedValue<'tcx>,
    pub hir_crate: for<'tcx> fn(TyCtxt<'tcx>,
        queries::hir_crate::LocalKey<'tcx>)
        -> queries::hir_crate::ProvidedValue<'tcx>,
    pub hir_crate_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::hir_crate_items::LocalKey<'tcx>)
        -> queries::hir_crate_items::ProvidedValue<'tcx>,
    pub hir_module_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::hir_module_items::LocalKey<'tcx>)
        -> queries::hir_module_items::ProvidedValue<'tcx>,
    pub local_def_id_to_hir_id: for<'tcx> fn(TyCtxt<'tcx>,
        queries::local_def_id_to_hir_id::LocalKey<'tcx>)
        -> queries::local_def_id_to_hir_id::ProvidedValue<'tcx>,
    pub hir_owner_parent: for<'tcx> fn(TyCtxt<'tcx>,
        queries::hir_owner_parent::LocalKey<'tcx>)
        -> queries::hir_owner_parent::ProvidedValue<'tcx>,
    pub opt_hir_owner_nodes: for<'tcx> fn(TyCtxt<'tcx>,
        queries::opt_hir_owner_nodes::LocalKey<'tcx>)
        -> queries::opt_hir_owner_nodes::ProvidedValue<'tcx>,
    pub hir_attr_map: for<'tcx> fn(TyCtxt<'tcx>,
        queries::hir_attr_map::LocalKey<'tcx>)
        -> queries::hir_attr_map::ProvidedValue<'tcx>,
    pub opt_ast_lowering_delayed_lints: for<'tcx> fn(TyCtxt<'tcx>,
        queries::opt_ast_lowering_delayed_lints::LocalKey<'tcx>)
        -> queries::opt_ast_lowering_delayed_lints::ProvidedValue<'tcx>,
    pub const_param_default: for<'tcx> fn(TyCtxt<'tcx>,
        queries::const_param_default::LocalKey<'tcx>)
        -> queries::const_param_default::ProvidedValue<'tcx>,
    pub const_of_item: for<'tcx> fn(TyCtxt<'tcx>,
        queries::const_of_item::LocalKey<'tcx>)
        -> queries::const_of_item::ProvidedValue<'tcx>,
    pub type_of: for<'tcx> fn(TyCtxt<'tcx>, queries::type_of::LocalKey<'tcx>)
        -> queries::type_of::ProvidedValue<'tcx>,
    pub type_of_opaque: for<'tcx> fn(TyCtxt<'tcx>,
        queries::type_of_opaque::LocalKey<'tcx>)
        -> queries::type_of_opaque::ProvidedValue<'tcx>,
    pub type_of_opaque_hir_typeck: for<'tcx> fn(TyCtxt<'tcx>,
        queries::type_of_opaque_hir_typeck::LocalKey<'tcx>)
        -> queries::type_of_opaque_hir_typeck::ProvidedValue<'tcx>,
    pub type_alias_is_lazy: for<'tcx> fn(TyCtxt<'tcx>,
        queries::type_alias_is_lazy::LocalKey<'tcx>)
        -> queries::type_alias_is_lazy::ProvidedValue<'tcx>,
    pub collect_return_position_impl_trait_in_trait_tys: for<'tcx> fn(TyCtxt<'tcx>,
        queries::collect_return_position_impl_trait_in_trait_tys::LocalKey<'tcx>)
        ->
            queries::collect_return_position_impl_trait_in_trait_tys::ProvidedValue<'tcx>,
    pub opaque_ty_origin: for<'tcx> fn(TyCtxt<'tcx>,
        queries::opaque_ty_origin::LocalKey<'tcx>)
        -> queries::opaque_ty_origin::ProvidedValue<'tcx>,
    pub unsizing_params_for_adt: for<'tcx> fn(TyCtxt<'tcx>,
        queries::unsizing_params_for_adt::LocalKey<'tcx>)
        -> queries::unsizing_params_for_adt::ProvidedValue<'tcx>,
    pub analysis: for<'tcx> fn(TyCtxt<'tcx>,
        queries::analysis::LocalKey<'tcx>)
        -> queries::analysis::ProvidedValue<'tcx>,
    pub check_expectations: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_expectations::LocalKey<'tcx>)
        -> queries::check_expectations::ProvidedValue<'tcx>,
    pub generics_of: for<'tcx> fn(TyCtxt<'tcx>,
        queries::generics_of::LocalKey<'tcx>)
        -> queries::generics_of::ProvidedValue<'tcx>,
    pub predicates_of: for<'tcx> fn(TyCtxt<'tcx>,
        queries::predicates_of::LocalKey<'tcx>)
        -> queries::predicates_of::ProvidedValue<'tcx>,
    pub opaque_types_defined_by: for<'tcx> fn(TyCtxt<'tcx>,
        queries::opaque_types_defined_by::LocalKey<'tcx>)
        -> queries::opaque_types_defined_by::ProvidedValue<'tcx>,
    pub nested_bodies_within: for<'tcx> fn(TyCtxt<'tcx>,
        queries::nested_bodies_within::LocalKey<'tcx>)
        -> queries::nested_bodies_within::ProvidedValue<'tcx>,
    pub explicit_item_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        queries::explicit_item_bounds::LocalKey<'tcx>)
        -> queries::explicit_item_bounds::ProvidedValue<'tcx>,
    pub explicit_item_self_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        queries::explicit_item_self_bounds::LocalKey<'tcx>)
        -> queries::explicit_item_self_bounds::ProvidedValue<'tcx>,
    pub item_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        queries::item_bounds::LocalKey<'tcx>)
        -> queries::item_bounds::ProvidedValue<'tcx>,
    pub item_self_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        queries::item_self_bounds::LocalKey<'tcx>)
        -> queries::item_self_bounds::ProvidedValue<'tcx>,
    pub item_non_self_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        queries::item_non_self_bounds::LocalKey<'tcx>)
        -> queries::item_non_self_bounds::ProvidedValue<'tcx>,
    pub impl_super_outlives: for<'tcx> fn(TyCtxt<'tcx>,
        queries::impl_super_outlives::LocalKey<'tcx>)
        -> queries::impl_super_outlives::ProvidedValue<'tcx>,
    pub native_libraries: for<'tcx> fn(TyCtxt<'tcx>,
        queries::native_libraries::LocalKey<'tcx>)
        -> queries::native_libraries::ProvidedValue<'tcx>,
    pub shallow_lint_levels_on: for<'tcx> fn(TyCtxt<'tcx>,
        queries::shallow_lint_levels_on::LocalKey<'tcx>)
        -> queries::shallow_lint_levels_on::ProvidedValue<'tcx>,
    pub lint_expectations: for<'tcx> fn(TyCtxt<'tcx>,
        queries::lint_expectations::LocalKey<'tcx>)
        -> queries::lint_expectations::ProvidedValue<'tcx>,
    pub lints_that_dont_need_to_run: for<'tcx> fn(TyCtxt<'tcx>,
        queries::lints_that_dont_need_to_run::LocalKey<'tcx>)
        -> queries::lints_that_dont_need_to_run::ProvidedValue<'tcx>,
    pub expn_that_defined: for<'tcx> fn(TyCtxt<'tcx>,
        queries::expn_that_defined::LocalKey<'tcx>)
        -> queries::expn_that_defined::ProvidedValue<'tcx>,
    pub is_panic_runtime: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_panic_runtime::LocalKey<'tcx>)
        -> queries::is_panic_runtime::ProvidedValue<'tcx>,
    pub representability: for<'tcx> fn(TyCtxt<'tcx>,
        queries::representability::LocalKey<'tcx>)
        -> queries::representability::ProvidedValue<'tcx>,
    pub representability_adt_ty: for<'tcx> fn(TyCtxt<'tcx>,
        queries::representability_adt_ty::LocalKey<'tcx>)
        -> queries::representability_adt_ty::ProvidedValue<'tcx>,
    pub params_in_repr: for<'tcx> fn(TyCtxt<'tcx>,
        queries::params_in_repr::LocalKey<'tcx>)
        -> queries::params_in_repr::ProvidedValue<'tcx>,
    pub thir_body: for<'tcx> fn(TyCtxt<'tcx>,
        queries::thir_body::LocalKey<'tcx>)
        -> queries::thir_body::ProvidedValue<'tcx>,
    pub mir_keys: for<'tcx> fn(TyCtxt<'tcx>,
        queries::mir_keys::LocalKey<'tcx>)
        -> queries::mir_keys::ProvidedValue<'tcx>,
    pub mir_const_qualif: for<'tcx> fn(TyCtxt<'tcx>,
        queries::mir_const_qualif::LocalKey<'tcx>)
        -> queries::mir_const_qualif::ProvidedValue<'tcx>,
    pub mir_built: for<'tcx> fn(TyCtxt<'tcx>,
        queries::mir_built::LocalKey<'tcx>)
        -> queries::mir_built::ProvidedValue<'tcx>,
    pub thir_abstract_const: for<'tcx> fn(TyCtxt<'tcx>,
        queries::thir_abstract_const::LocalKey<'tcx>)
        -> queries::thir_abstract_const::ProvidedValue<'tcx>,
    pub mir_drops_elaborated_and_const_checked: for<'tcx> fn(TyCtxt<'tcx>,
        queries::mir_drops_elaborated_and_const_checked::LocalKey<'tcx>)
        ->
            queries::mir_drops_elaborated_and_const_checked::ProvidedValue<'tcx>,
    pub mir_for_ctfe: for<'tcx> fn(TyCtxt<'tcx>,
        queries::mir_for_ctfe::LocalKey<'tcx>)
        -> queries::mir_for_ctfe::ProvidedValue<'tcx>,
    pub mir_promoted: for<'tcx> fn(TyCtxt<'tcx>,
        queries::mir_promoted::LocalKey<'tcx>)
        -> queries::mir_promoted::ProvidedValue<'tcx>,
    pub closure_typeinfo: for<'tcx> fn(TyCtxt<'tcx>,
        queries::closure_typeinfo::LocalKey<'tcx>)
        -> queries::closure_typeinfo::ProvidedValue<'tcx>,
    pub closure_saved_names_of_captured_variables: for<'tcx> fn(TyCtxt<'tcx>,
        queries::closure_saved_names_of_captured_variables::LocalKey<'tcx>)
        ->
            queries::closure_saved_names_of_captured_variables::ProvidedValue<'tcx>,
    pub mir_coroutine_witnesses: for<'tcx> fn(TyCtxt<'tcx>,
        queries::mir_coroutine_witnesses::LocalKey<'tcx>)
        -> queries::mir_coroutine_witnesses::ProvidedValue<'tcx>,
    pub check_coroutine_obligations: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_coroutine_obligations::LocalKey<'tcx>)
        -> queries::check_coroutine_obligations::ProvidedValue<'tcx>,
    pub check_potentially_region_dependent_goals: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_potentially_region_dependent_goals::LocalKey<'tcx>)
        ->
            queries::check_potentially_region_dependent_goals::ProvidedValue<'tcx>,
    pub optimized_mir: for<'tcx> fn(TyCtxt<'tcx>,
        queries::optimized_mir::LocalKey<'tcx>)
        -> queries::optimized_mir::ProvidedValue<'tcx>,
    pub coverage_attr_on: for<'tcx> fn(TyCtxt<'tcx>,
        queries::coverage_attr_on::LocalKey<'tcx>)
        -> queries::coverage_attr_on::ProvidedValue<'tcx>,
    pub coverage_ids_info: for<'tcx> fn(TyCtxt<'tcx>,
        queries::coverage_ids_info::LocalKey<'tcx>)
        -> queries::coverage_ids_info::ProvidedValue<'tcx>,
    pub promoted_mir: for<'tcx> fn(TyCtxt<'tcx>,
        queries::promoted_mir::LocalKey<'tcx>)
        -> queries::promoted_mir::ProvidedValue<'tcx>,
    pub erase_and_anonymize_regions_ty: for<'tcx> fn(TyCtxt<'tcx>,
        queries::erase_and_anonymize_regions_ty::LocalKey<'tcx>)
        -> queries::erase_and_anonymize_regions_ty::ProvidedValue<'tcx>,
    pub wasm_import_module_map: for<'tcx> fn(TyCtxt<'tcx>,
        queries::wasm_import_module_map::LocalKey<'tcx>)
        -> queries::wasm_import_module_map::ProvidedValue<'tcx>,
    pub trait_explicit_predicates_and_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        queries::trait_explicit_predicates_and_bounds::LocalKey<'tcx>)
        -> queries::trait_explicit_predicates_and_bounds::ProvidedValue<'tcx>,
    pub explicit_predicates_of: for<'tcx> fn(TyCtxt<'tcx>,
        queries::explicit_predicates_of::LocalKey<'tcx>)
        -> queries::explicit_predicates_of::ProvidedValue<'tcx>,
    pub inferred_outlives_of: for<'tcx> fn(TyCtxt<'tcx>,
        queries::inferred_outlives_of::LocalKey<'tcx>)
        -> queries::inferred_outlives_of::ProvidedValue<'tcx>,
    pub explicit_super_predicates_of: for<'tcx> fn(TyCtxt<'tcx>,
        queries::explicit_super_predicates_of::LocalKey<'tcx>)
        -> queries::explicit_super_predicates_of::ProvidedValue<'tcx>,
    pub explicit_implied_predicates_of: for<'tcx> fn(TyCtxt<'tcx>,
        queries::explicit_implied_predicates_of::LocalKey<'tcx>)
        -> queries::explicit_implied_predicates_of::ProvidedValue<'tcx>,
    pub explicit_supertraits_containing_assoc_item: for<'tcx> fn(TyCtxt<'tcx>,
        queries::explicit_supertraits_containing_assoc_item::LocalKey<'tcx>)
        ->
            queries::explicit_supertraits_containing_assoc_item::ProvidedValue<'tcx>,
    pub const_conditions: for<'tcx> fn(TyCtxt<'tcx>,
        queries::const_conditions::LocalKey<'tcx>)
        -> queries::const_conditions::ProvidedValue<'tcx>,
    pub explicit_implied_const_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        queries::explicit_implied_const_bounds::LocalKey<'tcx>)
        -> queries::explicit_implied_const_bounds::ProvidedValue<'tcx>,
    pub type_param_predicates: for<'tcx> fn(TyCtxt<'tcx>,
        queries::type_param_predicates::LocalKey<'tcx>)
        -> queries::type_param_predicates::ProvidedValue<'tcx>,
    pub trait_def: for<'tcx> fn(TyCtxt<'tcx>,
        queries::trait_def::LocalKey<'tcx>)
        -> queries::trait_def::ProvidedValue<'tcx>,
    pub adt_def: for<'tcx> fn(TyCtxt<'tcx>, queries::adt_def::LocalKey<'tcx>)
        -> queries::adt_def::ProvidedValue<'tcx>,
    pub adt_destructor: for<'tcx> fn(TyCtxt<'tcx>,
        queries::adt_destructor::LocalKey<'tcx>)
        -> queries::adt_destructor::ProvidedValue<'tcx>,
    pub adt_async_destructor: for<'tcx> fn(TyCtxt<'tcx>,
        queries::adt_async_destructor::LocalKey<'tcx>)
        -> queries::adt_async_destructor::ProvidedValue<'tcx>,
    pub adt_sizedness_constraint: for<'tcx> fn(TyCtxt<'tcx>,
        queries::adt_sizedness_constraint::LocalKey<'tcx>)
        -> queries::adt_sizedness_constraint::ProvidedValue<'tcx>,
    pub adt_dtorck_constraint: for<'tcx> fn(TyCtxt<'tcx>,
        queries::adt_dtorck_constraint::LocalKey<'tcx>)
        -> queries::adt_dtorck_constraint::ProvidedValue<'tcx>,
    pub constness: for<'tcx> fn(TyCtxt<'tcx>,
        queries::constness::LocalKey<'tcx>)
        -> queries::constness::ProvidedValue<'tcx>,
    pub asyncness: for<'tcx> fn(TyCtxt<'tcx>,
        queries::asyncness::LocalKey<'tcx>)
        -> queries::asyncness::ProvidedValue<'tcx>,
    pub is_promotable_const_fn: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_promotable_const_fn::LocalKey<'tcx>)
        -> queries::is_promotable_const_fn::ProvidedValue<'tcx>,
    pub coroutine_by_move_body_def_id: for<'tcx> fn(TyCtxt<'tcx>,
        queries::coroutine_by_move_body_def_id::LocalKey<'tcx>)
        -> queries::coroutine_by_move_body_def_id::ProvidedValue<'tcx>,
    pub coroutine_kind: for<'tcx> fn(TyCtxt<'tcx>,
        queries::coroutine_kind::LocalKey<'tcx>)
        -> queries::coroutine_kind::ProvidedValue<'tcx>,
    pub coroutine_for_closure: for<'tcx> fn(TyCtxt<'tcx>,
        queries::coroutine_for_closure::LocalKey<'tcx>)
        -> queries::coroutine_for_closure::ProvidedValue<'tcx>,
    pub coroutine_hidden_types: for<'tcx> fn(TyCtxt<'tcx>,
        queries::coroutine_hidden_types::LocalKey<'tcx>)
        -> queries::coroutine_hidden_types::ProvidedValue<'tcx>,
    pub crate_variances: for<'tcx> fn(TyCtxt<'tcx>,
        queries::crate_variances::LocalKey<'tcx>)
        -> queries::crate_variances::ProvidedValue<'tcx>,
    pub variances_of: for<'tcx> fn(TyCtxt<'tcx>,
        queries::variances_of::LocalKey<'tcx>)
        -> queries::variances_of::ProvidedValue<'tcx>,
    pub inferred_outlives_crate: for<'tcx> fn(TyCtxt<'tcx>,
        queries::inferred_outlives_crate::LocalKey<'tcx>)
        -> queries::inferred_outlives_crate::ProvidedValue<'tcx>,
    pub associated_item_def_ids: for<'tcx> fn(TyCtxt<'tcx>,
        queries::associated_item_def_ids::LocalKey<'tcx>)
        -> queries::associated_item_def_ids::ProvidedValue<'tcx>,
    pub associated_item: for<'tcx> fn(TyCtxt<'tcx>,
        queries::associated_item::LocalKey<'tcx>)
        -> queries::associated_item::ProvidedValue<'tcx>,
    pub associated_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::associated_items::LocalKey<'tcx>)
        -> queries::associated_items::ProvidedValue<'tcx>,
    pub impl_item_implementor_ids: for<'tcx> fn(TyCtxt<'tcx>,
        queries::impl_item_implementor_ids::LocalKey<'tcx>)
        -> queries::impl_item_implementor_ids::ProvidedValue<'tcx>,
    pub associated_types_for_impl_traits_in_trait_or_impl: for<'tcx> fn(TyCtxt<'tcx>,
        queries::associated_types_for_impl_traits_in_trait_or_impl::LocalKey<'tcx>)
        ->
            queries::associated_types_for_impl_traits_in_trait_or_impl::ProvidedValue<'tcx>,
    pub impl_trait_header: for<'tcx> fn(TyCtxt<'tcx>,
        queries::impl_trait_header::LocalKey<'tcx>)
        -> queries::impl_trait_header::ProvidedValue<'tcx>,
    pub impl_self_is_guaranteed_unsized: for<'tcx> fn(TyCtxt<'tcx>,
        queries::impl_self_is_guaranteed_unsized::LocalKey<'tcx>)
        -> queries::impl_self_is_guaranteed_unsized::ProvidedValue<'tcx>,
    pub inherent_impls: for<'tcx> fn(TyCtxt<'tcx>,
        queries::inherent_impls::LocalKey<'tcx>)
        -> queries::inherent_impls::ProvidedValue<'tcx>,
    pub incoherent_impls: for<'tcx> fn(TyCtxt<'tcx>,
        queries::incoherent_impls::LocalKey<'tcx>)
        -> queries::incoherent_impls::ProvidedValue<'tcx>,
    pub check_transmutes: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_transmutes::LocalKey<'tcx>)
        -> queries::check_transmutes::ProvidedValue<'tcx>,
    pub check_unsafety: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_unsafety::LocalKey<'tcx>)
        -> queries::check_unsafety::ProvidedValue<'tcx>,
    pub check_tail_calls: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_tail_calls::LocalKey<'tcx>)
        -> queries::check_tail_calls::ProvidedValue<'tcx>,
    pub assumed_wf_types: for<'tcx> fn(TyCtxt<'tcx>,
        queries::assumed_wf_types::LocalKey<'tcx>)
        -> queries::assumed_wf_types::ProvidedValue<'tcx>,
    pub assumed_wf_types_for_rpitit: for<'tcx> fn(TyCtxt<'tcx>,
        queries::assumed_wf_types_for_rpitit::LocalKey<'tcx>)
        -> queries::assumed_wf_types_for_rpitit::ProvidedValue<'tcx>,
    pub fn_sig: for<'tcx> fn(TyCtxt<'tcx>, queries::fn_sig::LocalKey<'tcx>)
        -> queries::fn_sig::ProvidedValue<'tcx>,
    pub lint_mod: for<'tcx> fn(TyCtxt<'tcx>,
        queries::lint_mod::LocalKey<'tcx>)
        -> queries::lint_mod::ProvidedValue<'tcx>,
    pub check_unused_traits: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_unused_traits::LocalKey<'tcx>)
        -> queries::check_unused_traits::ProvidedValue<'tcx>,
    pub check_mod_attrs: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_mod_attrs::LocalKey<'tcx>)
        -> queries::check_mod_attrs::ProvidedValue<'tcx>,
    pub check_mod_unstable_api_usage: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_mod_unstable_api_usage::LocalKey<'tcx>)
        -> queries::check_mod_unstable_api_usage::ProvidedValue<'tcx>,
    pub check_mod_privacy: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_mod_privacy::LocalKey<'tcx>)
        -> queries::check_mod_privacy::ProvidedValue<'tcx>,
    pub check_liveness: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_liveness::LocalKey<'tcx>)
        -> queries::check_liveness::ProvidedValue<'tcx>,
    pub live_symbols_and_ignored_derived_traits: for<'tcx> fn(TyCtxt<'tcx>,
        queries::live_symbols_and_ignored_derived_traits::LocalKey<'tcx>)
        ->
            queries::live_symbols_and_ignored_derived_traits::ProvidedValue<'tcx>,
    pub check_mod_deathness: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_mod_deathness::LocalKey<'tcx>)
        -> queries::check_mod_deathness::ProvidedValue<'tcx>,
    pub check_type_wf: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_type_wf::LocalKey<'tcx>)
        -> queries::check_type_wf::ProvidedValue<'tcx>,
    pub coerce_unsized_info: for<'tcx> fn(TyCtxt<'tcx>,
        queries::coerce_unsized_info::LocalKey<'tcx>)
        -> queries::coerce_unsized_info::ProvidedValue<'tcx>,
    pub typeck: for<'tcx> fn(TyCtxt<'tcx>, queries::typeck::LocalKey<'tcx>)
        -> queries::typeck::ProvidedValue<'tcx>,
    pub used_trait_imports: for<'tcx> fn(TyCtxt<'tcx>,
        queries::used_trait_imports::LocalKey<'tcx>)
        -> queries::used_trait_imports::ProvidedValue<'tcx>,
    pub coherent_trait: for<'tcx> fn(TyCtxt<'tcx>,
        queries::coherent_trait::LocalKey<'tcx>)
        -> queries::coherent_trait::ProvidedValue<'tcx>,
    pub mir_borrowck: for<'tcx> fn(TyCtxt<'tcx>,
        queries::mir_borrowck::LocalKey<'tcx>)
        -> queries::mir_borrowck::ProvidedValue<'tcx>,
    pub crate_inherent_impls: for<'tcx> fn(TyCtxt<'tcx>,
        queries::crate_inherent_impls::LocalKey<'tcx>)
        -> queries::crate_inherent_impls::ProvidedValue<'tcx>,
    pub crate_inherent_impls_validity_check: for<'tcx> fn(TyCtxt<'tcx>,
        queries::crate_inherent_impls_validity_check::LocalKey<'tcx>)
        -> queries::crate_inherent_impls_validity_check::ProvidedValue<'tcx>,
    pub crate_inherent_impls_overlap_check: for<'tcx> fn(TyCtxt<'tcx>,
        queries::crate_inherent_impls_overlap_check::LocalKey<'tcx>)
        -> queries::crate_inherent_impls_overlap_check::ProvidedValue<'tcx>,
    pub orphan_check_impl: for<'tcx> fn(TyCtxt<'tcx>,
        queries::orphan_check_impl::LocalKey<'tcx>)
        -> queries::orphan_check_impl::ProvidedValue<'tcx>,
    pub mir_callgraph_cyclic: for<'tcx> fn(TyCtxt<'tcx>,
        queries::mir_callgraph_cyclic::LocalKey<'tcx>)
        -> queries::mir_callgraph_cyclic::ProvidedValue<'tcx>,
    pub mir_inliner_callees: for<'tcx> fn(TyCtxt<'tcx>,
        queries::mir_inliner_callees::LocalKey<'tcx>)
        -> queries::mir_inliner_callees::ProvidedValue<'tcx>,
    pub tag_for_variant: for<'tcx> fn(TyCtxt<'tcx>,
        queries::tag_for_variant::LocalKey<'tcx>)
        -> queries::tag_for_variant::ProvidedValue<'tcx>,
    pub eval_to_allocation_raw: for<'tcx> fn(TyCtxt<'tcx>,
        queries::eval_to_allocation_raw::LocalKey<'tcx>)
        -> queries::eval_to_allocation_raw::ProvidedValue<'tcx>,
    pub eval_static_initializer: for<'tcx> fn(TyCtxt<'tcx>,
        queries::eval_static_initializer::LocalKey<'tcx>)
        -> queries::eval_static_initializer::ProvidedValue<'tcx>,
    pub eval_to_const_value_raw: for<'tcx> fn(TyCtxt<'tcx>,
        queries::eval_to_const_value_raw::LocalKey<'tcx>)
        -> queries::eval_to_const_value_raw::ProvidedValue<'tcx>,
    pub eval_to_valtree: for<'tcx> fn(TyCtxt<'tcx>,
        queries::eval_to_valtree::LocalKey<'tcx>)
        -> queries::eval_to_valtree::ProvidedValue<'tcx>,
    pub valtree_to_const_val: for<'tcx> fn(TyCtxt<'tcx>,
        queries::valtree_to_const_val::LocalKey<'tcx>)
        -> queries::valtree_to_const_val::ProvidedValue<'tcx>,
    pub lit_to_const: for<'tcx> fn(TyCtxt<'tcx>,
        queries::lit_to_const::LocalKey<'tcx>)
        -> queries::lit_to_const::ProvidedValue<'tcx>,
    pub check_match: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_match::LocalKey<'tcx>)
        -> queries::check_match::ProvidedValue<'tcx>,
    pub effective_visibilities: for<'tcx> fn(TyCtxt<'tcx>,
        queries::effective_visibilities::LocalKey<'tcx>)
        -> queries::effective_visibilities::ProvidedValue<'tcx>,
    pub check_private_in_public: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_private_in_public::LocalKey<'tcx>)
        -> queries::check_private_in_public::ProvidedValue<'tcx>,
    pub reachable_set: for<'tcx> fn(TyCtxt<'tcx>,
        queries::reachable_set::LocalKey<'tcx>)
        -> queries::reachable_set::ProvidedValue<'tcx>,
    pub region_scope_tree: for<'tcx> fn(TyCtxt<'tcx>,
        queries::region_scope_tree::LocalKey<'tcx>)
        -> queries::region_scope_tree::ProvidedValue<'tcx>,
    pub mir_shims: for<'tcx> fn(TyCtxt<'tcx>,
        queries::mir_shims::LocalKey<'tcx>)
        -> queries::mir_shims::ProvidedValue<'tcx>,
    pub symbol_name: for<'tcx> fn(TyCtxt<'tcx>,
        queries::symbol_name::LocalKey<'tcx>)
        -> queries::symbol_name::ProvidedValue<'tcx>,
    pub def_kind: for<'tcx> fn(TyCtxt<'tcx>,
        queries::def_kind::LocalKey<'tcx>)
        -> queries::def_kind::ProvidedValue<'tcx>,
    pub def_span: for<'tcx> fn(TyCtxt<'tcx>,
        queries::def_span::LocalKey<'tcx>)
        -> queries::def_span::ProvidedValue<'tcx>,
    pub def_ident_span: for<'tcx> fn(TyCtxt<'tcx>,
        queries::def_ident_span::LocalKey<'tcx>)
        -> queries::def_ident_span::ProvidedValue<'tcx>,
    pub ty_span: for<'tcx> fn(TyCtxt<'tcx>, queries::ty_span::LocalKey<'tcx>)
        -> queries::ty_span::ProvidedValue<'tcx>,
    pub lookup_stability: for<'tcx> fn(TyCtxt<'tcx>,
        queries::lookup_stability::LocalKey<'tcx>)
        -> queries::lookup_stability::ProvidedValue<'tcx>,
    pub lookup_const_stability: for<'tcx> fn(TyCtxt<'tcx>,
        queries::lookup_const_stability::LocalKey<'tcx>)
        -> queries::lookup_const_stability::ProvidedValue<'tcx>,
    pub lookup_default_body_stability: for<'tcx> fn(TyCtxt<'tcx>,
        queries::lookup_default_body_stability::LocalKey<'tcx>)
        -> queries::lookup_default_body_stability::ProvidedValue<'tcx>,
    pub should_inherit_track_caller: for<'tcx> fn(TyCtxt<'tcx>,
        queries::should_inherit_track_caller::LocalKey<'tcx>)
        -> queries::should_inherit_track_caller::ProvidedValue<'tcx>,
    pub inherited_align: for<'tcx> fn(TyCtxt<'tcx>,
        queries::inherited_align::LocalKey<'tcx>)
        -> queries::inherited_align::ProvidedValue<'tcx>,
    pub lookup_deprecation_entry: for<'tcx> fn(TyCtxt<'tcx>,
        queries::lookup_deprecation_entry::LocalKey<'tcx>)
        -> queries::lookup_deprecation_entry::ProvidedValue<'tcx>,
    pub is_doc_hidden: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_doc_hidden::LocalKey<'tcx>)
        -> queries::is_doc_hidden::ProvidedValue<'tcx>,
    pub is_doc_notable_trait: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_doc_notable_trait::LocalKey<'tcx>)
        -> queries::is_doc_notable_trait::ProvidedValue<'tcx>,
    pub attrs_for_def: for<'tcx> fn(TyCtxt<'tcx>,
        queries::attrs_for_def::LocalKey<'tcx>)
        -> queries::attrs_for_def::ProvidedValue<'tcx>,
    pub codegen_fn_attrs: for<'tcx> fn(TyCtxt<'tcx>,
        queries::codegen_fn_attrs::LocalKey<'tcx>)
        -> queries::codegen_fn_attrs::ProvidedValue<'tcx>,
    pub asm_target_features: for<'tcx> fn(TyCtxt<'tcx>,
        queries::asm_target_features::LocalKey<'tcx>)
        -> queries::asm_target_features::ProvidedValue<'tcx>,
    pub fn_arg_idents: for<'tcx> fn(TyCtxt<'tcx>,
        queries::fn_arg_idents::LocalKey<'tcx>)
        -> queries::fn_arg_idents::ProvidedValue<'tcx>,
    pub rendered_const: for<'tcx> fn(TyCtxt<'tcx>,
        queries::rendered_const::LocalKey<'tcx>)
        -> queries::rendered_const::ProvidedValue<'tcx>,
    pub rendered_precise_capturing_args: for<'tcx> fn(TyCtxt<'tcx>,
        queries::rendered_precise_capturing_args::LocalKey<'tcx>)
        -> queries::rendered_precise_capturing_args::ProvidedValue<'tcx>,
    pub impl_parent: for<'tcx> fn(TyCtxt<'tcx>,
        queries::impl_parent::LocalKey<'tcx>)
        -> queries::impl_parent::ProvidedValue<'tcx>,
    pub is_ctfe_mir_available: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_ctfe_mir_available::LocalKey<'tcx>)
        -> queries::is_ctfe_mir_available::ProvidedValue<'tcx>,
    pub is_mir_available: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_mir_available::LocalKey<'tcx>)
        -> queries::is_mir_available::ProvidedValue<'tcx>,
    pub own_existential_vtable_entries: for<'tcx> fn(TyCtxt<'tcx>,
        queries::own_existential_vtable_entries::LocalKey<'tcx>)
        -> queries::own_existential_vtable_entries::ProvidedValue<'tcx>,
    pub vtable_entries: for<'tcx> fn(TyCtxt<'tcx>,
        queries::vtable_entries::LocalKey<'tcx>)
        -> queries::vtable_entries::ProvidedValue<'tcx>,
    pub first_method_vtable_slot: for<'tcx> fn(TyCtxt<'tcx>,
        queries::first_method_vtable_slot::LocalKey<'tcx>)
        -> queries::first_method_vtable_slot::ProvidedValue<'tcx>,
    pub supertrait_vtable_slot: for<'tcx> fn(TyCtxt<'tcx>,
        queries::supertrait_vtable_slot::LocalKey<'tcx>)
        -> queries::supertrait_vtable_slot::ProvidedValue<'tcx>,
    pub vtable_allocation: for<'tcx> fn(TyCtxt<'tcx>,
        queries::vtable_allocation::LocalKey<'tcx>)
        -> queries::vtable_allocation::ProvidedValue<'tcx>,
    pub codegen_select_candidate: for<'tcx> fn(TyCtxt<'tcx>,
        queries::codegen_select_candidate::LocalKey<'tcx>)
        -> queries::codegen_select_candidate::ProvidedValue<'tcx>,
    pub all_local_trait_impls: for<'tcx> fn(TyCtxt<'tcx>,
        queries::all_local_trait_impls::LocalKey<'tcx>)
        -> queries::all_local_trait_impls::ProvidedValue<'tcx>,
    pub local_trait_impls: for<'tcx> fn(TyCtxt<'tcx>,
        queries::local_trait_impls::LocalKey<'tcx>)
        -> queries::local_trait_impls::ProvidedValue<'tcx>,
    pub trait_impls_of: for<'tcx> fn(TyCtxt<'tcx>,
        queries::trait_impls_of::LocalKey<'tcx>)
        -> queries::trait_impls_of::ProvidedValue<'tcx>,
    pub specialization_graph_of: for<'tcx> fn(TyCtxt<'tcx>,
        queries::specialization_graph_of::LocalKey<'tcx>)
        -> queries::specialization_graph_of::ProvidedValue<'tcx>,
    pub dyn_compatibility_violations: for<'tcx> fn(TyCtxt<'tcx>,
        queries::dyn_compatibility_violations::LocalKey<'tcx>)
        -> queries::dyn_compatibility_violations::ProvidedValue<'tcx>,
    pub is_dyn_compatible: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_dyn_compatible::LocalKey<'tcx>)
        -> queries::is_dyn_compatible::ProvidedValue<'tcx>,
    pub param_env: for<'tcx> fn(TyCtxt<'tcx>,
        queries::param_env::LocalKey<'tcx>)
        -> queries::param_env::ProvidedValue<'tcx>,
    pub typing_env_normalized_for_post_analysis: for<'tcx> fn(TyCtxt<'tcx>,
        queries::typing_env_normalized_for_post_analysis::LocalKey<'tcx>)
        ->
            queries::typing_env_normalized_for_post_analysis::ProvidedValue<'tcx>,
    pub is_copy_raw: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_copy_raw::LocalKey<'tcx>)
        -> queries::is_copy_raw::ProvidedValue<'tcx>,
    pub is_use_cloned_raw: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_use_cloned_raw::LocalKey<'tcx>)
        -> queries::is_use_cloned_raw::ProvidedValue<'tcx>,
    pub is_sized_raw: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_sized_raw::LocalKey<'tcx>)
        -> queries::is_sized_raw::ProvidedValue<'tcx>,
    pub is_freeze_raw: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_freeze_raw::LocalKey<'tcx>)
        -> queries::is_freeze_raw::ProvidedValue<'tcx>,
    pub is_unpin_raw: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_unpin_raw::LocalKey<'tcx>)
        -> queries::is_unpin_raw::ProvidedValue<'tcx>,
    pub is_async_drop_raw: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_async_drop_raw::LocalKey<'tcx>)
        -> queries::is_async_drop_raw::ProvidedValue<'tcx>,
    pub needs_drop_raw: for<'tcx> fn(TyCtxt<'tcx>,
        queries::needs_drop_raw::LocalKey<'tcx>)
        -> queries::needs_drop_raw::ProvidedValue<'tcx>,
    pub needs_async_drop_raw: for<'tcx> fn(TyCtxt<'tcx>,
        queries::needs_async_drop_raw::LocalKey<'tcx>)
        -> queries::needs_async_drop_raw::ProvidedValue<'tcx>,
    pub has_significant_drop_raw: for<'tcx> fn(TyCtxt<'tcx>,
        queries::has_significant_drop_raw::LocalKey<'tcx>)
        -> queries::has_significant_drop_raw::ProvidedValue<'tcx>,
    pub has_structural_eq_impl: for<'tcx> fn(TyCtxt<'tcx>,
        queries::has_structural_eq_impl::LocalKey<'tcx>)
        -> queries::has_structural_eq_impl::ProvidedValue<'tcx>,
    pub adt_drop_tys: for<'tcx> fn(TyCtxt<'tcx>,
        queries::adt_drop_tys::LocalKey<'tcx>)
        -> queries::adt_drop_tys::ProvidedValue<'tcx>,
    pub adt_async_drop_tys: for<'tcx> fn(TyCtxt<'tcx>,
        queries::adt_async_drop_tys::LocalKey<'tcx>)
        -> queries::adt_async_drop_tys::ProvidedValue<'tcx>,
    pub adt_significant_drop_tys: for<'tcx> fn(TyCtxt<'tcx>,
        queries::adt_significant_drop_tys::LocalKey<'tcx>)
        -> queries::adt_significant_drop_tys::ProvidedValue<'tcx>,
    pub list_significant_drop_tys: for<'tcx> fn(TyCtxt<'tcx>,
        queries::list_significant_drop_tys::LocalKey<'tcx>)
        -> queries::list_significant_drop_tys::ProvidedValue<'tcx>,
    pub layout_of: for<'tcx> fn(TyCtxt<'tcx>,
        queries::layout_of::LocalKey<'tcx>)
        -> queries::layout_of::ProvidedValue<'tcx>,
    pub fn_abi_of_fn_ptr: for<'tcx> fn(TyCtxt<'tcx>,
        queries::fn_abi_of_fn_ptr::LocalKey<'tcx>)
        -> queries::fn_abi_of_fn_ptr::ProvidedValue<'tcx>,
    pub fn_abi_of_instance: for<'tcx> fn(TyCtxt<'tcx>,
        queries::fn_abi_of_instance::LocalKey<'tcx>)
        -> queries::fn_abi_of_instance::ProvidedValue<'tcx>,
    pub dylib_dependency_formats: for<'tcx> fn(TyCtxt<'tcx>,
        queries::dylib_dependency_formats::LocalKey<'tcx>)
        -> queries::dylib_dependency_formats::ProvidedValue<'tcx>,
    pub dependency_formats: for<'tcx> fn(TyCtxt<'tcx>,
        queries::dependency_formats::LocalKey<'tcx>)
        -> queries::dependency_formats::ProvidedValue<'tcx>,
    pub is_compiler_builtins: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_compiler_builtins::LocalKey<'tcx>)
        -> queries::is_compiler_builtins::ProvidedValue<'tcx>,
    pub has_global_allocator: for<'tcx> fn(TyCtxt<'tcx>,
        queries::has_global_allocator::LocalKey<'tcx>)
        -> queries::has_global_allocator::ProvidedValue<'tcx>,
    pub has_alloc_error_handler: for<'tcx> fn(TyCtxt<'tcx>,
        queries::has_alloc_error_handler::LocalKey<'tcx>)
        -> queries::has_alloc_error_handler::ProvidedValue<'tcx>,
    pub has_panic_handler: for<'tcx> fn(TyCtxt<'tcx>,
        queries::has_panic_handler::LocalKey<'tcx>)
        -> queries::has_panic_handler::ProvidedValue<'tcx>,
    pub is_profiler_runtime: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_profiler_runtime::LocalKey<'tcx>)
        -> queries::is_profiler_runtime::ProvidedValue<'tcx>,
    pub has_ffi_unwind_calls: for<'tcx> fn(TyCtxt<'tcx>,
        queries::has_ffi_unwind_calls::LocalKey<'tcx>)
        -> queries::has_ffi_unwind_calls::ProvidedValue<'tcx>,
    pub required_panic_strategy: for<'tcx> fn(TyCtxt<'tcx>,
        queries::required_panic_strategy::LocalKey<'tcx>)
        -> queries::required_panic_strategy::ProvidedValue<'tcx>,
    pub panic_in_drop_strategy: for<'tcx> fn(TyCtxt<'tcx>,
        queries::panic_in_drop_strategy::LocalKey<'tcx>)
        -> queries::panic_in_drop_strategy::ProvidedValue<'tcx>,
    pub is_no_builtins: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_no_builtins::LocalKey<'tcx>)
        -> queries::is_no_builtins::ProvidedValue<'tcx>,
    pub symbol_mangling_version: for<'tcx> fn(TyCtxt<'tcx>,
        queries::symbol_mangling_version::LocalKey<'tcx>)
        -> queries::symbol_mangling_version::ProvidedValue<'tcx>,
    pub extern_crate: for<'tcx> fn(TyCtxt<'tcx>,
        queries::extern_crate::LocalKey<'tcx>)
        -> queries::extern_crate::ProvidedValue<'tcx>,
    pub specialization_enabled_in: for<'tcx> fn(TyCtxt<'tcx>,
        queries::specialization_enabled_in::LocalKey<'tcx>)
        -> queries::specialization_enabled_in::ProvidedValue<'tcx>,
    pub specializes: for<'tcx> fn(TyCtxt<'tcx>,
        queries::specializes::LocalKey<'tcx>)
        -> queries::specializes::ProvidedValue<'tcx>,
    pub in_scope_traits_map: for<'tcx> fn(TyCtxt<'tcx>,
        queries::in_scope_traits_map::LocalKey<'tcx>)
        -> queries::in_scope_traits_map::ProvidedValue<'tcx>,
    pub defaultness: for<'tcx> fn(TyCtxt<'tcx>,
        queries::defaultness::LocalKey<'tcx>)
        -> queries::defaultness::ProvidedValue<'tcx>,
    pub default_field: for<'tcx> fn(TyCtxt<'tcx>,
        queries::default_field::LocalKey<'tcx>)
        -> queries::default_field::ProvidedValue<'tcx>,
    pub check_well_formed: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_well_formed::LocalKey<'tcx>)
        -> queries::check_well_formed::ProvidedValue<'tcx>,
    pub enforce_impl_non_lifetime_params_are_constrained: for<'tcx> fn(TyCtxt<'tcx>,
        queries::enforce_impl_non_lifetime_params_are_constrained::LocalKey<'tcx>)
        ->
            queries::enforce_impl_non_lifetime_params_are_constrained::ProvidedValue<'tcx>,
    pub reachable_non_generics: for<'tcx> fn(TyCtxt<'tcx>,
        queries::reachable_non_generics::LocalKey<'tcx>)
        -> queries::reachable_non_generics::ProvidedValue<'tcx>,
    pub is_reachable_non_generic: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_reachable_non_generic::LocalKey<'tcx>)
        -> queries::is_reachable_non_generic::ProvidedValue<'tcx>,
    pub is_unreachable_local_definition: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_unreachable_local_definition::LocalKey<'tcx>)
        -> queries::is_unreachable_local_definition::ProvidedValue<'tcx>,
    pub upstream_monomorphizations: for<'tcx> fn(TyCtxt<'tcx>,
        queries::upstream_monomorphizations::LocalKey<'tcx>)
        -> queries::upstream_monomorphizations::ProvidedValue<'tcx>,
    pub upstream_monomorphizations_for: for<'tcx> fn(TyCtxt<'tcx>,
        queries::upstream_monomorphizations_for::LocalKey<'tcx>)
        -> queries::upstream_monomorphizations_for::ProvidedValue<'tcx>,
    pub upstream_drop_glue_for: for<'tcx> fn(TyCtxt<'tcx>,
        queries::upstream_drop_glue_for::LocalKey<'tcx>)
        -> queries::upstream_drop_glue_for::ProvidedValue<'tcx>,
    pub upstream_async_drop_glue_for: for<'tcx> fn(TyCtxt<'tcx>,
        queries::upstream_async_drop_glue_for::LocalKey<'tcx>)
        -> queries::upstream_async_drop_glue_for::ProvidedValue<'tcx>,
    pub foreign_modules: for<'tcx> fn(TyCtxt<'tcx>,
        queries::foreign_modules::LocalKey<'tcx>)
        -> queries::foreign_modules::ProvidedValue<'tcx>,
    pub clashing_extern_declarations: for<'tcx> fn(TyCtxt<'tcx>,
        queries::clashing_extern_declarations::LocalKey<'tcx>)
        -> queries::clashing_extern_declarations::ProvidedValue<'tcx>,
    pub entry_fn: for<'tcx> fn(TyCtxt<'tcx>,
        queries::entry_fn::LocalKey<'tcx>)
        -> queries::entry_fn::ProvidedValue<'tcx>,
    pub proc_macro_decls_static: for<'tcx> fn(TyCtxt<'tcx>,
        queries::proc_macro_decls_static::LocalKey<'tcx>)
        -> queries::proc_macro_decls_static::ProvidedValue<'tcx>,
    pub crate_hash: for<'tcx> fn(TyCtxt<'tcx>,
        queries::crate_hash::LocalKey<'tcx>)
        -> queries::crate_hash::ProvidedValue<'tcx>,
    pub crate_host_hash: for<'tcx> fn(TyCtxt<'tcx>,
        queries::crate_host_hash::LocalKey<'tcx>)
        -> queries::crate_host_hash::ProvidedValue<'tcx>,
    pub extra_filename: for<'tcx> fn(TyCtxt<'tcx>,
        queries::extra_filename::LocalKey<'tcx>)
        -> queries::extra_filename::ProvidedValue<'tcx>,
    pub crate_extern_paths: for<'tcx> fn(TyCtxt<'tcx>,
        queries::crate_extern_paths::LocalKey<'tcx>)
        -> queries::crate_extern_paths::ProvidedValue<'tcx>,
    pub implementations_of_trait: for<'tcx> fn(TyCtxt<'tcx>,
        queries::implementations_of_trait::LocalKey<'tcx>)
        -> queries::implementations_of_trait::ProvidedValue<'tcx>,
    pub crate_incoherent_impls: for<'tcx> fn(TyCtxt<'tcx>,
        queries::crate_incoherent_impls::LocalKey<'tcx>)
        -> queries::crate_incoherent_impls::ProvidedValue<'tcx>,
    pub native_library: for<'tcx> fn(TyCtxt<'tcx>,
        queries::native_library::LocalKey<'tcx>)
        -> queries::native_library::ProvidedValue<'tcx>,
    pub inherit_sig_for_delegation_item: for<'tcx> fn(TyCtxt<'tcx>,
        queries::inherit_sig_for_delegation_item::LocalKey<'tcx>)
        -> queries::inherit_sig_for_delegation_item::ProvidedValue<'tcx>,
    pub resolve_bound_vars: for<'tcx> fn(TyCtxt<'tcx>,
        queries::resolve_bound_vars::LocalKey<'tcx>)
        -> queries::resolve_bound_vars::ProvidedValue<'tcx>,
    pub named_variable_map: for<'tcx> fn(TyCtxt<'tcx>,
        queries::named_variable_map::LocalKey<'tcx>)
        -> queries::named_variable_map::ProvidedValue<'tcx>,
    pub is_late_bound_map: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_late_bound_map::LocalKey<'tcx>)
        -> queries::is_late_bound_map::ProvidedValue<'tcx>,
    pub object_lifetime_default: for<'tcx> fn(TyCtxt<'tcx>,
        queries::object_lifetime_default::LocalKey<'tcx>)
        -> queries::object_lifetime_default::ProvidedValue<'tcx>,
    pub late_bound_vars_map: for<'tcx> fn(TyCtxt<'tcx>,
        queries::late_bound_vars_map::LocalKey<'tcx>)
        -> queries::late_bound_vars_map::ProvidedValue<'tcx>,
    pub opaque_captured_lifetimes: for<'tcx> fn(TyCtxt<'tcx>,
        queries::opaque_captured_lifetimes::LocalKey<'tcx>)
        -> queries::opaque_captured_lifetimes::ProvidedValue<'tcx>,
    pub visibility: for<'tcx> fn(TyCtxt<'tcx>,
        queries::visibility::LocalKey<'tcx>)
        -> queries::visibility::ProvidedValue<'tcx>,
    pub inhabited_predicate_adt: for<'tcx> fn(TyCtxt<'tcx>,
        queries::inhabited_predicate_adt::LocalKey<'tcx>)
        -> queries::inhabited_predicate_adt::ProvidedValue<'tcx>,
    pub inhabited_predicate_type: for<'tcx> fn(TyCtxt<'tcx>,
        queries::inhabited_predicate_type::LocalKey<'tcx>)
        -> queries::inhabited_predicate_type::ProvidedValue<'tcx>,
    pub dep_kind: for<'tcx> fn(TyCtxt<'tcx>,
        queries::dep_kind::LocalKey<'tcx>)
        -> queries::dep_kind::ProvidedValue<'tcx>,
    pub crate_name: for<'tcx> fn(TyCtxt<'tcx>,
        queries::crate_name::LocalKey<'tcx>)
        -> queries::crate_name::ProvidedValue<'tcx>,
    pub module_children: for<'tcx> fn(TyCtxt<'tcx>,
        queries::module_children::LocalKey<'tcx>)
        -> queries::module_children::ProvidedValue<'tcx>,
    pub num_extern_def_ids: for<'tcx> fn(TyCtxt<'tcx>,
        queries::num_extern_def_ids::LocalKey<'tcx>)
        -> queries::num_extern_def_ids::ProvidedValue<'tcx>,
    pub lib_features: for<'tcx> fn(TyCtxt<'tcx>,
        queries::lib_features::LocalKey<'tcx>)
        -> queries::lib_features::ProvidedValue<'tcx>,
    pub stability_implications: for<'tcx> fn(TyCtxt<'tcx>,
        queries::stability_implications::LocalKey<'tcx>)
        -> queries::stability_implications::ProvidedValue<'tcx>,
    pub intrinsic_raw: for<'tcx> fn(TyCtxt<'tcx>,
        queries::intrinsic_raw::LocalKey<'tcx>)
        -> queries::intrinsic_raw::ProvidedValue<'tcx>,
    pub get_lang_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::get_lang_items::LocalKey<'tcx>)
        -> queries::get_lang_items::ProvidedValue<'tcx>,
    pub all_diagnostic_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::all_diagnostic_items::LocalKey<'tcx>)
        -> queries::all_diagnostic_items::ProvidedValue<'tcx>,
    pub defined_lang_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::defined_lang_items::LocalKey<'tcx>)
        -> queries::defined_lang_items::ProvidedValue<'tcx>,
    pub diagnostic_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::diagnostic_items::LocalKey<'tcx>)
        -> queries::diagnostic_items::ProvidedValue<'tcx>,
    pub missing_lang_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::missing_lang_items::LocalKey<'tcx>)
        -> queries::missing_lang_items::ProvidedValue<'tcx>,
    pub visible_parent_map: for<'tcx> fn(TyCtxt<'tcx>,
        queries::visible_parent_map::LocalKey<'tcx>)
        -> queries::visible_parent_map::ProvidedValue<'tcx>,
    pub trimmed_def_paths: for<'tcx> fn(TyCtxt<'tcx>,
        queries::trimmed_def_paths::LocalKey<'tcx>)
        -> queries::trimmed_def_paths::ProvidedValue<'tcx>,
    pub missing_extern_crate_item: for<'tcx> fn(TyCtxt<'tcx>,
        queries::missing_extern_crate_item::LocalKey<'tcx>)
        -> queries::missing_extern_crate_item::ProvidedValue<'tcx>,
    pub used_crate_source: for<'tcx> fn(TyCtxt<'tcx>,
        queries::used_crate_source::LocalKey<'tcx>)
        -> queries::used_crate_source::ProvidedValue<'tcx>,
    pub debugger_visualizers: for<'tcx> fn(TyCtxt<'tcx>,
        queries::debugger_visualizers::LocalKey<'tcx>)
        -> queries::debugger_visualizers::ProvidedValue<'tcx>,
    pub postorder_cnums: for<'tcx> fn(TyCtxt<'tcx>,
        queries::postorder_cnums::LocalKey<'tcx>)
        -> queries::postorder_cnums::ProvidedValue<'tcx>,
    pub is_private_dep: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_private_dep::LocalKey<'tcx>)
        -> queries::is_private_dep::ProvidedValue<'tcx>,
    pub allocator_kind: for<'tcx> fn(TyCtxt<'tcx>,
        queries::allocator_kind::LocalKey<'tcx>)
        -> queries::allocator_kind::ProvidedValue<'tcx>,
    pub alloc_error_handler_kind: for<'tcx> fn(TyCtxt<'tcx>,
        queries::alloc_error_handler_kind::LocalKey<'tcx>)
        -> queries::alloc_error_handler_kind::ProvidedValue<'tcx>,
    pub upvars_mentioned: for<'tcx> fn(TyCtxt<'tcx>,
        queries::upvars_mentioned::LocalKey<'tcx>)
        -> queries::upvars_mentioned::ProvidedValue<'tcx>,
    pub crates: for<'tcx> fn(TyCtxt<'tcx>, queries::crates::LocalKey<'tcx>)
        -> queries::crates::ProvidedValue<'tcx>,
    pub used_crates: for<'tcx> fn(TyCtxt<'tcx>,
        queries::used_crates::LocalKey<'tcx>)
        -> queries::used_crates::ProvidedValue<'tcx>,
    pub duplicate_crate_names: for<'tcx> fn(TyCtxt<'tcx>,
        queries::duplicate_crate_names::LocalKey<'tcx>)
        -> queries::duplicate_crate_names::ProvidedValue<'tcx>,
    pub traits: for<'tcx> fn(TyCtxt<'tcx>, queries::traits::LocalKey<'tcx>)
        -> queries::traits::ProvidedValue<'tcx>,
    pub trait_impls_in_crate: for<'tcx> fn(TyCtxt<'tcx>,
        queries::trait_impls_in_crate::LocalKey<'tcx>)
        -> queries::trait_impls_in_crate::ProvidedValue<'tcx>,
    pub stable_order_of_exportable_impls: for<'tcx> fn(TyCtxt<'tcx>,
        queries::stable_order_of_exportable_impls::LocalKey<'tcx>)
        -> queries::stable_order_of_exportable_impls::ProvidedValue<'tcx>,
    pub exportable_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::exportable_items::LocalKey<'tcx>)
        -> queries::exportable_items::ProvidedValue<'tcx>,
    pub exported_non_generic_symbols: for<'tcx> fn(TyCtxt<'tcx>,
        queries::exported_non_generic_symbols::LocalKey<'tcx>)
        -> queries::exported_non_generic_symbols::ProvidedValue<'tcx>,
    pub exported_generic_symbols: for<'tcx> fn(TyCtxt<'tcx>,
        queries::exported_generic_symbols::LocalKey<'tcx>)
        -> queries::exported_generic_symbols::ProvidedValue<'tcx>,
    pub collect_and_partition_mono_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::collect_and_partition_mono_items::LocalKey<'tcx>)
        -> queries::collect_and_partition_mono_items::ProvidedValue<'tcx>,
    pub is_codegened_item: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_codegened_item::LocalKey<'tcx>)
        -> queries::is_codegened_item::ProvidedValue<'tcx>,
    pub codegen_unit: for<'tcx> fn(TyCtxt<'tcx>,
        queries::codegen_unit::LocalKey<'tcx>)
        -> queries::codegen_unit::ProvidedValue<'tcx>,
    pub backend_optimization_level: for<'tcx> fn(TyCtxt<'tcx>,
        queries::backend_optimization_level::LocalKey<'tcx>)
        -> queries::backend_optimization_level::ProvidedValue<'tcx>,
    pub output_filenames: for<'tcx> fn(TyCtxt<'tcx>,
        queries::output_filenames::LocalKey<'tcx>)
        -> queries::output_filenames::ProvidedValue<'tcx>,
    pub normalize_canonicalized_projection: for<'tcx> fn(TyCtxt<'tcx>,
        queries::normalize_canonicalized_projection::LocalKey<'tcx>)
        -> queries::normalize_canonicalized_projection::ProvidedValue<'tcx>,
    pub normalize_canonicalized_free_alias: for<'tcx> fn(TyCtxt<'tcx>,
        queries::normalize_canonicalized_free_alias::LocalKey<'tcx>)
        -> queries::normalize_canonicalized_free_alias::ProvidedValue<'tcx>,
    pub normalize_canonicalized_inherent_projection: for<'tcx> fn(TyCtxt<'tcx>,
        queries::normalize_canonicalized_inherent_projection::LocalKey<'tcx>)
        ->
            queries::normalize_canonicalized_inherent_projection::ProvidedValue<'tcx>,
    pub try_normalize_generic_arg_after_erasing_regions: for<'tcx> fn(TyCtxt<'tcx>,
        queries::try_normalize_generic_arg_after_erasing_regions::LocalKey<'tcx>)
        ->
            queries::try_normalize_generic_arg_after_erasing_regions::ProvidedValue<'tcx>,
    pub implied_outlives_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        queries::implied_outlives_bounds::LocalKey<'tcx>)
        -> queries::implied_outlives_bounds::ProvidedValue<'tcx>,
    pub dropck_outlives: for<'tcx> fn(TyCtxt<'tcx>,
        queries::dropck_outlives::LocalKey<'tcx>)
        -> queries::dropck_outlives::ProvidedValue<'tcx>,
    pub evaluate_obligation: for<'tcx> fn(TyCtxt<'tcx>,
        queries::evaluate_obligation::LocalKey<'tcx>)
        -> queries::evaluate_obligation::ProvidedValue<'tcx>,
    pub type_op_ascribe_user_type: for<'tcx> fn(TyCtxt<'tcx>,
        queries::type_op_ascribe_user_type::LocalKey<'tcx>)
        -> queries::type_op_ascribe_user_type::ProvidedValue<'tcx>,
    pub type_op_prove_predicate: for<'tcx> fn(TyCtxt<'tcx>,
        queries::type_op_prove_predicate::LocalKey<'tcx>)
        -> queries::type_op_prove_predicate::ProvidedValue<'tcx>,
    pub type_op_normalize_ty: for<'tcx> fn(TyCtxt<'tcx>,
        queries::type_op_normalize_ty::LocalKey<'tcx>)
        -> queries::type_op_normalize_ty::ProvidedValue<'tcx>,
    pub type_op_normalize_clause: for<'tcx> fn(TyCtxt<'tcx>,
        queries::type_op_normalize_clause::LocalKey<'tcx>)
        -> queries::type_op_normalize_clause::ProvidedValue<'tcx>,
    pub type_op_normalize_poly_fn_sig: for<'tcx> fn(TyCtxt<'tcx>,
        queries::type_op_normalize_poly_fn_sig::LocalKey<'tcx>)
        -> queries::type_op_normalize_poly_fn_sig::ProvidedValue<'tcx>,
    pub type_op_normalize_fn_sig: for<'tcx> fn(TyCtxt<'tcx>,
        queries::type_op_normalize_fn_sig::LocalKey<'tcx>)
        -> queries::type_op_normalize_fn_sig::ProvidedValue<'tcx>,
    pub instantiate_and_check_impossible_predicates: for<'tcx> fn(TyCtxt<'tcx>,
        queries::instantiate_and_check_impossible_predicates::LocalKey<'tcx>)
        ->
            queries::instantiate_and_check_impossible_predicates::ProvidedValue<'tcx>,
    pub is_impossible_associated_item: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_impossible_associated_item::LocalKey<'tcx>)
        -> queries::is_impossible_associated_item::ProvidedValue<'tcx>,
    pub method_autoderef_steps: for<'tcx> fn(TyCtxt<'tcx>,
        queries::method_autoderef_steps::LocalKey<'tcx>)
        -> queries::method_autoderef_steps::ProvidedValue<'tcx>,
    pub evaluate_root_goal_for_proof_tree_raw: for<'tcx> fn(TyCtxt<'tcx>,
        queries::evaluate_root_goal_for_proof_tree_raw::LocalKey<'tcx>)
        ->
            queries::evaluate_root_goal_for_proof_tree_raw::ProvidedValue<'tcx>,
    pub rust_target_features: for<'tcx> fn(TyCtxt<'tcx>,
        queries::rust_target_features::LocalKey<'tcx>)
        -> queries::rust_target_features::ProvidedValue<'tcx>,
    pub implied_target_features: for<'tcx> fn(TyCtxt<'tcx>,
        queries::implied_target_features::LocalKey<'tcx>)
        -> queries::implied_target_features::ProvidedValue<'tcx>,
    pub features_query: for<'tcx> fn(TyCtxt<'tcx>,
        queries::features_query::LocalKey<'tcx>)
        -> queries::features_query::ProvidedValue<'tcx>,
    pub crate_for_resolver: for<'tcx> fn(TyCtxt<'tcx>,
        queries::crate_for_resolver::LocalKey<'tcx>)
        -> queries::crate_for_resolver::ProvidedValue<'tcx>,
    pub resolve_instance_raw: for<'tcx> fn(TyCtxt<'tcx>,
        queries::resolve_instance_raw::LocalKey<'tcx>)
        -> queries::resolve_instance_raw::ProvidedValue<'tcx>,
    pub reveal_opaque_types_in_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        queries::reveal_opaque_types_in_bounds::LocalKey<'tcx>)
        -> queries::reveal_opaque_types_in_bounds::ProvidedValue<'tcx>,
    pub limits: for<'tcx> fn(TyCtxt<'tcx>, queries::limits::LocalKey<'tcx>)
        -> queries::limits::ProvidedValue<'tcx>,
    pub diagnostic_hir_wf_check: for<'tcx> fn(TyCtxt<'tcx>,
        queries::diagnostic_hir_wf_check::LocalKey<'tcx>)
        -> queries::diagnostic_hir_wf_check::ProvidedValue<'tcx>,
    pub global_backend_features: for<'tcx> fn(TyCtxt<'tcx>,
        queries::global_backend_features::LocalKey<'tcx>)
        -> queries::global_backend_features::ProvidedValue<'tcx>,
    pub check_validity_requirement: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_validity_requirement::LocalKey<'tcx>)
        -> queries::check_validity_requirement::ProvidedValue<'tcx>,
    pub compare_impl_item: for<'tcx> fn(TyCtxt<'tcx>,
        queries::compare_impl_item::LocalKey<'tcx>)
        -> queries::compare_impl_item::ProvidedValue<'tcx>,
    pub deduced_param_attrs: for<'tcx> fn(TyCtxt<'tcx>,
        queries::deduced_param_attrs::LocalKey<'tcx>)
        -> queries::deduced_param_attrs::ProvidedValue<'tcx>,
    pub doc_link_resolutions: for<'tcx> fn(TyCtxt<'tcx>,
        queries::doc_link_resolutions::LocalKey<'tcx>)
        -> queries::doc_link_resolutions::ProvidedValue<'tcx>,
    pub doc_link_traits_in_scope: for<'tcx> fn(TyCtxt<'tcx>,
        queries::doc_link_traits_in_scope::LocalKey<'tcx>)
        -> queries::doc_link_traits_in_scope::ProvidedValue<'tcx>,
    pub stripped_cfg_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::stripped_cfg_items::LocalKey<'tcx>)
        -> queries::stripped_cfg_items::ProvidedValue<'tcx>,
    pub generics_require_sized_self: for<'tcx> fn(TyCtxt<'tcx>,
        queries::generics_require_sized_self::LocalKey<'tcx>)
        -> queries::generics_require_sized_self::ProvidedValue<'tcx>,
    pub cross_crate_inlinable: for<'tcx> fn(TyCtxt<'tcx>,
        queries::cross_crate_inlinable::LocalKey<'tcx>)
        -> queries::cross_crate_inlinable::ProvidedValue<'tcx>,
    pub check_mono_item: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_mono_item::LocalKey<'tcx>)
        -> queries::check_mono_item::ProvidedValue<'tcx>,
    pub skip_move_check_fns: for<'tcx> fn(TyCtxt<'tcx>,
        queries::skip_move_check_fns::LocalKey<'tcx>)
        -> queries::skip_move_check_fns::ProvidedValue<'tcx>,
    pub items_of_instance: for<'tcx> fn(TyCtxt<'tcx>,
        queries::items_of_instance::LocalKey<'tcx>)
        -> queries::items_of_instance::ProvidedValue<'tcx>,
    pub size_estimate: for<'tcx> fn(TyCtxt<'tcx>,
        queries::size_estimate::LocalKey<'tcx>)
        -> queries::size_estimate::ProvidedValue<'tcx>,
    pub anon_const_kind: for<'tcx> fn(TyCtxt<'tcx>,
        queries::anon_const_kind::LocalKey<'tcx>)
        -> queries::anon_const_kind::ProvidedValue<'tcx>,
    pub trivial_const: for<'tcx> fn(TyCtxt<'tcx>,
        queries::trivial_const::LocalKey<'tcx>)
        -> queries::trivial_const::ProvidedValue<'tcx>,
    pub sanitizer_settings_for: for<'tcx> fn(TyCtxt<'tcx>,
        queries::sanitizer_settings_for::LocalKey<'tcx>)
        -> queries::sanitizer_settings_for::ProvidedValue<'tcx>,
    pub check_externally_implementable_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::check_externally_implementable_items::LocalKey<'tcx>)
        -> queries::check_externally_implementable_items::ProvidedValue<'tcx>,
    pub externally_implementable_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::externally_implementable_items::LocalKey<'tcx>)
        -> queries::externally_implementable_items::ProvidedValue<'tcx>,
}
pub struct ExternProviders {
    pub derive_macro_expansion: (),
    pub trigger_delayed_bug: (),
    pub registered_tools: (),
    pub early_lint_checks: (),
    pub env_var_os: (),
    pub resolutions: (),
    pub resolver_for_lowering_raw: (),
    pub source_span: (),
    pub hir_crate: (),
    pub hir_crate_items: (),
    pub hir_module_items: (),
    pub local_def_id_to_hir_id: (),
    pub hir_owner_parent: (),
    pub opt_hir_owner_nodes: (),
    pub hir_attr_map: (),
    pub opt_ast_lowering_delayed_lints: (),
    pub const_param_default: for<'tcx> fn(TyCtxt<'tcx>,
        queries::const_param_default::Key<'tcx>)
        -> queries::const_param_default::ProvidedValue<'tcx>,
    pub const_of_item: for<'tcx> fn(TyCtxt<'tcx>,
        queries::const_of_item::Key<'tcx>)
        -> queries::const_of_item::ProvidedValue<'tcx>,
    pub type_of: for<'tcx> fn(TyCtxt<'tcx>, queries::type_of::Key<'tcx>)
        -> queries::type_of::ProvidedValue<'tcx>,
    pub type_of_opaque: (),
    pub type_of_opaque_hir_typeck: (),
    pub type_alias_is_lazy: for<'tcx> fn(TyCtxt<'tcx>,
        queries::type_alias_is_lazy::Key<'tcx>)
        -> queries::type_alias_is_lazy::ProvidedValue<'tcx>,
    pub collect_return_position_impl_trait_in_trait_tys: for<'tcx> fn(TyCtxt<'tcx>,
        queries::collect_return_position_impl_trait_in_trait_tys::Key<'tcx>)
        ->
            queries::collect_return_position_impl_trait_in_trait_tys::ProvidedValue<'tcx>,
    pub opaque_ty_origin: for<'tcx> fn(TyCtxt<'tcx>,
        queries::opaque_ty_origin::Key<'tcx>)
        -> queries::opaque_ty_origin::ProvidedValue<'tcx>,
    pub unsizing_params_for_adt: (),
    pub analysis: (),
    pub check_expectations: (),
    pub generics_of: for<'tcx> fn(TyCtxt<'tcx>,
        queries::generics_of::Key<'tcx>)
        -> queries::generics_of::ProvidedValue<'tcx>,
    pub predicates_of: (),
    pub opaque_types_defined_by: (),
    pub nested_bodies_within: (),
    pub explicit_item_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        queries::explicit_item_bounds::Key<'tcx>)
        -> queries::explicit_item_bounds::ProvidedValue<'tcx>,
    pub explicit_item_self_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        queries::explicit_item_self_bounds::Key<'tcx>)
        -> queries::explicit_item_self_bounds::ProvidedValue<'tcx>,
    pub item_bounds: (),
    pub item_self_bounds: (),
    pub item_non_self_bounds: (),
    pub impl_super_outlives: (),
    pub native_libraries: for<'tcx> fn(TyCtxt<'tcx>,
        queries::native_libraries::Key<'tcx>)
        -> queries::native_libraries::ProvidedValue<'tcx>,
    pub shallow_lint_levels_on: (),
    pub lint_expectations: (),
    pub lints_that_dont_need_to_run: (),
    pub expn_that_defined: for<'tcx> fn(TyCtxt<'tcx>,
        queries::expn_that_defined::Key<'tcx>)
        -> queries::expn_that_defined::ProvidedValue<'tcx>,
    pub is_panic_runtime: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_panic_runtime::Key<'tcx>)
        -> queries::is_panic_runtime::ProvidedValue<'tcx>,
    pub representability: (),
    pub representability_adt_ty: (),
    pub params_in_repr: for<'tcx> fn(TyCtxt<'tcx>,
        queries::params_in_repr::Key<'tcx>)
        -> queries::params_in_repr::ProvidedValue<'tcx>,
    pub thir_body: (),
    pub mir_keys: (),
    pub mir_const_qualif: for<'tcx> fn(TyCtxt<'tcx>,
        queries::mir_const_qualif::Key<'tcx>)
        -> queries::mir_const_qualif::ProvidedValue<'tcx>,
    pub mir_built: (),
    pub thir_abstract_const: for<'tcx> fn(TyCtxt<'tcx>,
        queries::thir_abstract_const::Key<'tcx>)
        -> queries::thir_abstract_const::ProvidedValue<'tcx>,
    pub mir_drops_elaborated_and_const_checked: (),
    pub mir_for_ctfe: for<'tcx> fn(TyCtxt<'tcx>,
        queries::mir_for_ctfe::Key<'tcx>)
        -> queries::mir_for_ctfe::ProvidedValue<'tcx>,
    pub mir_promoted: (),
    pub closure_typeinfo: (),
    pub closure_saved_names_of_captured_variables: for<'tcx> fn(TyCtxt<'tcx>,
        queries::closure_saved_names_of_captured_variables::Key<'tcx>)
        ->
            queries::closure_saved_names_of_captured_variables::ProvidedValue<'tcx>,
    pub mir_coroutine_witnesses: for<'tcx> fn(TyCtxt<'tcx>,
        queries::mir_coroutine_witnesses::Key<'tcx>)
        -> queries::mir_coroutine_witnesses::ProvidedValue<'tcx>,
    pub check_coroutine_obligations: (),
    pub check_potentially_region_dependent_goals: (),
    pub optimized_mir: for<'tcx> fn(TyCtxt<'tcx>,
        queries::optimized_mir::Key<'tcx>)
        -> queries::optimized_mir::ProvidedValue<'tcx>,
    pub coverage_attr_on: (),
    pub coverage_ids_info: (),
    pub promoted_mir: for<'tcx> fn(TyCtxt<'tcx>,
        queries::promoted_mir::Key<'tcx>)
        -> queries::promoted_mir::ProvidedValue<'tcx>,
    pub erase_and_anonymize_regions_ty: (),
    pub wasm_import_module_map: (),
    pub trait_explicit_predicates_and_bounds: (),
    pub explicit_predicates_of: for<'tcx> fn(TyCtxt<'tcx>,
        queries::explicit_predicates_of::Key<'tcx>)
        -> queries::explicit_predicates_of::ProvidedValue<'tcx>,
    pub inferred_outlives_of: for<'tcx> fn(TyCtxt<'tcx>,
        queries::inferred_outlives_of::Key<'tcx>)
        -> queries::inferred_outlives_of::ProvidedValue<'tcx>,
    pub explicit_super_predicates_of: for<'tcx> fn(TyCtxt<'tcx>,
        queries::explicit_super_predicates_of::Key<'tcx>)
        -> queries::explicit_super_predicates_of::ProvidedValue<'tcx>,
    pub explicit_implied_predicates_of: for<'tcx> fn(TyCtxt<'tcx>,
        queries::explicit_implied_predicates_of::Key<'tcx>)
        -> queries::explicit_implied_predicates_of::ProvidedValue<'tcx>,
    pub explicit_supertraits_containing_assoc_item: (),
    pub const_conditions: for<'tcx> fn(TyCtxt<'tcx>,
        queries::const_conditions::Key<'tcx>)
        -> queries::const_conditions::ProvidedValue<'tcx>,
    pub explicit_implied_const_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        queries::explicit_implied_const_bounds::Key<'tcx>)
        -> queries::explicit_implied_const_bounds::ProvidedValue<'tcx>,
    pub type_param_predicates: (),
    pub trait_def: for<'tcx> fn(TyCtxt<'tcx>, queries::trait_def::Key<'tcx>)
        -> queries::trait_def::ProvidedValue<'tcx>,
    pub adt_def: for<'tcx> fn(TyCtxt<'tcx>, queries::adt_def::Key<'tcx>)
        -> queries::adt_def::ProvidedValue<'tcx>,
    pub adt_destructor: for<'tcx> fn(TyCtxt<'tcx>,
        queries::adt_destructor::Key<'tcx>)
        -> queries::adt_destructor::ProvidedValue<'tcx>,
    pub adt_async_destructor: for<'tcx> fn(TyCtxt<'tcx>,
        queries::adt_async_destructor::Key<'tcx>)
        -> queries::adt_async_destructor::ProvidedValue<'tcx>,
    pub adt_sizedness_constraint: (),
    pub adt_dtorck_constraint: (),
    pub constness: for<'tcx> fn(TyCtxt<'tcx>, queries::constness::Key<'tcx>)
        -> queries::constness::ProvidedValue<'tcx>,
    pub asyncness: for<'tcx> fn(TyCtxt<'tcx>, queries::asyncness::Key<'tcx>)
        -> queries::asyncness::ProvidedValue<'tcx>,
    pub is_promotable_const_fn: (),
    pub coroutine_by_move_body_def_id: for<'tcx> fn(TyCtxt<'tcx>,
        queries::coroutine_by_move_body_def_id::Key<'tcx>)
        -> queries::coroutine_by_move_body_def_id::ProvidedValue<'tcx>,
    pub coroutine_kind: for<'tcx> fn(TyCtxt<'tcx>,
        queries::coroutine_kind::Key<'tcx>)
        -> queries::coroutine_kind::ProvidedValue<'tcx>,
    pub coroutine_for_closure: for<'tcx> fn(TyCtxt<'tcx>,
        queries::coroutine_for_closure::Key<'tcx>)
        -> queries::coroutine_for_closure::ProvidedValue<'tcx>,
    pub coroutine_hidden_types: (),
    pub crate_variances: (),
    pub variances_of: for<'tcx> fn(TyCtxt<'tcx>,
        queries::variances_of::Key<'tcx>)
        -> queries::variances_of::ProvidedValue<'tcx>,
    pub inferred_outlives_crate: (),
    pub associated_item_def_ids: for<'tcx> fn(TyCtxt<'tcx>,
        queries::associated_item_def_ids::Key<'tcx>)
        -> queries::associated_item_def_ids::ProvidedValue<'tcx>,
    pub associated_item: for<'tcx> fn(TyCtxt<'tcx>,
        queries::associated_item::Key<'tcx>)
        -> queries::associated_item::ProvidedValue<'tcx>,
    pub associated_items: (),
    pub impl_item_implementor_ids: (),
    pub associated_types_for_impl_traits_in_trait_or_impl: for<'tcx> fn(TyCtxt<'tcx>,
        queries::associated_types_for_impl_traits_in_trait_or_impl::Key<'tcx>)
        ->
            queries::associated_types_for_impl_traits_in_trait_or_impl::ProvidedValue<'tcx>,
    pub impl_trait_header: for<'tcx> fn(TyCtxt<'tcx>,
        queries::impl_trait_header::Key<'tcx>)
        -> queries::impl_trait_header::ProvidedValue<'tcx>,
    pub impl_self_is_guaranteed_unsized: (),
    pub inherent_impls: for<'tcx> fn(TyCtxt<'tcx>,
        queries::inherent_impls::Key<'tcx>)
        -> queries::inherent_impls::ProvidedValue<'tcx>,
    pub incoherent_impls: (),
    pub check_transmutes: (),
    pub check_unsafety: (),
    pub check_tail_calls: (),
    pub assumed_wf_types: (),
    pub assumed_wf_types_for_rpitit: for<'tcx> fn(TyCtxt<'tcx>,
        queries::assumed_wf_types_for_rpitit::Key<'tcx>)
        -> queries::assumed_wf_types_for_rpitit::ProvidedValue<'tcx>,
    pub fn_sig: for<'tcx> fn(TyCtxt<'tcx>, queries::fn_sig::Key<'tcx>)
        -> queries::fn_sig::ProvidedValue<'tcx>,
    pub lint_mod: (),
    pub check_unused_traits: (),
    pub check_mod_attrs: (),
    pub check_mod_unstable_api_usage: (),
    pub check_mod_privacy: (),
    pub check_liveness: (),
    pub live_symbols_and_ignored_derived_traits: (),
    pub check_mod_deathness: (),
    pub check_type_wf: (),
    pub coerce_unsized_info: for<'tcx> fn(TyCtxt<'tcx>,
        queries::coerce_unsized_info::Key<'tcx>)
        -> queries::coerce_unsized_info::ProvidedValue<'tcx>,
    pub typeck: (),
    pub used_trait_imports: (),
    pub coherent_trait: (),
    pub mir_borrowck: (),
    pub crate_inherent_impls: (),
    pub crate_inherent_impls_validity_check: (),
    pub crate_inherent_impls_overlap_check: (),
    pub orphan_check_impl: (),
    pub mir_callgraph_cyclic: (),
    pub mir_inliner_callees: (),
    pub tag_for_variant: (),
    pub eval_to_allocation_raw: (),
    pub eval_static_initializer: for<'tcx> fn(TyCtxt<'tcx>,
        queries::eval_static_initializer::Key<'tcx>)
        -> queries::eval_static_initializer::ProvidedValue<'tcx>,
    pub eval_to_const_value_raw: (),
    pub eval_to_valtree: (),
    pub valtree_to_const_val: (),
    pub lit_to_const: (),
    pub check_match: (),
    pub effective_visibilities: (),
    pub check_private_in_public: (),
    pub reachable_set: (),
    pub region_scope_tree: (),
    pub mir_shims: (),
    pub symbol_name: (),
    pub def_kind: for<'tcx> fn(TyCtxt<'tcx>, queries::def_kind::Key<'tcx>)
        -> queries::def_kind::ProvidedValue<'tcx>,
    pub def_span: for<'tcx> fn(TyCtxt<'tcx>, queries::def_span::Key<'tcx>)
        -> queries::def_span::ProvidedValue<'tcx>,
    pub def_ident_span: for<'tcx> fn(TyCtxt<'tcx>,
        queries::def_ident_span::Key<'tcx>)
        -> queries::def_ident_span::ProvidedValue<'tcx>,
    pub ty_span: (),
    pub lookup_stability: for<'tcx> fn(TyCtxt<'tcx>,
        queries::lookup_stability::Key<'tcx>)
        -> queries::lookup_stability::ProvidedValue<'tcx>,
    pub lookup_const_stability: for<'tcx> fn(TyCtxt<'tcx>,
        queries::lookup_const_stability::Key<'tcx>)
        -> queries::lookup_const_stability::ProvidedValue<'tcx>,
    pub lookup_default_body_stability: for<'tcx> fn(TyCtxt<'tcx>,
        queries::lookup_default_body_stability::Key<'tcx>)
        -> queries::lookup_default_body_stability::ProvidedValue<'tcx>,
    pub should_inherit_track_caller: (),
    pub inherited_align: (),
    pub lookup_deprecation_entry: for<'tcx> fn(TyCtxt<'tcx>,
        queries::lookup_deprecation_entry::Key<'tcx>)
        -> queries::lookup_deprecation_entry::ProvidedValue<'tcx>,
    pub is_doc_hidden: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_doc_hidden::Key<'tcx>)
        -> queries::is_doc_hidden::ProvidedValue<'tcx>,
    pub is_doc_notable_trait: (),
    pub attrs_for_def: for<'tcx> fn(TyCtxt<'tcx>,
        queries::attrs_for_def::Key<'tcx>)
        -> queries::attrs_for_def::ProvidedValue<'tcx>,
    pub codegen_fn_attrs: for<'tcx> fn(TyCtxt<'tcx>,
        queries::codegen_fn_attrs::Key<'tcx>)
        -> queries::codegen_fn_attrs::ProvidedValue<'tcx>,
    pub asm_target_features: (),
    pub fn_arg_idents: for<'tcx> fn(TyCtxt<'tcx>,
        queries::fn_arg_idents::Key<'tcx>)
        -> queries::fn_arg_idents::ProvidedValue<'tcx>,
    pub rendered_const: for<'tcx> fn(TyCtxt<'tcx>,
        queries::rendered_const::Key<'tcx>)
        -> queries::rendered_const::ProvidedValue<'tcx>,
    pub rendered_precise_capturing_args: for<'tcx> fn(TyCtxt<'tcx>,
        queries::rendered_precise_capturing_args::Key<'tcx>)
        -> queries::rendered_precise_capturing_args::ProvidedValue<'tcx>,
    pub impl_parent: for<'tcx> fn(TyCtxt<'tcx>,
        queries::impl_parent::Key<'tcx>)
        -> queries::impl_parent::ProvidedValue<'tcx>,
    pub is_ctfe_mir_available: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_ctfe_mir_available::Key<'tcx>)
        -> queries::is_ctfe_mir_available::ProvidedValue<'tcx>,
    pub is_mir_available: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_mir_available::Key<'tcx>)
        -> queries::is_mir_available::ProvidedValue<'tcx>,
    pub own_existential_vtable_entries: (),
    pub vtable_entries: (),
    pub first_method_vtable_slot: (),
    pub supertrait_vtable_slot: (),
    pub vtable_allocation: (),
    pub codegen_select_candidate: (),
    pub all_local_trait_impls: (),
    pub local_trait_impls: (),
    pub trait_impls_of: (),
    pub specialization_graph_of: (),
    pub dyn_compatibility_violations: (),
    pub is_dyn_compatible: (),
    pub param_env: (),
    pub typing_env_normalized_for_post_analysis: (),
    pub is_copy_raw: (),
    pub is_use_cloned_raw: (),
    pub is_sized_raw: (),
    pub is_freeze_raw: (),
    pub is_unpin_raw: (),
    pub is_async_drop_raw: (),
    pub needs_drop_raw: (),
    pub needs_async_drop_raw: (),
    pub has_significant_drop_raw: (),
    pub has_structural_eq_impl: (),
    pub adt_drop_tys: (),
    pub adt_async_drop_tys: (),
    pub adt_significant_drop_tys: (),
    pub list_significant_drop_tys: (),
    pub layout_of: (),
    pub fn_abi_of_fn_ptr: (),
    pub fn_abi_of_instance: (),
    pub dylib_dependency_formats: for<'tcx> fn(TyCtxt<'tcx>,
        queries::dylib_dependency_formats::Key<'tcx>)
        -> queries::dylib_dependency_formats::ProvidedValue<'tcx>,
    pub dependency_formats: (),
    pub is_compiler_builtins: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_compiler_builtins::Key<'tcx>)
        -> queries::is_compiler_builtins::ProvidedValue<'tcx>,
    pub has_global_allocator: for<'tcx> fn(TyCtxt<'tcx>,
        queries::has_global_allocator::Key<'tcx>)
        -> queries::has_global_allocator::ProvidedValue<'tcx>,
    pub has_alloc_error_handler: for<'tcx> fn(TyCtxt<'tcx>,
        queries::has_alloc_error_handler::Key<'tcx>)
        -> queries::has_alloc_error_handler::ProvidedValue<'tcx>,
    pub has_panic_handler: for<'tcx> fn(TyCtxt<'tcx>,
        queries::has_panic_handler::Key<'tcx>)
        -> queries::has_panic_handler::ProvidedValue<'tcx>,
    pub is_profiler_runtime: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_profiler_runtime::Key<'tcx>)
        -> queries::is_profiler_runtime::ProvidedValue<'tcx>,
    pub has_ffi_unwind_calls: (),
    pub required_panic_strategy: for<'tcx> fn(TyCtxt<'tcx>,
        queries::required_panic_strategy::Key<'tcx>)
        -> queries::required_panic_strategy::ProvidedValue<'tcx>,
    pub panic_in_drop_strategy: for<'tcx> fn(TyCtxt<'tcx>,
        queries::panic_in_drop_strategy::Key<'tcx>)
        -> queries::panic_in_drop_strategy::ProvidedValue<'tcx>,
    pub is_no_builtins: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_no_builtins::Key<'tcx>)
        -> queries::is_no_builtins::ProvidedValue<'tcx>,
    pub symbol_mangling_version: for<'tcx> fn(TyCtxt<'tcx>,
        queries::symbol_mangling_version::Key<'tcx>)
        -> queries::symbol_mangling_version::ProvidedValue<'tcx>,
    pub extern_crate: for<'tcx> fn(TyCtxt<'tcx>,
        queries::extern_crate::Key<'tcx>)
        -> queries::extern_crate::ProvidedValue<'tcx>,
    pub specialization_enabled_in: for<'tcx> fn(TyCtxt<'tcx>,
        queries::specialization_enabled_in::Key<'tcx>)
        -> queries::specialization_enabled_in::ProvidedValue<'tcx>,
    pub specializes: (),
    pub in_scope_traits_map: (),
    pub defaultness: for<'tcx> fn(TyCtxt<'tcx>,
        queries::defaultness::Key<'tcx>)
        -> queries::defaultness::ProvidedValue<'tcx>,
    pub default_field: for<'tcx> fn(TyCtxt<'tcx>,
        queries::default_field::Key<'tcx>)
        -> queries::default_field::ProvidedValue<'tcx>,
    pub check_well_formed: (),
    pub enforce_impl_non_lifetime_params_are_constrained: (),
    pub reachable_non_generics: for<'tcx> fn(TyCtxt<'tcx>,
        queries::reachable_non_generics::Key<'tcx>)
        -> queries::reachable_non_generics::ProvidedValue<'tcx>,
    pub is_reachable_non_generic: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_reachable_non_generic::Key<'tcx>)
        -> queries::is_reachable_non_generic::ProvidedValue<'tcx>,
    pub is_unreachable_local_definition: (),
    pub upstream_monomorphizations: (),
    pub upstream_monomorphizations_for: for<'tcx> fn(TyCtxt<'tcx>,
        queries::upstream_monomorphizations_for::Key<'tcx>)
        -> queries::upstream_monomorphizations_for::ProvidedValue<'tcx>,
    pub upstream_drop_glue_for: (),
    pub upstream_async_drop_glue_for: (),
    pub foreign_modules: for<'tcx> fn(TyCtxt<'tcx>,
        queries::foreign_modules::Key<'tcx>)
        -> queries::foreign_modules::ProvidedValue<'tcx>,
    pub clashing_extern_declarations: (),
    pub entry_fn: (),
    pub proc_macro_decls_static: (),
    pub crate_hash: for<'tcx> fn(TyCtxt<'tcx>, queries::crate_hash::Key<'tcx>)
        -> queries::crate_hash::ProvidedValue<'tcx>,
    pub crate_host_hash: for<'tcx> fn(TyCtxt<'tcx>,
        queries::crate_host_hash::Key<'tcx>)
        -> queries::crate_host_hash::ProvidedValue<'tcx>,
    pub extra_filename: for<'tcx> fn(TyCtxt<'tcx>,
        queries::extra_filename::Key<'tcx>)
        -> queries::extra_filename::ProvidedValue<'tcx>,
    pub crate_extern_paths: for<'tcx> fn(TyCtxt<'tcx>,
        queries::crate_extern_paths::Key<'tcx>)
        -> queries::crate_extern_paths::ProvidedValue<'tcx>,
    pub implementations_of_trait: for<'tcx> fn(TyCtxt<'tcx>,
        queries::implementations_of_trait::Key<'tcx>)
        -> queries::implementations_of_trait::ProvidedValue<'tcx>,
    pub crate_incoherent_impls: for<'tcx> fn(TyCtxt<'tcx>,
        queries::crate_incoherent_impls::Key<'tcx>)
        -> queries::crate_incoherent_impls::ProvidedValue<'tcx>,
    pub native_library: (),
    pub inherit_sig_for_delegation_item: (),
    pub resolve_bound_vars: (),
    pub named_variable_map: (),
    pub is_late_bound_map: (),
    pub object_lifetime_default: for<'tcx> fn(TyCtxt<'tcx>,
        queries::object_lifetime_default::Key<'tcx>)
        -> queries::object_lifetime_default::ProvidedValue<'tcx>,
    pub late_bound_vars_map: (),
    pub opaque_captured_lifetimes: (),
    pub visibility: for<'tcx> fn(TyCtxt<'tcx>, queries::visibility::Key<'tcx>)
        -> queries::visibility::ProvidedValue<'tcx>,
    pub inhabited_predicate_adt: (),
    pub inhabited_predicate_type: (),
    pub dep_kind: for<'tcx> fn(TyCtxt<'tcx>, queries::dep_kind::Key<'tcx>)
        -> queries::dep_kind::ProvidedValue<'tcx>,
    pub crate_name: for<'tcx> fn(TyCtxt<'tcx>, queries::crate_name::Key<'tcx>)
        -> queries::crate_name::ProvidedValue<'tcx>,
    pub module_children: for<'tcx> fn(TyCtxt<'tcx>,
        queries::module_children::Key<'tcx>)
        -> queries::module_children::ProvidedValue<'tcx>,
    pub num_extern_def_ids: for<'tcx> fn(TyCtxt<'tcx>,
        queries::num_extern_def_ids::Key<'tcx>)
        -> queries::num_extern_def_ids::ProvidedValue<'tcx>,
    pub lib_features: for<'tcx> fn(TyCtxt<'tcx>,
        queries::lib_features::Key<'tcx>)
        -> queries::lib_features::ProvidedValue<'tcx>,
    pub stability_implications: for<'tcx> fn(TyCtxt<'tcx>,
        queries::stability_implications::Key<'tcx>)
        -> queries::stability_implications::ProvidedValue<'tcx>,
    pub intrinsic_raw: for<'tcx> fn(TyCtxt<'tcx>,
        queries::intrinsic_raw::Key<'tcx>)
        -> queries::intrinsic_raw::ProvidedValue<'tcx>,
    pub get_lang_items: (),
    pub all_diagnostic_items: (),
    pub defined_lang_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::defined_lang_items::Key<'tcx>)
        -> queries::defined_lang_items::ProvidedValue<'tcx>,
    pub diagnostic_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::diagnostic_items::Key<'tcx>)
        -> queries::diagnostic_items::ProvidedValue<'tcx>,
    pub missing_lang_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::missing_lang_items::Key<'tcx>)
        -> queries::missing_lang_items::ProvidedValue<'tcx>,
    pub visible_parent_map: (),
    pub trimmed_def_paths: (),
    pub missing_extern_crate_item: for<'tcx> fn(TyCtxt<'tcx>,
        queries::missing_extern_crate_item::Key<'tcx>)
        -> queries::missing_extern_crate_item::ProvidedValue<'tcx>,
    pub used_crate_source: for<'tcx> fn(TyCtxt<'tcx>,
        queries::used_crate_source::Key<'tcx>)
        -> queries::used_crate_source::ProvidedValue<'tcx>,
    pub debugger_visualizers: for<'tcx> fn(TyCtxt<'tcx>,
        queries::debugger_visualizers::Key<'tcx>)
        -> queries::debugger_visualizers::ProvidedValue<'tcx>,
    pub postorder_cnums: (),
    pub is_private_dep: for<'tcx> fn(TyCtxt<'tcx>,
        queries::is_private_dep::Key<'tcx>)
        -> queries::is_private_dep::ProvidedValue<'tcx>,
    pub allocator_kind: (),
    pub alloc_error_handler_kind: (),
    pub upvars_mentioned: (),
    pub crates: (),
    pub used_crates: (),
    pub duplicate_crate_names: (),
    pub traits: for<'tcx> fn(TyCtxt<'tcx>, queries::traits::Key<'tcx>)
        -> queries::traits::ProvidedValue<'tcx>,
    pub trait_impls_in_crate: for<'tcx> fn(TyCtxt<'tcx>,
        queries::trait_impls_in_crate::Key<'tcx>)
        -> queries::trait_impls_in_crate::ProvidedValue<'tcx>,
    pub stable_order_of_exportable_impls: for<'tcx> fn(TyCtxt<'tcx>,
        queries::stable_order_of_exportable_impls::Key<'tcx>)
        -> queries::stable_order_of_exportable_impls::ProvidedValue<'tcx>,
    pub exportable_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::exportable_items::Key<'tcx>)
        -> queries::exportable_items::ProvidedValue<'tcx>,
    pub exported_non_generic_symbols: for<'tcx> fn(TyCtxt<'tcx>,
        queries::exported_non_generic_symbols::Key<'tcx>)
        -> queries::exported_non_generic_symbols::ProvidedValue<'tcx>,
    pub exported_generic_symbols: for<'tcx> fn(TyCtxt<'tcx>,
        queries::exported_generic_symbols::Key<'tcx>)
        -> queries::exported_generic_symbols::ProvidedValue<'tcx>,
    pub collect_and_partition_mono_items: (),
    pub is_codegened_item: (),
    pub codegen_unit: (),
    pub backend_optimization_level: (),
    pub output_filenames: (),
    pub normalize_canonicalized_projection: (),
    pub normalize_canonicalized_free_alias: (),
    pub normalize_canonicalized_inherent_projection: (),
    pub try_normalize_generic_arg_after_erasing_regions: (),
    pub implied_outlives_bounds: (),
    pub dropck_outlives: (),
    pub evaluate_obligation: (),
    pub type_op_ascribe_user_type: (),
    pub type_op_prove_predicate: (),
    pub type_op_normalize_ty: (),
    pub type_op_normalize_clause: (),
    pub type_op_normalize_poly_fn_sig: (),
    pub type_op_normalize_fn_sig: (),
    pub instantiate_and_check_impossible_predicates: (),
    pub is_impossible_associated_item: (),
    pub method_autoderef_steps: (),
    pub evaluate_root_goal_for_proof_tree_raw: (),
    pub rust_target_features: (),
    pub implied_target_features: (),
    pub features_query: (),
    pub crate_for_resolver: (),
    pub resolve_instance_raw: (),
    pub reveal_opaque_types_in_bounds: (),
    pub limits: (),
    pub diagnostic_hir_wf_check: (),
    pub global_backend_features: (),
    pub check_validity_requirement: (),
    pub compare_impl_item: (),
    pub deduced_param_attrs: for<'tcx> fn(TyCtxt<'tcx>,
        queries::deduced_param_attrs::Key<'tcx>)
        -> queries::deduced_param_attrs::ProvidedValue<'tcx>,
    pub doc_link_resolutions: for<'tcx> fn(TyCtxt<'tcx>,
        queries::doc_link_resolutions::Key<'tcx>)
        -> queries::doc_link_resolutions::ProvidedValue<'tcx>,
    pub doc_link_traits_in_scope: for<'tcx> fn(TyCtxt<'tcx>,
        queries::doc_link_traits_in_scope::Key<'tcx>)
        -> queries::doc_link_traits_in_scope::ProvidedValue<'tcx>,
    pub stripped_cfg_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::stripped_cfg_items::Key<'tcx>)
        -> queries::stripped_cfg_items::ProvidedValue<'tcx>,
    pub generics_require_sized_self: (),
    pub cross_crate_inlinable: for<'tcx> fn(TyCtxt<'tcx>,
        queries::cross_crate_inlinable::Key<'tcx>)
        -> queries::cross_crate_inlinable::ProvidedValue<'tcx>,
    pub check_mono_item: (),
    pub skip_move_check_fns: (),
    pub items_of_instance: (),
    pub size_estimate: (),
    pub anon_const_kind: for<'tcx> fn(TyCtxt<'tcx>,
        queries::anon_const_kind::Key<'tcx>)
        -> queries::anon_const_kind::ProvidedValue<'tcx>,
    pub trivial_const: for<'tcx> fn(TyCtxt<'tcx>,
        queries::trivial_const::Key<'tcx>)
        -> queries::trivial_const::ProvidedValue<'tcx>,
    pub sanitizer_settings_for: (),
    pub check_externally_implementable_items: (),
    pub externally_implementable_items: for<'tcx> fn(TyCtxt<'tcx>,
        queries::externally_implementable_items::Key<'tcx>)
        -> queries::externally_implementable_items::ProvidedValue<'tcx>,
}
impl Default for Providers {
    fn default() -> Self {
        Providers {
            derive_macro_expansion: |_, key|
                crate::query::plumbing::default_query("derive_macro_expansion",
                    &key),
            trigger_delayed_bug: |_, key|
                crate::query::plumbing::default_query("trigger_delayed_bug",
                    &key),
            registered_tools: |_, key|
                crate::query::plumbing::default_query("registered_tools",
                    &key),
            early_lint_checks: |_, key|
                crate::query::plumbing::default_query("early_lint_checks",
                    &key),
            env_var_os: |_, key|
                crate::query::plumbing::default_query("env_var_os", &key),
            resolutions: |_, key|
                crate::query::plumbing::default_query("resolutions", &key),
            resolver_for_lowering_raw: |_, key|
                crate::query::plumbing::default_query("resolver_for_lowering_raw",
                    &key),
            source_span: |_, key|
                crate::query::plumbing::default_query("source_span", &key),
            hir_crate: |_, key|
                crate::query::plumbing::default_query("hir_crate", &key),
            hir_crate_items: |_, key|
                crate::query::plumbing::default_query("hir_crate_items",
                    &key),
            hir_module_items: |_, key|
                crate::query::plumbing::default_query("hir_module_items",
                    &key),
            local_def_id_to_hir_id: |_, key|
                crate::query::plumbing::default_query("local_def_id_to_hir_id",
                    &key),
            hir_owner_parent: |_, key|
                crate::query::plumbing::default_query("hir_owner_parent",
                    &key),
            opt_hir_owner_nodes: |_, key|
                crate::query::plumbing::default_query("opt_hir_owner_nodes",
                    &key),
            hir_attr_map: |_, key|
                crate::query::plumbing::default_query("hir_attr_map", &key),
            opt_ast_lowering_delayed_lints: |_, key|
                crate::query::plumbing::default_query("opt_ast_lowering_delayed_lints",
                    &key),
            const_param_default: |_, key|
                crate::query::plumbing::default_query("const_param_default",
                    &key),
            const_of_item: |_, key|
                crate::query::plumbing::default_query("const_of_item", &key),
            type_of: |_, key|
                crate::query::plumbing::default_query("type_of", &key),
            type_of_opaque: |_, key|
                crate::query::plumbing::default_query("type_of_opaque", &key),
            type_of_opaque_hir_typeck: |_, key|
                crate::query::plumbing::default_query("type_of_opaque_hir_typeck",
                    &key),
            type_alias_is_lazy: |_, key|
                crate::query::plumbing::default_query("type_alias_is_lazy",
                    &key),
            collect_return_position_impl_trait_in_trait_tys: |_, key|
                crate::query::plumbing::default_query("collect_return_position_impl_trait_in_trait_tys",
                    &key),
            opaque_ty_origin: |_, key|
                crate::query::plumbing::default_query("opaque_ty_origin",
                    &key),
            unsizing_params_for_adt: |_, key|
                crate::query::plumbing::default_query("unsizing_params_for_adt",
                    &key),
            analysis: |_, key|
                crate::query::plumbing::default_query("analysis", &key),
            check_expectations: |_, key|
                crate::query::plumbing::default_query("check_expectations",
                    &key),
            generics_of: |_, key|
                crate::query::plumbing::default_query("generics_of", &key),
            predicates_of: |_, key|
                crate::query::plumbing::default_query("predicates_of", &key),
            opaque_types_defined_by: |_, key|
                crate::query::plumbing::default_query("opaque_types_defined_by",
                    &key),
            nested_bodies_within: |_, key|
                crate::query::plumbing::default_query("nested_bodies_within",
                    &key),
            explicit_item_bounds: |_, key|
                crate::query::plumbing::default_query("explicit_item_bounds",
                    &key),
            explicit_item_self_bounds: |_, key|
                crate::query::plumbing::default_query("explicit_item_self_bounds",
                    &key),
            item_bounds: |_, key|
                crate::query::plumbing::default_query("item_bounds", &key),
            item_self_bounds: |_, key|
                crate::query::plumbing::default_query("item_self_bounds",
                    &key),
            item_non_self_bounds: |_, key|
                crate::query::plumbing::default_query("item_non_self_bounds",
                    &key),
            impl_super_outlives: |_, key|
                crate::query::plumbing::default_query("impl_super_outlives",
                    &key),
            native_libraries: |_, key|
                crate::query::plumbing::default_query("native_libraries",
                    &key),
            shallow_lint_levels_on: |_, key|
                crate::query::plumbing::default_query("shallow_lint_levels_on",
                    &key),
            lint_expectations: |_, key|
                crate::query::plumbing::default_query("lint_expectations",
                    &key),
            lints_that_dont_need_to_run: |_, key|
                crate::query::plumbing::default_query("lints_that_dont_need_to_run",
                    &key),
            expn_that_defined: |_, key|
                crate::query::plumbing::default_query("expn_that_defined",
                    &key),
            is_panic_runtime: |_, key|
                crate::query::plumbing::default_query("is_panic_runtime",
                    &key),
            representability: |_, key|
                crate::query::plumbing::default_query("representability",
                    &key),
            representability_adt_ty: |_, key|
                crate::query::plumbing::default_query("representability_adt_ty",
                    &key),
            params_in_repr: |_, key|
                crate::query::plumbing::default_query("params_in_repr", &key),
            thir_body: |_, key|
                crate::query::plumbing::default_query("thir_body", &key),
            mir_keys: |_, key|
                crate::query::plumbing::default_query("mir_keys", &key),
            mir_const_qualif: |_, key|
                crate::query::plumbing::default_query("mir_const_qualif",
                    &key),
            mir_built: |_, key|
                crate::query::plumbing::default_query("mir_built", &key),
            thir_abstract_const: |_, key|
                crate::query::plumbing::default_query("thir_abstract_const",
                    &key),
            mir_drops_elaborated_and_const_checked: |_, key|
                crate::query::plumbing::default_query("mir_drops_elaborated_and_const_checked",
                    &key),
            mir_for_ctfe: |_, key|
                crate::query::plumbing::default_query("mir_for_ctfe", &key),
            mir_promoted: |_, key|
                crate::query::plumbing::default_query("mir_promoted", &key),
            closure_typeinfo: |_, key|
                crate::query::plumbing::default_query("closure_typeinfo",
                    &key),
            closure_saved_names_of_captured_variables: |_, key|
                crate::query::plumbing::default_query("closure_saved_names_of_captured_variables",
                    &key),
            mir_coroutine_witnesses: |_, key|
                crate::query::plumbing::default_query("mir_coroutine_witnesses",
                    &key),
            check_coroutine_obligations: |_, key|
                crate::query::plumbing::default_query("check_coroutine_obligations",
                    &key),
            check_potentially_region_dependent_goals: |_, key|
                crate::query::plumbing::default_query("check_potentially_region_dependent_goals",
                    &key),
            optimized_mir: |_, key|
                crate::query::plumbing::default_query("optimized_mir", &key),
            coverage_attr_on: |_, key|
                crate::query::plumbing::default_query("coverage_attr_on",
                    &key),
            coverage_ids_info: |_, key|
                crate::query::plumbing::default_query("coverage_ids_info",
                    &key),
            promoted_mir: |_, key|
                crate::query::plumbing::default_query("promoted_mir", &key),
            erase_and_anonymize_regions_ty: |_, key|
                crate::query::plumbing::default_query("erase_and_anonymize_regions_ty",
                    &key),
            wasm_import_module_map: |_, key|
                crate::query::plumbing::default_query("wasm_import_module_map",
                    &key),
            trait_explicit_predicates_and_bounds: |_, key|
                crate::query::plumbing::default_query("trait_explicit_predicates_and_bounds",
                    &key),
            explicit_predicates_of: |_, key|
                crate::query::plumbing::default_query("explicit_predicates_of",
                    &key),
            inferred_outlives_of: |_, key|
                crate::query::plumbing::default_query("inferred_outlives_of",
                    &key),
            explicit_super_predicates_of: |_, key|
                crate::query::plumbing::default_query("explicit_super_predicates_of",
                    &key),
            explicit_implied_predicates_of: |_, key|
                crate::query::plumbing::default_query("explicit_implied_predicates_of",
                    &key),
            explicit_supertraits_containing_assoc_item: |_, key|
                crate::query::plumbing::default_query("explicit_supertraits_containing_assoc_item",
                    &key),
            const_conditions: |_, key|
                crate::query::plumbing::default_query("const_conditions",
                    &key),
            explicit_implied_const_bounds: |_, key|
                crate::query::plumbing::default_query("explicit_implied_const_bounds",
                    &key),
            type_param_predicates: |_, key|
                crate::query::plumbing::default_query("type_param_predicates",
                    &key),
            trait_def: |_, key|
                crate::query::plumbing::default_query("trait_def", &key),
            adt_def: |_, key|
                crate::query::plumbing::default_query("adt_def", &key),
            adt_destructor: |_, key|
                crate::query::plumbing::default_query("adt_destructor", &key),
            adt_async_destructor: |_, key|
                crate::query::plumbing::default_query("adt_async_destructor",
                    &key),
            adt_sizedness_constraint: |_, key|
                crate::query::plumbing::default_query("adt_sizedness_constraint",
                    &key),
            adt_dtorck_constraint: |_, key|
                crate::query::plumbing::default_query("adt_dtorck_constraint",
                    &key),
            constness: |_, key|
                crate::query::plumbing::default_query("constness", &key),
            asyncness: |_, key|
                crate::query::plumbing::default_query("asyncness", &key),
            is_promotable_const_fn: |_, key|
                crate::query::plumbing::default_query("is_promotable_const_fn",
                    &key),
            coroutine_by_move_body_def_id: |_, key|
                crate::query::plumbing::default_query("coroutine_by_move_body_def_id",
                    &key),
            coroutine_kind: |_, key|
                crate::query::plumbing::default_query("coroutine_kind", &key),
            coroutine_for_closure: |_, key|
                crate::query::plumbing::default_query("coroutine_for_closure",
                    &key),
            coroutine_hidden_types: |_, key|
                crate::query::plumbing::default_query("coroutine_hidden_types",
                    &key),
            crate_variances: |_, key|
                crate::query::plumbing::default_query("crate_variances",
                    &key),
            variances_of: |_, key|
                crate::query::plumbing::default_query("variances_of", &key),
            inferred_outlives_crate: |_, key|
                crate::query::plumbing::default_query("inferred_outlives_crate",
                    &key),
            associated_item_def_ids: |_, key|
                crate::query::plumbing::default_query("associated_item_def_ids",
                    &key),
            associated_item: |_, key|
                crate::query::plumbing::default_query("associated_item",
                    &key),
            associated_items: |_, key|
                crate::query::plumbing::default_query("associated_items",
                    &key),
            impl_item_implementor_ids: |_, key|
                crate::query::plumbing::default_query("impl_item_implementor_ids",
                    &key),
            associated_types_for_impl_traits_in_trait_or_impl: |_, key|
                crate::query::plumbing::default_query("associated_types_for_impl_traits_in_trait_or_impl",
                    &key),
            impl_trait_header: |_, key|
                crate::query::plumbing::default_query("impl_trait_header",
                    &key),
            impl_self_is_guaranteed_unsized: |_, key|
                crate::query::plumbing::default_query("impl_self_is_guaranteed_unsized",
                    &key),
            inherent_impls: |_, key|
                crate::query::plumbing::default_query("inherent_impls", &key),
            incoherent_impls: |_, key|
                crate::query::plumbing::default_query("incoherent_impls",
                    &key),
            check_transmutes: |_, key|
                crate::query::plumbing::default_query("check_transmutes",
                    &key),
            check_unsafety: |_, key|
                crate::query::plumbing::default_query("check_unsafety", &key),
            check_tail_calls: |_, key|
                crate::query::plumbing::default_query("check_tail_calls",
                    &key),
            assumed_wf_types: |_, key|
                crate::query::plumbing::default_query("assumed_wf_types",
                    &key),
            assumed_wf_types_for_rpitit: |_, key|
                crate::query::plumbing::default_query("assumed_wf_types_for_rpitit",
                    &key),
            fn_sig: |_, key|
                crate::query::plumbing::default_query("fn_sig", &key),
            lint_mod: |_, key|
                crate::query::plumbing::default_query("lint_mod", &key),
            check_unused_traits: |_, key|
                crate::query::plumbing::default_query("check_unused_traits",
                    &key),
            check_mod_attrs: |_, key|
                crate::query::plumbing::default_query("check_mod_attrs",
                    &key),
            check_mod_unstable_api_usage: |_, key|
                crate::query::plumbing::default_query("check_mod_unstable_api_usage",
                    &key),
            check_mod_privacy: |_, key|
                crate::query::plumbing::default_query("check_mod_privacy",
                    &key),
            check_liveness: |_, key|
                crate::query::plumbing::default_query("check_liveness", &key),
            live_symbols_and_ignored_derived_traits: |_, key|
                crate::query::plumbing::default_query("live_symbols_and_ignored_derived_traits",
                    &key),
            check_mod_deathness: |_, key|
                crate::query::plumbing::default_query("check_mod_deathness",
                    &key),
            check_type_wf: |_, key|
                crate::query::plumbing::default_query("check_type_wf", &key),
            coerce_unsized_info: |_, key|
                crate::query::plumbing::default_query("coerce_unsized_info",
                    &key),
            typeck: |_, key|
                crate::query::plumbing::default_query("typeck", &key),
            used_trait_imports: |_, key|
                crate::query::plumbing::default_query("used_trait_imports",
                    &key),
            coherent_trait: |_, key|
                crate::query::plumbing::default_query("coherent_trait", &key),
            mir_borrowck: |_, key|
                crate::query::plumbing::default_query("mir_borrowck", &key),
            crate_inherent_impls: |_, key|
                crate::query::plumbing::default_query("crate_inherent_impls",
                    &key),
            crate_inherent_impls_validity_check: |_, key|
                crate::query::plumbing::default_query("crate_inherent_impls_validity_check",
                    &key),
            crate_inherent_impls_overlap_check: |_, key|
                crate::query::plumbing::default_query("crate_inherent_impls_overlap_check",
                    &key),
            orphan_check_impl: |_, key|
                crate::query::plumbing::default_query("orphan_check_impl",
                    &key),
            mir_callgraph_cyclic: |_, key|
                crate::query::plumbing::default_query("mir_callgraph_cyclic",
                    &key),
            mir_inliner_callees: |_, key|
                crate::query::plumbing::default_query("mir_inliner_callees",
                    &key),
            tag_for_variant: |_, key|
                crate::query::plumbing::default_query("tag_for_variant",
                    &key),
            eval_to_allocation_raw: |_, key|
                crate::query::plumbing::default_query("eval_to_allocation_raw",
                    &key),
            eval_static_initializer: |_, key|
                crate::query::plumbing::default_query("eval_static_initializer",
                    &key),
            eval_to_const_value_raw: |_, key|
                crate::query::plumbing::default_query("eval_to_const_value_raw",
                    &key),
            eval_to_valtree: |_, key|
                crate::query::plumbing::default_query("eval_to_valtree",
                    &key),
            valtree_to_const_val: |_, key|
                crate::query::plumbing::default_query("valtree_to_const_val",
                    &key),
            lit_to_const: |_, key|
                crate::query::plumbing::default_query("lit_to_const", &key),
            check_match: |_, key|
                crate::query::plumbing::default_query("check_match", &key),
            effective_visibilities: |_, key|
                crate::query::plumbing::default_query("effective_visibilities",
                    &key),
            check_private_in_public: |_, key|
                crate::query::plumbing::default_query("check_private_in_public",
                    &key),
            reachable_set: |_, key|
                crate::query::plumbing::default_query("reachable_set", &key),
            region_scope_tree: |_, key|
                crate::query::plumbing::default_query("region_scope_tree",
                    &key),
            mir_shims: |_, key|
                crate::query::plumbing::default_query("mir_shims", &key),
            symbol_name: |_, key|
                crate::query::plumbing::default_query("symbol_name", &key),
            def_kind: |_, key|
                crate::query::plumbing::default_query("def_kind", &key),
            def_span: |_, key|
                crate::query::plumbing::default_query("def_span", &key),
            def_ident_span: |_, key|
                crate::query::plumbing::default_query("def_ident_span", &key),
            ty_span: |_, key|
                crate::query::plumbing::default_query("ty_span", &key),
            lookup_stability: |_, key|
                crate::query::plumbing::default_query("lookup_stability",
                    &key),
            lookup_const_stability: |_, key|
                crate::query::plumbing::default_query("lookup_const_stability",
                    &key),
            lookup_default_body_stability: |_, key|
                crate::query::plumbing::default_query("lookup_default_body_stability",
                    &key),
            should_inherit_track_caller: |_, key|
                crate::query::plumbing::default_query("should_inherit_track_caller",
                    &key),
            inherited_align: |_, key|
                crate::query::plumbing::default_query("inherited_align",
                    &key),
            lookup_deprecation_entry: |_, key|
                crate::query::plumbing::default_query("lookup_deprecation_entry",
                    &key),
            is_doc_hidden: |_, key|
                crate::query::plumbing::default_query("is_doc_hidden", &key),
            is_doc_notable_trait: |_, key|
                crate::query::plumbing::default_query("is_doc_notable_trait",
                    &key),
            attrs_for_def: |_, key|
                crate::query::plumbing::default_query("attrs_for_def", &key),
            codegen_fn_attrs: |_, key|
                crate::query::plumbing::default_query("codegen_fn_attrs",
                    &key),
            asm_target_features: |_, key|
                crate::query::plumbing::default_query("asm_target_features",
                    &key),
            fn_arg_idents: |_, key|
                crate::query::plumbing::default_query("fn_arg_idents", &key),
            rendered_const: |_, key|
                crate::query::plumbing::default_query("rendered_const", &key),
            rendered_precise_capturing_args: |_, key|
                crate::query::plumbing::default_query("rendered_precise_capturing_args",
                    &key),
            impl_parent: |_, key|
                crate::query::plumbing::default_query("impl_parent", &key),
            is_ctfe_mir_available: |_, key|
                crate::query::plumbing::default_query("is_ctfe_mir_available",
                    &key),
            is_mir_available: |_, key|
                crate::query::plumbing::default_query("is_mir_available",
                    &key),
            own_existential_vtable_entries: |_, key|
                crate::query::plumbing::default_query("own_existential_vtable_entries",
                    &key),
            vtable_entries: |_, key|
                crate::query::plumbing::default_query("vtable_entries", &key),
            first_method_vtable_slot: |_, key|
                crate::query::plumbing::default_query("first_method_vtable_slot",
                    &key),
            supertrait_vtable_slot: |_, key|
                crate::query::plumbing::default_query("supertrait_vtable_slot",
                    &key),
            vtable_allocation: |_, key|
                crate::query::plumbing::default_query("vtable_allocation",
                    &key),
            codegen_select_candidate: |_, key|
                crate::query::plumbing::default_query("codegen_select_candidate",
                    &key),
            all_local_trait_impls: |_, key|
                crate::query::plumbing::default_query("all_local_trait_impls",
                    &key),
            local_trait_impls: |_, key|
                crate::query::plumbing::default_query("local_trait_impls",
                    &key),
            trait_impls_of: |_, key|
                crate::query::plumbing::default_query("trait_impls_of", &key),
            specialization_graph_of: |_, key|
                crate::query::plumbing::default_query("specialization_graph_of",
                    &key),
            dyn_compatibility_violations: |_, key|
                crate::query::plumbing::default_query("dyn_compatibility_violations",
                    &key),
            is_dyn_compatible: |_, key|
                crate::query::plumbing::default_query("is_dyn_compatible",
                    &key),
            param_env: |_, key|
                crate::query::plumbing::default_query("param_env", &key),
            typing_env_normalized_for_post_analysis: |_, key|
                crate::query::plumbing::default_query("typing_env_normalized_for_post_analysis",
                    &key),
            is_copy_raw: |_, key|
                crate::query::plumbing::default_query("is_copy_raw", &key),
            is_use_cloned_raw: |_, key|
                crate::query::plumbing::default_query("is_use_cloned_raw",
                    &key),
            is_sized_raw: |_, key|
                crate::query::plumbing::default_query("is_sized_raw", &key),
            is_freeze_raw: |_, key|
                crate::query::plumbing::default_query("is_freeze_raw", &key),
            is_unpin_raw: |_, key|
                crate::query::plumbing::default_query("is_unpin_raw", &key),
            is_async_drop_raw: |_, key|
                crate::query::plumbing::default_query("is_async_drop_raw",
                    &key),
            needs_drop_raw: |_, key|
                crate::query::plumbing::default_query("needs_drop_raw", &key),
            needs_async_drop_raw: |_, key|
                crate::query::plumbing::default_query("needs_async_drop_raw",
                    &key),
            has_significant_drop_raw: |_, key|
                crate::query::plumbing::default_query("has_significant_drop_raw",
                    &key),
            has_structural_eq_impl: |_, key|
                crate::query::plumbing::default_query("has_structural_eq_impl",
                    &key),
            adt_drop_tys: |_, key|
                crate::query::plumbing::default_query("adt_drop_tys", &key),
            adt_async_drop_tys: |_, key|
                crate::query::plumbing::default_query("adt_async_drop_tys",
                    &key),
            adt_significant_drop_tys: |_, key|
                crate::query::plumbing::default_query("adt_significant_drop_tys",
                    &key),
            list_significant_drop_tys: |_, key|
                crate::query::plumbing::default_query("list_significant_drop_tys",
                    &key),
            layout_of: |_, key|
                crate::query::plumbing::default_query("layout_of", &key),
            fn_abi_of_fn_ptr: |_, key|
                crate::query::plumbing::default_query("fn_abi_of_fn_ptr",
                    &key),
            fn_abi_of_instance: |_, key|
                crate::query::plumbing::default_query("fn_abi_of_instance",
                    &key),
            dylib_dependency_formats: |_, key|
                crate::query::plumbing::default_query("dylib_dependency_formats",
                    &key),
            dependency_formats: |_, key|
                crate::query::plumbing::default_query("dependency_formats",
                    &key),
            is_compiler_builtins: |_, key|
                crate::query::plumbing::default_query("is_compiler_builtins",
                    &key),
            has_global_allocator: |_, key|
                crate::query::plumbing::default_query("has_global_allocator",
                    &key),
            has_alloc_error_handler: |_, key|
                crate::query::plumbing::default_query("has_alloc_error_handler",
                    &key),
            has_panic_handler: |_, key|
                crate::query::plumbing::default_query("has_panic_handler",
                    &key),
            is_profiler_runtime: |_, key|
                crate::query::plumbing::default_query("is_profiler_runtime",
                    &key),
            has_ffi_unwind_calls: |_, key|
                crate::query::plumbing::default_query("has_ffi_unwind_calls",
                    &key),
            required_panic_strategy: |_, key|
                crate::query::plumbing::default_query("required_panic_strategy",
                    &key),
            panic_in_drop_strategy: |_, key|
                crate::query::plumbing::default_query("panic_in_drop_strategy",
                    &key),
            is_no_builtins: |_, key|
                crate::query::plumbing::default_query("is_no_builtins", &key),
            symbol_mangling_version: |_, key|
                crate::query::plumbing::default_query("symbol_mangling_version",
                    &key),
            extern_crate: |_, key|
                crate::query::plumbing::default_query("extern_crate", &key),
            specialization_enabled_in: |_, key|
                crate::query::plumbing::default_query("specialization_enabled_in",
                    &key),
            specializes: |_, key|
                crate::query::plumbing::default_query("specializes", &key),
            in_scope_traits_map: |_, key|
                crate::query::plumbing::default_query("in_scope_traits_map",
                    &key),
            defaultness: |_, key|
                crate::query::plumbing::default_query("defaultness", &key),
            default_field: |_, key|
                crate::query::plumbing::default_query("default_field", &key),
            check_well_formed: |_, key|
                crate::query::plumbing::default_query("check_well_formed",
                    &key),
            enforce_impl_non_lifetime_params_are_constrained: |_, key|
                crate::query::plumbing::default_query("enforce_impl_non_lifetime_params_are_constrained",
                    &key),
            reachable_non_generics: |_, key|
                crate::query::plumbing::default_query("reachable_non_generics",
                    &key),
            is_reachable_non_generic: |_, key|
                crate::query::plumbing::default_query("is_reachable_non_generic",
                    &key),
            is_unreachable_local_definition: |_, key|
                crate::query::plumbing::default_query("is_unreachable_local_definition",
                    &key),
            upstream_monomorphizations: |_, key|
                crate::query::plumbing::default_query("upstream_monomorphizations",
                    &key),
            upstream_monomorphizations_for: |_, key|
                crate::query::plumbing::default_query("upstream_monomorphizations_for",
                    &key),
            upstream_drop_glue_for: |_, key|
                crate::query::plumbing::default_query("upstream_drop_glue_for",
                    &key),
            upstream_async_drop_glue_for: |_, key|
                crate::query::plumbing::default_query("upstream_async_drop_glue_for",
                    &key),
            foreign_modules: |_, key|
                crate::query::plumbing::default_query("foreign_modules",
                    &key),
            clashing_extern_declarations: |_, key|
                crate::query::plumbing::default_query("clashing_extern_declarations",
                    &key),
            entry_fn: |_, key|
                crate::query::plumbing::default_query("entry_fn", &key),
            proc_macro_decls_static: |_, key|
                crate::query::plumbing::default_query("proc_macro_decls_static",
                    &key),
            crate_hash: |_, key|
                crate::query::plumbing::default_query("crate_hash", &key),
            crate_host_hash: |_, key|
                crate::query::plumbing::default_query("crate_host_hash",
                    &key),
            extra_filename: |_, key|
                crate::query::plumbing::default_query("extra_filename", &key),
            crate_extern_paths: |_, key|
                crate::query::plumbing::default_query("crate_extern_paths",
                    &key),
            implementations_of_trait: |_, key|
                crate::query::plumbing::default_query("implementations_of_trait",
                    &key),
            crate_incoherent_impls: |_, key|
                crate::query::plumbing::default_query("crate_incoherent_impls",
                    &key),
            native_library: |_, key|
                crate::query::plumbing::default_query("native_library", &key),
            inherit_sig_for_delegation_item: |_, key|
                crate::query::plumbing::default_query("inherit_sig_for_delegation_item",
                    &key),
            resolve_bound_vars: |_, key|
                crate::query::plumbing::default_query("resolve_bound_vars",
                    &key),
            named_variable_map: |_, key|
                crate::query::plumbing::default_query("named_variable_map",
                    &key),
            is_late_bound_map: |_, key|
                crate::query::plumbing::default_query("is_late_bound_map",
                    &key),
            object_lifetime_default: |_, key|
                crate::query::plumbing::default_query("object_lifetime_default",
                    &key),
            late_bound_vars_map: |_, key|
                crate::query::plumbing::default_query("late_bound_vars_map",
                    &key),
            opaque_captured_lifetimes: |_, key|
                crate::query::plumbing::default_query("opaque_captured_lifetimes",
                    &key),
            visibility: |_, key|
                crate::query::plumbing::default_query("visibility", &key),
            inhabited_predicate_adt: |_, key|
                crate::query::plumbing::default_query("inhabited_predicate_adt",
                    &key),
            inhabited_predicate_type: |_, key|
                crate::query::plumbing::default_query("inhabited_predicate_type",
                    &key),
            dep_kind: |_, key|
                crate::query::plumbing::default_query("dep_kind", &key),
            crate_name: |_, key|
                crate::query::plumbing::default_query("crate_name", &key),
            module_children: |_, key|
                crate::query::plumbing::default_query("module_children",
                    &key),
            num_extern_def_ids: |_, key|
                crate::query::plumbing::default_query("num_extern_def_ids",
                    &key),
            lib_features: |_, key|
                crate::query::plumbing::default_query("lib_features", &key),
            stability_implications: |_, key|
                crate::query::plumbing::default_query("stability_implications",
                    &key),
            intrinsic_raw: |_, key|
                crate::query::plumbing::default_query("intrinsic_raw", &key),
            get_lang_items: |_, key|
                crate::query::plumbing::default_query("get_lang_items", &key),
            all_diagnostic_items: |_, key|
                crate::query::plumbing::default_query("all_diagnostic_items",
                    &key),
            defined_lang_items: |_, key|
                crate::query::plumbing::default_query("defined_lang_items",
                    &key),
            diagnostic_items: |_, key|
                crate::query::plumbing::default_query("diagnostic_items",
                    &key),
            missing_lang_items: |_, key|
                crate::query::plumbing::default_query("missing_lang_items",
                    &key),
            visible_parent_map: |_, key|
                crate::query::plumbing::default_query("visible_parent_map",
                    &key),
            trimmed_def_paths: |_, key|
                crate::query::plumbing::default_query("trimmed_def_paths",
                    &key),
            missing_extern_crate_item: |_, key|
                crate::query::plumbing::default_query("missing_extern_crate_item",
                    &key),
            used_crate_source: |_, key|
                crate::query::plumbing::default_query("used_crate_source",
                    &key),
            debugger_visualizers: |_, key|
                crate::query::plumbing::default_query("debugger_visualizers",
                    &key),
            postorder_cnums: |_, key|
                crate::query::plumbing::default_query("postorder_cnums",
                    &key),
            is_private_dep: |_, key|
                crate::query::plumbing::default_query("is_private_dep", &key),
            allocator_kind: |_, key|
                crate::query::plumbing::default_query("allocator_kind", &key),
            alloc_error_handler_kind: |_, key|
                crate::query::plumbing::default_query("alloc_error_handler_kind",
                    &key),
            upvars_mentioned: |_, key|
                crate::query::plumbing::default_query("upvars_mentioned",
                    &key),
            crates: |_, key|
                crate::query::plumbing::default_query("crates", &key),
            used_crates: |_, key|
                crate::query::plumbing::default_query("used_crates", &key),
            duplicate_crate_names: |_, key|
                crate::query::plumbing::default_query("duplicate_crate_names",
                    &key),
            traits: |_, key|
                crate::query::plumbing::default_query("traits", &key),
            trait_impls_in_crate: |_, key|
                crate::query::plumbing::default_query("trait_impls_in_crate",
                    &key),
            stable_order_of_exportable_impls: |_, key|
                crate::query::plumbing::default_query("stable_order_of_exportable_impls",
                    &key),
            exportable_items: |_, key|
                crate::query::plumbing::default_query("exportable_items",
                    &key),
            exported_non_generic_symbols: |_, key|
                crate::query::plumbing::default_query("exported_non_generic_symbols",
                    &key),
            exported_generic_symbols: |_, key|
                crate::query::plumbing::default_query("exported_generic_symbols",
                    &key),
            collect_and_partition_mono_items: |_, key|
                crate::query::plumbing::default_query("collect_and_partition_mono_items",
                    &key),
            is_codegened_item: |_, key|
                crate::query::plumbing::default_query("is_codegened_item",
                    &key),
            codegen_unit: |_, key|
                crate::query::plumbing::default_query("codegen_unit", &key),
            backend_optimization_level: |_, key|
                crate::query::plumbing::default_query("backend_optimization_level",
                    &key),
            output_filenames: |_, key|
                crate::query::plumbing::default_query("output_filenames",
                    &key),
            normalize_canonicalized_projection: |_, key|
                crate::query::plumbing::default_query("normalize_canonicalized_projection",
                    &key),
            normalize_canonicalized_free_alias: |_, key|
                crate::query::plumbing::default_query("normalize_canonicalized_free_alias",
                    &key),
            normalize_canonicalized_inherent_projection: |_, key|
                crate::query::plumbing::default_query("normalize_canonicalized_inherent_projection",
                    &key),
            try_normalize_generic_arg_after_erasing_regions: |_, key|
                crate::query::plumbing::default_query("try_normalize_generic_arg_after_erasing_regions",
                    &key),
            implied_outlives_bounds: |_, key|
                crate::query::plumbing::default_query("implied_outlives_bounds",
                    &key),
            dropck_outlives: |_, key|
                crate::query::plumbing::default_query("dropck_outlives",
                    &key),
            evaluate_obligation: |_, key|
                crate::query::plumbing::default_query("evaluate_obligation",
                    &key),
            type_op_ascribe_user_type: |_, key|
                crate::query::plumbing::default_query("type_op_ascribe_user_type",
                    &key),
            type_op_prove_predicate: |_, key|
                crate::query::plumbing::default_query("type_op_prove_predicate",
                    &key),
            type_op_normalize_ty: |_, key|
                crate::query::plumbing::default_query("type_op_normalize_ty",
                    &key),
            type_op_normalize_clause: |_, key|
                crate::query::plumbing::default_query("type_op_normalize_clause",
                    &key),
            type_op_normalize_poly_fn_sig: |_, key|
                crate::query::plumbing::default_query("type_op_normalize_poly_fn_sig",
                    &key),
            type_op_normalize_fn_sig: |_, key|
                crate::query::plumbing::default_query("type_op_normalize_fn_sig",
                    &key),
            instantiate_and_check_impossible_predicates: |_, key|
                crate::query::plumbing::default_query("instantiate_and_check_impossible_predicates",
                    &key),
            is_impossible_associated_item: |_, key|
                crate::query::plumbing::default_query("is_impossible_associated_item",
                    &key),
            method_autoderef_steps: |_, key|
                crate::query::plumbing::default_query("method_autoderef_steps",
                    &key),
            evaluate_root_goal_for_proof_tree_raw: |_, key|
                crate::query::plumbing::default_query("evaluate_root_goal_for_proof_tree_raw",
                    &key),
            rust_target_features: |_, key|
                crate::query::plumbing::default_query("rust_target_features",
                    &key),
            implied_target_features: |_, key|
                crate::query::plumbing::default_query("implied_target_features",
                    &key),
            features_query: |_, key|
                crate::query::plumbing::default_query("features_query", &key),
            crate_for_resolver: |_, key|
                crate::query::plumbing::default_query("crate_for_resolver",
                    &key),
            resolve_instance_raw: |_, key|
                crate::query::plumbing::default_query("resolve_instance_raw",
                    &key),
            reveal_opaque_types_in_bounds: |_, key|
                crate::query::plumbing::default_query("reveal_opaque_types_in_bounds",
                    &key),
            limits: |_, key|
                crate::query::plumbing::default_query("limits", &key),
            diagnostic_hir_wf_check: |_, key|
                crate::query::plumbing::default_query("diagnostic_hir_wf_check",
                    &key),
            global_backend_features: |_, key|
                crate::query::plumbing::default_query("global_backend_features",
                    &key),
            check_validity_requirement: |_, key|
                crate::query::plumbing::default_query("check_validity_requirement",
                    &key),
            compare_impl_item: |_, key|
                crate::query::plumbing::default_query("compare_impl_item",
                    &key),
            deduced_param_attrs: |_, key|
                crate::query::plumbing::default_query("deduced_param_attrs",
                    &key),
            doc_link_resolutions: |_, key|
                crate::query::plumbing::default_query("doc_link_resolutions",
                    &key),
            doc_link_traits_in_scope: |_, key|
                crate::query::plumbing::default_query("doc_link_traits_in_scope",
                    &key),
            stripped_cfg_items: |_, key|
                crate::query::plumbing::default_query("stripped_cfg_items",
                    &key),
            generics_require_sized_self: |_, key|
                crate::query::plumbing::default_query("generics_require_sized_self",
                    &key),
            cross_crate_inlinable: |_, key|
                crate::query::plumbing::default_query("cross_crate_inlinable",
                    &key),
            check_mono_item: |_, key|
                crate::query::plumbing::default_query("check_mono_item",
                    &key),
            skip_move_check_fns: |_, key|
                crate::query::plumbing::default_query("skip_move_check_fns",
                    &key),
            items_of_instance: |_, key|
                crate::query::plumbing::default_query("items_of_instance",
                    &key),
            size_estimate: |_, key|
                crate::query::plumbing::default_query("size_estimate", &key),
            anon_const_kind: |_, key|
                crate::query::plumbing::default_query("anon_const_kind",
                    &key),
            trivial_const: |_, key|
                crate::query::plumbing::default_query("trivial_const", &key),
            sanitizer_settings_for: |_, key|
                crate::query::plumbing::default_query("sanitizer_settings_for",
                    &key),
            check_externally_implementable_items: |_, key|
                crate::query::plumbing::default_query("check_externally_implementable_items",
                    &key),
            externally_implementable_items: |_, key|
                crate::query::plumbing::default_query("externally_implementable_items",
                    &key),
        }
    }
}
impl Default for ExternProviders {
    fn default() -> Self {
        ExternProviders {
            derive_macro_expansion: (),
            trigger_delayed_bug: (),
            registered_tools: (),
            early_lint_checks: (),
            env_var_os: (),
            resolutions: (),
            resolver_for_lowering_raw: (),
            source_span: (),
            hir_crate: (),
            hir_crate_items: (),
            hir_module_items: (),
            local_def_id_to_hir_id: (),
            hir_owner_parent: (),
            opt_hir_owner_nodes: (),
            hir_attr_map: (),
            opt_ast_lowering_delayed_lints: (),
            const_param_default: |_, key|
                crate::query::plumbing::default_extern_query("const_param_default",
                    &key),
            const_of_item: |_, key|
                crate::query::plumbing::default_extern_query("const_of_item",
                    &key),
            type_of: |_, key|
                crate::query::plumbing::default_extern_query("type_of", &key),
            type_of_opaque: (),
            type_of_opaque_hir_typeck: (),
            type_alias_is_lazy: |_, key|
                crate::query::plumbing::default_extern_query("type_alias_is_lazy",
                    &key),
            collect_return_position_impl_trait_in_trait_tys: |_, key|
                crate::query::plumbing::default_extern_query("collect_return_position_impl_trait_in_trait_tys",
                    &key),
            opaque_ty_origin: |_, key|
                crate::query::plumbing::default_extern_query("opaque_ty_origin",
                    &key),
            unsizing_params_for_adt: (),
            analysis: (),
            check_expectations: (),
            generics_of: |_, key|
                crate::query::plumbing::default_extern_query("generics_of",
                    &key),
            predicates_of: (),
            opaque_types_defined_by: (),
            nested_bodies_within: (),
            explicit_item_bounds: |_, key|
                crate::query::plumbing::default_extern_query("explicit_item_bounds",
                    &key),
            explicit_item_self_bounds: |_, key|
                crate::query::plumbing::default_extern_query("explicit_item_self_bounds",
                    &key),
            item_bounds: (),
            item_self_bounds: (),
            item_non_self_bounds: (),
            impl_super_outlives: (),
            native_libraries: |_, key|
                crate::query::plumbing::default_extern_query("native_libraries",
                    &key),
            shallow_lint_levels_on: (),
            lint_expectations: (),
            lints_that_dont_need_to_run: (),
            expn_that_defined: |_, key|
                crate::query::plumbing::default_extern_query("expn_that_defined",
                    &key),
            is_panic_runtime: |_, key|
                crate::query::plumbing::default_extern_query("is_panic_runtime",
                    &key),
            representability: (),
            representability_adt_ty: (),
            params_in_repr: |_, key|
                crate::query::plumbing::default_extern_query("params_in_repr",
                    &key),
            thir_body: (),
            mir_keys: (),
            mir_const_qualif: |_, key|
                crate::query::plumbing::default_extern_query("mir_const_qualif",
                    &key),
            mir_built: (),
            thir_abstract_const: |_, key|
                crate::query::plumbing::default_extern_query("thir_abstract_const",
                    &key),
            mir_drops_elaborated_and_const_checked: (),
            mir_for_ctfe: |_, key|
                crate::query::plumbing::default_extern_query("mir_for_ctfe",
                    &key),
            mir_promoted: (),
            closure_typeinfo: (),
            closure_saved_names_of_captured_variables: |_, key|
                crate::query::plumbing::default_extern_query("closure_saved_names_of_captured_variables",
                    &key),
            mir_coroutine_witnesses: |_, key|
                crate::query::plumbing::default_extern_query("mir_coroutine_witnesses",
                    &key),
            check_coroutine_obligations: (),
            check_potentially_region_dependent_goals: (),
            optimized_mir: |_, key|
                crate::query::plumbing::default_extern_query("optimized_mir",
                    &key),
            coverage_attr_on: (),
            coverage_ids_info: (),
            promoted_mir: |_, key|
                crate::query::plumbing::default_extern_query("promoted_mir",
                    &key),
            erase_and_anonymize_regions_ty: (),
            wasm_import_module_map: (),
            trait_explicit_predicates_and_bounds: (),
            explicit_predicates_of: |_, key|
                crate::query::plumbing::default_extern_query("explicit_predicates_of",
                    &key),
            inferred_outlives_of: |_, key|
                crate::query::plumbing::default_extern_query("inferred_outlives_of",
                    &key),
            explicit_super_predicates_of: |_, key|
                crate::query::plumbing::default_extern_query("explicit_super_predicates_of",
                    &key),
            explicit_implied_predicates_of: |_, key|
                crate::query::plumbing::default_extern_query("explicit_implied_predicates_of",
                    &key),
            explicit_supertraits_containing_assoc_item: (),
            const_conditions: |_, key|
                crate::query::plumbing::default_extern_query("const_conditions",
                    &key),
            explicit_implied_const_bounds: |_, key|
                crate::query::plumbing::default_extern_query("explicit_implied_const_bounds",
                    &key),
            type_param_predicates: (),
            trait_def: |_, key|
                crate::query::plumbing::default_extern_query("trait_def",
                    &key),
            adt_def: |_, key|
                crate::query::plumbing::default_extern_query("adt_def", &key),
            adt_destructor: |_, key|
                crate::query::plumbing::default_extern_query("adt_destructor",
                    &key),
            adt_async_destructor: |_, key|
                crate::query::plumbing::default_extern_query("adt_async_destructor",
                    &key),
            adt_sizedness_constraint: (),
            adt_dtorck_constraint: (),
            constness: |_, key|
                crate::query::plumbing::default_extern_query("constness",
                    &key),
            asyncness: |_, key|
                crate::query::plumbing::default_extern_query("asyncness",
                    &key),
            is_promotable_const_fn: (),
            coroutine_by_move_body_def_id: |_, key|
                crate::query::plumbing::default_extern_query("coroutine_by_move_body_def_id",
                    &key),
            coroutine_kind: |_, key|
                crate::query::plumbing::default_extern_query("coroutine_kind",
                    &key),
            coroutine_for_closure: |_, key|
                crate::query::plumbing::default_extern_query("coroutine_for_closure",
                    &key),
            coroutine_hidden_types: (),
            crate_variances: (),
            variances_of: |_, key|
                crate::query::plumbing::default_extern_query("variances_of",
                    &key),
            inferred_outlives_crate: (),
            associated_item_def_ids: |_, key|
                crate::query::plumbing::default_extern_query("associated_item_def_ids",
                    &key),
            associated_item: |_, key|
                crate::query::plumbing::default_extern_query("associated_item",
                    &key),
            associated_items: (),
            impl_item_implementor_ids: (),
            associated_types_for_impl_traits_in_trait_or_impl: |_, key|
                crate::query::plumbing::default_extern_query("associated_types_for_impl_traits_in_trait_or_impl",
                    &key),
            impl_trait_header: |_, key|
                crate::query::plumbing::default_extern_query("impl_trait_header",
                    &key),
            impl_self_is_guaranteed_unsized: (),
            inherent_impls: |_, key|
                crate::query::plumbing::default_extern_query("inherent_impls",
                    &key),
            incoherent_impls: (),
            check_transmutes: (),
            check_unsafety: (),
            check_tail_calls: (),
            assumed_wf_types: (),
            assumed_wf_types_for_rpitit: |_, key|
                crate::query::plumbing::default_extern_query("assumed_wf_types_for_rpitit",
                    &key),
            fn_sig: |_, key|
                crate::query::plumbing::default_extern_query("fn_sig", &key),
            lint_mod: (),
            check_unused_traits: (),
            check_mod_attrs: (),
            check_mod_unstable_api_usage: (),
            check_mod_privacy: (),
            check_liveness: (),
            live_symbols_and_ignored_derived_traits: (),
            check_mod_deathness: (),
            check_type_wf: (),
            coerce_unsized_info: |_, key|
                crate::query::plumbing::default_extern_query("coerce_unsized_info",
                    &key),
            typeck: (),
            used_trait_imports: (),
            coherent_trait: (),
            mir_borrowck: (),
            crate_inherent_impls: (),
            crate_inherent_impls_validity_check: (),
            crate_inherent_impls_overlap_check: (),
            orphan_check_impl: (),
            mir_callgraph_cyclic: (),
            mir_inliner_callees: (),
            tag_for_variant: (),
            eval_to_allocation_raw: (),
            eval_static_initializer: |_, key|
                crate::query::plumbing::default_extern_query("eval_static_initializer",
                    &key),
            eval_to_const_value_raw: (),
            eval_to_valtree: (),
            valtree_to_const_val: (),
            lit_to_const: (),
            check_match: (),
            effective_visibilities: (),
            check_private_in_public: (),
            reachable_set: (),
            region_scope_tree: (),
            mir_shims: (),
            symbol_name: (),
            def_kind: |_, key|
                crate::query::plumbing::default_extern_query("def_kind",
                    &key),
            def_span: |_, key|
                crate::query::plumbing::default_extern_query("def_span",
                    &key),
            def_ident_span: |_, key|
                crate::query::plumbing::default_extern_query("def_ident_span",
                    &key),
            ty_span: (),
            lookup_stability: |_, key|
                crate::query::plumbing::default_extern_query("lookup_stability",
                    &key),
            lookup_const_stability: |_, key|
                crate::query::plumbing::default_extern_query("lookup_const_stability",
                    &key),
            lookup_default_body_stability: |_, key|
                crate::query::plumbing::default_extern_query("lookup_default_body_stability",
                    &key),
            should_inherit_track_caller: (),
            inherited_align: (),
            lookup_deprecation_entry: |_, key|
                crate::query::plumbing::default_extern_query("lookup_deprecation_entry",
                    &key),
            is_doc_hidden: |_, key|
                crate::query::plumbing::default_extern_query("is_doc_hidden",
                    &key),
            is_doc_notable_trait: (),
            attrs_for_def: |_, key|
                crate::query::plumbing::default_extern_query("attrs_for_def",
                    &key),
            codegen_fn_attrs: |_, key|
                crate::query::plumbing::default_extern_query("codegen_fn_attrs",
                    &key),
            asm_target_features: (),
            fn_arg_idents: |_, key|
                crate::query::plumbing::default_extern_query("fn_arg_idents",
                    &key),
            rendered_const: |_, key|
                crate::query::plumbing::default_extern_query("rendered_const",
                    &key),
            rendered_precise_capturing_args: |_, key|
                crate::query::plumbing::default_extern_query("rendered_precise_capturing_args",
                    &key),
            impl_parent: |_, key|
                crate::query::plumbing::default_extern_query("impl_parent",
                    &key),
            is_ctfe_mir_available: |_, key|
                crate::query::plumbing::default_extern_query("is_ctfe_mir_available",
                    &key),
            is_mir_available: |_, key|
                crate::query::plumbing::default_extern_query("is_mir_available",
                    &key),
            own_existential_vtable_entries: (),
            vtable_entries: (),
            first_method_vtable_slot: (),
            supertrait_vtable_slot: (),
            vtable_allocation: (),
            codegen_select_candidate: (),
            all_local_trait_impls: (),
            local_trait_impls: (),
            trait_impls_of: (),
            specialization_graph_of: (),
            dyn_compatibility_violations: (),
            is_dyn_compatible: (),
            param_env: (),
            typing_env_normalized_for_post_analysis: (),
            is_copy_raw: (),
            is_use_cloned_raw: (),
            is_sized_raw: (),
            is_freeze_raw: (),
            is_unpin_raw: (),
            is_async_drop_raw: (),
            needs_drop_raw: (),
            needs_async_drop_raw: (),
            has_significant_drop_raw: (),
            has_structural_eq_impl: (),
            adt_drop_tys: (),
            adt_async_drop_tys: (),
            adt_significant_drop_tys: (),
            list_significant_drop_tys: (),
            layout_of: (),
            fn_abi_of_fn_ptr: (),
            fn_abi_of_instance: (),
            dylib_dependency_formats: |_, key|
                crate::query::plumbing::default_extern_query("dylib_dependency_formats",
                    &key),
            dependency_formats: (),
            is_compiler_builtins: |_, key|
                crate::query::plumbing::default_extern_query("is_compiler_builtins",
                    &key),
            has_global_allocator: |_, key|
                crate::query::plumbing::default_extern_query("has_global_allocator",
                    &key),
            has_alloc_error_handler: |_, key|
                crate::query::plumbing::default_extern_query("has_alloc_error_handler",
                    &key),
            has_panic_handler: |_, key|
                crate::query::plumbing::default_extern_query("has_panic_handler",
                    &key),
            is_profiler_runtime: |_, key|
                crate::query::plumbing::default_extern_query("is_profiler_runtime",
                    &key),
            has_ffi_unwind_calls: (),
            required_panic_strategy: |_, key|
                crate::query::plumbing::default_extern_query("required_panic_strategy",
                    &key),
            panic_in_drop_strategy: |_, key|
                crate::query::plumbing::default_extern_query("panic_in_drop_strategy",
                    &key),
            is_no_builtins: |_, key|
                crate::query::plumbing::default_extern_query("is_no_builtins",
                    &key),
            symbol_mangling_version: |_, key|
                crate::query::plumbing::default_extern_query("symbol_mangling_version",
                    &key),
            extern_crate: |_, key|
                crate::query::plumbing::default_extern_query("extern_crate",
                    &key),
            specialization_enabled_in: |_, key|
                crate::query::plumbing::default_extern_query("specialization_enabled_in",
                    &key),
            specializes: (),
            in_scope_traits_map: (),
            defaultness: |_, key|
                crate::query::plumbing::default_extern_query("defaultness",
                    &key),
            default_field: |_, key|
                crate::query::plumbing::default_extern_query("default_field",
                    &key),
            check_well_formed: (),
            enforce_impl_non_lifetime_params_are_constrained: (),
            reachable_non_generics: |_, key|
                crate::query::plumbing::default_extern_query("reachable_non_generics",
                    &key),
            is_reachable_non_generic: |_, key|
                crate::query::plumbing::default_extern_query("is_reachable_non_generic",
                    &key),
            is_unreachable_local_definition: (),
            upstream_monomorphizations: (),
            upstream_monomorphizations_for: |_, key|
                crate::query::plumbing::default_extern_query("upstream_monomorphizations_for",
                    &key),
            upstream_drop_glue_for: (),
            upstream_async_drop_glue_for: (),
            foreign_modules: |_, key|
                crate::query::plumbing::default_extern_query("foreign_modules",
                    &key),
            clashing_extern_declarations: (),
            entry_fn: (),
            proc_macro_decls_static: (),
            crate_hash: |_, key|
                crate::query::plumbing::default_extern_query("crate_hash",
                    &key),
            crate_host_hash: |_, key|
                crate::query::plumbing::default_extern_query("crate_host_hash",
                    &key),
            extra_filename: |_, key|
                crate::query::plumbing::default_extern_query("extra_filename",
                    &key),
            crate_extern_paths: |_, key|
                crate::query::plumbing::default_extern_query("crate_extern_paths",
                    &key),
            implementations_of_trait: |_, key|
                crate::query::plumbing::default_extern_query("implementations_of_trait",
                    &key),
            crate_incoherent_impls: |_, key|
                crate::query::plumbing::default_extern_query("crate_incoherent_impls",
                    &key),
            native_library: (),
            inherit_sig_for_delegation_item: (),
            resolve_bound_vars: (),
            named_variable_map: (),
            is_late_bound_map: (),
            object_lifetime_default: |_, key|
                crate::query::plumbing::default_extern_query("object_lifetime_default",
                    &key),
            late_bound_vars_map: (),
            opaque_captured_lifetimes: (),
            visibility: |_, key|
                crate::query::plumbing::default_extern_query("visibility",
                    &key),
            inhabited_predicate_adt: (),
            inhabited_predicate_type: (),
            dep_kind: |_, key|
                crate::query::plumbing::default_extern_query("dep_kind",
                    &key),
            crate_name: |_, key|
                crate::query::plumbing::default_extern_query("crate_name",
                    &key),
            module_children: |_, key|
                crate::query::plumbing::default_extern_query("module_children",
                    &key),
            num_extern_def_ids: |_, key|
                crate::query::plumbing::default_extern_query("num_extern_def_ids",
                    &key),
            lib_features: |_, key|
                crate::query::plumbing::default_extern_query("lib_features",
                    &key),
            stability_implications: |_, key|
                crate::query::plumbing::default_extern_query("stability_implications",
                    &key),
            intrinsic_raw: |_, key|
                crate::query::plumbing::default_extern_query("intrinsic_raw",
                    &key),
            get_lang_items: (),
            all_diagnostic_items: (),
            defined_lang_items: |_, key|
                crate::query::plumbing::default_extern_query("defined_lang_items",
                    &key),
            diagnostic_items: |_, key|
                crate::query::plumbing::default_extern_query("diagnostic_items",
                    &key),
            missing_lang_items: |_, key|
                crate::query::plumbing::default_extern_query("missing_lang_items",
                    &key),
            visible_parent_map: (),
            trimmed_def_paths: (),
            missing_extern_crate_item: |_, key|
                crate::query::plumbing::default_extern_query("missing_extern_crate_item",
                    &key),
            used_crate_source: |_, key|
                crate::query::plumbing::default_extern_query("used_crate_source",
                    &key),
            debugger_visualizers: |_, key|
                crate::query::plumbing::default_extern_query("debugger_visualizers",
                    &key),
            postorder_cnums: (),
            is_private_dep: |_, key|
                crate::query::plumbing::default_extern_query("is_private_dep",
                    &key),
            allocator_kind: (),
            alloc_error_handler_kind: (),
            upvars_mentioned: (),
            crates: (),
            used_crates: (),
            duplicate_crate_names: (),
            traits: |_, key|
                crate::query::plumbing::default_extern_query("traits", &key),
            trait_impls_in_crate: |_, key|
                crate::query::plumbing::default_extern_query("trait_impls_in_crate",
                    &key),
            stable_order_of_exportable_impls: |_, key|
                crate::query::plumbing::default_extern_query("stable_order_of_exportable_impls",
                    &key),
            exportable_items: |_, key|
                crate::query::plumbing::default_extern_query("exportable_items",
                    &key),
            exported_non_generic_symbols: |_, key|
                crate::query::plumbing::default_extern_query("exported_non_generic_symbols",
                    &key),
            exported_generic_symbols: |_, key|
                crate::query::plumbing::default_extern_query("exported_generic_symbols",
                    &key),
            collect_and_partition_mono_items: (),
            is_codegened_item: (),
            codegen_unit: (),
            backend_optimization_level: (),
            output_filenames: (),
            normalize_canonicalized_projection: (),
            normalize_canonicalized_free_alias: (),
            normalize_canonicalized_inherent_projection: (),
            try_normalize_generic_arg_after_erasing_regions: (),
            implied_outlives_bounds: (),
            dropck_outlives: (),
            evaluate_obligation: (),
            type_op_ascribe_user_type: (),
            type_op_prove_predicate: (),
            type_op_normalize_ty: (),
            type_op_normalize_clause: (),
            type_op_normalize_poly_fn_sig: (),
            type_op_normalize_fn_sig: (),
            instantiate_and_check_impossible_predicates: (),
            is_impossible_associated_item: (),
            method_autoderef_steps: (),
            evaluate_root_goal_for_proof_tree_raw: (),
            rust_target_features: (),
            implied_target_features: (),
            features_query: (),
            crate_for_resolver: (),
            resolve_instance_raw: (),
            reveal_opaque_types_in_bounds: (),
            limits: (),
            diagnostic_hir_wf_check: (),
            global_backend_features: (),
            check_validity_requirement: (),
            compare_impl_item: (),
            deduced_param_attrs: |_, key|
                crate::query::plumbing::default_extern_query("deduced_param_attrs",
                    &key),
            doc_link_resolutions: |_, key|
                crate::query::plumbing::default_extern_query("doc_link_resolutions",
                    &key),
            doc_link_traits_in_scope: |_, key|
                crate::query::plumbing::default_extern_query("doc_link_traits_in_scope",
                    &key),
            stripped_cfg_items: |_, key|
                crate::query::plumbing::default_extern_query("stripped_cfg_items",
                    &key),
            generics_require_sized_self: (),
            cross_crate_inlinable: |_, key|
                crate::query::plumbing::default_extern_query("cross_crate_inlinable",
                    &key),
            check_mono_item: (),
            skip_move_check_fns: (),
            items_of_instance: (),
            size_estimate: (),
            anon_const_kind: |_, key|
                crate::query::plumbing::default_extern_query("anon_const_kind",
                    &key),
            trivial_const: |_, key|
                crate::query::plumbing::default_extern_query("trivial_const",
                    &key),
            sanitizer_settings_for: (),
            check_externally_implementable_items: (),
            externally_implementable_items: |_, key|
                crate::query::plumbing::default_extern_query("externally_implementable_items",
                    &key),
        }
    }
}
impl Copy for Providers {}
impl Clone for Providers {
    fn clone(&self) -> Self { *self }
}
impl Copy for ExternProviders {}
impl Clone for ExternProviders {
    fn clone(&self) -> Self { *self }
}
pub struct QueryEngine {
    pub derive_macro_expansion: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::derive_macro_expansion::Key<'tcx>, QueryMode)
        -> Option<Erase<Result<&'tcx TokenStream, ()>>>,
    pub trigger_delayed_bug: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::trigger_delayed_bug::Key<'tcx>, QueryMode)
        -> Option<Erase<()>>,
    pub registered_tools: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::registered_tools::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx ty::RegisteredTools>>,
    pub early_lint_checks: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::early_lint_checks::Key<'tcx>, QueryMode)
        -> Option<Erase<()>>,
    pub env_var_os: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::env_var_os::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<&'tcx OsStr>>>,
    pub resolutions: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::resolutions::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx ty::ResolverGlobalCtxt>>,
    pub resolver_for_lowering_raw: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::resolver_for_lowering_raw::Key<'tcx>, QueryMode)
        ->
            Option<Erase<(&'tcx Steal<(ty::ResolverAstLowering,
            Arc<ast::Crate>)>, &'tcx ty::ResolverGlobalCtxt)>>,
    pub source_span: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::source_span::Key<'tcx>, QueryMode) -> Option<Erase<Span>>,
    pub hir_crate: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::hir_crate::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx Crate<'tcx>>>,
    pub hir_crate_items: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::hir_crate_items::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx rustc_middle::hir::ModuleItems>>,
    pub hir_module_items: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::hir_module_items::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx rustc_middle::hir::ModuleItems>>,
    pub local_def_id_to_hir_id: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::local_def_id_to_hir_id::Key<'tcx>, QueryMode)
        -> Option<Erase<hir::HirId>>,
    pub hir_owner_parent: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::hir_owner_parent::Key<'tcx>, QueryMode)
        -> Option<Erase<hir::HirId>>,
    pub opt_hir_owner_nodes: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::opt_hir_owner_nodes::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<&'tcx hir::OwnerNodes<'tcx>>>>,
    pub hir_attr_map: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::hir_attr_map::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx hir::AttributeMap<'tcx>>>,
    pub opt_ast_lowering_delayed_lints: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::opt_ast_lowering_delayed_lints::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<&'tcx hir::lints::DelayedLints>>>,
    pub const_param_default: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::const_param_default::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::EarlyBinder<'tcx, ty::Const<'tcx>>>>,
    pub const_of_item: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::const_of_item::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::EarlyBinder<'tcx, ty::Const<'tcx>>>>,
    pub type_of: for<'tcx> fn(TyCtxt<'tcx>, Span, queries::type_of::Key<'tcx>,
        QueryMode) -> Option<Erase<ty::EarlyBinder<'tcx, Ty<'tcx>>>>,
    pub type_of_opaque: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::type_of_opaque::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<ty::EarlyBinder<'tcx, Ty<'tcx>>,
            CyclePlaceholder>>>,
    pub type_of_opaque_hir_typeck: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::type_of_opaque_hir_typeck::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::EarlyBinder<'tcx, Ty<'tcx>>>>,
    pub type_alias_is_lazy: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::type_alias_is_lazy::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub collect_return_position_impl_trait_in_trait_tys: for<'tcx> fn(TyCtxt<'tcx>,
        Span,
        queries::collect_return_position_impl_trait_in_trait_tys::Key<'tcx>,
        QueryMode)
        ->
            Option<Erase<Result<&'tcx DefIdMap<ty::EarlyBinder<'tcx,
            Ty<'tcx>>>, ErrorGuaranteed>>>,
    pub opaque_ty_origin: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::opaque_ty_origin::Key<'tcx>, QueryMode)
        -> Option<Erase<hir::OpaqueTyOrigin<DefId>>>,
    pub unsizing_params_for_adt: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::unsizing_params_for_adt::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx rustc_index::bit_set::DenseBitSet<u32>>>,
    pub analysis: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::analysis::Key<'tcx>, QueryMode) -> Option<Erase<()>>,
    pub check_expectations: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_expectations::Key<'tcx>, QueryMode)
        -> Option<Erase<()>>,
    pub generics_of: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::generics_of::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx ty::Generics>>,
    pub predicates_of: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::predicates_of::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::GenericPredicates<'tcx>>>,
    pub opaque_types_defined_by: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::opaque_types_defined_by::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx ty::List<LocalDefId>>>,
    pub nested_bodies_within: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::nested_bodies_within::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx ty::List<LocalDefId>>>,
    pub explicit_item_bounds: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::explicit_item_bounds::Key<'tcx>, QueryMode)
        ->
            Option<Erase<ty::EarlyBinder<'tcx,
            &'tcx [(ty::Clause<'tcx>, Span)]>>>,
    pub explicit_item_self_bounds: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::explicit_item_self_bounds::Key<'tcx>, QueryMode)
        ->
            Option<Erase<ty::EarlyBinder<'tcx,
            &'tcx [(ty::Clause<'tcx>, Span)]>>>,
    pub item_bounds: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::item_bounds::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::EarlyBinder<'tcx, ty::Clauses<'tcx>>>>,
    pub item_self_bounds: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::item_self_bounds::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::EarlyBinder<'tcx, ty::Clauses<'tcx>>>>,
    pub item_non_self_bounds: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::item_non_self_bounds::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::EarlyBinder<'tcx, ty::Clauses<'tcx>>>>,
    pub impl_super_outlives: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::impl_super_outlives::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::EarlyBinder<'tcx, ty::Clauses<'tcx>>>>,
    pub native_libraries: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::native_libraries::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx Vec<NativeLib>>>,
    pub shallow_lint_levels_on: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::shallow_lint_levels_on::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx rustc_middle::lint::ShallowLintLevelMap>>,
    pub lint_expectations: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::lint_expectations::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx Vec<(LintExpectationId, LintExpectation)>>>,
    pub lints_that_dont_need_to_run: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::lints_that_dont_need_to_run::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx UnordSet<LintId>>>,
    pub expn_that_defined: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::expn_that_defined::Key<'tcx>, QueryMode)
        -> Option<Erase<rustc_span::ExpnId>>,
    pub is_panic_runtime: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_panic_runtime::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub representability: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::representability::Key<'tcx>, QueryMode)
        -> Option<Erase<rustc_middle::ty::Representability>>,
    pub representability_adt_ty: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::representability_adt_ty::Key<'tcx>, QueryMode)
        -> Option<Erase<rustc_middle::ty::Representability>>,
    pub params_in_repr: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::params_in_repr::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx rustc_index::bit_set::DenseBitSet<u32>>>,
    pub thir_body: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::thir_body::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<(&'tcx Steal<thir::Thir<'tcx>>, thir::ExprId),
            ErrorGuaranteed>>>,
    pub mir_keys: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::mir_keys::Key<'tcx>, QueryMode)
        ->
            Option<Erase<&'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId>>>,
    pub mir_const_qualif: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::mir_const_qualif::Key<'tcx>, QueryMode)
        -> Option<Erase<mir::ConstQualifs>>,
    pub mir_built: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::mir_built::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx Steal<mir::Body<'tcx>>>>,
    pub thir_abstract_const: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::thir_abstract_const::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<Option<ty::EarlyBinder<'tcx,
            ty::Const<'tcx>>>, ErrorGuaranteed>>>,
    pub mir_drops_elaborated_and_const_checked: for<'tcx> fn(TyCtxt<'tcx>,
        Span, queries::mir_drops_elaborated_and_const_checked::Key<'tcx>,
        QueryMode) -> Option<Erase<&'tcx Steal<mir::Body<'tcx>>>>,
    pub mir_for_ctfe: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::mir_for_ctfe::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx mir::Body<'tcx>>>,
    pub mir_promoted: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::mir_promoted::Key<'tcx>, QueryMode)
        ->
            Option<Erase<(&'tcx Steal<mir::Body<'tcx>>,
            &'tcx Steal<IndexVec<mir::Promoted, mir::Body<'tcx>>>)>>,
    pub closure_typeinfo: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::closure_typeinfo::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::ClosureTypeInfo<'tcx>>>,
    pub closure_saved_names_of_captured_variables: for<'tcx> fn(TyCtxt<'tcx>,
        Span, queries::closure_saved_names_of_captured_variables::Key<'tcx>,
        QueryMode) -> Option<Erase<&'tcx IndexVec<abi::FieldIdx, Symbol>>>,
    pub mir_coroutine_witnesses: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::mir_coroutine_witnesses::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<&'tcx mir::CoroutineLayout<'tcx>>>>,
    pub check_coroutine_obligations: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_coroutine_obligations::Key<'tcx>, QueryMode)
        -> Option<Erase<Result<(), ErrorGuaranteed>>>,
    pub check_potentially_region_dependent_goals: for<'tcx> fn(TyCtxt<'tcx>,
        Span, queries::check_potentially_region_dependent_goals::Key<'tcx>,
        QueryMode) -> Option<Erase<Result<(), ErrorGuaranteed>>>,
    pub optimized_mir: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::optimized_mir::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx mir::Body<'tcx>>>,
    pub coverage_attr_on: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::coverage_attr_on::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub coverage_ids_info: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::coverage_ids_info::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<&'tcx mir::coverage::CoverageIdsInfo>>>,
    pub promoted_mir: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::promoted_mir::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx IndexVec<mir::Promoted, mir::Body<'tcx>>>>,
    pub erase_and_anonymize_regions_ty: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::erase_and_anonymize_regions_ty::Key<'tcx>, QueryMode)
        -> Option<Erase<Ty<'tcx>>>,
    pub wasm_import_module_map: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::wasm_import_module_map::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx DefIdMap<String>>>,
    pub trait_explicit_predicates_and_bounds: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::trait_explicit_predicates_and_bounds::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::GenericPredicates<'tcx>>>,
    pub explicit_predicates_of: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::explicit_predicates_of::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::GenericPredicates<'tcx>>>,
    pub inferred_outlives_of: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::inferred_outlives_of::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [(ty::Clause<'tcx>, Span)]>>,
    pub explicit_super_predicates_of: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::explicit_super_predicates_of::Key<'tcx>, QueryMode)
        ->
            Option<Erase<ty::EarlyBinder<'tcx,
            &'tcx [(ty::Clause<'tcx>, Span)]>>>,
    pub explicit_implied_predicates_of: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::explicit_implied_predicates_of::Key<'tcx>, QueryMode)
        ->
            Option<Erase<ty::EarlyBinder<'tcx,
            &'tcx [(ty::Clause<'tcx>, Span)]>>>,
    pub explicit_supertraits_containing_assoc_item: for<'tcx> fn(TyCtxt<'tcx>,
        Span, queries::explicit_supertraits_containing_assoc_item::Key<'tcx>,
        QueryMode)
        ->
            Option<Erase<ty::EarlyBinder<'tcx,
            &'tcx [(ty::Clause<'tcx>, Span)]>>>,
    pub const_conditions: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::const_conditions::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::ConstConditions<'tcx>>>,
    pub explicit_implied_const_bounds: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::explicit_implied_const_bounds::Key<'tcx>, QueryMode)
        ->
            Option<Erase<ty::EarlyBinder<'tcx,
            &'tcx [(ty::PolyTraitRef<'tcx>, Span)]>>>,
    pub type_param_predicates: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::type_param_predicates::Key<'tcx>, QueryMode)
        ->
            Option<Erase<ty::EarlyBinder<'tcx,
            &'tcx [(ty::Clause<'tcx>, Span)]>>>,
    pub trait_def: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::trait_def::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx ty::TraitDef>>,
    pub adt_def: for<'tcx> fn(TyCtxt<'tcx>, Span, queries::adt_def::Key<'tcx>,
        QueryMode) -> Option<Erase<ty::AdtDef<'tcx>>>,
    pub adt_destructor: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::adt_destructor::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<ty::Destructor>>>,
    pub adt_async_destructor: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::adt_async_destructor::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<ty::AsyncDestructor>>>,
    pub adt_sizedness_constraint: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::adt_sizedness_constraint::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<ty::EarlyBinder<'tcx, Ty<'tcx>>>>>,
    pub adt_dtorck_constraint: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::adt_dtorck_constraint::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx DropckConstraint<'tcx>>>,
    pub constness: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::constness::Key<'tcx>, QueryMode)
        -> Option<Erase<hir::Constness>>,
    pub asyncness: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::asyncness::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::Asyncness>>,
    pub is_promotable_const_fn: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_promotable_const_fn::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub coroutine_by_move_body_def_id: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::coroutine_by_move_body_def_id::Key<'tcx>, QueryMode)
        -> Option<Erase<DefId>>,
    pub coroutine_kind: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::coroutine_kind::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<hir::CoroutineKind>>>,
    pub coroutine_for_closure: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::coroutine_for_closure::Key<'tcx>, QueryMode)
        -> Option<Erase<DefId>>,
    pub coroutine_hidden_types: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::coroutine_hidden_types::Key<'tcx>, QueryMode)
        ->
            Option<Erase<ty::EarlyBinder<'tcx,
            ty::Binder<'tcx, ty::CoroutineWitnessTypes<TyCtxt<'tcx>>>>>>,
    pub crate_variances: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::crate_variances::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx ty::CrateVariancesMap<'tcx>>>,
    pub variances_of: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::variances_of::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [ty::Variance]>>,
    pub inferred_outlives_crate: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::inferred_outlives_crate::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx ty::CratePredicatesMap<'tcx>>>,
    pub associated_item_def_ids: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::associated_item_def_ids::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [DefId]>>,
    pub associated_item: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::associated_item::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::AssocItem>>,
    pub associated_items: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::associated_items::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx ty::AssocItems>>,
    pub impl_item_implementor_ids: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::impl_item_implementor_ids::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx DefIdMap<DefId>>>,
    pub associated_types_for_impl_traits_in_trait_or_impl: for<'tcx> fn(TyCtxt<'tcx>,
        Span,
        queries::associated_types_for_impl_traits_in_trait_or_impl::Key<'tcx>,
        QueryMode) -> Option<Erase<&'tcx DefIdMap<Vec<DefId>>>>,
    pub impl_trait_header: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::impl_trait_header::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::ImplTraitHeader<'tcx>>>,
    pub impl_self_is_guaranteed_unsized: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::impl_self_is_guaranteed_unsized::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub inherent_impls: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::inherent_impls::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [DefId]>>,
    pub incoherent_impls: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::incoherent_impls::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [DefId]>>,
    pub check_transmutes: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_transmutes::Key<'tcx>, QueryMode) -> Option<Erase<()>>,
    pub check_unsafety: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_unsafety::Key<'tcx>, QueryMode) -> Option<Erase<()>>,
    pub check_tail_calls: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_tail_calls::Key<'tcx>, QueryMode)
        -> Option<Erase<Result<(), rustc_errors::ErrorGuaranteed>>>,
    pub assumed_wf_types: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::assumed_wf_types::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [(Ty<'tcx>, Span)]>>,
    pub assumed_wf_types_for_rpitit: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::assumed_wf_types_for_rpitit::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [(Ty<'tcx>, Span)]>>,
    pub fn_sig: for<'tcx> fn(TyCtxt<'tcx>, Span, queries::fn_sig::Key<'tcx>,
        QueryMode)
        -> Option<Erase<ty::EarlyBinder<'tcx, ty::PolyFnSig<'tcx>>>>,
    pub lint_mod: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::lint_mod::Key<'tcx>, QueryMode) -> Option<Erase<()>>,
    pub check_unused_traits: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_unused_traits::Key<'tcx>, QueryMode)
        -> Option<Erase<()>>,
    pub check_mod_attrs: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_mod_attrs::Key<'tcx>, QueryMode) -> Option<Erase<()>>,
    pub check_mod_unstable_api_usage: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_mod_unstable_api_usage::Key<'tcx>, QueryMode)
        -> Option<Erase<()>>,
    pub check_mod_privacy: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_mod_privacy::Key<'tcx>, QueryMode)
        -> Option<Erase<()>>,
    pub check_liveness: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_liveness::Key<'tcx>, QueryMode)
        ->
            Option<Erase<&'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx>>>,
    pub live_symbols_and_ignored_derived_traits: for<'tcx> fn(TyCtxt<'tcx>,
        Span, queries::live_symbols_and_ignored_derived_traits::Key<'tcx>,
        QueryMode)
        ->
            Option<Erase<&'tcx Result<(LocalDefIdSet,
            LocalDefIdMap<FxIndexSet<DefId>>), ErrorGuaranteed>>>,
    pub check_mod_deathness: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_mod_deathness::Key<'tcx>, QueryMode)
        -> Option<Erase<()>>,
    pub check_type_wf: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_type_wf::Key<'tcx>, QueryMode)
        -> Option<Erase<Result<(), ErrorGuaranteed>>>,
    pub coerce_unsized_info: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::coerce_unsized_info::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<ty::adjustment::CoerceUnsizedInfo,
            ErrorGuaranteed>>>,
    pub typeck: for<'tcx> fn(TyCtxt<'tcx>, Span, queries::typeck::Key<'tcx>,
        QueryMode) -> Option<Erase<&'tcx ty::TypeckResults<'tcx>>>,
    pub used_trait_imports: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::used_trait_imports::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx UnordSet<LocalDefId>>>,
    pub coherent_trait: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::coherent_trait::Key<'tcx>, QueryMode)
        -> Option<Erase<Result<(), ErrorGuaranteed>>>,
    pub mir_borrowck: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::mir_borrowck::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx FxIndexMap<LocalDefId,
            ty::DefinitionSiteHiddenType<'tcx>>, ErrorGuaranteed>>>,
    pub crate_inherent_impls: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::crate_inherent_impls::Key<'tcx>, QueryMode)
        ->
            Option<Erase<(&'tcx CrateInherentImpls,
            Result<(), ErrorGuaranteed>)>>,
    pub crate_inherent_impls_validity_check: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::crate_inherent_impls_validity_check::Key<'tcx>, QueryMode)
        -> Option<Erase<Result<(), ErrorGuaranteed>>>,
    pub crate_inherent_impls_overlap_check: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::crate_inherent_impls_overlap_check::Key<'tcx>, QueryMode)
        -> Option<Erase<Result<(), ErrorGuaranteed>>>,
    pub orphan_check_impl: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::orphan_check_impl::Key<'tcx>, QueryMode)
        -> Option<Erase<Result<(), ErrorGuaranteed>>>,
    pub mir_callgraph_cyclic: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::mir_callgraph_cyclic::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx Option<UnordSet<LocalDefId>>>>,
    pub mir_inliner_callees: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::mir_inliner_callees::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [(DefId, GenericArgsRef<'tcx>)]>>,
    pub tag_for_variant: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::tag_for_variant::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<ty::ScalarInt>>>,
    pub eval_to_allocation_raw: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::eval_to_allocation_raw::Key<'tcx>, QueryMode)
        -> Option<Erase<EvalToAllocationRawResult<'tcx>>>,
    pub eval_static_initializer: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::eval_static_initializer::Key<'tcx>, QueryMode)
        -> Option<Erase<EvalStaticInitializerRawResult<'tcx>>>,
    pub eval_to_const_value_raw: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::eval_to_const_value_raw::Key<'tcx>, QueryMode)
        -> Option<Erase<EvalToConstValueResult<'tcx>>>,
    pub eval_to_valtree: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::eval_to_valtree::Key<'tcx>, QueryMode)
        -> Option<Erase<EvalToValTreeResult<'tcx>>>,
    pub valtree_to_const_val: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::valtree_to_const_val::Key<'tcx>, QueryMode)
        -> Option<Erase<mir::ConstValue>>,
    pub lit_to_const: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::lit_to_const::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::Const<'tcx>>>,
    pub check_match: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_match::Key<'tcx>, QueryMode)
        -> Option<Erase<Result<(), rustc_errors::ErrorGuaranteed>>>,
    pub effective_visibilities: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::effective_visibilities::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx EffectiveVisibilities>>,
    pub check_private_in_public: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_private_in_public::Key<'tcx>, QueryMode)
        -> Option<Erase<()>>,
    pub reachable_set: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::reachable_set::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx LocalDefIdSet>>,
    pub region_scope_tree: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::region_scope_tree::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx crate::middle::region::ScopeTree>>,
    pub mir_shims: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::mir_shims::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx mir::Body<'tcx>>>,
    pub symbol_name: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::symbol_name::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::SymbolName<'tcx>>>,
    pub def_kind: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::def_kind::Key<'tcx>, QueryMode) -> Option<Erase<DefKind>>,
    pub def_span: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::def_span::Key<'tcx>, QueryMode) -> Option<Erase<Span>>,
    pub def_ident_span: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::def_ident_span::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<Span>>>,
    pub ty_span: for<'tcx> fn(TyCtxt<'tcx>, Span, queries::ty_span::Key<'tcx>,
        QueryMode) -> Option<Erase<Span>>,
    pub lookup_stability: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::lookup_stability::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<hir::Stability>>>,
    pub lookup_const_stability: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::lookup_const_stability::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<hir::ConstStability>>>,
    pub lookup_default_body_stability: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::lookup_default_body_stability::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<hir::DefaultBodyStability>>>,
    pub should_inherit_track_caller: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::should_inherit_track_caller::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub inherited_align: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::inherited_align::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<Align>>>,
    pub lookup_deprecation_entry: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::lookup_deprecation_entry::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<DeprecationEntry>>>,
    pub is_doc_hidden: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_doc_hidden::Key<'tcx>, QueryMode) -> Option<Erase<bool>>,
    pub is_doc_notable_trait: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_doc_notable_trait::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub attrs_for_def: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::attrs_for_def::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [hir::Attribute]>>,
    pub codegen_fn_attrs: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::codegen_fn_attrs::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx CodegenFnAttrs>>,
    pub asm_target_features: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::asm_target_features::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx FxIndexSet<Symbol>>>,
    pub fn_arg_idents: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::fn_arg_idents::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [Option<rustc_span::Ident>]>>,
    pub rendered_const: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::rendered_const::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx String>>,
    pub rendered_precise_capturing_args: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::rendered_precise_capturing_args::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Option<&'tcx [PreciseCapturingArgKind<Symbol,
            Symbol>]>>>,
    pub impl_parent: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::impl_parent::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<DefId>>>,
    pub is_ctfe_mir_available: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_ctfe_mir_available::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub is_mir_available: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_mir_available::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub own_existential_vtable_entries: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::own_existential_vtable_entries::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [DefId]>>,
    pub vtable_entries: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::vtable_entries::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [ty::VtblEntry<'tcx>]>>,
    pub first_method_vtable_slot: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::first_method_vtable_slot::Key<'tcx>, QueryMode)
        -> Option<Erase<usize>>,
    pub supertrait_vtable_slot: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::supertrait_vtable_slot::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<usize>>>,
    pub vtable_allocation: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::vtable_allocation::Key<'tcx>, QueryMode)
        -> Option<Erase<mir::interpret::AllocId>>,
    pub codegen_select_candidate: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::codegen_select_candidate::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx ImplSource<'tcx, ()>,
            CodegenObligationError>>>,
    pub all_local_trait_impls: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::all_local_trait_impls::Key<'tcx>, QueryMode)
        ->
            Option<Erase<&'tcx rustc_data_structures::fx::FxIndexMap<DefId,
            Vec<LocalDefId>>>>,
    pub local_trait_impls: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::local_trait_impls::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [LocalDefId]>>,
    pub trait_impls_of: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::trait_impls_of::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx ty::trait_def::TraitImpls>>,
    pub specialization_graph_of: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::specialization_graph_of::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx specialization_graph::Graph,
            ErrorGuaranteed>>>,
    pub dyn_compatibility_violations: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::dyn_compatibility_violations::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [DynCompatibilityViolation]>>,
    pub is_dyn_compatible: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_dyn_compatible::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub param_env: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::param_env::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::ParamEnv<'tcx>>>,
    pub typing_env_normalized_for_post_analysis: for<'tcx> fn(TyCtxt<'tcx>,
        Span, queries::typing_env_normalized_for_post_analysis::Key<'tcx>,
        QueryMode) -> Option<Erase<ty::TypingEnv<'tcx>>>,
    pub is_copy_raw: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_copy_raw::Key<'tcx>, QueryMode) -> Option<Erase<bool>>,
    pub is_use_cloned_raw: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_use_cloned_raw::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub is_sized_raw: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_sized_raw::Key<'tcx>, QueryMode) -> Option<Erase<bool>>,
    pub is_freeze_raw: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_freeze_raw::Key<'tcx>, QueryMode) -> Option<Erase<bool>>,
    pub is_unpin_raw: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_unpin_raw::Key<'tcx>, QueryMode) -> Option<Erase<bool>>,
    pub is_async_drop_raw: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_async_drop_raw::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub needs_drop_raw: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::needs_drop_raw::Key<'tcx>, QueryMode) -> Option<Erase<bool>>,
    pub needs_async_drop_raw: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::needs_async_drop_raw::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub has_significant_drop_raw: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::has_significant_drop_raw::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub has_structural_eq_impl: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::has_structural_eq_impl::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub adt_drop_tys: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::adt_drop_tys::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx ty::List<Ty<'tcx>>,
            AlwaysRequiresDrop>>>,
    pub adt_async_drop_tys: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::adt_async_drop_tys::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx ty::List<Ty<'tcx>>,
            AlwaysRequiresDrop>>>,
    pub adt_significant_drop_tys: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::adt_significant_drop_tys::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx ty::List<Ty<'tcx>>,
            AlwaysRequiresDrop>>>,
    pub list_significant_drop_tys: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::list_significant_drop_tys::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx ty::List<Ty<'tcx>>>>,
    pub layout_of: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::layout_of::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<ty::layout::TyAndLayout<'tcx>,
            &'tcx ty::layout::LayoutError<'tcx>>>>,
    pub fn_abi_of_fn_ptr: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::fn_abi_of_fn_ptr::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx rustc_target::callconv::FnAbi<'tcx,
            Ty<'tcx>>, &'tcx ty::layout::FnAbiError<'tcx>>>>,
    pub fn_abi_of_instance: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::fn_abi_of_instance::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx rustc_target::callconv::FnAbi<'tcx,
            Ty<'tcx>>, &'tcx ty::layout::FnAbiError<'tcx>>>>,
    pub dylib_dependency_formats: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::dylib_dependency_formats::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [(CrateNum, LinkagePreference)]>>,
    pub dependency_formats: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::dependency_formats::Key<'tcx>, QueryMode)
        ->
            Option<Erase<&'tcx Arc<crate::middle::dependency_format::Dependencies>>>,
    pub is_compiler_builtins: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_compiler_builtins::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub has_global_allocator: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::has_global_allocator::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub has_alloc_error_handler: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::has_alloc_error_handler::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub has_panic_handler: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::has_panic_handler::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub is_profiler_runtime: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_profiler_runtime::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub has_ffi_unwind_calls: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::has_ffi_unwind_calls::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub required_panic_strategy: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::required_panic_strategy::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<PanicStrategy>>>,
    pub panic_in_drop_strategy: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::panic_in_drop_strategy::Key<'tcx>, QueryMode)
        -> Option<Erase<PanicStrategy>>,
    pub is_no_builtins: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_no_builtins::Key<'tcx>, QueryMode) -> Option<Erase<bool>>,
    pub symbol_mangling_version: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::symbol_mangling_version::Key<'tcx>, QueryMode)
        -> Option<Erase<SymbolManglingVersion>>,
    pub extern_crate: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::extern_crate::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<&'tcx ExternCrate>>>,
    pub specialization_enabled_in: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::specialization_enabled_in::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub specializes: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::specializes::Key<'tcx>, QueryMode) -> Option<Erase<bool>>,
    pub in_scope_traits_map: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::in_scope_traits_map::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<&'tcx ItemLocalMap<Box<[TraitCandidate]>>>>>,
    pub defaultness: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::defaultness::Key<'tcx>, QueryMode)
        -> Option<Erase<hir::Defaultness>>,
    pub default_field: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::default_field::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<DefId>>>,
    pub check_well_formed: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_well_formed::Key<'tcx>, QueryMode)
        -> Option<Erase<Result<(), ErrorGuaranteed>>>,
    pub enforce_impl_non_lifetime_params_are_constrained: for<'tcx> fn(TyCtxt<'tcx>,
        Span,
        queries::enforce_impl_non_lifetime_params_are_constrained::Key<'tcx>,
        QueryMode) -> Option<Erase<Result<(), ErrorGuaranteed>>>,
    pub reachable_non_generics: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::reachable_non_generics::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx DefIdMap<SymbolExportInfo>>>,
    pub is_reachable_non_generic: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_reachable_non_generic::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub is_unreachable_local_definition: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_unreachable_local_definition::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub upstream_monomorphizations: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::upstream_monomorphizations::Key<'tcx>, QueryMode)
        ->
            Option<Erase<&'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>,
            CrateNum>>>>,
    pub upstream_monomorphizations_for: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::upstream_monomorphizations_for::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Option<&'tcx UnordMap<GenericArgsRef<'tcx>,
            CrateNum>>>>,
    pub upstream_drop_glue_for: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::upstream_drop_glue_for::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<CrateNum>>>,
    pub upstream_async_drop_glue_for: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::upstream_async_drop_glue_for::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<CrateNum>>>,
    pub foreign_modules: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::foreign_modules::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx FxIndexMap<DefId, ForeignModule>>>,
    pub clashing_extern_declarations: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::clashing_extern_declarations::Key<'tcx>, QueryMode)
        -> Option<Erase<()>>,
    pub entry_fn: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::entry_fn::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<(DefId, EntryFnType)>>>,
    pub proc_macro_decls_static: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::proc_macro_decls_static::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<LocalDefId>>>,
    pub crate_hash: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::crate_hash::Key<'tcx>, QueryMode) -> Option<Erase<Svh>>,
    pub crate_host_hash: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::crate_host_hash::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<Svh>>>,
    pub extra_filename: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::extra_filename::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx String>>,
    pub crate_extern_paths: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::crate_extern_paths::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx Vec<PathBuf>>>,
    pub implementations_of_trait: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::implementations_of_trait::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [(DefId, Option<SimplifiedType>)]>>,
    pub crate_incoherent_impls: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::crate_incoherent_impls::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [DefId]>>,
    pub native_library: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::native_library::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<&'tcx NativeLib>>>,
    pub inherit_sig_for_delegation_item: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::inherit_sig_for_delegation_item::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [Ty<'tcx>]>>,
    pub resolve_bound_vars: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::resolve_bound_vars::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx ResolveBoundVars>>,
    pub named_variable_map: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::named_variable_map::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx SortedMap<ItemLocalId, ResolvedArg>>>,
    pub is_late_bound_map: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_late_bound_map::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<&'tcx FxIndexSet<ItemLocalId>>>>,
    pub object_lifetime_default: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::object_lifetime_default::Key<'tcx>, QueryMode)
        -> Option<Erase<ObjectLifetimeDefault>>,
    pub late_bound_vars_map: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::late_bound_vars_map::Key<'tcx>, QueryMode)
        ->
            Option<Erase<&'tcx SortedMap<ItemLocalId,
            Vec<ty::BoundVariableKind>>>>,
    pub opaque_captured_lifetimes: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::opaque_captured_lifetimes::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [(ResolvedArg, LocalDefId)]>>,
    pub visibility: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::visibility::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::Visibility<DefId>>>,
    pub inhabited_predicate_adt: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::inhabited_predicate_adt::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::inhabitedness::InhabitedPredicate<'tcx>>>,
    pub inhabited_predicate_type: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::inhabited_predicate_type::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::inhabitedness::InhabitedPredicate<'tcx>>>,
    pub dep_kind: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::dep_kind::Key<'tcx>, QueryMode)
        -> Option<Erase<CrateDepKind>>,
    pub crate_name: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::crate_name::Key<'tcx>, QueryMode) -> Option<Erase<Symbol>>,
    pub module_children: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::module_children::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [ModChild]>>,
    pub num_extern_def_ids: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::num_extern_def_ids::Key<'tcx>, QueryMode)
        -> Option<Erase<usize>>,
    pub lib_features: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::lib_features::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx LibFeatures>>,
    pub stability_implications: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::stability_implications::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx UnordMap<Symbol, Symbol>>>,
    pub intrinsic_raw: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::intrinsic_raw::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<rustc_middle::ty::IntrinsicDef>>>,
    pub get_lang_items: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::get_lang_items::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx LanguageItems>>,
    pub all_diagnostic_items: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::all_diagnostic_items::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx rustc_hir::diagnostic_items::DiagnosticItems>>,
    pub defined_lang_items: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::defined_lang_items::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [(DefId, LangItem)]>>,
    pub diagnostic_items: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::diagnostic_items::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx rustc_hir::diagnostic_items::DiagnosticItems>>,
    pub missing_lang_items: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::missing_lang_items::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [LangItem]>>,
    pub visible_parent_map: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::visible_parent_map::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx DefIdMap<DefId>>>,
    pub trimmed_def_paths: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::trimmed_def_paths::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx DefIdMap<Symbol>>>,
    pub missing_extern_crate_item: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::missing_extern_crate_item::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub used_crate_source: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::used_crate_source::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx Arc<CrateSource>>>,
    pub debugger_visualizers: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::debugger_visualizers::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx Vec<DebuggerVisualizerFile>>>,
    pub postorder_cnums: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::postorder_cnums::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [CrateNum]>>,
    pub is_private_dep: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_private_dep::Key<'tcx>, QueryMode) -> Option<Erase<bool>>,
    pub allocator_kind: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::allocator_kind::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<AllocatorKind>>>,
    pub alloc_error_handler_kind: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::alloc_error_handler_kind::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<AllocatorKind>>>,
    pub upvars_mentioned: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::upvars_mentioned::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<&'tcx FxIndexMap<hir::HirId, hir::Upvar>>>>,
    pub crates: for<'tcx> fn(TyCtxt<'tcx>, Span, queries::crates::Key<'tcx>,
        QueryMode) -> Option<Erase<&'tcx [CrateNum]>>,
    pub used_crates: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::used_crates::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [CrateNum]>>,
    pub duplicate_crate_names: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::duplicate_crate_names::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [CrateNum]>>,
    pub traits: for<'tcx> fn(TyCtxt<'tcx>, Span, queries::traits::Key<'tcx>,
        QueryMode) -> Option<Erase<&'tcx [DefId]>>,
    pub trait_impls_in_crate: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::trait_impls_in_crate::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [DefId]>>,
    pub stable_order_of_exportable_impls: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::stable_order_of_exportable_impls::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx FxIndexMap<DefId, usize>>>,
    pub exportable_items: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::exportable_items::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [DefId]>>,
    pub exported_non_generic_symbols: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::exported_non_generic_symbols::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)]>>,
    pub exported_generic_symbols: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::exported_generic_symbols::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)]>>,
    pub collect_and_partition_mono_items: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::collect_and_partition_mono_items::Key<'tcx>, QueryMode)
        -> Option<Erase<MonoItemPartitions<'tcx>>>,
    pub is_codegened_item: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_codegened_item::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub codegen_unit: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::codegen_unit::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx CodegenUnit<'tcx>>>,
    pub backend_optimization_level: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::backend_optimization_level::Key<'tcx>, QueryMode)
        -> Option<Erase<OptLevel>>,
    pub output_filenames: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::output_filenames::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx Arc<OutputFilenames>>>,
    pub normalize_canonicalized_projection: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::normalize_canonicalized_projection::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution>>>,
    pub normalize_canonicalized_free_alias: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::normalize_canonicalized_free_alias::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution>>>,
    pub normalize_canonicalized_inherent_projection: for<'tcx> fn(TyCtxt<'tcx>,
        Span, queries::normalize_canonicalized_inherent_projection::Key<'tcx>,
        QueryMode)
        ->
            Option<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution>>>,
    pub try_normalize_generic_arg_after_erasing_regions: for<'tcx> fn(TyCtxt<'tcx>,
        Span,
        queries::try_normalize_generic_arg_after_erasing_regions::Key<'tcx>,
        QueryMode) -> Option<Erase<Result<GenericArg<'tcx>, NoSolution>>>,
    pub implied_outlives_bounds: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::implied_outlives_bounds::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, Vec<OutlivesBound<'tcx>>>>,
            NoSolution>>>,
    pub dropck_outlives: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::dropck_outlives::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, DropckOutlivesResult<'tcx>>>,
            NoSolution>>>,
    pub evaluate_obligation: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::evaluate_obligation::Key<'tcx>, QueryMode)
        -> Option<Erase<Result<EvaluationResult, OverflowError>>>,
    pub type_op_ascribe_user_type: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::type_op_ascribe_user_type::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ()>>, NoSolution>>>,
    pub type_op_prove_predicate: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::type_op_prove_predicate::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ()>>, NoSolution>>>,
    pub type_op_normalize_ty: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::type_op_normalize_ty::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, Ty<'tcx>>>, NoSolution>>>,
    pub type_op_normalize_clause: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::type_op_normalize_clause::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::Clause<'tcx>>>, NoSolution>>>,
    pub type_op_normalize_poly_fn_sig: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::type_op_normalize_poly_fn_sig::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::PolyFnSig<'tcx>>>,
            NoSolution>>>,
    pub type_op_normalize_fn_sig: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::type_op_normalize_fn_sig::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::FnSig<'tcx>>>, NoSolution>>>,
    pub instantiate_and_check_impossible_predicates: for<'tcx> fn(TyCtxt<'tcx>,
        Span, queries::instantiate_and_check_impossible_predicates::Key<'tcx>,
        QueryMode) -> Option<Erase<bool>>,
    pub is_impossible_associated_item: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::is_impossible_associated_item::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub method_autoderef_steps: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::method_autoderef_steps::Key<'tcx>, QueryMode)
        -> Option<Erase<MethodAutoderefStepsResult<'tcx>>>,
    pub evaluate_root_goal_for_proof_tree_raw: for<'tcx> fn(TyCtxt<'tcx>,
        Span, queries::evaluate_root_goal_for_proof_tree_raw::Key<'tcx>,
        QueryMode)
        ->
            Option<Erase<(solve::QueryResult<'tcx>,
            &'tcx solve::inspect::Probe<TyCtxt<'tcx>>)>>,
    pub rust_target_features: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::rust_target_features::Key<'tcx>, QueryMode)
        ->
            Option<Erase<&'tcx UnordMap<String,
            rustc_target::target_features::Stability>>>,
    pub implied_target_features: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::implied_target_features::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx Vec<Symbol>>>,
    pub features_query: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::features_query::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx rustc_feature::Features>>,
    pub crate_for_resolver: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::crate_for_resolver::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx Steal<(rustc_ast::Crate, rustc_ast::AttrVec)>>>,
    pub resolve_instance_raw: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::resolve_instance_raw::Key<'tcx>, QueryMode)
        -> Option<Erase<Result<Option<ty::Instance<'tcx>>, ErrorGuaranteed>>>,
    pub reveal_opaque_types_in_bounds: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::reveal_opaque_types_in_bounds::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::Clauses<'tcx>>>,
    pub limits: for<'tcx> fn(TyCtxt<'tcx>, Span, queries::limits::Key<'tcx>,
        QueryMode) -> Option<Erase<Limits>>,
    pub diagnostic_hir_wf_check: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::diagnostic_hir_wf_check::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<&'tcx ObligationCause<'tcx>>>>,
    pub global_backend_features: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::global_backend_features::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx Vec<String>>>,
    pub check_validity_requirement: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_validity_requirement::Key<'tcx>, QueryMode)
        -> Option<Erase<Result<bool, &'tcx ty::layout::LayoutError<'tcx>>>>,
    pub compare_impl_item: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::compare_impl_item::Key<'tcx>, QueryMode)
        -> Option<Erase<Result<(), ErrorGuaranteed>>>,
    pub deduced_param_attrs: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::deduced_param_attrs::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [DeducedParamAttrs]>>,
    pub doc_link_resolutions: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::doc_link_resolutions::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx DocLinkResMap>>,
    pub doc_link_traits_in_scope: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::doc_link_traits_in_scope::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [DefId]>>,
    pub stripped_cfg_items: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::stripped_cfg_items::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx [StrippedCfgItem]>>,
    pub generics_require_sized_self: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::generics_require_sized_self::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub cross_crate_inlinable: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::cross_crate_inlinable::Key<'tcx>, QueryMode)
        -> Option<Erase<bool>>,
    pub check_mono_item: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_mono_item::Key<'tcx>, QueryMode) -> Option<Erase<()>>,
    pub skip_move_check_fns: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::skip_move_check_fns::Key<'tcx>, QueryMode)
        -> Option<Erase<&'tcx FxIndexSet<DefId>>>,
    pub items_of_instance: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::items_of_instance::Key<'tcx>, QueryMode)
        ->
            Option<Erase<Result<(&'tcx [Spanned<MonoItem<'tcx>>],
            &'tcx [Spanned<MonoItem<'tcx>>]), NormalizationErrorInMono>>>,
    pub size_estimate: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::size_estimate::Key<'tcx>, QueryMode) -> Option<Erase<usize>>,
    pub anon_const_kind: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::anon_const_kind::Key<'tcx>, QueryMode)
        -> Option<Erase<ty::AnonConstKind>>,
    pub trivial_const: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::trivial_const::Key<'tcx>, QueryMode)
        -> Option<Erase<Option<(mir::ConstValue, Ty<'tcx>)>>>,
    pub sanitizer_settings_for: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::sanitizer_settings_for::Key<'tcx>, QueryMode)
        -> Option<Erase<SanitizerFnAttrs>>,
    pub check_externally_implementable_items: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::check_externally_implementable_items::Key<'tcx>, QueryMode)
        -> Option<Erase<()>>,
    pub externally_implementable_items: for<'tcx> fn(TyCtxt<'tcx>, Span,
        queries::externally_implementable_items::Key<'tcx>, QueryMode)
        ->
            Option<Erase<&'tcx FxIndexMap<DefId,
            (EiiDecl, FxIndexMap<DefId, EiiImpl>)>>>,
}rustc_with_all_queries! { define_callbacks! }
2787impl<'tcx, K: IntoQueryParam<LocalDefId> + Copy> TyCtxtFeed<'tcx, K> {
    #[inline(always)]
    pub fn sanitizer_settings_for(self,
        value: queries::sanitizer_settings_for::ProvidedValue<'tcx>) {
        let key = self.key().into_query_param();
        let tcx = self.tcx;
        let erased =
            queries::sanitizer_settings_for::provided_to_erased(tcx, value);
        let cache = &tcx.query_system.caches.sanitizer_settings_for;
        let dep_kind: dep_graph::DepKind =
            dep_graph::dep_kinds::sanitizer_settings_for;
        let hasher: Option<fn(&mut StableHashingContext<'_>, &_) -> _> =
            { Some(dep_graph::hash_result) };
        crate::query::inner::query_feed(tcx, dep_kind, hasher, cache, key,
            erased);
    }
}rustc_feedable_queries! { define_feedable! }
2788
2789fn describe_as_module(def_id: impl Into<LocalDefId>, tcx: TyCtxt<'_>) -> String {
2790    let def_id = def_id.into();
2791    if def_id.is_top_level_module() {
2792        "top-level module".to_string()
2793    } else {
2794        ::alloc::__export::must_use({
        ::alloc::fmt::format(format_args!("module `{0}`",
                tcx.def_path_str(def_id)))
    })format!("module `{}`", tcx.def_path_str(def_id))
2795    }
2796}