Skip to main content

rustc_middle/
queries.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//!
27//! For the list of modifiers, see [`rustc_middle::query::modifiers`].
28//!
29//! For more details on incremental compilation, see the
30//! [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.
31//!
32//! ## Query Expansion and Code Generation
33//!
34//! The [`rustc_macros::rustc_queries`] macro expands each query definition into:
35//! - A method on [`TyCtxt`] (and [`crate::query::TyCtxtAt`]) for invoking the query.
36//! - Provider traits and structs for supplying the query's value.
37//! - Caching and dependency graph integration.
38//! - Support for incremental compilation, disk caching, and arena allocation as controlled by the modifiers.
39//!
40//! [`rustc_macros::rustc_queries`]: ../../rustc_macros/macro.rustc_queries.html
41//!
42//! The macro-based approach allows the query system to be highly flexible and maintainable, while minimizing boilerplate.
43//!
44//! For more details, see the [rustc-dev-guide](https://rustc-dev-guide.rust-lang.org/query.html).
45
46use std::ffi::OsStr;
47use std::path::PathBuf;
48use std::sync::Arc;
49
50use rustc_abi as abi;
51use rustc_abi::Align;
52use rustc_arena::TypedArena;
53use rustc_ast as ast;
54use rustc_ast::expand::allocator::AllocatorKind;
55use rustc_ast::tokenstream::TokenStream;
56use rustc_attr_ir::lang_items::{LangItem, LanguageItems};
57use rustc_attr_ir::{CanonicalSymbols, EiiDecl, EiiImpl, StrippedCfgItem};
58use rustc_crate_store::{
59    CrateDepKind, CrateSource, ExternCrate, ForeignModule, LinkagePreference, NativeLib,
60};
61use rustc_data_structures::fx::{FxIndexMap, FxIndexSet};
62use rustc_data_structures::sorted_map::SortedMap;
63use rustc_data_structures::steal::Steal;
64use rustc_data_structures::svh::Svh;
65use rustc_data_structures::unord::{UnordMap, UnordSet};
66use rustc_errors::{ErrorGuaranteed, catch_fatal_errors};
67use rustc_hir as hir;
68use rustc_hir::def::{DefKind, DocLinkResMap};
69use rustc_hir::def_id::{CrateNum, DefId, DefIdMap, LocalDefId, LocalDefIdSet, LocalModId};
70use rustc_hir::{ItemLocalId, PreciseCapturingArgKind};
71use rustc_index::IndexVec;
72use rustc_lint_defs::{LintId, StableLintExpectationId};
73use rustc_macros::rustc_queries;
74use rustc_session::Limits;
75use rustc_session::config::{EntryFnType, OptLevel, OutputFilenames, SymbolManglingVersion};
76use rustc_span::def_id::{LOCAL_CRATE, ModId};
77use rustc_span::{DUMMY_SP, LocalExpnId, Span, Spanned, Symbol};
78use rustc_target::spec::PanicStrategy;
79
80use crate::infer::canonical::{self, Canonical};
81use crate::lint::LintExpectation;
82use crate::metadata::ModChild;
83use crate::middle::codegen_fn_attrs::{CodegenFnAttrs, SanitizerFnAttrs};
84use crate::middle::dead_code::DeadCodeLivenessSummary;
85use crate::middle::debugger_visualizer::DebuggerVisualizerFile;
86use crate::middle::deduced_param_attrs::DeducedParamAttrs;
87use crate::middle::exported_symbols::{ExportedSymbol, SymbolExportInfo};
88use crate::middle::lib_features::LibFeatures;
89use crate::middle::privacy::EffectiveVisibilities;
90use crate::middle::resolve_bound_vars::{ObjectLifetimeDefault, ResolveBoundVars, ResolvedArg};
91use crate::middle::stability::DeprecationEntry;
92use crate::mir::interpret::{
93    EvalStaticInitializerRawResult, EvalToAllocationRawResult, EvalToConstValueResult,
94    EvalToValTreeResult, GlobalId,
95};
96use crate::mono::{
97    CodegenUnit, CollectionMode, MonoItem, MonoItemPartitions, NormalizationErrorInMono,
98};
99use crate::query::query_api::{define_query_api, maybe_into_query_key};
100use crate::traits::query::{
101    CanonicalAliasGoal, CanonicalDropckOutlivesGoal, CanonicalImpliedOutlivesBoundsGoal,
102    CanonicalMethodAutoderefStepsGoal, CanonicalPredicateGoal, CanonicalTypeOpAscribeUserTypeGoal,
103    CanonicalTypeOpNormalizeGoal, CanonicalTypeOpProvePredicateGoal, DropckConstraint,
104    DropckOutlivesResult, MethodAutoderefStepsResult, MirBorrowckImpliedOutlivesBounds, NoSolution,
105    NormalizationResult, OutlivesBound,
106};
107use crate::traits::{
108    CodegenObligationError, DynCompatibilityViolation, EvaluationResult, ImplSource,
109    ObligationCause, OverflowError, WellFormedLoc, solve, specialization_graph,
110};
111use crate::ty::fast_reject::SimplifiedType;
112use crate::ty::layout::ValidityRequirement;
113use crate::ty::print::PrintTraitRefExt;
114use crate::ty::util::AlwaysRequiresDrop;
115use crate::ty::{
116    self, CrateInherentImpls, GenericArg, GenericArgsRef, LitToConstInput, PseudoCanonicalInput,
117    RequiredDepth, SizedTraitKind, Ty, TyCtxt, TyCtxtFeed,
118};
119use crate::{mir, thir};
120
121fn describe_as_module(def_id: impl Into<LocalDefId>, tcx: TyCtxt<'_>) -> String {
122    let def_id = def_id.into();
123    if def_id.is_top_level_module() {
124        "top-level module".to_string()
125    } else {
126        ::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))
127    }
128}
129
130// Each of these queries corresponds to a function pointer field in the
131// `Providers` struct for requesting a value of that type, and a method
132// on `tcx: TyCtxt` (and `tcx.at(span)`) for doing that request in a way
133// which memoizes and does dep-graph tracking, wrapping around the actual
134// `Providers` that the driver creates (using several `rustc_*` crates).
135//
136// The result type of each query must implement `Clone`. Additionally
137// `QueryVTable::handle_cycle_error_fn` can be used to produce an appropriate
138// placeholder (error) value if the query resulted in a query cycle.
139// Queries without a custom `handle_cycle_error_fn` implementation will raise a
140// fatal error on query cycles instead.
141#[doc =
r" Higher-order macro that invokes the specified macro with (a) a list of all query"]
#[doc =
r" signatures (including modifiers), and (b) a list of non-query names. This allows"]
#[doc = r" multiple simpler macros to each have access to these lists."]
#[rustc_macro_transparency = "semiopaque"]
pub macro rustc_with_all_queries {
    ($macro : ident!) =>
    {
        $macro !
        {
            queries
            {
                #[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."]
                fn derive_macro_expansion((LocalExpnId, & 'tcx TokenStream))
                -> Result < & 'tcx TokenStream, () >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        (LocalExpnId, & 'tcx TokenStream) | format!
                        ("expanding a derive (proc) macro")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " This exists purely for testing the interactions between delayed bugs and incremental."]
                fn trigger_delayed_bug(DefId) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("triggering a delayed bug for testing incremental")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Collects the list of all tools registered using `#![register_tool]` or `#![register_attribute_tool]`."]
                fn registered_attr_tools(()) -> & 'tcx ty :: RegisteredTools
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("compute registered attribute tools for crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Collects the list of all tools registered using `#![register_tool]` or `#![register_lint_tool]`."]
                fn registered_lint_tools(()) -> & 'tcx ty :: RegisteredTools
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("compute registered lint tools for crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] perform lints prior to AST lowering"]
                fn early_lint_checks(()) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("perform lints prior to AST lowering")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn env_var_os(& 'tcx OsStr) -> Option < & 'tcx OsStr >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key : &
                        'tcx OsStr | format!
                        ("get the value of an environment variable")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] getting the resolver outputs"]
                fn resolutions(()) -> & 'tcx ty :: ResolverGlobalCtxt
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("getting the resolver outputs")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] getting the resolver for lowering"]
                fn resolver_for_lowering_raw(()) ->
                (& 'tcx Steal < ty :: ResolverAstLowering < 'tcx > > , & 'tcx
                Steal < ast :: Crate > , & 'tcx ty :: ResolverGlobalCtxt,)
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("getting the resolver for lowering")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : true,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] getting the AST for lowering"]
                fn index_ast(()) -> & 'tcx IndexVec < LocalDefId, Steal <
                (Arc < ty :: ResolverAstLowering < 'tcx > > , ast ::
                AstOwner,) > >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("getting the AST for lowering")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : true,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                source_span(LocalDefId) -> Span
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format! ("getting the source span")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] lowering HIR for  `tcx.def_path_str(def_id)` "]
                fn lower_to_hir(LocalDefId) -> hir :: MaybeOwner < 'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : LocalDefId | format!
                        ("lowering HIR for `{}`", tcx.def_path_str(def_id))
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] getting owner for  `tcx.def_path_str(def_id)` "]
                fn hir_owner(LocalDefId) -> rustc_middle :: hir ::
                ProjectedMaybeOwner < 'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : LocalDefId | format!
                        ("getting owner for `{}`", tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " All items in the crate."] fn hir_crate_items(())
                -> & 'tcx rustc_middle :: hir :: ModuleItems
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("getting HIR crate items")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                hir_module_items(LocalModId) -> & 'tcx rustc_middle :: hir ::
                ModuleItems
                {
                    arena_cache : true, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalModId | format!
                        ("getting HIR module items in `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                hir_owner_parent_q(hir :: OwnerId) -> hir :: HirId
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        hir :: OwnerId | format!
                        ("getting HIR parent of `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                hir_attr_map(hir :: OwnerId) -> & 'tcx hir :: AttributeMap <
                'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        hir :: OwnerId | format!
                        ("getting HIR owner attributes in `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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`."]
                fn const_param_default(DefId) -> ty :: EarlyBinder < 'tcx, ty
                :: Const < 'tcx > >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , param :
                        DefId | format!
                        ("computing the default for const parameter `{}`",
                        tcx.def_path_str(param))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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`."]
                fn const_of_item(DefId) -> ty :: EarlyBinder < 'tcx, ty ::
                Const < 'tcx > >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("computing the type-level value for `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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"] fn
                type_of(DefId) -> ty :: EarlyBinder < 'tcx, Ty < 'tcx > >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("{action} `{path}`", action = match tcx.def_kind(key)
                        {
                            DefKind :: TyAlias => "expanding type alias", DefKind ::
                            TraitAlias => "expanding trait alias", _ =>
                            "computing type of",
                        }, path = tcx.def_path_str(key),)
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Returns the *hidden type* of the opaque type given by `DefId`."]
                #[doc = ""] #[doc = " # Panics"] #[doc = ""]
                #[doc =
                " This query will panic if the given definition is not an opaque type."]
                fn type_of_opaque(DefId) -> ty :: EarlyBinder < 'tcx, Ty <
                'tcx > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing type of opaque `{path}`", path =
                        tcx.def_path_str(key),)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing type of opaque `{path}` via HIR typeck"]
                fn type_of_opaque_hir_typeck(LocalDefId) -> ty :: EarlyBinder
                < 'tcx, Ty < 'tcx > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("computing type of opaque `{path}` via HIR typeck", path =
                        tcx.def_path_str(key),)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Returns whether the type alias given by `DefId` is checked."]
                #[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 `checked_type_aliases` 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"] fn
                type_alias_is_checked(DefId) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing whether the type alias `{path}` is checked",
                        path = tcx.def_path_str(key),)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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"]
                fn collect_return_position_impl_trait_in_trait_tys(DefId) ->
                Result < & 'tcx DefIdMap < ty :: EarlyBinder < 'tcx, Ty < 'tcx
                > > > , ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("comparing an impl and trait method signature, inferring any hidden `impl Trait` types in the process")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] determine where the opaque originates from"]
                fn opaque_ty_origin(DefId) -> hir :: OpaqueTyOrigin < DefId >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("determine where the opaque originates from")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] determining what parameters of  `tcx.def_path_str(key)`  can participate in unsizing"]
                fn unsizing_params_for_adt(DefId) -> & 'tcx rustc_index ::
                bit_set :: DenseBitSet < u32 >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("determining what parameters of `{}` can participate in unsizing",
                        tcx.def_path_str(key),)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " The root query triggering all analysis passes like typeck or borrowck."]
                fn analysis(()) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        () | format!
                        ("running analysis passes on crate `{}`",
                        tcx.crate_name(LOCAL_CRATE),)
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                check_expectations(Option < Symbol >) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        Option < Symbol > | format!
                        ("checking lint expectations (RFC 2383)")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Returns the *generics* of the definition given by `DefId`."]
                fn generics_of(DefId) -> & 'tcx ty :: Generics
                {
                    arena_cache : true, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing generics of `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Returns the (elaborated) *clauses* 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/clauses query that you want."]
                #[doc = ""]
                #[doc =
                " **Tip**: You can use `#[rustc_dump_clauses]` on an item to basically print"]
                #[doc =
                " the result of this query for use in UI tests or for debugging purposes."]
                fn clauses_of(DefId) -> ty :: GenericClauses < 'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing clauses of `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing the opaque types defined by  `tcx.def_path_str(key.to_def_id())` "]
                fn opaque_types_defined_by(LocalDefId) -> & 'tcx ty :: List <
                LocalDefId >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("computing the opaque types defined by `{}`",
                        tcx.def_path_str(key.to_def_id()))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " A list of all bodies inside of `key`, nested bodies are always stored"]
                #[doc = " before their parent."] fn
                nested_bodies_within(LocalDefId) -> & 'tcx ty :: List <
                LocalDefId >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("computing the coroutines defined within `{}`",
                        tcx.def_path_str(key.to_def_id()))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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 = " ```"] fn explicit_item_bounds(DefId) -> ty ::
                EarlyBinder < 'tcx, & 'tcx [(ty :: Clause < 'tcx > , Span)] >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("finding item bounds for `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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"]
                fn explicit_item_self_bounds(DefId) -> ty :: EarlyBinder <
                'tcx, & 'tcx [(ty :: Clause < 'tcx > , Span)] >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("finding item bounds for `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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 = " ```"] fn item_bounds(DefId) -> ty ::
                EarlyBinder < 'tcx, ty :: Clauses < 'tcx > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("elaborating item bounds for `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] elaborating item assumptions for  `tcx.def_path_str(key)` "]
                fn item_self_bounds(DefId) -> ty :: EarlyBinder < 'tcx, ty ::
                Clauses < 'tcx > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("elaborating item assumptions for `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] elaborating item assumptions for  `tcx.def_path_str(key)` "]
                fn item_non_self_bounds(DefId) -> ty :: EarlyBinder < 'tcx, ty
                :: Clauses < 'tcx > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("elaborating item assumptions for `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] elaborating supertrait outlives for trait of  `tcx.def_path_str(key)` "]
                fn impl_super_outlives(DefId) -> ty :: EarlyBinder < 'tcx, ty
                :: Clauses < 'tcx > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("elaborating supertrait outlives for trait of `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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"] fn
                native_libraries(CrateNum) -> & 'tcx Vec < NativeLib >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("looking up the native libraries of a linked crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] looking up lint levels for  `tcx.def_path_str(key)` "]
                fn shallow_lint_levels_on(hir :: OwnerId) -> & 'tcx
                rustc_middle :: lint :: ShallowLintLevelMap
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        hir :: OwnerId | format!
                        ("looking up lint levels for `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing `#[expect]`ed lints in this crate"]
                fn lint_expectations(()) -> & 'tcx Vec <
                (StableLintExpectationId, LintExpectation) >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("computing `#[expect]`ed lints in this crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] Computing all lints that are explicitly enabled or with a default level greater than Allow"]
                fn skippable_lints(()) -> & 'tcx UnordSet < LintId >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format!
                        ("Computing all lints that are explicitly enabled or with a default level greater than Allow")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] getting the expansion that defined  `tcx.def_path_str(key)` "]
                fn expn_that_defined(DefId) -> rustc_span :: ExpnId
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("getting the expansion that defined `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking if the crate is_panic_runtime"]
                fn is_panic_runtime(CrateNum) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("checking if the crate is_panic_runtime")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Checks whether a type is representable or infinitely sized"]
                fn check_representability(LocalDefId) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("checking if `{}` is representable", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : true, no_force : true, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " An implementation detail for the `check_representability` query. See that query for more"]
                #[doc = " details, particularly on the modifiers."] fn
                check_representability_adt_ty(Ty < 'tcx >) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        Ty < 'tcx > | format!
                        ("checking if `{}` is representable", key)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : true, no_force : true, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Set of param indexes for type params that are in the type\'s representation"]
                fn params_in_repr(DefId) -> & 'tcx rustc_index :: bit_set ::
                DenseBitSet < u32 >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("finding type parameters in the representation")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : true,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Fetch the THIR for a given body. The THIR body gets stolen by unsafety checking unless"]
                #[doc = " `-Zno-steal-thir` is on."] fn thir_body(LocalDefId)
                -> Result <
                (& 'tcx Steal < thir :: Thir < 'tcx > > , thir :: ExprId),
                ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("building THIR for `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : true,
                    returns_error_guaranteed : true, separate_provide_extern :
                    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."] fn mir_keys(()) -> & 'tcx
                rustc_data_structures :: fx :: FxIndexSet < LocalDefId >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("getting a list of all mir_keys")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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`."] fn
                mir_const_qualif(DefId) -> mir :: ConstQualifs
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("const checking `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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"]
                fn mir_built(LocalDefId) -> & 'tcx Steal < mir :: Body < 'tcx
                > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("building MIR for `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Try to build an abstract representation of the given constant."]
                fn thir_abstract_const(DefId) -> Result < Option < ty ::
                EarlyBinder < 'tcx, ty :: Const < 'tcx > > > , ErrorGuaranteed
                >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("building an abstract representation for `{}`",
                        tcx.def_path_str(key),)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] elaborating drops for  `tcx.def_path_str(key)` "]
                fn mir_drops_elaborated_and_const_checked(LocalDefId) -> &
                'tcx Steal < mir :: Body < 'tcx > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("elaborating drops for `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : true,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] caching mir of  `tcx.def_path_str(key)`  for CTFE"]
                fn mir_for_ctfe(DefId) -> & 'tcx mir :: Body < 'tcx >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("caching mir of `{}` for CTFE", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] promoting constants in MIR for  `tcx.def_path_str(key)` "]
                fn mir_promoted(LocalDefId) ->
                (& 'tcx Steal < mir :: Body < 'tcx > > , & 'tcx Steal <
                IndexVec < mir :: Promoted, mir :: Body < 'tcx > > >)
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("promoting constants in MIR for `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : true,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] finding symbols for captures of closure  `tcx.def_path_str(key)` "]
                fn closure_typeinfo(LocalDefId) -> ty :: ClosureTypeInfo <
                'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("finding symbols for captures of closure `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn closure_saved_names_of_captured_variables(DefId) -> & 'tcx
                IndexVec < abi :: FieldIdx, Symbol >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("computing debuginfo for closure `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] coroutine witness types for  `tcx.def_path_str(key)` "]
                fn mir_coroutine_witnesses(DefId) -> Option < & 'tcx mir ::
                CoroutineLayout < 'tcx > >
                {
                    arena_cache : true, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("coroutine witness types for `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] verify auto trait bounds for coroutine interior type  `tcx.def_path_str(key)` "]
                fn check_coroutine_obligations(LocalDefId) -> Result < (),
                ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("verify auto trait bounds for coroutine interior type `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    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."] fn
                check_potentially_region_dependent_goals(LocalDefId) -> Result
                < (), ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("reproving potentially region dependent HIR typeck goals for `{}",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    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."]
                fn optimized_mir(DefId) -> & 'tcx mir :: Body < 'tcx >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("optimizing MIR for `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Returns `true` if this def is a function-like thing that is eligible for"]
                #[doc =
                " coverage instrumentation under `-Cinstrument-coverage`."]
                #[doc = ""]
                #[doc =
                " (Eligible functions might nevertheless be skipped for other reasons.)"]
                fn is_eligible_for_coverage(LocalDefId) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("checking whether `{}` is eligible for coverage",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn coverage_attr_on(LocalDefId) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("checking for `#[coverage(..)]` on `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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 =
                " Returns `None` for functions that were not instrumented."]
                fn coverage_codegen_info(ty :: InstanceKind < 'tcx >) ->
                Option < & 'tcx mir :: coverage :: CoverageCodegenInfo >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: InstanceKind < 'tcx > | format!
                        ("retrieving coverage codegen info from MIR for `{}`",
                        tcx.def_path_str(key.def_id()))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                promoted_mir(DefId) -> & 'tcx IndexVec < mir :: Promoted, mir
                :: Body < 'tcx > >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("optimizing promoted MIR for `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn erase_and_anonymize_regions_ty(Ty < 'tcx >) -> Ty < 'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , ty : Ty
                        < 'tcx > | format! ("erasing regions from `{}`", ty)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : true,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] getting wasm import module map"]
                fn wasm_import_module_map(CrateNum) -> & 'tcx DefIdMap <
                String >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format! ("getting wasm import module map")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Returns the explicitly user-written *clauses and bounds* of the trait given by `DefId`."]
                #[doc = ""]
                #[doc =
                " Traits are unusual, because clauses 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_clauses_of`] and [`Self::explicit_item_bounds`] will"]
                #[doc =
                " then take the appropriate subsets of the clauses here."]
                #[doc = ""] #[doc = " # Panics"] #[doc = ""]
                #[doc =
                " This query will panic if the given definition is not a trait."]
                fn trait_explicit_clauses_and_bounds(LocalDefId) -> ty ::
                GenericClauses < 'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("computing explicit clauses of trait `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Returns the explicitly user-written *clauses* 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 [`TyCtxt::clauses_of`] unless you\'re looking for"]
                #[doc =
                " clauses with explicit spans for diagnostics purposes."] fn
                explicit_clauses_of(DefId) -> ty :: GenericClauses < 'tcx >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing explicit predicates of `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Returns the *inferred outlives-clauses* 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_dump_inferred_outlives]` on an item to basically"]
                #[doc =
                " print the result of this query for use in UI tests or for debugging purposes."]
                fn inferred_outlives_of(DefId) -> & 'tcx
                [(ty :: Clause < 'tcx > , Span)]
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing inferred outlives-clauses of `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Returns the explicitly user-written *super-clauses* of the trait given by `DefId`."]
                #[doc = ""]
                #[doc =
                " These clauses are unelaborated and consequently don\'t contain transitive super-clauses."]
                #[doc = ""]
                #[doc =
                " This is a subset of the full list of clauses. We store these in a separate map"]
                #[doc =
                " because we must evaluate them even during type conversion, often before the full"]
                #[doc =
                " clauses are available (note that super-clauses must not be cyclic)."]
                fn explicit_super_clauses_of(DefId) -> ty :: EarlyBinder <
                'tcx, & 'tcx [(ty :: Clause < 'tcx > , Span)] >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing the super clauses of `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " The clauses of the trait that are implied during elaboration."]
                #[doc = ""]
                #[doc =
                " This is a superset of the super-clauses of the trait, but a subset of the clauses"]
                #[doc =
                " of the trait. For regular traits, this includes all super-clauses and their"]
                #[doc =
                " associated type bounds. For trait aliases, currently, this includes all of the"]
                #[doc = " clauses of the trait alias."] fn
                explicit_implied_clauses_of(DefId) -> ty :: EarlyBinder <
                'tcx, & 'tcx [(ty :: Clause < 'tcx > , Span)] >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing the implied clauses of `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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`."]
                fn
                explicit_supertraits_containing_assoc_item((DefId, rustc_span
                :: Ident)) -> ty :: EarlyBinder < 'tcx, & 'tcx
                [(ty :: Clause < 'tcx > , Span)] >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        (DefId, rustc_span :: Ident) | format!
                        ("computing the super traits of `{}` with associated type name `{}`",
                        tcx.def_path_str(key.0), key.1)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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 `clauses_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."] fn
                const_conditions(DefId) -> ty :: ConstConditions < 'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing the conditions for `{}` to be considered const",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                explicit_implied_const_bounds(DefId) -> ty :: EarlyBinder <
                'tcx, & 'tcx [(ty :: PolyTraitRef < 'tcx > , Span)] >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing the implied `[const]` bounds for `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " To avoid cycles within the clauses of a single item we compute"]
                #[doc =
                " per-type-parameter clauses for resolving `T::AssocTy`."] fn
                type_param_clauses((LocalDefId, LocalDefId, rustc_span ::
                Ident)) -> ty :: EarlyBinder < 'tcx, & 'tcx
                [(ty :: Clause < 'tcx > , Span)] >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        (LocalDefId, LocalDefId, rustc_span :: Ident) | format!
                        ("computing the bounds for type parameter `{}`",
                        tcx.hir_ty_param_name(key.1))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing trait definition for  `tcx.def_path_str(key)` "]
                fn trait_def(DefId) -> & 'tcx ty :: TraitDef
                {
                    arena_cache : true, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing trait definition for `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing ADT definition for  `tcx.def_path_str(key)` "]
                fn adt_def(DefId) -> ty :: AdtDef < 'tcx >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing ADT definition for `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing `Drop` impl for  `tcx.def_path_str(key)` "]
                fn adt_destructor(DefId) -> Option < ty :: Destructor >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing `Drop` impl for `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing `AsyncDrop` impl for  `tcx.def_path_str(key)` "]
                fn adt_async_destructor(DefId) -> Option < ty ::
                AsyncDestructor >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing `AsyncDrop` impl for `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing the sizedness constraint for  `tcx.def_path_str(key.0)` "]
                fn adt_sizedness_constraint((DefId, SizedTraitKind)) -> Option
                < ty :: EarlyBinder < 'tcx, Ty < 'tcx > > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        (DefId, SizedTraitKind) | format!
                        ("computing the sizedness constraint for `{}`",
                        tcx.def_path_str(key.0))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing drop-check constraints for  `tcx.def_path_str(key)` "]
                fn adt_dtorck_constraint(DefId) -> & 'tcx DropckConstraint <
                'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing drop-check constraints for `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn constness(DefId) -> hir :: Constness
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("checking if item is const: `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking if the function is async:  `tcx.def_path_str(key)` "]
                fn asyncness(DefId) -> ty :: Asyncness
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("checking if the function is async: `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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)."] fn
                is_promotable_const_fn(DefId) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("checking if item is promotable: `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                coroutine_by_move_body_def_id(DefId) -> DefId
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("looking up the coroutine by-move body for `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Returns `Some(coroutine_kind)` if the node pointed to by `def_id` is a coroutine."]
                fn coroutine_kind(DefId) -> Option < hir :: CoroutineKind >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("looking up coroutine kind of `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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"]
                fn coroutine_for_closure(DefId) -> DefId
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("Given a coroutine-closure def id, return the def id of the coroutine returned by it")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] looking up the hidden types stored across await points in a coroutine"]
                fn coroutine_hidden_types(DefId) -> ty :: EarlyBinder < 'tcx,
                ty :: Binder < 'tcx, ty :: CoroutineWitnessTypes < TyCtxt <
                'tcx > > > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("looking up the hidden types stored across await points in a coroutine")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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>"] fn crate_variances(()) -> &
                'tcx ty :: CrateVariancesMap < 'tcx >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format!
                        ("computing the variances for items in this crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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_dump_variances]` on an item to basically print"]
                #[doc =
                " the result of this query for use in UI tests or for debugging purposes."]
                fn variances_of(DefId) -> & 'tcx [ty :: Variance]
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("computing the variances of `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : true, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Gets a map with the inferred outlives-clauses 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>"] fn inferred_outlives_crate(())
                -> & 'tcx ty :: CrateClausesMap < 'tcx >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format!
                        ("computing the inferred outlives-clauses for items in this crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn associated_item_def_ids(DefId) -> & 'tcx [DefId]
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("collecting associated items or fields of `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Maps from a trait/impl item to the trait/impl item \"descriptor\"."]
                fn associated_item(DefId) -> ty :: AssocItem
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing associated item data for `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Collects the associated items defined on a trait or impl."]
                fn associated_items(DefId) -> & 'tcx ty :: AssocItems
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("collecting associated items of `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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 }`"] fn
                impl_item_implementor_ids(DefId) -> & 'tcx DefIdMap < DefId >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , impl_id
                        : DefId | format!
                        ("comparing impl items against trait for `{}`",
                        tcx.def_path_str(impl_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn associated_types_for_impl_traits_in_trait_or_impl(DefId) ->
                & 'tcx DefIdMap < Vec < DefId > >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > ,
                        item_def_id : DefId | format!
                        ("synthesizing RPITIT items for the opaque types for methods in `{}`",
                        tcx.def_path_str(item_def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Given an `impl_id`, return the trait it implements along with some header information."]
                fn impl_trait_header(DefId) -> ty :: ImplTraitHeader < 'tcx >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , impl_id
                        : DefId | format!
                        ("computing trait implemented by `{}`",
                        tcx.def_path_str(impl_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Whether all generic parameters of the type are unique unconstrained generic parameters"]
                #[doc =
                " of the impl. `Bar<\'static>` or `Foo<\'a, \'a>` or outlives bounds on the lifetimes cause"]
                #[doc =
                " this boolean to be false and `try_as_dyn` to return `None`."]
                fn impl_is_fully_generic_for_reflection(DefId) -> bool
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , impl_id
                        : DefId | format!
                        ("computing trait implemented by `{}`",
                        tcx.def_path_str(impl_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                impl_self_is_guaranteed_unsized(DefId) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > ,
                        impl_def_id : DefId | format!
                        ("computing whether `{}` has a guaranteed unsized self type",
                        tcx.def_path_str(impl_def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn inherent_impls(DefId) -> & 'tcx [DefId]
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("collecting inherent impls for `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] collecting all inherent impls for `{:?}`"]
                fn incoherent_impls(SimplifiedType) -> & 'tcx [DefId]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        SimplifiedType | format!
                        ("collecting all inherent impls for `{:?}`", key)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Unsafety-check this `LocalDefId`."] fn
                check_transmutes(LocalDefId) -> Result < (), ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("check transmute calls inside `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    false,
                } #[doc = " Type-check offloads calls given a typeck root"] fn
                check_offloads(LocalDefId) -> Result < (), ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("check offload calls inside `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    false,
                } #[doc = " Unsafety-check this `LocalDefId`."] fn
                check_unsafety(LocalDefId) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("unsafety-checking `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Checks well-formedness of tail calls (`become f()`)."] fn
                check_tail_calls(LocalDefId) -> Result < (), ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("tail-call-checking `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    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."]
                fn assumed_wf_types(LocalDefId) -> & 'tcx
                [(Ty < 'tcx > , Span)]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("computing the implied bounds of `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn assumed_wf_types_for_rpitit(DefId) -> & 'tcx
                [(Ty < 'tcx > , Span)]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing the implied bounds of `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                } #[doc = " Computes the signature of the function."] fn
                fn_sig(DefId) -> ty :: EarlyBinder < 'tcx, ty :: PolyFnSig <
                'tcx > >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing function signature of `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : true, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                } #[doc = " Performs lint checking for the module."] fn
                lint_mod(LocalModId) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalModId | format!
                        ("linting {}", describe_as_module(key, tcx))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking unused trait imports in crate"]
                fn check_unused_traits(()) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("checking unused trait imports in crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Checks the attributes in the module."] fn
                check_mod_attrs(LocalModId) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalModId | format!
                        ("checking attributes in {}", describe_as_module(key, tcx))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Checks for uses of unstable APIs in the module."]
                fn check_mod_unstable_api_usage(LocalModId) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalModId | format!
                        ("checking for unstable API usage in {}",
                        describe_as_module(key, tcx))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking privacy in  `describe_as_module(key.to_local_def_id(), tcx)` "]
                fn check_mod_privacy(LocalModId) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalModId | format!
                        ("checking privacy in {}",
                        describe_as_module(key.to_local_def_id(), tcx))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking liveness of variables in  `tcx.def_path_str(key.to_def_id())` "]
                fn check_liveness(LocalDefId) -> & 'tcx rustc_index :: bit_set
                :: DenseBitSet < abi :: FieldIdx >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("checking liveness of variables in `{}`",
                        tcx.def_path_str(key.to_def_id()))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Return dead-code liveness summary for the crate."]
                fn live_symbols_and_ignored_derived_traits(()) -> Result < &
                'tcx DeadCodeLivenessSummary, ErrorGuaranteed >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("finding live symbols in crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking deathness of variables in  `describe_as_module(key, tcx)` "]
                fn check_mod_deathness(LocalModId) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalModId | format!
                        ("checking deathness of variables in {}",
                        describe_as_module(key, tcx))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking that types are well-formed"]
                fn check_type_wf(()) -> Result < (), ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        () | format! ("checking that types are well-formed")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    false,
                }
                #[doc =
                " Caches `CoerceUnsized` kinds for impls on custom types."] fn
                coerce_unsized_info(DefId) -> Result < ty :: adjustment ::
                CoerceUnsizedInfo, ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing CoerceUnsized info for `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] type-checking  `tcx.def_path_str(key)` "]
                fn typeck_root(LocalDefId) -> & 'tcx ty :: TypeckResults <
                'tcx >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("type-checking `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] finding used_trait_imports  `tcx.def_path_str(key)` "]
                fn used_trait_imports(LocalDefId) -> & 'tcx UnordSet <
                LocalDefId >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("finding used_trait_imports `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] coherence checking all impls of trait  `tcx.def_path_str(def_id)` "]
                fn coherent_trait(DefId) -> Result < (), ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("coherence checking all impls of trait `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    false,
                }
                #[doc =
                " Borrow-checks the given typeck root, e.g. functions, const/static items,"]
                #[doc = " and its children, e.g. closures, inline consts."] fn
                mir_borrowck(LocalDefId) -> Result < & 'tcx FxIndexMap <
                LocalDefId, ty :: DefinitionSiteHiddenType < 'tcx > > ,
                ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("borrow-checking `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    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>"] fn crate_inherent_impls(()) ->
                (& 'tcx CrateInherentImpls, Result < (), ErrorGuaranteed >)
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , k : ()
                        | format! ("finding all inherent impls defined in crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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>"] fn
                crate_inherent_impls_validity_check(()) -> Result < (),
                ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format!
                        ("check for inherent impls that should not be defined in crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    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>"] fn
                crate_inherent_impls_overlap_check(()) -> Result < (),
                ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format!
                        ("check for overlap between inherent impls defined in this crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    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."]
                fn orphan_check_impl(LocalDefId) -> Result < (),
                ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("checking whether impl `{}` follows the orphan rules",
                        tcx.def_path_str(key),)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    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."] fn
                mir_callgraph_cyclic(LocalDefId) -> Option < & 'tcx UnordSet <
                LocalDefId > >
                {
                    arena_cache : true, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("computing (transitive) callees of `{}` that may recurse",
                        tcx.def_path_str(key),)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Obtain all the calls into other local functions"]
                fn mir_inliner_callees(ty :: InstanceKind < 'tcx >) -> & 'tcx
                [(DefId, GenericArgsRef < 'tcx >)]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: InstanceKind < 'tcx > | format!
                        ("computing all local function calls in `{}`",
                        tcx.def_path_str(key.def_id()),)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn
                tag_for_variant(PseudoCanonicalInput < 'tcx,
                (Ty < 'tcx > , abi :: VariantIdx) >) -> Option < ty ::
                ScalarInt >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        PseudoCanonicalInput < 'tcx,
                        (Ty < 'tcx > , abi :: VariantIdx) > | format!
                        ("computing variant tag for enum")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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>"] fn
                eval_to_allocation_raw(ty :: PseudoCanonicalInput < 'tcx,
                GlobalId < 'tcx > >) -> EvalToAllocationRawResult < 'tcx >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: PseudoCanonicalInput < 'tcx, GlobalId < 'tcx > > |
                        format!
                        ("const-evaluating + checking `{}`", key.value.display(tcx))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Evaluate a static\'s initializer, returning the allocation of the initializer\'s memory."]
                fn eval_static_initializer(DefId) ->
                EvalStaticInitializerRawResult < 'tcx >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("evaluating initializer of static `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn
                eval_to_const_value_raw(ty :: PseudoCanonicalInput < 'tcx,
                GlobalId < 'tcx > >) -> EvalToConstValueResult < 'tcx >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    true, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: PseudoCanonicalInput < 'tcx, GlobalId < 'tcx > > |
                        format!
                        ("simplifying constant for the type system `{}`",
                        key.value.display(tcx))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Evaluate a constant and convert it to a type level constant or"]
                #[doc = " return `None` if that is not possible."] fn
                eval_to_valtree(ty :: PseudoCanonicalInput < 'tcx, GlobalId <
                'tcx > >) -> EvalToValTreeResult < 'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: PseudoCanonicalInput < 'tcx, GlobalId < 'tcx > > |
                        format! ("evaluating type-level constant")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Converts a type-level constant value into a MIR constant value."]
                fn valtree_to_const_val(ty :: Value < 'tcx >) -> mir ::
                ConstValue
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: Value < 'tcx > | format!
                        ("converting type-level constant value to MIR constant value")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] converting literal to const"]
                fn lit_to_const(LitToConstInput < 'tcx >) -> Option < ty ::
                Value < 'tcx > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LitToConstInput < 'tcx > | format!
                        ("converting literal to const")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] match-checking  `tcx.def_path_str(key)` "]
                fn check_match(LocalDefId) -> Result < (), ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("match-checking `{}`", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    false,
                }
                #[doc =
                " Performs part of the privacy check and computes effective visibilities."]
                fn effective_visibilities(()) -> & 'tcx EffectiveVisibilities
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("checking effective visibilities")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking for private elements in public interfaces for  `describe_as_module(module_def_id, tcx)` "]
                fn check_private_in_public(LocalModId) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > ,
                        module_def_id : LocalModId | format!
                        ("checking for private elements in public interfaces for {}",
                        describe_as_module(module_def_id, tcx))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] reachability"]
                fn reachable_set(()) -> & 'tcx LocalDefIdSet
                {
                    arena_cache : true, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("reachability")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn region_scope_tree(LocalDefId) -> & 'tcx crate :: middle ::
                region :: ScopeTree
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : LocalDefId | format!
                        ("computing drop scopes for `{}`", tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Generates a MIR body for the shim."] fn
                mir_shims(ty :: ShimKind < 'tcx >) -> & 'tcx mir :: Body <
                'tcx >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: ShimKind < 'tcx > | format!
                        ("generating MIR shim for `{}`, kind={:?}",
                        tcx.def_path_str(key.def_id()), key)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn symbol_name(ty :: Instance < 'tcx >) -> ty :: SymbolName <
                'tcx >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: Instance < 'tcx > | format!
                        ("computing the symbol for `{}`", key)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] looking up definition kind of  `tcx.def_path_str(def_id)` "]
                fn def_kind(DefId) -> DefKind
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("looking up definition kind of `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                } #[doc = " Gets the span for the definition."] fn
                def_span(DefId) -> Span
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("looking up span for `{}`", tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Gets the span for the identifier of the definition."] fn
                def_ident_span(DefId) -> Option < Span >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("looking up span for `{}`'s identifier",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                } #[doc = " Gets the span for the type of the definition."]
                #[doc =
                " Panics if it is not a definition that has a single type."]
                fn ty_span(LocalDefId) -> Span
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : LocalDefId | format!
                        ("looking up span for `{}`'s type",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] looking up stability of  `tcx.def_path_str(def_id)` "]
                fn lookup_stability(DefId) -> Option < hir :: Stability >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("looking up stability of `{}`", tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] looking up const stability of  `tcx.def_path_str(def_id)` "]
                fn lookup_const_stability(DefId) -> Option < hir ::
                ConstStability >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("looking up const stability of `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] looking up default body stability of  `tcx.def_path_str(def_id)` "]
                fn lookup_default_body_stability(DefId) -> Option < hir ::
                DefaultBodyStability >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("looking up default body stability of `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing should_inherit_track_caller of  `tcx.def_path_str(def_id)` "]
                fn should_inherit_track_caller(DefId) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("computing should_inherit_track_caller of `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing inherited_align of  `tcx.def_path_str(def_id)` "]
                fn inherited_align(DefId) -> Option < Align >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("computing inherited_align of `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is deprecated"]
                fn lookup_deprecation_entry(DefId) -> Option <
                DeprecationEntry >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("checking whether `{}` is deprecated",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Determines whether an item is annotated with `#[doc(hidden)]`."]
                fn is_doc_hidden(DefId) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("checking whether `{}` is `doc(hidden)`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Determines whether an item is annotated with `#[doc(notable_trait)]`."]
                fn is_doc_notable_trait(DefId) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("checking whether `{}` is `doc(notable_trait)`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Returns the attributes on the item at `def_id`."]
                #[doc = ""] #[doc = " <div class=\"warning\">"] #[doc = ""]
                #[doc =
                " Do not use this directly, use [`rustc_attr_ir::find_attr`] instead."]
                #[doc = ""] #[doc = " </div>"] fn attrs_for_def(DefId) -> &
                'tcx [rustc_attr_ir :: Attribute]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("collecting attributes of `{}`", tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn codegen_fn_attrs(DefId)
                -> & 'tcx CodegenFnAttrs
                {
                    arena_cache : true, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("computing codegen attributes of `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing target features for inline asm of  `tcx.def_path_str(def_id)` "]
                fn asm_target_features(DefId) -> & 'tcx FxIndexSet < Symbol >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("computing target features for inline asm of `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] looking up function parameter identifiers for  `tcx.def_path_str(def_id)` "]
                fn fn_arg_idents(DefId) -> & 'tcx
                [Option < rustc_span :: Ident >]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("looking up function parameter identifiers for `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Gets the rendered value of the specified constant or associated constant."]
                #[doc = " Used by rustdoc."] fn rendered_const(DefId) -> &
                'tcx String
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("rendering constant initializer of `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Gets the rendered precise capturing args for an opaque for use in rustdoc."]
                fn rendered_precise_capturing_args(DefId) -> Option < & 'tcx
                [PreciseCapturingArgKind < Symbol, Symbol >] >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("rendering precise capturing args for `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing specialization parent impl of  `tcx.def_path_str(def_id)` "]
                fn impl_parent(DefId) -> Option < DefId >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("computing specialization parent impl of `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking if item has MIR available:  `tcx.def_path_str(key)` "]
                fn is_mir_available(DefId) -> bool
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("checking if item has MIR available: `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] finding all existential vtable entries for trait  `tcx.def_path_str(key)` "]
                fn own_existential_vtable_entries(DefId) -> & 'tcx [DefId]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("finding all existential vtable entries for trait `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] finding all vtable entries for trait  `tcx.def_path_str(key.def_id)` "]
                fn vtable_entries(ty :: TraitRef < 'tcx >) -> & 'tcx
                [ty :: VtblEntry < 'tcx >]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: TraitRef < 'tcx > | format!
                        ("finding all vtable entries for trait `{}`",
                        tcx.def_path_str(key.def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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()` "]
                fn first_method_vtable_slot(ty :: TraitRef < 'tcx >) -> usize
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: TraitRef < 'tcx > | format!
                        ("finding the slot within the vtable of `{}` for the implementation of `{}`",
                        key.self_ty(), key.print_only_trait_name())
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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"]
                fn supertrait_vtable_slot((Ty < 'tcx > , Ty < 'tcx >)) ->
                Option < usize >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        (Ty < 'tcx > , Ty < 'tcx >) | format!
                        ("finding the slot within vtable for trait object `{}` vtable ptr during trait upcasting coercion from `{}` vtable",
                        key.1, key.0)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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())` >"]
                fn
                vtable_allocation((Ty < 'tcx > , Option < ty ::
                ExistentialTraitRef < 'tcx > >)) -> mir :: interpret ::
                AllocId
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        (Ty < 'tcx > , Option < ty :: ExistentialTraitRef < 'tcx >
                        >) | format!
                        ("vtable const allocation for <{} as {}>", key.0,
                        key.1.map(| trait_ref | format!
                        ("{trait_ref}")).unwrap_or_else(| | "_".to_owned()))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing candidate for  `key.value` "]
                fn
                codegen_select_candidate(PseudoCanonicalInput < 'tcx, ty ::
                TraitRef < 'tcx > >) -> Result < & 'tcx ImplSource < 'tcx, ()
                > , CodegenObligationError >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        PseudoCanonicalInput < 'tcx, ty :: TraitRef < 'tcx > > |
                        format! ("computing candidate for `{}`", key.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Return all `impl` blocks in the current crate."]
                fn all_local_trait_impls(()) -> & 'tcx rustc_data_structures
                :: fx :: FxIndexMap < DefId, Vec < LocalDefId > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("finding local trait impls")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Return all `impl` blocks of the given trait in the current crate."]
                fn local_trait_impls(DefId) -> & 'tcx [LocalDefId]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > ,
                        trait_id : DefId | format!
                        ("finding local trait impls of `{}`",
                        tcx.def_path_str(trait_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Given a trait `trait_id`, return all known `impl` blocks."]
                fn trait_impls_of(DefId) -> & 'tcx ty :: trait_def ::
                TraitImpls
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > ,
                        trait_id : DefId | format!
                        ("finding trait impls of `{}`", tcx.def_path_str(trait_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] building specialization graph of trait  `tcx.def_path_str(trait_id)` "]
                fn specialization_graph_of(DefId) -> Result < & 'tcx
                specialization_graph :: Graph, ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > ,
                        trait_id : DefId | format!
                        ("building specialization graph of trait `{}`",
                        tcx.def_path_str(trait_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] determining dyn-compatibility of trait  `tcx.def_path_str(trait_id)` "]
                fn dyn_compatibility_violations(DefId) -> & 'tcx
                [DynCompatibilityViolation]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > ,
                        trait_id : DefId | format!
                        ("determining dyn-compatibility of trait `{}`",
                        tcx.def_path_str(trait_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking if trait  `tcx.def_path_str(trait_id)`  is dyn-compatible"]
                fn is_dyn_compatible(DefId) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > ,
                        trait_id : DefId | format!
                        ("checking if trait `{}` is dyn-compatible",
                        tcx.def_path_str(trait_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn param_env(DefId) -> ty :: ParamEnv < 'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("computing normalized predicates of `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn param_env_normalized_for_post_analysis(DefId) -> ty ::
                ParamEnv < 'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("computing revealed normalized predicates of `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn
                is_copy_raw(ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > >)
                -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , env :
                        ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > > | format!
                        ("computing whether `{}` is `Copy`", env.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn
                is_use_cloned_raw(ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx
                > >) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , env :
                        ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > > | format!
                        ("computing whether `{}` is `UseCloned`", env.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Query backing `Ty::is_sized`."] fn
                is_sized_raw(ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > >)
                -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , env :
                        ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > > | format!
                        ("computing whether `{}` is `Sized`", env.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Query backing `Ty::is_freeze`."] fn
                is_freeze_raw(ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx >
                >) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , env :
                        ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > > | format!
                        ("computing whether `{}` is freeze", env.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Query backing `Ty::is_unsafe_unpin`."] fn
                is_unsafe_unpin_raw(ty :: PseudoCanonicalInput < 'tcx, Ty <
                'tcx > >) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , env :
                        ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > > | format!
                        ("computing whether `{}` is `UnsafeUnpin`", env.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Query backing `Ty::is_unpin`."] fn
                is_unpin_raw(ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > >)
                -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , env :
                        ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > > | format!
                        ("computing whether `{}` is `Unpin`", env.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Query backing `Ty::is_async_drop`."] fn
                is_async_drop_raw(ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx
                > >) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , env :
                        ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > > | format!
                        ("computing whether `{}` is `AsyncDrop`", env.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Query backing `Ty::needs_drop`."] fn
                needs_drop_raw(ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx >
                >) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , env :
                        ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > > | format!
                        ("computing whether `{}` needs drop", env.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Query backing `Ty::needs_async_drop`."] fn
                needs_async_drop_raw(ty :: PseudoCanonicalInput < 'tcx, Ty <
                'tcx > >) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , env :
                        ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > > | format!
                        ("computing whether `{}` needs async drop", env.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Query backing `Ty::has_significant_drop_raw`."] fn
                has_significant_drop_raw(ty :: PseudoCanonicalInput < 'tcx, Ty
                < 'tcx > >) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , env :
                        ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > > | format!
                        ("computing whether `{}` has a significant drop", env.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn has_structural_eq_impl(Ty < 'tcx >)
                -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , ty : Ty
                        < 'tcx > | format!
                        ("computing whether `{}` implements `StructuralPartialEq`",
                        ty)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                adt_drop_tys(DefId) -> Result < & 'tcx ty :: List < Ty < 'tcx
                > > , AlwaysRequiresDrop >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("computing when `{}` needs drop", tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                adt_async_drop_tys(DefId) -> Result < & 'tcx ty :: List < Ty <
                'tcx > > , AlwaysRequiresDrop >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("computing when `{}` needs async drop",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                adt_significant_drop_tys(DefId) -> Result < & 'tcx ty :: List
                < Ty < 'tcx > > , AlwaysRequiresDrop >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("computing when `{}` has a significant destructor",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                list_significant_drop_tys(ty :: PseudoCanonicalInput < 'tcx,
                Ty < 'tcx > >) -> & 'tcx ty :: List < Ty < 'tcx > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , ty : ty
                        :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > > | format!
                        ("computing when `{}` has a significant destructor",
                        ty.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Computes the layout of a type. Note that this implicitly"]
                #[doc =
                " executes in `TypingMode::PostAnalysis`, and will normalize the input type."]
                fn layout_of(ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > >)
                -> Result < ty :: layout :: TyAndLayout < 'tcx > , & 'tcx ty
                :: layout :: LayoutError < 'tcx > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    true, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > > | format!
                        ("computing layout of `{}`", key.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : true, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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`."]
                fn
                fn_abi_of_fn_ptr(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
                > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: PseudoCanonicalInput < 'tcx,
                        (ty :: PolyFnSig < 'tcx > , & 'tcx ty :: List < Ty < 'tcx >
                        >) > | format!
                        ("computing call ABI of `{}` function pointers",
                        key.value.0)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for direct calls*"]
                #[doc =
                " to an `fn`. Indirectly-passed parameters in the returned ABI might not include all possible"]
                #[doc =
                " codegen optimization attributes (such as `ReadOnly` or `CapturesNone`), as deducing these"]
                #[doc =
                " requires inspection of function bodies that can lead to cycles when performed during typeck."]
                #[doc =
                " Post typeck, you should prefer the optimized ABI returned by `TyCtxt::fn_abi_of_instance`."]
                #[doc = ""]
                #[doc =
                " NB: the ABI returned by this query must not differ from that returned by"]
                #[doc = "     `fn_abi_of_instance_raw` in any other way."]
                #[doc = ""]
                #[doc =
                " * that includes virtual calls, which are represented by \"direct calls\" to an"]
                #[doc =
                "   `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`)."]
                fn
                fn_abi_of_instance_no_deduced_attrs(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
                > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: PseudoCanonicalInput < 'tcx,
                        (ty :: Instance < 'tcx > , & 'tcx ty :: List < Ty < 'tcx >
                        >) > | format!
                        ("computing unadjusted call ABI of `{}`", key.value.0)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for direct calls*"]
                #[doc =
                " to an `fn`. Indirectly-passed parameters in the returned ABI will include applicable"]
                #[doc =
                " codegen optimization attributes, including `ReadOnly` and `CapturesNone` -- deduction of"]
                #[doc =
                " which requires inspection of function bodies that can lead to cycles when performed during"]
                #[doc =
                " typeck. During typeck, you should therefore use instead the unoptimized ABI returned by"]
                #[doc = " `fn_abi_of_instance_no_deduced_attrs`."] #[doc = ""]
                #[doc =
                " For performance reasons, you should prefer to call the inherent `TyCtxt::fn_abi_of_instance`"]
                #[doc =
                " method rather than invoke this query: it delegates to this query if necessary, but where"]
                #[doc =
                " possible delegates instead to the `fn_abi_of_instance_no_deduced_attrs` query (thus avoiding"]
                #[doc = " unnecessary query system overhead)."] #[doc = ""]
                #[doc =
                " * that includes virtual calls, which are represented by \"direct calls\" to an"]
                #[doc =
                "   `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`)."]
                fn
                fn_abi_of_instance_raw(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
                > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: PseudoCanonicalInput < 'tcx,
                        (ty :: Instance < 'tcx > , & 'tcx ty :: List < Ty < 'tcx >
                        >) > | format! ("computing call ABI of `{}`", key.value.0)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] getting dylib dependency formats of crate"]
                fn dylib_dependency_formats(CrateNum) -> & 'tcx
                [(CrateNum, LinkagePreference)]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("getting dylib dependency formats of crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] getting the linkage format of all dependencies"]
                fn dependency_formats(()) -> & 'tcx Arc < crate :: middle ::
                dependency_format :: Dependencies >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("getting the linkage format of all dependencies")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking if the crate is_compiler_builtins"]
                fn is_compiler_builtins(CrateNum) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("checking if the crate is_compiler_builtins")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking if the crate has_global_allocator"]
                fn has_global_allocator(CrateNum) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("checking if the crate has_global_allocator")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking if the crate has_alloc_error_handler"]
                fn has_alloc_error_handler(CrateNum) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("checking if the crate has_alloc_error_handler")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking if the crate has_panic_handler"]
                fn has_panic_handler(CrateNum) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("checking if the crate has_panic_handler")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking if a crate is `#![profiler_runtime]`"]
                fn is_profiler_runtime(CrateNum) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("checking if a crate is `#![profiler_runtime]`")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(key)`  contains FFI-unwind calls"]
                fn has_ffi_unwind_calls(LocalDefId) -> bool
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("checking if `{}` contains FFI-unwind calls",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] getting a crate's required panic strategy"]
                fn required_panic_strategy(CrateNum) -> Option < PanicStrategy
                >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("getting a crate's required panic strategy")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] getting a crate's configured panic-in-drop strategy"]
                fn panic_in_drop_strategy(CrateNum) -> PanicStrategy
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("getting a crate's configured panic-in-drop strategy")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] getting whether a crate has `#![no_builtins]`"]
                fn is_no_builtins(CrateNum) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("getting whether a crate has `#![no_builtins]`")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] getting a crate's symbol mangling version"]
                fn symbol_mangling_version(CrateNum) -> SymbolManglingVersion
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("getting a crate's symbol mangling version")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] getting crate's ExternCrateData"]
                fn extern_crate(CrateNum) -> Option < & 'tcx ExternCrate >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : CrateNum | format! ("getting crate's ExternCrateData")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking whether the crate enabled `specialization`/`min_specialization`"]
                fn specialization_enabled_in(CrateNum) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , cnum :
                        CrateNum | format!
                        ("checking whether the crate enabled `specialization`/`min_specialization`")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing whether impls specialize one another"]
                fn specializes((DefId, DefId)) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        (DefId, DefId) | format!
                        ("computing whether impls specialize one another")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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`."]
                fn defaultness(DefId) -> hir :: Defaultness
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("looking up whether `{}` has `default`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Returns whether the field corresponding to the `DefId` has a default field value."]
                fn default_field(DefId) -> Option < DefId >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("looking up the `const` corresponding to the default for `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking that  `tcx.def_path_str(key)`  is well-formed"]
                fn check_well_formed(LocalDefId) -> Result < (),
                ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("checking that `{}` is well-formed", tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking that  `tcx.def_path_str(key)` 's generics are constrained by the impl header"]
                fn
                enforce_impl_non_lifetime_params_are_constrained(LocalDefId)
                -> Result < (), ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("checking that `{}`'s generics are constrained by the impl header",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] looking up the exported symbols of a crate"]
                fn reachable_non_generics(CrateNum) -> & 'tcx DefIdMap <
                SymbolExportInfo >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("looking up the exported symbols of a crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is an exported symbol"]
                fn is_reachable_non_generic(DefId) -> bool
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("checking whether `{}` is an exported symbol",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking whether  `tcx.def_path_str(def_id)`  is reachable from outside the crate"]
                fn is_unreachable_local_definition(LocalDefId) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : LocalDefId | format!
                        ("checking whether `{}` is reachable from outside the crate",
                        tcx.def_path_str(def_id),)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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()`."] fn
                upstream_monomorphizations(()) -> & 'tcx DefIdMap < UnordMap <
                GenericArgsRef < 'tcx > , CrateNum > >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format!
                        ("collecting available upstream monomorphizations")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                upstream_monomorphizations_for(DefId) -> Option < & 'tcx
                UnordMap < GenericArgsRef < 'tcx > , CrateNum > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("collecting available upstream monomorphizations for `{}`",
                        tcx.def_path_str(def_id),)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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)."] fn
                upstream_drop_glue_for(GenericArgsRef < 'tcx >) -> Option <
                CrateNum >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , args :
                        GenericArgsRef < 'tcx > | format!
                        ("available upstream drop-glue for `{:?}`", args)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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)."] fn
                upstream_async_drop_glue_for(GenericArgsRef < 'tcx >) ->
                Option < CrateNum >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , args :
                        GenericArgsRef < 'tcx > | format!
                        ("available upstream async-drop-glue for `{:?}`", args)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc = " Returns a list of all `extern` blocks of a crate."]
                fn foreign_modules(CrateNum) -> & 'tcx FxIndexMap < DefId,
                ForeignModule >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("looking up the foreign modules of a linked crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Lint against `extern fn` declarations having incompatible types."]
                fn clashing_extern_declarations(()) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format!
                        ("checking `extern fn` declarations are compatible")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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)."]
                fn entry_fn(()) -> Option < (DefId, EntryFnType) >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("looking up the entry function of a crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Finds the `rustc_proc_macro_decls` item of a crate."] fn
                proc_macro_decls_static(()) -> Option < LocalDefId >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format!
                        ("looking up the proc macro declarations for a crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] looking up the hash of a crate"]
                fn crate_hash(CrateNum) -> Svh
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format! ("looking up the hash of a crate")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Gets the hash for the host proc macro. Used to support -Z dual-proc-macro."]
                fn crate_host_hash(CrateNum) -> Option < Svh >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("looking up the hash of a host version of a crate")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn extra_filename(CrateNum) -> & 'tcx String
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("looking up the extra filename for a crate")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Gets the paths where the crate came from in the file system."]
                fn crate_extern_paths(CrateNum) -> & 'tcx Vec < PathBuf >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("looking up the paths for extern crates")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Given a crate and a trait, look up all impls of that trait in the crate."]
                #[doc = " Return `(impl_id, self_ty)`."] fn
                implementations_of_trait((CrateNum, DefId)) -> & 'tcx
                [(DefId, Option < SimplifiedType >)]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        (CrateNum, DefId) | format!
                        ("looking up implementations of a trait in a crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn crate_incoherent_impls((CrateNum, SimplifiedType)) -> &
                'tcx [DefId]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        (CrateNum, SimplifiedType) | format!
                        ("collecting all impls for a type in a crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Get the corresponding native library from the `native_libraries` query"]
                fn native_library(DefId) -> Option < & 'tcx NativeLib >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("getting the native library for `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] inheriting delegation signature"]
                fn inherit_sig_for_delegation_item(LocalDefId) -> & 'tcx
                [Ty < 'tcx >]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : LocalDefId | format! ("inheriting delegation signature")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] getting delegation user-specified args"]
                fn delegation_user_specified_args(LocalDefId) ->
                (& 'tcx [GenericArg < 'tcx >], & 'tcx [GenericArg < 'tcx >])
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : LocalDefId | format!
                        ("getting delegation user-specified args")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn resolve_bound_vars(hir :: OwnerId) -> & 'tcx
                ResolveBoundVars < 'tcx >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > ,
                        owner_id : hir :: OwnerId | format!
                        ("resolving lifetimes for `{}`", tcx.def_path_str(owner_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] looking up a named region inside  `tcx.def_path_str(owner_id)` "]
                fn named_variable_map(hir :: OwnerId) -> & 'tcx SortedMap <
                ItemLocalId, ResolvedArg >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > ,
                        owner_id : hir :: OwnerId | format!
                        ("looking up a named region inside `{}`",
                        tcx.def_path_str(owner_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] testing if a region is late bound inside  `tcx.def_path_str(owner_id)` "]
                fn is_late_bound_map(hir :: OwnerId) -> Option < & 'tcx
                FxIndexSet < ItemLocalId > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > ,
                        owner_id : hir :: OwnerId | format!
                        ("testing if a region is late bound inside `{}`",
                        tcx.def_path_str(owner_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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_dump_object_lifetime_defaults]` 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."]
                fn object_lifetime_default(DefId) -> ObjectLifetimeDefault
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("looking up lifetime defaults for type parameter `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] looking up late bound vars inside  `tcx.def_path_str(owner_id)` "]
                fn late_bound_vars_map(hir :: OwnerId) -> & 'tcx SortedMap <
                ItemLocalId, Vec < ty :: BoundVariableKind < 'tcx > > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > ,
                        owner_id : hir :: OwnerId | format!
                        ("looking up late bound vars inside `{}`",
                        tcx.def_path_str(owner_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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 = " ```"] fn opaque_captured_lifetimes(LocalDefId) -> &
                'tcx [(ResolvedArg, LocalDefId)]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : LocalDefId | format!
                        ("listing captured lifetimes for opaque `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " For an opaque type or trait associated type, return the list of potentially live"]
                #[doc =
                " (identity) generic args from the set of outlives bounds on that alias. Callers should"]
                #[doc =
                " instantiate the returned args with the concrete args of the alias."]
                #[doc = " ```ignore (illustrative)"]
                #[doc = " // Edition 2024: all args are captured"]
                #[doc =
                " fn foo<\'a, \'b, T: \'static>(&\'a &\'b T) -> impl Sized + \'a {}"]
                #[doc =
                " fn bar<\'a, \'b, T: \'static>(&\'a &\'b T) -> impl Sized + \'static {}"]
                #[doc =
                " fn baz<\'a, \'b, T: \'static>(&\'a &\'b T) -> impl Sized {}"]
                #[doc = " ```"] #[doc = ""] #[doc = " In the above:"]
                #[doc =
                "   - `foo` outlives `\'a`, but we know that `\'b: \'a` holds, so `\'b` is *also* potentially live"]
                #[doc =
                "     (and so is `T`, since `T: \'static` implies `T: \'a`)"]
                #[doc =
                "   - `bar` outlives `\'static`, so we know that no args are potentially live and we can return an empty set"]
                #[doc =
                "   - `baz` has no outlives bound, so return `None` and let the caller decide what to do"]
                fn
                live_args_for_alias_from_outlives_bounds(ty :: AliasTyKind <
                'tcx >) -> & 'tcx Option < ty :: EarlyBinder < 'tcx, Vec < ty
                :: GenericArg < 'tcx > > > >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , kind :
                        ty :: AliasTyKind < 'tcx > | format!
                        ("identifying live args for alias `{:?}`", kind)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " For each region param of an alias, the identity args that are known to"]
                #[doc =
                " outlive it given only the alias\'s declared where-clauses. Used for liveness:"]
                #[doc =
                " these are the only args whose regions the underlying type of the alias"]
                #[doc =
                " could capture while satisfying an outlives bound on that param."]
                fn args_known_to_outlive_alias_params(DefId) -> & 'tcx ty ::
                EarlyBinder < 'tcx, Vec <
                (ty :: Region < 'tcx > , Vec < ty :: GenericArg < 'tcx > >) >
                >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("computing the args known to outlive each region param of alias `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                visibility(DefId) -> ty :: Visibility < ModId >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("computing visibility of `{}`", tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing the uninhabited predicate of `{:?}`"]
                fn inhabited_predicate_adt(DefId) -> ty :: inhabitedness ::
                InhabitedPredicate < 'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        DefId | format!
                        ("computing the uninhabited predicate of `{:?}`", key)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Do not call this query directly: invoke `Ty::inhabited_predicate` instead."]
                fn inhabited_predicate_type(Ty < 'tcx >) -> ty ::
                inhabitedness :: InhabitedPredicate < 'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        Ty < 'tcx > | format!
                        ("computing the uninhabited predicate of `{}`", key)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Do not call this query directly: invoke `Ty::is_opsem_inhabited` instead."]
                fn
                is_opsem_inhabited_raw(ty :: PseudoCanonicalInput < 'tcx, Ty <
                'tcx > >) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , env :
                        ty :: PseudoCanonicalInput < 'tcx, Ty < 'tcx > > | format!
                        ("computing whether `{}` is inhabited on the opsem level",
                        env.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] fetching what a dependency looks like"]
                fn crate_dep_kind(CrateNum) -> CrateDepKind
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format! ("fetching what a dependency looks like")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                } #[doc = " Gets the name of the crate."] fn
                crate_name(CrateNum) -> Symbol
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format! ("fetching what a crate is named")
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Iterates over all named children of the given module,"]
                #[doc = " including both proper items and reexports."]
                #[doc =
                " Module here is understood in name resolution sense - it can be a `mod` item,"]
                #[doc = " or a crate root, or an enum, or a trait."]
                #[doc = ""] #[doc = " # Panics"] #[doc = ""]
                #[doc =
                " May panic if the provided `id` does not refer to a module."]
                fn module_children(DefId) -> & 'tcx [ModChild]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("collecting child items of module `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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`."]
                fn num_extern_def_ids(CrateNum) -> usize
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("fetching the number of definitions in a crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] calculating the lib features defined in a crate"]
                fn lib_features(CrateNum) -> & 'tcx LibFeatures
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("calculating the lib features defined in a crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn stability_implications(CrateNum) -> & 'tcx UnordMap <
                Symbol, Symbol >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("calculating the implications between `#[unstable]` features defined in a crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                } #[doc = " Whether the function is an intrinsic"] fn
                intrinsic_raw(DefId) -> Option < rustc_middle :: ty ::
                IntrinsicDef >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("fetch intrinsic name if `{}` is an intrinsic",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                " Returns the lang items defined in all crates by loading them from metadata of dependencies"]
                #[doc = " and collecting the ones from the current crate."] fn
                get_lang_items(()) -> & 'tcx LanguageItems
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("calculating the lang items map")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Returns all diagnostic items defined in all crates."] fn
                all_diagnostic_items(()) -> & 'tcx rustc_hir :: attrs ::
                diagnostic_items :: DiagnosticItems
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("calculating the diagnostic items map")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Returns all the canonical symbols defined in all crates."]
                fn all_canonical_symbols(()) -> & 'tcx CanonicalSymbols
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("calculating the canonical symbols map")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Returns the lang items defined in another crate by loading it from metadata."]
                fn defined_lang_items(CrateNum) -> & 'tcx [(DefId, LangItem)]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("calculating the lang items defined in a crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                } #[doc = " Returns the diagnostic items defined in a crate."]
                fn diagnostic_items(CrateNum) -> & 'tcx rustc_hir :: attrs ::
                diagnostic_items :: DiagnosticItems
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("calculating the diagnostic items map in a crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc = " Returns the canonical symbols defined in a crate."]
                fn canonical_symbols(CrateNum) -> & 'tcx CanonicalSymbols
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("calculating the canonical symbols map in a crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] calculating the missing lang items in a crate"]
                fn missing_lang_items(CrateNum) -> & 'tcx [LangItem]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("calculating the missing lang items in a crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                visible_parent_map(()) -> & 'tcx DefIdMap < DefId >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("calculating the visible parent map")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn trimmed_def_paths(()) -> & 'tcx DefIdMap < Symbol >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("calculating trimmed def paths")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] seeing if we're missing an `extern crate` item for this crate"]
                fn missing_extern_crate_item(CrateNum) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("seeing if we're missing an `extern crate` item for this crate")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] looking at the source for a crate"]
                fn used_crate_source(CrateNum) -> & 'tcx Arc < CrateSource >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format! ("looking at the source for a crate")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                debugger_visualizers(CrateNum) -> & 'tcx Vec <
                DebuggerVisualizerFile >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("looking up the debugger visualizers for this crate")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] generating a postorder list of CrateNums"]
                fn postorder_cnums(()) -> & 'tcx [CrateNum]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("generating a postorder list of CrateNums")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Returns whether or not the crate with CrateNum \'cnum\'"]
                #[doc = " is marked as a private dependency"] fn
                is_private_dep(CrateNum) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , c :
                        CrateNum | format!
                        ("checking whether crate `{}` is a private dependency", c)
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] getting the allocator kind for the current crate"]
                fn allocator_kind(()) -> Option < AllocatorKind >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format!
                        ("getting the allocator kind for the current crate")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] alloc error handler kind for the current crate"]
                fn alloc_error_handler_kind(()) -> Option < AllocatorKind >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("alloc error handler kind for the current crate")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] collecting upvars mentioned in  `tcx.def_path_str(def_id)` "]
                fn upvars_mentioned(DefId) -> Option < & 'tcx FxIndexMap < hir
                :: HirId, hir :: Upvar > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("collecting upvars mentioned in `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " All available crates in the graph, including those that should not be user-facing"]
                #[doc = " (such as private crates)."] fn crates(()) -> & 'tcx
                [CrateNum]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("fetching all foreign CrateNum instances")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] fetching `CrateNum`s for all crates loaded non-speculatively"]
                fn used_crates(()) -> & 'tcx [CrateNum]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format!
                        ("fetching `CrateNum`s for all crates loaded non-speculatively")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                duplicate_crate_names(CrateNum) -> & 'tcx [CrateNum]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , c :
                        CrateNum | format!
                        ("fetching `CrateNum`s with same name as `{c:?}`")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " A list of all traits in a crate, used by rustdoc and error reporting."]
                fn traits(CrateNum) -> & 'tcx [DefId]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format! ("fetching all traits in a crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] fetching all trait impls in a crate"]
                fn trait_impls_in_crate(CrateNum) -> & 'tcx [DefId]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format! ("fetching all trait impls in a crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] fetching the stable impl's order"]
                fn stable_order_of_exportable_impls(CrateNum) -> & 'tcx
                FxIndexMap < DefId, usize >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format! ("fetching the stable impl's order")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] fetching all exportable items in a crate"]
                fn exportable_items(CrateNum) -> & 'tcx [DefId]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format!
                        ("fetching all exportable items in a crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                exported_non_generic_symbols(CrateNum) -> & 'tcx
                [(ExportedSymbol < 'tcx > , SymbolExportInfo)]
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , cnum :
                        CrateNum | format!
                        ("collecting exported non-generic symbols for crate `{}`",
                        cnum)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                exported_generic_symbols(CrateNum) -> & 'tcx
                [(ExportedSymbol < 'tcx > , SymbolExportInfo)]
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , cnum :
                        CrateNum | format!
                        ("collecting exported generic symbols for crate `{}`", cnum)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] collect_and_partition_mono_items"]
                fn collect_and_partition_mono_items(()) -> MonoItemPartitions
                < 'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("collect_and_partition_mono_items")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] determining whether  `tcx.def_path_str(def_id)`  needs codegen"]
                fn is_codegened_item(DefId) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("determining whether `{}` needs codegen",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] getting codegen unit `{sym}`"]
                fn codegen_unit(Symbol) -> & 'tcx CodegenUnit < 'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , sym :
                        Symbol | format! ("getting codegen unit `{sym}`")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] optimization level used by backend"]
                fn backend_optimization_level(()) -> OptLevel
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("optimization level used by backend")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn output_filenames(()) -> &
                'tcx Arc < OutputFilenames >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("getting output filenames")
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " <div class=\"warning\">"] #[doc = ""]
                #[doc =
                " Do not call this query directly: Invoke `normalize` instead."]
                #[doc = ""] #[doc = " </div>"] fn
                normalize_canonicalized_projection(CanonicalAliasGoal < 'tcx
                >) -> Result < & 'tcx Canonical < 'tcx, canonical ::
                QueryResponse < 'tcx, NormalizationResult < 'tcx > > > ,
                NoSolution, >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , goal :
                        CanonicalAliasGoal < 'tcx > | format!
                        ("normalizing `{}`", goal.canonical.value.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " <div class=\"warning\">"] #[doc = ""]
                #[doc =
                " Do not call this query directly: Invoke `normalize` instead."]
                #[doc = ""] #[doc = " </div>"] fn
                normalize_canonicalized_free_alias(CanonicalAliasGoal < 'tcx
                >) -> Result < & 'tcx Canonical < 'tcx, canonical ::
                QueryResponse < 'tcx, NormalizationResult < 'tcx > > > ,
                NoSolution, >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , goal :
                        CanonicalAliasGoal < 'tcx > | format!
                        ("normalizing `{}`", goal.canonical.value.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " <div class=\"warning\">"] #[doc = ""]
                #[doc =
                " Do not call this query directly: Invoke `normalize` instead."]
                #[doc = ""] #[doc = " </div>"] fn
                normalize_canonicalized_inherent_projection(CanonicalAliasGoal
                < 'tcx >) -> Result < & 'tcx Canonical < 'tcx, canonical ::
                QueryResponse < 'tcx, NormalizationResult < 'tcx > > > ,
                NoSolution, >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , goal :
                        CanonicalAliasGoal < 'tcx > | format!
                        ("normalizing `{}`", goal.canonical.value.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Do not call this query directly: invoke `try_normalize_erasing_regions` instead."]
                fn
                try_normalize_generic_arg_after_erasing_regions(PseudoCanonicalInput
                < 'tcx, GenericArg < 'tcx > >) -> Result < GenericArg < 'tcx >
                , NoSolution >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , goal :
                        PseudoCanonicalInput < 'tcx, GenericArg < 'tcx > > | format!
                        ("normalizing `{}`", goal.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing implied outlives bounds for  `key.0.canonical.value.value.ty`  (hack disabled = {:?})"]
                fn
                implied_outlives_bounds((CanonicalImpliedOutlivesBoundsGoal <
                'tcx > , bool)) -> Result < & 'tcx Canonical < 'tcx, canonical
                :: QueryResponse < 'tcx, Vec < OutlivesBound < 'tcx > > > > ,
                NoSolution, >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        (CanonicalImpliedOutlivesBoundsGoal < 'tcx > , bool) |
                        format!
                        ("computing implied outlives bounds for `{}` (hack disabled = {:?})",
                        key.0.canonical.value.value.ty, key.1)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing implied outlives bounds for borrowck for  `tcx.def_path_str(mir_def)` "]
                fn mir_borrowck_implied_outlives_bounds(LocalDefId) -> Result
                < & 'tcx Canonical < 'tcx, canonical :: QueryResponse < 'tcx,
                MirBorrowckImpliedOutlivesBounds < 'tcx > > > , NoSolution, >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , mir_def
                        : LocalDefId | format!
                        ("computing implied outlives bounds for borrowck for `{}`",
                        tcx.def_path_str(mir_def))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Do not call this query directly:"]
                #[doc =
                " invoke `DropckOutlives::new(dropped_ty)).fully_perform(typeck.infcx)` instead."]
                fn dropck_outlives(CanonicalDropckOutlivesGoal < 'tcx >) ->
                Result < & 'tcx Canonical < 'tcx, canonical :: QueryResponse <
                'tcx, DropckOutlivesResult < 'tcx > > > , NoSolution, >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , goal :
                        CanonicalDropckOutlivesGoal < 'tcx > | format!
                        ("computing dropck types for `{}`",
                        goal.canonical.value.value.dropped_ty)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Do not call this query directly: invoke `infcx.predicate_may_hold()` or"]
                #[doc = " `infcx.predicate_must_hold()` instead."] fn
                evaluate_obligation(CanonicalPredicateGoal < 'tcx >) -> Result
                < EvaluationResult, OverflowError >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , goal :
                        CanonicalPredicateGoal < 'tcx > | format!
                        ("evaluating trait selection obligation `{}`",
                        goal.canonical.value.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Do not call this query directly: part of the `Eq` type-op"]
                fn
                type_op_ascribe_user_type(CanonicalTypeOpAscribeUserTypeGoal <
                'tcx >) -> Result < & 'tcx Canonical < 'tcx, canonical ::
                QueryResponse < 'tcx, () > > , NoSolution, >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , goal :
                        CanonicalTypeOpAscribeUserTypeGoal < 'tcx > | format!
                        ("evaluating `type_op_ascribe_user_type` `{:?}`",
                        goal.canonical.value.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Do not call this query directly: part of the `ProvePredicate` type-op"]
                fn
                type_op_prove_predicate(CanonicalTypeOpProvePredicateGoal <
                'tcx >) -> Result < & 'tcx Canonical < 'tcx, canonical ::
                QueryResponse < 'tcx, () > > , NoSolution, >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , goal :
                        CanonicalTypeOpProvePredicateGoal < 'tcx > | format!
                        ("evaluating `type_op_prove_predicate` `{:?}`",
                        goal.canonical.value.value)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Do not call this query directly: part of the `Normalize` type-op"]
                fn
                type_op_normalize_ty(CanonicalTypeOpNormalizeGoal < 'tcx, Ty <
                'tcx > >) -> Result < & 'tcx Canonical < 'tcx, canonical ::
                QueryResponse < 'tcx, Ty < 'tcx > > > , NoSolution, >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , goal :
                        CanonicalTypeOpNormalizeGoal < 'tcx, Ty < 'tcx > > | format!
                        ("normalizing `{}`",
                        goal.canonical.value.value.value.skip_normalization())
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Do not call this query directly: part of the `Normalize` type-op"]
                fn
                type_op_normalize_clause(CanonicalTypeOpNormalizeGoal < 'tcx,
                ty :: Clause < 'tcx > >) -> Result < & 'tcx Canonical < 'tcx,
                canonical :: QueryResponse < 'tcx, ty :: Clause < 'tcx > > > ,
                NoSolution, >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , goal :
                        CanonicalTypeOpNormalizeGoal < 'tcx, ty :: Clause < 'tcx > >
                        | format!
                        ("normalizing `{:?}`",
                        goal.canonical.value.value.value.skip_normalization())
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Do not call this query directly: part of the `Normalize` type-op"]
                fn
                type_op_normalize_poly_fn_sig(CanonicalTypeOpNormalizeGoal <
                'tcx, ty :: PolyFnSig < 'tcx > >) -> Result < & 'tcx Canonical
                < 'tcx, canonical :: QueryResponse < 'tcx, ty :: PolyFnSig <
                'tcx > > > , NoSolution, >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , goal :
                        CanonicalTypeOpNormalizeGoal < 'tcx, ty :: PolyFnSig < 'tcx
                        > > | format!
                        ("normalizing `{:?}`",
                        goal.canonical.value.value.value.skip_normalization())
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Do not call this query directly: part of the `Normalize` type-op"]
                fn
                type_op_normalize_fn_sig(CanonicalTypeOpNormalizeGoal < 'tcx,
                ty :: FnSig < 'tcx > >) -> Result < & 'tcx Canonical < 'tcx,
                canonical :: QueryResponse < 'tcx, ty :: FnSig < 'tcx > > > ,
                NoSolution, >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , goal :
                        CanonicalTypeOpNormalizeGoal < 'tcx, ty :: FnSig < 'tcx > >
                        | format!
                        ("normalizing `{:?}`",
                        goal.canonical.value.value.value.skip_normalization())
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking impossible instantiated clauses:  `tcx.def_path_str(key.0)` "]
                fn
                instantiate_and_check_impossible_clauses((DefId,
                GenericArgsRef < 'tcx >)) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        (DefId, GenericArgsRef < 'tcx >) | format!
                        ("checking impossible instantiated clauses: `{}`",
                        tcx.def_path_str(key.0))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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)` "]
                fn is_impossible_associated_item((DefId, DefId)) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        (DefId, DefId) | format!
                        ("checking if `{}` is impossible to reference within `{}`",
                        tcx.def_path_str(key.1), tcx.def_path_str(key.0),)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] computing autoderef types for  `goal.canonical.value.value.self_ty` "]
                fn
                method_autoderef_steps(CanonicalMethodAutoderefStepsGoal <
                'tcx >) -> MethodAutoderefStepsResult < 'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , goal :
                        CanonicalMethodAutoderefStepsGoal < 'tcx > | format!
                        ("computing autoderef types for `{}`",
                        goal.canonical.value.value.self_ty)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                } #[doc = " Used by `-Znext-solver` to compute proof trees."]
                fn
                evaluate_root_goal_for_proof_tree_raw((solve :: CanonicalInput
                < 'tcx > , usize)) ->
                (solve :: QueryResult < 'tcx > , & 'tcx solve :: inspect ::
                Probe < TyCtxt < 'tcx > > , RequiredDepth)
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        (solve :: CanonicalInput < 'tcx > , usize) | format!
                        ("computing proof tree for `{}` with depth `{}`",
                        key.0.canonical.value.goal.predicate, key.1)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : true,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Returns a list of all Rust target features for the current target (not just the ones that"]
                #[doc =
                " are enabled). These are not always the same as LLVM target features!"]
                fn all_rust_target_features(CrateNum) -> & 'tcx UnordMap <
                String, rustc_target :: target_features :: Stability >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ :
                        CrateNum | format! ("looking up Rust target features")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] looking up implied target features"]
                fn implied_target_features(Symbol) -> & 'tcx Vec < Symbol >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , feature
                        : Symbol | format! ("looking up implied target features")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] looking up enabled feature gates"]
                fn features_query(()) -> & 'tcx rustc_feature :: Features
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("looking up enabled feature gates")
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] the ast before macro expansion and name resolution"]
                fn crate_for_resolver(()) -> & 'tcx Steal <
                (rustc_ast :: Crate, rustc_ast :: AttrVec) >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , () : ()
                        | format!
                        ("the ast before macro expansion and name resolution")
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : true,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn
                resolve_instance_raw(ty :: PseudoCanonicalInput < 'tcx,
                (DefId, GenericArgsRef < 'tcx >) >) -> Result < Option < ty ::
                Instance < 'tcx > > , ErrorGuaranteed >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: PseudoCanonicalInput < 'tcx,
                        (DefId, GenericArgsRef < 'tcx >) > | format!
                        ("resolving instance `{}`", ty :: Instance ::
                        new_raw(key.value.0, key.value.1))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] revealing opaque types in `{:?}`"]
                fn reveal_opaque_types_in_bounds(ty :: Clauses < 'tcx >) -> ty
                :: Clauses < 'tcx >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: Clauses < 'tcx > | format!
                        ("revealing opaque types in `{:?}`", key)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] looking up limits"]
                fn limits(()) -> Limits
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        () | format! ("looking up limits")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."]
                fn
                diagnostic_hir_wf_check((ty :: Predicate < 'tcx > ,
                WellFormedLoc)) -> Option < & 'tcx ObligationCause < 'tcx > >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        (ty :: Predicate < 'tcx > , WellFormedLoc) | format!
                        ("performing HIR wf-checking for predicate `{:?}` at item `{:?}`",
                        key.0, key.1)
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : true,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " The list of backend features computed from CLI flags (`-Ctarget-cpu`, `-Ctarget-feature`,"]
                #[doc = " `--target` and similar)."] fn
                global_backend_features(()) -> & 'tcx Vec < String >
                {
                    arena_cache : true, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("computing the backend features for CLI flags")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking validity requirement for  `key.1.value` :  `key.0` "]
                fn
                check_validity_requirement((ValidityRequirement, ty ::
                PseudoCanonicalInput < 'tcx, Ty < 'tcx > >)) -> Result < bool,
                & 'tcx ty :: layout :: LayoutError < 'tcx > >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        (ValidityRequirement, ty :: PseudoCanonicalInput < 'tcx, Ty
                        < 'tcx > >) | format!
                        ("checking validity requirement for `{}`: {}", key.1.value,
                        key.0)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                compare_impl_item(LocalDefId) -> Result < (), ErrorGuaranteed
                >
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("checking assoc item `{}` is compatible with trait definition",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : true, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] deducing parameter attributes for  `tcx.def_path_str(def_id)` "]
                fn deduced_param_attrs(DefId) -> & 'tcx [DeducedParamAttrs]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("deducing parameter attributes for {}",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] resolutions for documentation links for a module"]
                fn doc_link_resolutions(ModId) -> & 'tcx DocLinkResMap
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : ModId | format!
                        ("resolutions for documentation links for a module")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] traits in scope for documentation links for a module"]
                fn doc_link_traits_in_scope(ModId) -> & 'tcx [DefId]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : ModId | format!
                        ("traits in scope for documentation links for a module")
                    }, eval_always : true, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn stripped_cfg_items(CrateNum)
                -> & 'tcx [StrippedCfgItem]
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , cnum :
                        CrateNum | format! ("getting cfg-ed out item names")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] check whether the item has a `where Self: Sized` bound"]
                fn generics_require_sized_self(DefId) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("check whether the item has a `where Self: Sized` bound")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] whether the item should be made inlinable across crates"]
                fn cross_crate_inlinable(DefId) -> bool
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("whether the item should be made inlinable across crates")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                check_mono_item(ty :: Instance < 'tcx >) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: Instance < 'tcx > | format!
                        ("monomorphization-time checking")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] collecting items used by  `key.0` "]
                fn
                items_of_instance((ty :: Instance < 'tcx > , CollectionMode))
                -> Result <
                (& 'tcx [Spanned < MonoItem < 'tcx > >], & 'tcx
                [Spanned < MonoItem < 'tcx > >]), NormalizationErrorInMono >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        (ty :: Instance < 'tcx > , CollectionMode) | format!
                        ("collecting items used by `{}`", key.0)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] estimating codegen size of  `key` "]
                fn size_estimate(ty :: Instance < 'tcx >) -> usize
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        ty :: Instance < 'tcx > | format!
                        ("estimating codegen size of `{}`", key)
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] looking up anon const kind of  `tcx.def_path_str(def_id)` "]
                fn anon_const_kind(DefId) -> ty :: AnonConstKind
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("looking up anon const kind of `{}`",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] checking if  `tcx.def_path_str(def_id)`  is a trivial const"]
                fn trivial_const(DefId) -> Option <
                (mir :: ConstValue, Ty < 'tcx >) >
                {
                    arena_cache : false, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , def_id
                        : DefId | format!
                        ("checking if `{}` is a trivial const",
                        tcx.def_path_str(def_id))
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    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."] fn
                sanitizer_settings_for(LocalDefId) -> SanitizerFnAttrs
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , key :
                        LocalDefId | format!
                        ("checking what set of sanitizers are enabled on `{}`",
                        tcx.def_path_str(key))
                    }, eval_always : false, feedable : true, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                "[query description - consider adding a doc-comment!] check externally implementable items"]
                fn check_externally_implementable_items(()) -> ()
                {
                    arena_cache : false, cache_on_disk : false, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , _ : ()
                        | format! ("check externally implementable items")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    false,
                }
                #[doc =
                " Returns a list of all `externally implementable items` crate."]
                fn externally_implementable_items(CrateNum) -> & 'tcx
                FxIndexMap < DefId, (EiiDecl, FxIndexMap < DefId, EiiImpl >) >
                {
                    arena_cache : true, cache_on_disk : true, depth_limit :
                    false, desc :
                    {
                        #[allow(unused_variables)] | tcx : TyCtxt < 'tcx > , cnum :
                        CrateNum | format!
                        ("looking up the externally implementable items of a crate")
                    }, eval_always : false, feedable : false, handle_cycle_error
                    : false, no_force : false, no_hash : false,
                    returns_error_guaranteed : false, separate_provide_extern :
                    true,
                }
            } non_queries
            {
                #[doc =
                " We use this for most things when incr. comp. is turned off."]
                Null, #[doc = " We use this to create a forever-red node."]
                Red, #[doc = " We use this to create a side effect node."]
                SideEffect,
                #[doc =
                " We use this to create the anon node with zero dependencies."]
                AnonZeroDeps, TraitSelect, CompileCodegenUnit,
                CompileMonoItem, Metadata,
            }
        }
    }
}
mod _analyzer_hints {
    use super::*;
    #[inline(always)]
    fn derive_macro_expansion<'tcx>() -> Result<&'tcx TokenStream, ()> {
        let crate::query::Providers { derive_macro_expansion: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        loop {}
    }
    #[inline(always)]
    fn trigger_delayed_bug<'tcx>() {
        let crate::query::Providers { trigger_delayed_bug: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn registered_attr_tools<'tcx>() -> &'tcx ty::RegisteredTools {
        let crate::query::Providers { registered_attr_tools: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn registered_lint_tools<'tcx>() -> &'tcx ty::RegisteredTools {
        let crate::query::Providers { registered_lint_tools: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn early_lint_checks<'tcx>() {
        let crate::query::Providers { early_lint_checks: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn env_var_os<'tcx>() -> Option<&'tcx OsStr> {
        let crate::query::Providers { env_var_os: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn resolutions<'tcx>() -> &'tcx ty::ResolverGlobalCtxt {
        let crate::query::Providers { resolutions: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn resolver_for_lowering_raw<'tcx>()
        ->
            (&'tcx Steal<ty::ResolverAstLowering<'tcx>>,
            &'tcx Steal<ast::Crate>, &'tcx ty::ResolverGlobalCtxt) {
        let crate::query::Providers { resolver_for_lowering_raw: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::no_hash;
        loop {}
    }
    #[inline(always)]
    fn index_ast<'tcx>()
        ->
            &'tcx IndexVec<LocalDefId,
            Steal<(Arc<ty::ResolverAstLowering<'tcx>>, ast::AstOwner)>> {
        let crate::query::Providers { index_ast: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::no_hash;
        loop {}
    }
    #[inline(always)]
    fn source_span<'tcx>() -> Span {
        let crate::query::Providers { source_span: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn lower_to_hir<'tcx>() -> hir::MaybeOwner<'tcx> {
        let crate::query::Providers { lower_to_hir: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn hir_owner<'tcx>() -> rustc_middle::hir::ProjectedMaybeOwner<'tcx> {
        let crate::query::Providers { hir_owner: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::feedable;
        loop {}
    }
    #[inline(always)]
    fn hir_crate_items<'tcx>() -> &'tcx rustc_middle::hir::ModuleItems {
        let crate::query::Providers { hir_crate_items: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn hir_module_items<'tcx>() -> &'tcx rustc_middle::hir::ModuleItems {
        let crate::query::Providers { hir_module_items: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::cache_on_disk;
        loop {}
    }
    #[inline(always)]
    fn hir_owner_parent_q<'tcx>() -> hir::HirId {
        let crate::query::Providers { hir_owner_parent_q: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn hir_attr_map<'tcx>() -> &'tcx hir::AttributeMap<'tcx> {
        let crate::query::Providers { hir_attr_map: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::feedable;
        loop {}
    }
    #[inline(always)]
    fn const_param_default<'tcx>() -> ty::EarlyBinder<'tcx, ty::Const<'tcx>> {
        let crate::query::Providers { const_param_default: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn const_of_item<'tcx>() -> ty::EarlyBinder<'tcx, ty::Const<'tcx>> {
        let crate::query::Providers { const_of_item: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn type_of<'tcx>() -> ty::EarlyBinder<'tcx, Ty<'tcx>> {
        let crate::query::Providers { type_of: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn type_of_opaque<'tcx>() -> ty::EarlyBinder<'tcx, Ty<'tcx>> {
        let crate::query::Providers { type_of_opaque: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn type_of_opaque_hir_typeck<'tcx>() -> ty::EarlyBinder<'tcx, Ty<'tcx>> {
        let crate::query::Providers { type_of_opaque_hir_typeck: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn type_alias_is_checked<'tcx>() -> bool {
        let crate::query::Providers { type_alias_is_checked: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn collect_return_position_impl_trait_in_trait_tys<'tcx>()
        ->
            Result<&'tcx DefIdMap<ty::EarlyBinder<'tcx, Ty<'tcx>>>,
            ErrorGuaranteed> {
        let crate::query::Providers {
                collect_return_position_impl_trait_in_trait_tys: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn opaque_ty_origin<'tcx>() -> hir::OpaqueTyOrigin<DefId> {
        let crate::query::Providers { opaque_ty_origin: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn unsizing_params_for_adt<'tcx>()
        -> &'tcx rustc_index::bit_set::DenseBitSet<u32> {
        let crate::query::Providers { unsizing_params_for_adt: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn analysis<'tcx>() {
        let crate::query::Providers { analysis: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn check_expectations<'tcx>() {
        let crate::query::Providers { check_expectations: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn generics_of<'tcx>() -> &'tcx ty::Generics {
        let crate::query::Providers { generics_of: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn clauses_of<'tcx>() -> ty::GenericClauses<'tcx> {
        let crate::query::Providers { clauses_of: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn opaque_types_defined_by<'tcx>() -> &'tcx ty::List<LocalDefId> {
        let crate::query::Providers { opaque_types_defined_by: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn nested_bodies_within<'tcx>() -> &'tcx ty::List<LocalDefId> {
        let crate::query::Providers { nested_bodies_within: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn explicit_item_bounds<'tcx>()
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        let crate::query::Providers { explicit_item_bounds: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn explicit_item_self_bounds<'tcx>()
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        let crate::query::Providers { explicit_item_self_bounds: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn item_bounds<'tcx>() -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
        let crate::query::Providers { item_bounds: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn item_self_bounds<'tcx>() -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
        let crate::query::Providers { item_self_bounds: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn item_non_self_bounds<'tcx>()
        -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
        let crate::query::Providers { item_non_self_bounds: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn impl_super_outlives<'tcx>()
        -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
        let crate::query::Providers { impl_super_outlives: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn native_libraries<'tcx>() -> &'tcx Vec<NativeLib> {
        let crate::query::Providers { native_libraries: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn shallow_lint_levels_on<'tcx>()
        -> &'tcx rustc_middle::lint::ShallowLintLevelMap {
        let crate::query::Providers { shallow_lint_levels_on: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn lint_expectations<'tcx>()
        -> &'tcx Vec<(StableLintExpectationId, LintExpectation)> {
        let crate::query::Providers { lint_expectations: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn skippable_lints<'tcx>() -> &'tcx UnordSet<LintId> {
        let crate::query::Providers { skippable_lints: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn expn_that_defined<'tcx>() -> rustc_span::ExpnId {
        let crate::query::Providers { expn_that_defined: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn is_panic_runtime<'tcx>() -> bool {
        let crate::query::Providers { is_panic_runtime: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn check_representability<'tcx>() {
        let crate::query::Providers { check_representability: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::handle_cycle_error;
        crate::query::modifiers::no_force;
        loop {}
    }
    #[inline(always)]
    fn check_representability_adt_ty<'tcx>() {
        let crate::query::Providers { check_representability_adt_ty: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::handle_cycle_error;
        crate::query::modifiers::no_force;
        loop {}
    }
    #[inline(always)]
    fn params_in_repr<'tcx>()
        -> &'tcx rustc_index::bit_set::DenseBitSet<u32> {
        let crate::query::Providers { params_in_repr: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::no_hash;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn thir_body<'tcx>()
        ->
            Result<(&'tcx Steal<thir::Thir<'tcx>>, thir::ExprId),
            ErrorGuaranteed> {
        let crate::query::Providers { thir_body: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::no_hash;
        loop {}
    }
    #[inline(always)]
    fn mir_keys<'tcx>()
        -> &'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId> {
        let crate::query::Providers { mir_keys: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn mir_const_qualif<'tcx>() -> mir::ConstQualifs {
        let crate::query::Providers { mir_const_qualif: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn mir_built<'tcx>() -> &'tcx Steal<mir::Body<'tcx>> {
        let crate::query::Providers { mir_built: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::feedable;
        loop {}
    }
    #[inline(always)]
    fn thir_abstract_const<'tcx>()
        ->
            Result<Option<ty::EarlyBinder<'tcx, ty::Const<'tcx>>>,
            ErrorGuaranteed> {
        let crate::query::Providers { thir_abstract_const: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn mir_drops_elaborated_and_const_checked<'tcx>()
        -> &'tcx Steal<mir::Body<'tcx>> {
        let crate::query::Providers {
                mir_drops_elaborated_and_const_checked: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::no_hash;
        loop {}
    }
    #[inline(always)]
    fn mir_for_ctfe<'tcx>() -> &'tcx mir::Body<'tcx> {
        let crate::query::Providers { mir_for_ctfe: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn mir_promoted<'tcx>()
        ->
            (&'tcx Steal<mir::Body<'tcx>>,
            &'tcx Steal<IndexVec<mir::Promoted, mir::Body<'tcx>>>) {
        let crate::query::Providers { mir_promoted: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::no_hash;
        loop {}
    }
    #[inline(always)]
    fn closure_typeinfo<'tcx>() -> ty::ClosureTypeInfo<'tcx> {
        let crate::query::Providers { closure_typeinfo: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn closure_saved_names_of_captured_variables<'tcx>()
        -> &'tcx IndexVec<abi::FieldIdx, Symbol> {
        let crate::query::Providers {
                closure_saved_names_of_captured_variables: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn mir_coroutine_witnesses<'tcx>()
        -> Option<&'tcx mir::CoroutineLayout<'tcx>> {
        let crate::query::Providers { mir_coroutine_witnesses: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn check_coroutine_obligations<'tcx>() -> Result<(), ErrorGuaranteed> {
        let crate::query::Providers { check_coroutine_obligations: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn check_potentially_region_dependent_goals<'tcx>()
        -> Result<(), ErrorGuaranteed> {
        let crate::query::Providers {
                check_potentially_region_dependent_goals: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn optimized_mir<'tcx>() -> &'tcx mir::Body<'tcx> {
        let crate::query::Providers { optimized_mir: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn is_eligible_for_coverage<'tcx>() -> bool {
        let crate::query::Providers { is_eligible_for_coverage: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn coverage_attr_on<'tcx>() -> bool {
        let crate::query::Providers { coverage_attr_on: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::feedable;
        loop {}
    }
    #[inline(always)]
    fn coverage_codegen_info<'tcx>()
        -> Option<&'tcx mir::coverage::CoverageCodegenInfo> {
        let crate::query::Providers { coverage_codegen_info: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn promoted_mir<'tcx>()
        -> &'tcx IndexVec<mir::Promoted, mir::Body<'tcx>> {
        let crate::query::Providers { promoted_mir: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn erase_and_anonymize_regions_ty<'tcx>() -> Ty<'tcx> {
        let crate::query::Providers { erase_and_anonymize_regions_ty: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::no_hash;
        loop {}
    }
    #[inline(always)]
    fn wasm_import_module_map<'tcx>() -> &'tcx DefIdMap<String> {
        let crate::query::Providers { wasm_import_module_map: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn trait_explicit_clauses_and_bounds<'tcx>() -> ty::GenericClauses<'tcx> {
        let crate::query::Providers { trait_explicit_clauses_and_bounds: _, ..
                };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn explicit_clauses_of<'tcx>() -> ty::GenericClauses<'tcx> {
        let crate::query::Providers { explicit_clauses_of: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn inferred_outlives_of<'tcx>() -> &'tcx [(ty::Clause<'tcx>, Span)] {
        let crate::query::Providers { inferred_outlives_of: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn explicit_super_clauses_of<'tcx>()
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        let crate::query::Providers { explicit_super_clauses_of: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn explicit_implied_clauses_of<'tcx>()
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        let crate::query::Providers { explicit_implied_clauses_of: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn explicit_supertraits_containing_assoc_item<'tcx>()
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        let crate::query::Providers {
                explicit_supertraits_containing_assoc_item: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn const_conditions<'tcx>() -> ty::ConstConditions<'tcx> {
        let crate::query::Providers { const_conditions: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn explicit_implied_const_bounds<'tcx>()
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::PolyTraitRef<'tcx>, Span)]> {
        let crate::query::Providers { explicit_implied_const_bounds: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn type_param_clauses<'tcx>()
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        let crate::query::Providers { type_param_clauses: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn trait_def<'tcx>() -> &'tcx ty::TraitDef {
        let crate::query::Providers { trait_def: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn adt_def<'tcx>() -> ty::AdtDef<'tcx> {
        let crate::query::Providers { adt_def: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn adt_destructor<'tcx>() -> Option<ty::Destructor> {
        let crate::query::Providers { adt_destructor: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn adt_async_destructor<'tcx>() -> Option<ty::AsyncDestructor> {
        let crate::query::Providers { adt_async_destructor: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn adt_sizedness_constraint<'tcx>()
        -> Option<ty::EarlyBinder<'tcx, Ty<'tcx>>> {
        let crate::query::Providers { adt_sizedness_constraint: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn adt_dtorck_constraint<'tcx>() -> &'tcx DropckConstraint<'tcx> {
        let crate::query::Providers { adt_dtorck_constraint: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn constness<'tcx>() -> hir::Constness {
        let crate::query::Providers { constness: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn asyncness<'tcx>() -> ty::Asyncness {
        let crate::query::Providers { asyncness: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn is_promotable_const_fn<'tcx>() -> bool {
        let crate::query::Providers { is_promotable_const_fn: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn coroutine_by_move_body_def_id<'tcx>() -> DefId {
        let crate::query::Providers { coroutine_by_move_body_def_id: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn coroutine_kind<'tcx>() -> Option<hir::CoroutineKind> {
        let crate::query::Providers { coroutine_kind: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn coroutine_for_closure<'tcx>() -> DefId {
        let crate::query::Providers { coroutine_for_closure: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn coroutine_hidden_types<'tcx>()
        ->
            ty::EarlyBinder<'tcx,
            ty::Binder<'tcx, ty::CoroutineWitnessTypes<TyCtxt<'tcx>>>> {
        let crate::query::Providers { coroutine_hidden_types: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn crate_variances<'tcx>() -> &'tcx ty::CrateVariancesMap<'tcx> {
        let crate::query::Providers { crate_variances: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn variances_of<'tcx>() -> &'tcx [ty::Variance] {
        let crate::query::Providers { variances_of: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::handle_cycle_error;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn inferred_outlives_crate<'tcx>() -> &'tcx ty::CrateClausesMap<'tcx> {
        let crate::query::Providers { inferred_outlives_crate: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn associated_item_def_ids<'tcx>() -> &'tcx [DefId] {
        let crate::query::Providers { associated_item_def_ids: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn associated_item<'tcx>() -> ty::AssocItem {
        let crate::query::Providers { associated_item: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn associated_items<'tcx>() -> &'tcx ty::AssocItems {
        let crate::query::Providers { associated_items: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn impl_item_implementor_ids<'tcx>() -> &'tcx DefIdMap<DefId> {
        let crate::query::Providers { impl_item_implementor_ids: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn associated_types_for_impl_traits_in_trait_or_impl<'tcx>()
        -> &'tcx DefIdMap<Vec<DefId>> {
        let crate::query::Providers {
                associated_types_for_impl_traits_in_trait_or_impl: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn impl_trait_header<'tcx>() -> ty::ImplTraitHeader<'tcx> {
        let crate::query::Providers { impl_trait_header: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn impl_is_fully_generic_for_reflection<'tcx>() -> bool {
        let crate::query::Providers { impl_is_fully_generic_for_reflection: _,
                .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn impl_self_is_guaranteed_unsized<'tcx>() -> bool {
        let crate::query::Providers { impl_self_is_guaranteed_unsized: _, ..
                };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn inherent_impls<'tcx>() -> &'tcx [DefId] {
        let crate::query::Providers { inherent_impls: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn incoherent_impls<'tcx>() -> &'tcx [DefId] {
        let crate::query::Providers { incoherent_impls: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn check_transmutes<'tcx>() -> Result<(), ErrorGuaranteed> {
        let crate::query::Providers { check_transmutes: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn check_offloads<'tcx>() -> Result<(), ErrorGuaranteed> {
        let crate::query::Providers { check_offloads: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn check_unsafety<'tcx>() {
        let crate::query::Providers { check_unsafety: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn check_tail_calls<'tcx>() -> Result<(), ErrorGuaranteed> {
        let crate::query::Providers { check_tail_calls: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn assumed_wf_types<'tcx>() -> &'tcx [(Ty<'tcx>, Span)] {
        let crate::query::Providers { assumed_wf_types: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn assumed_wf_types_for_rpitit<'tcx>() -> &'tcx [(Ty<'tcx>, Span)] {
        let crate::query::Providers { assumed_wf_types_for_rpitit: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn fn_sig<'tcx>() -> ty::EarlyBinder<'tcx, ty::PolyFnSig<'tcx>> {
        let crate::query::Providers { fn_sig: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::handle_cycle_error;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn lint_mod<'tcx>() {
        let crate::query::Providers { lint_mod: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn check_unused_traits<'tcx>() {
        let crate::query::Providers { check_unused_traits: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn check_mod_attrs<'tcx>() {
        let crate::query::Providers { check_mod_attrs: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn check_mod_unstable_api_usage<'tcx>() {
        let crate::query::Providers { check_mod_unstable_api_usage: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn check_mod_privacy<'tcx>() {
        let crate::query::Providers { check_mod_privacy: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn check_liveness<'tcx>()
        -> &'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx> {
        let crate::query::Providers { check_liveness: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn live_symbols_and_ignored_derived_traits<'tcx>()
        -> Result<&'tcx DeadCodeLivenessSummary, ErrorGuaranteed> {
        let crate::query::Providers {
                live_symbols_and_ignored_derived_traits: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn check_mod_deathness<'tcx>() {
        let crate::query::Providers { check_mod_deathness: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn check_type_wf<'tcx>() -> Result<(), ErrorGuaranteed> {
        let crate::query::Providers { check_type_wf: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn coerce_unsized_info<'tcx>()
        -> Result<ty::adjustment::CoerceUnsizedInfo, ErrorGuaranteed> {
        let crate::query::Providers { coerce_unsized_info: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn typeck_root<'tcx>() -> &'tcx ty::TypeckResults<'tcx> {
        let crate::query::Providers { typeck_root: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        loop {}
    }
    #[inline(always)]
    fn used_trait_imports<'tcx>() -> &'tcx UnordSet<LocalDefId> {
        let crate::query::Providers { used_trait_imports: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        loop {}
    }
    #[inline(always)]
    fn coherent_trait<'tcx>() -> Result<(), ErrorGuaranteed> {
        let crate::query::Providers { coherent_trait: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn mir_borrowck<'tcx>()
        ->
            Result<&'tcx FxIndexMap<LocalDefId,
            ty::DefinitionSiteHiddenType<'tcx>>, ErrorGuaranteed> {
        let crate::query::Providers { mir_borrowck: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn crate_inherent_impls<'tcx>()
        -> (&'tcx CrateInherentImpls, Result<(), ErrorGuaranteed>) {
        let crate::query::Providers { crate_inherent_impls: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn crate_inherent_impls_validity_check<'tcx>()
        -> Result<(), ErrorGuaranteed> {
        let crate::query::Providers { crate_inherent_impls_validity_check: _,
                .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn crate_inherent_impls_overlap_check<'tcx>()
        -> Result<(), ErrorGuaranteed> {
        let crate::query::Providers { crate_inherent_impls_overlap_check: _,
                .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn orphan_check_impl<'tcx>() -> Result<(), ErrorGuaranteed> {
        let crate::query::Providers { orphan_check_impl: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn mir_callgraph_cyclic<'tcx>() -> Option<&'tcx UnordSet<LocalDefId>> {
        let crate::query::Providers { mir_callgraph_cyclic: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::cache_on_disk;
        loop {}
    }
    #[inline(always)]
    fn mir_inliner_callees<'tcx>() -> &'tcx [(DefId, GenericArgsRef<'tcx>)] {
        let crate::query::Providers { mir_inliner_callees: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn tag_for_variant<'tcx>() -> Option<ty::ScalarInt> {
        let crate::query::Providers { tag_for_variant: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn eval_to_allocation_raw<'tcx>() -> EvalToAllocationRawResult<'tcx> {
        let crate::query::Providers { eval_to_allocation_raw: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        loop {}
    }
    #[inline(always)]
    fn eval_static_initializer<'tcx>()
        -> EvalStaticInitializerRawResult<'tcx> {
        let crate::query::Providers { eval_static_initializer: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn eval_to_const_value_raw<'tcx>() -> EvalToConstValueResult<'tcx> {
        let crate::query::Providers { eval_to_const_value_raw: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::depth_limit;
        loop {}
    }
    #[inline(always)]
    fn eval_to_valtree<'tcx>() -> EvalToValTreeResult<'tcx> {
        let crate::query::Providers { eval_to_valtree: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn valtree_to_const_val<'tcx>() -> mir::ConstValue {
        let crate::query::Providers { valtree_to_const_val: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn lit_to_const<'tcx>() -> Option<ty::Value<'tcx>> {
        let crate::query::Providers { lit_to_const: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn check_match<'tcx>() -> Result<(), ErrorGuaranteed> {
        let crate::query::Providers { check_match: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn effective_visibilities<'tcx>() -> &'tcx EffectiveVisibilities {
        let crate::query::Providers { effective_visibilities: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn check_private_in_public<'tcx>() {
        let crate::query::Providers { check_private_in_public: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn reachable_set<'tcx>() -> &'tcx LocalDefIdSet {
        let crate::query::Providers { reachable_set: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::cache_on_disk;
        loop {}
    }
    #[inline(always)]
    fn region_scope_tree<'tcx>() -> &'tcx crate::middle::region::ScopeTree {
        let crate::query::Providers { region_scope_tree: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn mir_shims<'tcx>() -> &'tcx mir::Body<'tcx> {
        let crate::query::Providers { mir_shims: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn symbol_name<'tcx>() -> ty::SymbolName<'tcx> {
        let crate::query::Providers { symbol_name: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        loop {}
    }
    #[inline(always)]
    fn def_kind<'tcx>() -> DefKind {
        let crate::query::Providers { def_kind: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn def_span<'tcx>() -> Span {
        let crate::query::Providers { def_span: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn def_ident_span<'tcx>() -> Option<Span> {
        let crate::query::Providers { def_ident_span: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn ty_span<'tcx>() -> Span {
        let crate::query::Providers { ty_span: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        loop {}
    }
    #[inline(always)]
    fn lookup_stability<'tcx>() -> Option<hir::Stability> {
        let crate::query::Providers { lookup_stability: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn lookup_const_stability<'tcx>() -> Option<hir::ConstStability> {
        let crate::query::Providers { lookup_const_stability: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn lookup_default_body_stability<'tcx>()
        -> Option<hir::DefaultBodyStability> {
        let crate::query::Providers { lookup_default_body_stability: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn should_inherit_track_caller<'tcx>() -> bool {
        let crate::query::Providers { should_inherit_track_caller: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn inherited_align<'tcx>() -> Option<Align> {
        let crate::query::Providers { inherited_align: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn lookup_deprecation_entry<'tcx>() -> Option<DeprecationEntry> {
        let crate::query::Providers { lookup_deprecation_entry: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn is_doc_hidden<'tcx>() -> bool {
        let crate::query::Providers { is_doc_hidden: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn is_doc_notable_trait<'tcx>() -> bool {
        let crate::query::Providers { is_doc_notable_trait: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn attrs_for_def<'tcx>() -> &'tcx [rustc_attr_ir::Attribute] {
        let crate::query::Providers { attrs_for_def: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn codegen_fn_attrs<'tcx>() -> &'tcx CodegenFnAttrs {
        let crate::query::Providers { codegen_fn_attrs: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn asm_target_features<'tcx>() -> &'tcx FxIndexSet<Symbol> {
        let crate::query::Providers { asm_target_features: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn fn_arg_idents<'tcx>() -> &'tcx [Option<rustc_span::Ident>] {
        let crate::query::Providers { fn_arg_idents: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn rendered_const<'tcx>() -> &'tcx String {
        let crate::query::Providers { rendered_const: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn rendered_precise_capturing_args<'tcx>()
        -> Option<&'tcx [PreciseCapturingArgKind<Symbol, Symbol>]> {
        let crate::query::Providers { rendered_precise_capturing_args: _, ..
                };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn impl_parent<'tcx>() -> Option<DefId> {
        let crate::query::Providers { impl_parent: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn is_mir_available<'tcx>() -> bool {
        let crate::query::Providers { is_mir_available: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn own_existential_vtable_entries<'tcx>() -> &'tcx [DefId] {
        let crate::query::Providers { own_existential_vtable_entries: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn vtable_entries<'tcx>() -> &'tcx [ty::VtblEntry<'tcx>] {
        let crate::query::Providers { vtable_entries: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn first_method_vtable_slot<'tcx>() -> usize {
        let crate::query::Providers { first_method_vtable_slot: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn supertrait_vtable_slot<'tcx>() -> Option<usize> {
        let crate::query::Providers { supertrait_vtable_slot: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn vtable_allocation<'tcx>() -> mir::interpret::AllocId {
        let crate::query::Providers { vtable_allocation: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn codegen_select_candidate<'tcx>()
        -> Result<&'tcx ImplSource<'tcx, ()>, CodegenObligationError> {
        let crate::query::Providers { codegen_select_candidate: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        loop {}
    }
    #[inline(always)]
    fn all_local_trait_impls<'tcx>()
        ->
            &'tcx rustc_data_structures::fx::FxIndexMap<DefId,
            Vec<LocalDefId>> {
        let crate::query::Providers { all_local_trait_impls: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn local_trait_impls<'tcx>() -> &'tcx [LocalDefId] {
        let crate::query::Providers { local_trait_impls: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn trait_impls_of<'tcx>() -> &'tcx ty::trait_def::TraitImpls {
        let crate::query::Providers { trait_impls_of: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn specialization_graph_of<'tcx>()
        -> Result<&'tcx specialization_graph::Graph, ErrorGuaranteed> {
        let crate::query::Providers { specialization_graph_of: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        loop {}
    }
    #[inline(always)]
    fn dyn_compatibility_violations<'tcx>()
        -> &'tcx [DynCompatibilityViolation] {
        let crate::query::Providers { dyn_compatibility_violations: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn is_dyn_compatible<'tcx>() -> bool {
        let crate::query::Providers { is_dyn_compatible: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn param_env<'tcx>() -> ty::ParamEnv<'tcx> {
        let crate::query::Providers { param_env: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::feedable;
        loop {}
    }
    #[inline(always)]
    fn param_env_normalized_for_post_analysis<'tcx>() -> ty::ParamEnv<'tcx> {
        let crate::query::Providers {
                param_env_normalized_for_post_analysis: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn is_copy_raw<'tcx>() -> bool {
        let crate::query::Providers { is_copy_raw: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn is_use_cloned_raw<'tcx>() -> bool {
        let crate::query::Providers { is_use_cloned_raw: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn is_sized_raw<'tcx>() -> bool {
        let crate::query::Providers { is_sized_raw: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn is_freeze_raw<'tcx>() -> bool {
        let crate::query::Providers { is_freeze_raw: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn is_unsafe_unpin_raw<'tcx>() -> bool {
        let crate::query::Providers { is_unsafe_unpin_raw: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn is_unpin_raw<'tcx>() -> bool {
        let crate::query::Providers { is_unpin_raw: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn is_async_drop_raw<'tcx>() -> bool {
        let crate::query::Providers { is_async_drop_raw: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn needs_drop_raw<'tcx>() -> bool {
        let crate::query::Providers { needs_drop_raw: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn needs_async_drop_raw<'tcx>() -> bool {
        let crate::query::Providers { needs_async_drop_raw: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn has_significant_drop_raw<'tcx>() -> bool {
        let crate::query::Providers { has_significant_drop_raw: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn has_structural_eq_impl<'tcx>() -> bool {
        let crate::query::Providers { has_structural_eq_impl: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn adt_drop_tys<'tcx>()
        -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
        let crate::query::Providers { adt_drop_tys: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        loop {}
    }
    #[inline(always)]
    fn adt_async_drop_tys<'tcx>()
        -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
        let crate::query::Providers { adt_async_drop_tys: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        loop {}
    }
    #[inline(always)]
    fn adt_significant_drop_tys<'tcx>()
        -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
        let crate::query::Providers { adt_significant_drop_tys: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn list_significant_drop_tys<'tcx>() -> &'tcx ty::List<Ty<'tcx>> {
        let crate::query::Providers { list_significant_drop_tys: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn layout_of<'tcx>()
        ->
            Result<ty::layout::TyAndLayout<'tcx>,
            &'tcx ty::layout::LayoutError<'tcx>> {
        let crate::query::Providers { layout_of: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::depth_limit;
        crate::query::modifiers::handle_cycle_error;
        loop {}
    }
    #[inline(always)]
    fn fn_abi_of_fn_ptr<'tcx>()
        ->
            Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>,
            &'tcx ty::layout::FnAbiError<'tcx>> {
        let crate::query::Providers { fn_abi_of_fn_ptr: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn fn_abi_of_instance_no_deduced_attrs<'tcx>()
        ->
            Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>,
            &'tcx ty::layout::FnAbiError<'tcx>> {
        let crate::query::Providers { fn_abi_of_instance_no_deduced_attrs: _,
                .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn fn_abi_of_instance_raw<'tcx>()
        ->
            Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>,
            &'tcx ty::layout::FnAbiError<'tcx>> {
        let crate::query::Providers { fn_abi_of_instance_raw: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn dylib_dependency_formats<'tcx>()
        -> &'tcx [(CrateNum, LinkagePreference)] {
        let crate::query::Providers { dylib_dependency_formats: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn dependency_formats<'tcx>()
        -> &'tcx Arc<crate::middle::dependency_format::Dependencies> {
        let crate::query::Providers { dependency_formats: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn is_compiler_builtins<'tcx>() -> bool {
        let crate::query::Providers { is_compiler_builtins: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn has_global_allocator<'tcx>() -> bool {
        let crate::query::Providers { has_global_allocator: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn has_alloc_error_handler<'tcx>() -> bool {
        let crate::query::Providers { has_alloc_error_handler: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn has_panic_handler<'tcx>() -> bool {
        let crate::query::Providers { has_panic_handler: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn is_profiler_runtime<'tcx>() -> bool {
        let crate::query::Providers { is_profiler_runtime: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn has_ffi_unwind_calls<'tcx>() -> bool {
        let crate::query::Providers { has_ffi_unwind_calls: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        loop {}
    }
    #[inline(always)]
    fn required_panic_strategy<'tcx>() -> Option<PanicStrategy> {
        let crate::query::Providers { required_panic_strategy: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn panic_in_drop_strategy<'tcx>() -> PanicStrategy {
        let crate::query::Providers { panic_in_drop_strategy: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn is_no_builtins<'tcx>() -> bool {
        let crate::query::Providers { is_no_builtins: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn symbol_mangling_version<'tcx>() -> SymbolManglingVersion {
        let crate::query::Providers { symbol_mangling_version: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn extern_crate<'tcx>() -> Option<&'tcx ExternCrate> {
        let crate::query::Providers { extern_crate: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn specialization_enabled_in<'tcx>() -> bool {
        let crate::query::Providers { specialization_enabled_in: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn specializes<'tcx>() -> bool {
        let crate::query::Providers { specializes: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn defaultness<'tcx>() -> hir::Defaultness {
        let crate::query::Providers { defaultness: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn default_field<'tcx>() -> Option<DefId> {
        let crate::query::Providers { default_field: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn check_well_formed<'tcx>() -> Result<(), ErrorGuaranteed> {
        let crate::query::Providers { check_well_formed: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn enforce_impl_non_lifetime_params_are_constrained<'tcx>()
        -> Result<(), ErrorGuaranteed> {
        let crate::query::Providers {
                enforce_impl_non_lifetime_params_are_constrained: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn reachable_non_generics<'tcx>() -> &'tcx DefIdMap<SymbolExportInfo> {
        let crate::query::Providers { reachable_non_generics: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn is_reachable_non_generic<'tcx>() -> bool {
        let crate::query::Providers { is_reachable_non_generic: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn is_unreachable_local_definition<'tcx>() -> bool {
        let crate::query::Providers { is_unreachable_local_definition: _, ..
                };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn upstream_monomorphizations<'tcx>()
        -> &'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>, CrateNum>> {
        let crate::query::Providers { upstream_monomorphizations: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn upstream_monomorphizations_for<'tcx>()
        -> Option<&'tcx UnordMap<GenericArgsRef<'tcx>, CrateNum>> {
        let crate::query::Providers { upstream_monomorphizations_for: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn upstream_drop_glue_for<'tcx>() -> Option<CrateNum> {
        let crate::query::Providers { upstream_drop_glue_for: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn upstream_async_drop_glue_for<'tcx>() -> Option<CrateNum> {
        let crate::query::Providers { upstream_async_drop_glue_for: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn foreign_modules<'tcx>() -> &'tcx FxIndexMap<DefId, ForeignModule> {
        let crate::query::Providers { foreign_modules: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn clashing_extern_declarations<'tcx>() {
        let crate::query::Providers { clashing_extern_declarations: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn entry_fn<'tcx>() -> Option<(DefId, EntryFnType)> {
        let crate::query::Providers { entry_fn: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn proc_macro_decls_static<'tcx>() -> Option<LocalDefId> {
        let crate::query::Providers { proc_macro_decls_static: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn crate_hash<'tcx>() -> Svh {
        let crate::query::Providers { crate_hash: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn crate_host_hash<'tcx>() -> Option<Svh> {
        let crate::query::Providers { crate_host_hash: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn extra_filename<'tcx>() -> &'tcx String {
        let crate::query::Providers { extra_filename: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn crate_extern_paths<'tcx>() -> &'tcx Vec<PathBuf> {
        let crate::query::Providers { crate_extern_paths: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn implementations_of_trait<'tcx>()
        -> &'tcx [(DefId, Option<SimplifiedType>)] {
        let crate::query::Providers { implementations_of_trait: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn crate_incoherent_impls<'tcx>() -> &'tcx [DefId] {
        let crate::query::Providers { crate_incoherent_impls: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn native_library<'tcx>() -> Option<&'tcx NativeLib> {
        let crate::query::Providers { native_library: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn inherit_sig_for_delegation_item<'tcx>() -> &'tcx [Ty<'tcx>] {
        let crate::query::Providers { inherit_sig_for_delegation_item: _, ..
                };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn delegation_user_specified_args<'tcx>()
        -> (&'tcx [GenericArg<'tcx>], &'tcx [GenericArg<'tcx>]) {
        let crate::query::Providers { delegation_user_specified_args: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn resolve_bound_vars<'tcx>() -> &'tcx ResolveBoundVars<'tcx> {
        let crate::query::Providers { resolve_bound_vars: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn named_variable_map<'tcx>()
        -> &'tcx SortedMap<ItemLocalId, ResolvedArg> {
        let crate::query::Providers { named_variable_map: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn is_late_bound_map<'tcx>() -> Option<&'tcx FxIndexSet<ItemLocalId>> {
        let crate::query::Providers { is_late_bound_map: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn object_lifetime_default<'tcx>() -> ObjectLifetimeDefault {
        let crate::query::Providers { object_lifetime_default: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn late_bound_vars_map<'tcx>()
        -> &'tcx SortedMap<ItemLocalId, Vec<ty::BoundVariableKind<'tcx>>> {
        let crate::query::Providers { late_bound_vars_map: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn opaque_captured_lifetimes<'tcx>()
        -> &'tcx [(ResolvedArg, LocalDefId)] {
        let crate::query::Providers { opaque_captured_lifetimes: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn live_args_for_alias_from_outlives_bounds<'tcx>()
        -> &'tcx Option<ty::EarlyBinder<'tcx, Vec<ty::GenericArg<'tcx>>>> {
        let crate::query::Providers {
                live_args_for_alias_from_outlives_bounds: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn args_known_to_outlive_alias_params<'tcx>()
        ->
            &'tcx ty::EarlyBinder<'tcx,
            Vec<(ty::Region<'tcx>, Vec<ty::GenericArg<'tcx>>)>> {
        let crate::query::Providers { args_known_to_outlive_alias_params: _,
                .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn visibility<'tcx>() -> ty::Visibility<ModId> {
        let crate::query::Providers { visibility: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn inhabited_predicate_adt<'tcx>()
        -> ty::inhabitedness::InhabitedPredicate<'tcx> {
        let crate::query::Providers { inhabited_predicate_adt: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn inhabited_predicate_type<'tcx>()
        -> ty::inhabitedness::InhabitedPredicate<'tcx> {
        let crate::query::Providers { inhabited_predicate_type: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn is_opsem_inhabited_raw<'tcx>() -> bool {
        let crate::query::Providers { is_opsem_inhabited_raw: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn crate_dep_kind<'tcx>() -> CrateDepKind {
        let crate::query::Providers { crate_dep_kind: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn crate_name<'tcx>() -> Symbol {
        let crate::query::Providers { crate_name: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::feedable;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn module_children<'tcx>() -> &'tcx [ModChild] {
        let crate::query::Providers { module_children: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn num_extern_def_ids<'tcx>() -> usize {
        let crate::query::Providers { num_extern_def_ids: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn lib_features<'tcx>() -> &'tcx LibFeatures {
        let crate::query::Providers { lib_features: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn stability_implications<'tcx>() -> &'tcx UnordMap<Symbol, Symbol> {
        let crate::query::Providers { stability_implications: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn intrinsic_raw<'tcx>() -> Option<rustc_middle::ty::IntrinsicDef> {
        let crate::query::Providers { intrinsic_raw: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn get_lang_items<'tcx>() -> &'tcx LanguageItems {
        let crate::query::Providers { get_lang_items: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn all_diagnostic_items<'tcx>()
        -> &'tcx rustc_hir::attrs::diagnostic_items::DiagnosticItems {
        let crate::query::Providers { all_diagnostic_items: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn all_canonical_symbols<'tcx>() -> &'tcx CanonicalSymbols {
        let crate::query::Providers { all_canonical_symbols: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn defined_lang_items<'tcx>() -> &'tcx [(DefId, LangItem)] {
        let crate::query::Providers { defined_lang_items: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn diagnostic_items<'tcx>()
        -> &'tcx rustc_hir::attrs::diagnostic_items::DiagnosticItems {
        let crate::query::Providers { diagnostic_items: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn canonical_symbols<'tcx>() -> &'tcx CanonicalSymbols {
        let crate::query::Providers { canonical_symbols: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn missing_lang_items<'tcx>() -> &'tcx [LangItem] {
        let crate::query::Providers { missing_lang_items: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn visible_parent_map<'tcx>() -> &'tcx DefIdMap<DefId> {
        let crate::query::Providers { visible_parent_map: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn trimmed_def_paths<'tcx>() -> &'tcx DefIdMap<Symbol> {
        let crate::query::Providers { trimmed_def_paths: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        loop {}
    }
    #[inline(always)]
    fn missing_extern_crate_item<'tcx>() -> bool {
        let crate::query::Providers { missing_extern_crate_item: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn used_crate_source<'tcx>() -> &'tcx Arc<CrateSource> {
        let crate::query::Providers { used_crate_source: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn debugger_visualizers<'tcx>() -> &'tcx Vec<DebuggerVisualizerFile> {
        let crate::query::Providers { debugger_visualizers: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn postorder_cnums<'tcx>() -> &'tcx [CrateNum] {
        let crate::query::Providers { postorder_cnums: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn is_private_dep<'tcx>() -> bool {
        let crate::query::Providers { is_private_dep: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn allocator_kind<'tcx>() -> Option<AllocatorKind> {
        let crate::query::Providers { allocator_kind: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn alloc_error_handler_kind<'tcx>() -> Option<AllocatorKind> {
        let crate::query::Providers { alloc_error_handler_kind: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn upvars_mentioned<'tcx>()
        -> Option<&'tcx FxIndexMap<hir::HirId, hir::Upvar>> {
        let crate::query::Providers { upvars_mentioned: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn crates<'tcx>() -> &'tcx [CrateNum] {
        let crate::query::Providers { crates: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn used_crates<'tcx>() -> &'tcx [CrateNum] {
        let crate::query::Providers { used_crates: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn duplicate_crate_names<'tcx>() -> &'tcx [CrateNum] {
        let crate::query::Providers { duplicate_crate_names: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn traits<'tcx>() -> &'tcx [DefId] {
        let crate::query::Providers { traits: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn trait_impls_in_crate<'tcx>() -> &'tcx [DefId] {
        let crate::query::Providers { trait_impls_in_crate: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn stable_order_of_exportable_impls<'tcx>()
        -> &'tcx FxIndexMap<DefId, usize> {
        let crate::query::Providers { stable_order_of_exportable_impls: _, ..
                };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn exportable_items<'tcx>() -> &'tcx [DefId] {
        let crate::query::Providers { exportable_items: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn exported_non_generic_symbols<'tcx>()
        -> &'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)] {
        let crate::query::Providers { exported_non_generic_symbols: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn exported_generic_symbols<'tcx>()
        -> &'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)] {
        let crate::query::Providers { exported_generic_symbols: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn collect_and_partition_mono_items<'tcx>() -> MonoItemPartitions<'tcx> {
        let crate::query::Providers { collect_and_partition_mono_items: _, ..
                };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn is_codegened_item<'tcx>() -> bool {
        let crate::query::Providers { is_codegened_item: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn codegen_unit<'tcx>() -> &'tcx CodegenUnit<'tcx> {
        let crate::query::Providers { codegen_unit: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn backend_optimization_level<'tcx>() -> OptLevel {
        let crate::query::Providers { backend_optimization_level: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn output_filenames<'tcx>() -> &'tcx Arc<OutputFilenames> {
        let crate::query::Providers { output_filenames: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::feedable;
        loop {}
    }
    #[inline(always)]
    fn normalize_canonicalized_projection<'tcx>()
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution> {
        let crate::query::Providers { normalize_canonicalized_projection: _,
                .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn normalize_canonicalized_free_alias<'tcx>()
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution> {
        let crate::query::Providers { normalize_canonicalized_free_alias: _,
                .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn normalize_canonicalized_inherent_projection<'tcx>()
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
            NoSolution> {
        let crate::query::Providers {
                normalize_canonicalized_inherent_projection: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn try_normalize_generic_arg_after_erasing_regions<'tcx>()
        -> Result<GenericArg<'tcx>, NoSolution> {
        let crate::query::Providers {
                try_normalize_generic_arg_after_erasing_regions: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn implied_outlives_bounds<'tcx>()
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, Vec<OutlivesBound<'tcx>>>>,
            NoSolution> {
        let crate::query::Providers { implied_outlives_bounds: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn mir_borrowck_implied_outlives_bounds<'tcx>()
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx,
            MirBorrowckImpliedOutlivesBounds<'tcx>>>, NoSolution> {
        let crate::query::Providers { mir_borrowck_implied_outlives_bounds: _,
                .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn dropck_outlives<'tcx>()
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, DropckOutlivesResult<'tcx>>>,
            NoSolution> {
        let crate::query::Providers { dropck_outlives: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn evaluate_obligation<'tcx>()
        -> Result<EvaluationResult, OverflowError> {
        let crate::query::Providers { evaluate_obligation: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn type_op_ascribe_user_type<'tcx>()
        ->
            Result<&'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ()>>,
            NoSolution> {
        let crate::query::Providers { type_op_ascribe_user_type: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn type_op_prove_predicate<'tcx>()
        ->
            Result<&'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ()>>,
            NoSolution> {
        let crate::query::Providers { type_op_prove_predicate: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn type_op_normalize_ty<'tcx>()
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, Ty<'tcx>>>, NoSolution> {
        let crate::query::Providers { type_op_normalize_ty: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn type_op_normalize_clause<'tcx>()
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::Clause<'tcx>>>, NoSolution> {
        let crate::query::Providers { type_op_normalize_clause: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn type_op_normalize_poly_fn_sig<'tcx>()
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::PolyFnSig<'tcx>>>,
            NoSolution> {
        let crate::query::Providers { type_op_normalize_poly_fn_sig: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn type_op_normalize_fn_sig<'tcx>()
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx, ty::FnSig<'tcx>>>, NoSolution> {
        let crate::query::Providers { type_op_normalize_fn_sig: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn instantiate_and_check_impossible_clauses<'tcx>() -> bool {
        let crate::query::Providers {
                instantiate_and_check_impossible_clauses: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn is_impossible_associated_item<'tcx>() -> bool {
        let crate::query::Providers { is_impossible_associated_item: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn method_autoderef_steps<'tcx>() -> MethodAutoderefStepsResult<'tcx> {
        let crate::query::Providers { method_autoderef_steps: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn evaluate_root_goal_for_proof_tree_raw<'tcx>()
        ->
            (solve::QueryResult<'tcx>,
            &'tcx solve::inspect::Probe<TyCtxt<'tcx>>, RequiredDepth) {
        let crate::query::Providers {
                evaluate_root_goal_for_proof_tree_raw: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::no_hash;
        loop {}
    }
    #[inline(always)]
    fn all_rust_target_features<'tcx>()
        -> &'tcx UnordMap<String, rustc_target::target_features::Stability> {
        let crate::query::Providers { all_rust_target_features: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn implied_target_features<'tcx>() -> &'tcx Vec<Symbol> {
        let crate::query::Providers { implied_target_features: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn features_query<'tcx>() -> &'tcx rustc_feature::Features {
        let crate::query::Providers { features_query: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::feedable;
        loop {}
    }
    #[inline(always)]
    fn crate_for_resolver<'tcx>()
        -> &'tcx Steal<(rustc_ast::Crate, rustc_ast::AttrVec)> {
        let crate::query::Providers { crate_for_resolver: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::feedable;
        crate::query::modifiers::no_hash;
        loop {}
    }
    #[inline(always)]
    fn resolve_instance_raw<'tcx>()
        -> Result<Option<ty::Instance<'tcx>>, ErrorGuaranteed> {
        let crate::query::Providers { resolve_instance_raw: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn reveal_opaque_types_in_bounds<'tcx>() -> ty::Clauses<'tcx> {
        let crate::query::Providers { reveal_opaque_types_in_bounds: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn limits<'tcx>() -> Limits {
        let crate::query::Providers { limits: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn diagnostic_hir_wf_check<'tcx>()
        -> Option<&'tcx ObligationCause<'tcx>> {
        let crate::query::Providers { diagnostic_hir_wf_check: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::no_hash;
        loop {}
    }
    #[inline(always)]
    fn global_backend_features<'tcx>() -> &'tcx Vec<String> {
        let crate::query::Providers { global_backend_features: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::eval_always;
        loop {}
    }
    #[inline(always)]
    fn check_validity_requirement<'tcx>()
        -> Result<bool, &'tcx ty::layout::LayoutError<'tcx>> {
        let crate::query::Providers { check_validity_requirement: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn compare_impl_item<'tcx>() -> Result<(), ErrorGuaranteed> {
        let crate::query::Providers { compare_impl_item: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn deduced_param_attrs<'tcx>() -> &'tcx [DeducedParamAttrs] {
        let crate::query::Providers { deduced_param_attrs: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn doc_link_resolutions<'tcx>() -> &'tcx DocLinkResMap {
        let crate::query::Providers { doc_link_resolutions: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn doc_link_traits_in_scope<'tcx>() -> &'tcx [DefId] {
        let crate::query::Providers { doc_link_traits_in_scope: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::eval_always;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn stripped_cfg_items<'tcx>() -> &'tcx [StrippedCfgItem] {
        let crate::query::Providers { stripped_cfg_items: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn generics_require_sized_self<'tcx>() -> bool {
        let crate::query::Providers { generics_require_sized_self: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn cross_crate_inlinable<'tcx>() -> bool {
        let crate::query::Providers { cross_crate_inlinable: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn check_mono_item<'tcx>() {
        let crate::query::Providers { check_mono_item: _, .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn items_of_instance<'tcx>()
        ->
            Result<(&'tcx [Spanned<MonoItem<'tcx>>],
            &'tcx [Spanned<MonoItem<'tcx>>]), NormalizationErrorInMono> {
        let crate::query::Providers { items_of_instance: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        loop {}
    }
    #[inline(always)]
    fn size_estimate<'tcx>() -> usize {
        let crate::query::Providers { size_estimate: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        loop {}
    }
    #[inline(always)]
    fn anon_const_kind<'tcx>() -> ty::AnonConstKind {
        let crate::query::Providers { anon_const_kind: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn trivial_const<'tcx>() -> Option<(mir::ConstValue, Ty<'tcx>)> {
        let crate::query::Providers { trivial_const: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
    #[inline(always)]
    fn sanitizer_settings_for<'tcx>() -> SanitizerFnAttrs {
        let crate::query::Providers { sanitizer_settings_for: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::feedable;
        loop {}
    }
    #[inline(always)]
    fn check_externally_implementable_items<'tcx>() {
        let crate::query::Providers { check_externally_implementable_items: _,
                .. };
        crate::query::modifiers::desc;
        loop {}
    }
    #[inline(always)]
    fn externally_implementable_items<'tcx>()
        -> &'tcx FxIndexMap<DefId, (EiiDecl, FxIndexMap<DefId, EiiImpl>)> {
        let crate::query::Providers { externally_implementable_items: _, .. };
        crate::query::modifiers::desc;
        crate::query::modifiers::arena_cache;
        crate::query::modifiers::cache_on_disk;
        crate::query::modifiers::separate_provide_extern;
        loop {}
    }
}rustc_queries! {
142    /// Caches the expansion of a derive proc macro, e.g. `#[derive(Serialize)]`.
143    /// The key is:
144    /// - A unique key corresponding to the invocation of a macro.
145    /// - Token stream which serves as an input to the macro.
146    ///
147    /// The output is the token stream generated by the proc macro.
148    query derive_macro_expansion(key: (LocalExpnId, &'tcx TokenStream)) -> Result<&'tcx TokenStream, ()> {
149        desc { "expanding a derive (proc) macro" }
150        cache_on_disk
151    }
152
153    /// This exists purely for testing the interactions between delayed bugs and incremental.
154    query trigger_delayed_bug(key: DefId) {
155        desc { "triggering a delayed bug for testing incremental" }
156    }
157
158    /// Collects the list of all tools registered using `#![register_tool]` or `#![register_attribute_tool]`.
159    query registered_attr_tools(_: ()) -> &'tcx ty::RegisteredTools {
160        arena_cache
161        desc { "compute registered attribute tools for crate" }
162    }
163
164    /// Collects the list of all tools registered using `#![register_tool]` or `#![register_lint_tool]`.
165    query registered_lint_tools(_: ()) -> &'tcx ty::RegisteredTools {
166        arena_cache
167        desc { "compute registered lint tools for crate" }
168    }
169
170    query early_lint_checks(_: ()) {
171        desc { "perform lints prior to AST lowering" }
172    }
173
174    /// Tracked access to environment variables.
175    ///
176    /// Useful for the implementation of `std::env!`, `proc-macro`s change
177    /// detection and other changes in the compiler's behaviour that is easier
178    /// to control with an environment variable than a flag.
179    ///
180    /// NOTE: This currently does not work with dependency info in the
181    /// analysis, codegen and linking passes, place extra code at the top of
182    /// `rustc_interface::passes::write_dep_info` to make that work.
183    query env_var_os(key: &'tcx OsStr) -> Option<&'tcx OsStr> {
184        // Environment variables are global state
185        eval_always
186        desc { "get the value of an environment variable" }
187    }
188
189    query resolutions(_: ()) -> &'tcx ty::ResolverGlobalCtxt {
190        desc { "getting the resolver outputs" }
191    }
192
193    query resolver_for_lowering_raw(_: ()) -> (
194        // Those two fields are consumed by `index_ast`.
195        // We want them to be eventually dropped after lowering.
196        &'tcx Steal<ty::ResolverAstLowering<'tcx>>,
197        &'tcx Steal<ast::Crate>,
198        &'tcx ty::ResolverGlobalCtxt,
199    ) {
200        eval_always
201        no_hash
202        desc { "getting the resolver for lowering" }
203    }
204
205    query index_ast(_: ()) -> &'tcx IndexVec<LocalDefId, Steal<(
206        // There is only a single `ResolverAstLowering` for all owners.
207        // We want to drop it once the whole HIR has been lowered.
208        // We rely on reference counting to know when all definitions have been stolen.
209        Arc<ty::ResolverAstLowering<'tcx>>,
210        ast::AstOwner,
211    )>> {
212        arena_cache
213        eval_always
214        no_hash
215        desc { "getting the AST 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    query lower_to_hir(def_id: LocalDefId) -> hir::MaybeOwner<'tcx> {
230        eval_always
231        desc { "lowering HIR for `{}`", tcx.def_path_str(def_id) }
232    }
233
234    query hir_owner(def_id: LocalDefId) -> rustc_middle::hir::ProjectedMaybeOwner<'tcx> {
235        desc { "getting owner for `{}`", tcx.def_path_str(def_id) }
236        feedable
237    }
238
239    /// All items in the crate.
240    query hir_crate_items(_: ()) -> &'tcx rustc_middle::hir::ModuleItems {
241        arena_cache
242        eval_always
243        desc { "getting HIR crate items" }
244    }
245
246    /// The items in a module.
247    ///
248    /// This can be conveniently accessed by `tcx.hir_visit_item_likes_in_module`.
249    /// Avoid calling this query directly.
250    query hir_module_items(key: LocalModId) -> &'tcx rustc_middle::hir::ModuleItems {
251        arena_cache
252        desc { "getting HIR module items in `{}`", tcx.def_path_str(key) }
253        cache_on_disk
254    }
255
256    /// Gives access to the HIR node's parent for the HIR owner `key`.
257    ///
258    /// This can be conveniently accessed by `tcx.hir_*` methods.
259    /// Avoid calling this query directly.
260    query hir_owner_parent_q(key: hir::OwnerId) -> hir::HirId {
261        desc { "getting HIR parent of `{}`", tcx.def_path_str(key) }
262    }
263
264    /// Gives access to the HIR attributes inside the HIR owner `key`.
265    ///
266    /// This can be conveniently accessed by `tcx.hir_*` methods.
267    /// Avoid calling this query directly.
268    query hir_attr_map(key: hir::OwnerId) -> &'tcx hir::AttributeMap<'tcx> {
269        desc { "getting HIR owner attributes in `{}`", tcx.def_path_str(key) }
270        feedable
271    }
272
273    /// Returns the *default* of the const pararameter given by `DefId`.
274    ///
275    /// E.g., given `struct Ty<const N: usize = 3>;` this returns `3` for `N`.
276    query const_param_default(param: DefId) -> ty::EarlyBinder<'tcx, ty::Const<'tcx>> {
277        desc { "computing the default for const parameter `{}`", tcx.def_path_str(param)  }
278        cache_on_disk
279        separate_provide_extern
280    }
281
282    /// Returns the const of the RHS of a (free or assoc) const item, if it is a `type const`.
283    ///
284    /// When a const item is used in a type-level expression, like in equality for an assoc const
285    /// projection, this allows us to retrieve the typesystem-appropriate representation of the
286    /// const value.
287    ///
288    /// This query will ICE if given a const that is not marked with `type const`.
289    query const_of_item(def_id: DefId) -> ty::EarlyBinder<'tcx, ty::Const<'tcx>> {
290        desc { "computing the type-level value for `{}`", tcx.def_path_str(def_id)  }
291        cache_on_disk
292        separate_provide_extern
293    }
294
295    /// Returns the *type* of the definition given by `DefId`.
296    ///
297    /// For type aliases (whether eager or lazy) and associated types, this returns
298    /// the underlying aliased type (not the corresponding [alias type]).
299    ///
300    /// For opaque types, this returns and thus reveals the hidden type! If you
301    /// want to detect cycle errors use `type_of_opaque` instead.
302    ///
303    /// To clarify, for type definitions, this does *not* return the "type of a type"
304    /// (aka *kind* or *sort*) in the type-theoretical sense! It merely returns
305    /// the type primarily *associated with* it.
306    ///
307    /// # Panics
308    ///
309    /// This query will panic if the given definition doesn't (and can't
310    /// conceptually) have an (underlying) type.
311    ///
312    /// [alias type]: rustc_middle::ty::AliasTy
313    query type_of(key: DefId) -> ty::EarlyBinder<'tcx, Ty<'tcx>> {
314        desc {
315            "{action} `{path}`",
316            action = match tcx.def_kind(key) {
317                DefKind::TyAlias => "expanding type alias",
318                DefKind::TraitAlias => "expanding trait alias",
319                _ => "computing type of",
320            },
321            path = tcx.def_path_str(key),
322        }
323        cache_on_disk
324        separate_provide_extern
325        feedable
326    }
327
328    /// Returns the *hidden type* of the opaque type given by `DefId`.
329    ///
330    /// # Panics
331    ///
332    /// This query will panic if the given definition is not an opaque type.
333    query type_of_opaque(key: DefId) -> ty::EarlyBinder<'tcx, Ty<'tcx>> {
334        desc {
335            "computing type of opaque `{path}`",
336            path = tcx.def_path_str(key),
337        }
338    }
339    query type_of_opaque_hir_typeck(key: LocalDefId) -> ty::EarlyBinder<'tcx, Ty<'tcx>> {
340        desc {
341            "computing type of opaque `{path}` via HIR typeck",
342            path = tcx.def_path_str(key),
343        }
344    }
345
346    /// Returns whether the type alias given by `DefId` is checked.
347    ///
348    /// I.e., if the type alias expands / ought to expand to a [free] [alias type]
349    /// instead of the underlying aliased type.
350    ///
351    /// Relevant for features `checked_type_aliases` and `type_alias_impl_trait`.
352    ///
353    /// # Panics
354    ///
355    /// This query *may* panic if the given definition is not a type alias.
356    ///
357    /// [free]: rustc_middle::ty::Free
358    /// [alias type]: rustc_middle::ty::AliasTy
359    query type_alias_is_checked(key: DefId) -> bool {
360        desc {
361            "computing whether the type alias `{path}` is checked",
362            path = tcx.def_path_str(key),
363        }
364        separate_provide_extern
365    }
366
367    query collect_return_position_impl_trait_in_trait_tys(key: DefId)
368        -> Result<&'tcx DefIdMap<ty::EarlyBinder<'tcx, Ty<'tcx>>>, ErrorGuaranteed>
369    {
370        desc { "comparing an impl and trait method signature, inferring any hidden `impl Trait` types in the process" }
371        cache_on_disk
372        separate_provide_extern
373    }
374
375    query opaque_ty_origin(key: DefId) -> hir::OpaqueTyOrigin<DefId>
376    {
377        desc { "determine where the opaque originates from" }
378        separate_provide_extern
379    }
380
381    query unsizing_params_for_adt(key: DefId) -> &'tcx rustc_index::bit_set::DenseBitSet<u32>
382    {
383        arena_cache
384        desc {
385            "determining what parameters of `{}` can participate in unsizing",
386            tcx.def_path_str(key),
387        }
388    }
389
390    /// The root query triggering all analysis passes like typeck or borrowck.
391    query analysis(key: ()) {
392        eval_always
393        desc {
394            "running analysis passes on crate `{}`",
395            tcx.crate_name(LOCAL_CRATE),
396        }
397    }
398
399    /// This query checks the fulfillment of collected lint expectations.
400    /// All lint emitting queries have to be done before this is executed
401    /// to ensure that all expectations can be fulfilled.
402    ///
403    /// This is an extra query to enable other drivers (like rustdoc) to
404    /// only execute a small subset of the `analysis` query, while allowing
405    /// lints to be expected. In rustc, this query will be executed as part of
406    /// the `analysis` query and doesn't have to be called a second time.
407    ///
408    /// Tools can additionally pass in a tool filter. That will restrict the
409    /// expectations to only trigger for lints starting with the listed tool
410    /// name. This is useful for cases were not all linting code from rustc
411    /// was called. With the default `None` all registered lints will also
412    /// be checked for expectation fulfillment.
413    query check_expectations(key: Option<Symbol>) {
414        eval_always
415        desc { "checking lint expectations (RFC 2383)" }
416    }
417
418    /// Returns the *generics* of the definition given by `DefId`.
419    query generics_of(key: DefId) -> &'tcx ty::Generics {
420        desc { "computing generics of `{}`", tcx.def_path_str(key) }
421        arena_cache
422        cache_on_disk
423        separate_provide_extern
424        feedable
425    }
426
427    /// Returns the (elaborated) *clauses* of the definition given by `DefId`
428    /// that must be proven true at usage sites (and which can be assumed at definition site).
429    ///
430    /// This is almost always *the* predicates/clauses query that you want.
431    ///
432    /// **Tip**: You can use `#[rustc_dump_clauses]` on an item to basically print
433    /// the result of this query for use in UI tests or for debugging purposes.
434    query clauses_of(key: DefId) -> ty::GenericClauses<'tcx> {
435        desc { "computing clauses of `{}`", tcx.def_path_str(key) }
436    }
437
438    query opaque_types_defined_by(
439        key: LocalDefId
440    ) -> &'tcx ty::List<LocalDefId> {
441        desc {
442            "computing the opaque types defined by `{}`",
443            tcx.def_path_str(key.to_def_id())
444        }
445    }
446
447    /// A list of all bodies inside of `key`, nested bodies are always stored
448    /// before their parent.
449    query nested_bodies_within(
450        key: LocalDefId
451    ) -> &'tcx ty::List<LocalDefId> {
452        desc {
453            "computing the coroutines defined within `{}`",
454            tcx.def_path_str(key.to_def_id())
455        }
456    }
457
458    /// Returns the explicitly user-written *bounds* on the associated or opaque type given by `DefId`
459    /// that must be proven true at definition site (and which can be assumed at usage sites).
460    ///
461    /// For associated types, these must be satisfied for an implementation
462    /// to be well-formed, and for opaque types, these are required to be
463    /// satisfied by the hidden type of the opaque.
464    ///
465    /// Bounds from the parent (e.g. with nested `impl Trait`) are not included.
466    ///
467    /// Syntactially, these are the bounds written on associated types in trait
468    /// definitions, or those after the `impl` keyword for an opaque:
469    ///
470    /// ```ignore (illustrative)
471    /// trait Trait { type X: Bound + 'lt; }
472    /// //                    ^^^^^^^^^^^
473    /// fn function() -> impl Debug + Display { /*...*/ }
474    /// //                    ^^^^^^^^^^^^^^^
475    /// ```
476    query explicit_item_bounds(key: DefId) -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
477        desc { "finding item bounds for `{}`", tcx.def_path_str(key) }
478        cache_on_disk
479        separate_provide_extern
480        feedable
481    }
482
483    /// Returns the explicitly user-written *bounds* that share the `Self` type of the item.
484    ///
485    /// These are a subset of the [explicit item bounds] that may explicitly be used for things
486    /// like closure signature deduction.
487    ///
488    /// [explicit item bounds]: Self::explicit_item_bounds
489    query explicit_item_self_bounds(key: DefId) -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
490        desc { "finding item bounds for `{}`", tcx.def_path_str(key) }
491        cache_on_disk
492        separate_provide_extern
493        feedable
494    }
495
496    /// Returns the (elaborated) *bounds* on the associated or opaque type given by `DefId`
497    /// that must be proven true at definition site (and which can be assumed at usage sites).
498    ///
499    /// Bounds from the parent (e.g. with nested `impl Trait`) are not included.
500    ///
501    /// **Tip**: You can use `#[rustc_dump_item_bounds]` on an item to basically print
502    /// the result of this query for use in UI tests or for debugging purposes.
503    ///
504    /// # Examples
505    ///
506    /// ```
507    /// trait Trait { type Assoc: Eq + ?Sized; }
508    /// ```
509    ///
510    /// While [`Self::explicit_item_bounds`] returns `[<Self as Trait>::Assoc: Eq]`
511    /// here, `item_bounds` returns:
512    ///
513    /// ```text
514    /// [
515    ///     <Self as Trait>::Assoc: Eq,
516    ///     <Self as Trait>::Assoc: PartialEq<<Self as Trait>::Assoc>
517    /// ]
518    /// ```
519    query item_bounds(key: DefId) -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
520        desc { "elaborating item bounds for `{}`", tcx.def_path_str(key) }
521    }
522
523    query item_self_bounds(key: DefId) -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
524        desc { "elaborating item assumptions for `{}`", tcx.def_path_str(key) }
525    }
526
527    query item_non_self_bounds(key: DefId) -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
528        desc { "elaborating item assumptions for `{}`", tcx.def_path_str(key) }
529    }
530
531    query impl_super_outlives(key: DefId) -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
532        desc { "elaborating supertrait outlives for trait of `{}`", tcx.def_path_str(key) }
533    }
534
535    /// Look up all native libraries this crate depends on.
536    /// These are assembled from the following places:
537    /// - `extern` blocks (depending on their `link` attributes)
538    /// - the `libs` (`-l`) option
539    query native_libraries(_: CrateNum) -> &'tcx Vec<NativeLib> {
540        arena_cache
541        desc { "looking up the native libraries of a linked crate" }
542        separate_provide_extern
543    }
544
545    query shallow_lint_levels_on(key: hir::OwnerId) -> &'tcx rustc_middle::lint::ShallowLintLevelMap {
546        arena_cache
547        desc { "looking up lint levels for `{}`", tcx.def_path_str(key) }
548    }
549
550    query lint_expectations(_: ()) -> &'tcx Vec<(StableLintExpectationId, LintExpectation)> {
551        arena_cache
552        desc { "computing `#[expect]`ed lints in this crate" }
553    }
554
555    query skippable_lints(_: ()) -> &'tcx UnordSet<LintId> {
556        arena_cache
557        // This depends on the lint store, which includes internal lints when the
558        // untracked `-Zunstable-options` flag is set.
559        eval_always
560        desc { "Computing all lints that are explicitly enabled or with a default level greater than Allow" }
561    }
562
563    query expn_that_defined(key: DefId) -> rustc_span::ExpnId {
564        desc { "getting the expansion that defined `{}`", tcx.def_path_str(key) }
565        separate_provide_extern
566    }
567
568    query is_panic_runtime(_: CrateNum) -> bool {
569        desc { "checking if the crate is_panic_runtime" }
570        separate_provide_extern
571    }
572
573    /// Checks whether a type is representable or infinitely sized
574    //
575    // Infinitely sized types will cause a cycle. The query's `handle_cycle_error_fn` will print
576    // a custom error about the infinite size and then abort compilation. (In the past we
577    // recovered and continued, but in practice that leads to confusing subsequent error
578    // messages about cycles that then abort.)
579    query check_representability(key: LocalDefId) {
580        desc { "checking if `{}` is representable", tcx.def_path_str(key) }
581        handle_cycle_error
582        // We don't want recursive representability calls to be forced with
583        // incremental compilation because, if a cycle occurs, we need the
584        // entire cycle to be in memory for diagnostics.
585        no_force
586    }
587
588    /// An implementation detail for the `check_representability` query. See that query for more
589    /// details, particularly on the modifiers.
590    query check_representability_adt_ty(key: Ty<'tcx>) {
591        desc { "checking if `{}` is representable", key }
592        handle_cycle_error
593        no_force
594    }
595
596    /// Set of param indexes for type params that are in the type's representation
597    query params_in_repr(key: DefId) -> &'tcx rustc_index::bit_set::DenseBitSet<u32> {
598        desc { "finding type parameters in the representation" }
599        arena_cache
600        no_hash
601        separate_provide_extern
602    }
603
604    /// Fetch the THIR for a given body. The THIR body gets stolen by unsafety checking unless
605    /// `-Zno-steal-thir` is on.
606    query thir_body(key: LocalDefId) -> Result<(&'tcx Steal<thir::Thir<'tcx>>, thir::ExprId), ErrorGuaranteed> {
607        // Perf tests revealed that hashing THIR is inefficient (see #85729).
608        no_hash
609        desc { "building THIR for `{}`", tcx.def_path_str(key) }
610    }
611
612    /// Set of all the `DefId`s in this crate that have MIR associated with
613    /// them. This includes all the body owners, but also things like struct
614    /// constructors.
615    query mir_keys(_: ()) -> &'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId> {
616        arena_cache
617        desc { "getting a list of all mir_keys" }
618    }
619
620    /// Maps DefId's that have an associated `mir::Body` to the result
621    /// of the MIR const-checking pass. This is the set of qualifs in
622    /// the final value of a `const`.
623    query mir_const_qualif(key: DefId) -> mir::ConstQualifs {
624        desc { "const checking `{}`", tcx.def_path_str(key) }
625        cache_on_disk
626        separate_provide_extern
627    }
628
629    /// Build the MIR for a given `DefId` and prepare it for const qualification.
630    ///
631    /// See the [rustc dev guide] for more info.
632    ///
633    /// [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/mir/construction.html
634    query mir_built(key: LocalDefId) -> &'tcx Steal<mir::Body<'tcx>> {
635        desc { "building MIR for `{}`", tcx.def_path_str(key) }
636        feedable
637    }
638
639    /// Try to build an abstract representation of the given constant.
640    query thir_abstract_const(
641        key: DefId
642    ) -> Result<Option<ty::EarlyBinder<'tcx, ty::Const<'tcx>>>, ErrorGuaranteed> {
643        desc {
644            "building an abstract representation for `{}`", tcx.def_path_str(key),
645        }
646        separate_provide_extern
647    }
648
649    query mir_drops_elaborated_and_const_checked(key: LocalDefId) -> &'tcx Steal<mir::Body<'tcx>> {
650        no_hash
651        desc { "elaborating drops for `{}`", tcx.def_path_str(key) }
652    }
653
654    query mir_for_ctfe(
655        key: DefId
656    ) -> &'tcx mir::Body<'tcx> {
657        desc { "caching mir of `{}` for CTFE", tcx.def_path_str(key) }
658        cache_on_disk
659        separate_provide_extern
660    }
661
662    query mir_promoted(key: LocalDefId) -> (
663        &'tcx Steal<mir::Body<'tcx>>,
664        &'tcx Steal<IndexVec<mir::Promoted, mir::Body<'tcx>>>
665    ) {
666        no_hash
667        desc { "promoting constants in MIR for `{}`", tcx.def_path_str(key) }
668    }
669
670    query closure_typeinfo(key: LocalDefId) -> ty::ClosureTypeInfo<'tcx> {
671        desc {
672            "finding symbols for captures of closure `{}`",
673            tcx.def_path_str(key)
674        }
675    }
676
677    /// Returns names of captured upvars for closures and coroutines.
678    ///
679    /// Here are some examples:
680    ///  - `name__field1__field2` when the upvar is captured by value.
681    ///  - `_ref__name__field` when the upvar is captured by reference.
682    ///
683    /// For coroutines this only contains upvars that are shared by all states.
684    query closure_saved_names_of_captured_variables(def_id: DefId) -> &'tcx IndexVec<abi::FieldIdx, Symbol> {
685        arena_cache
686        desc { "computing debuginfo for closure `{}`", tcx.def_path_str(def_id) }
687        separate_provide_extern
688    }
689
690    query mir_coroutine_witnesses(key: DefId) -> Option<&'tcx mir::CoroutineLayout<'tcx>> {
691        arena_cache
692        desc { "coroutine witness types for `{}`", tcx.def_path_str(key) }
693        cache_on_disk
694        separate_provide_extern
695    }
696
697    query check_coroutine_obligations(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
698        desc { "verify auto trait bounds for coroutine interior type `{}`", tcx.def_path_str(key) }
699    }
700
701    /// Used in case `mir_borrowck` fails to prove an obligation. We generally assume that
702    /// all goals we prove in MIR type check hold as we've already checked them in HIR typeck.
703    ///
704    /// However, we replace each free region in the MIR body with a unique region inference
705    /// variable. As we may rely on structural identity when proving goals this may cause a
706    /// goal to no longer hold. We store obligations for which this may happen during HIR
707    /// typeck in the `TypeckResults`. We then uniquify and reprove them in case MIR typeck
708    /// encounters an unexpected error. We expect this to result in an error when used and
709    /// delay a bug if it does not.
710    query check_potentially_region_dependent_goals(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
711        desc {
712            "reproving potentially region dependent HIR typeck goals for `{}",
713            tcx.def_path_str(key)
714        }
715    }
716
717    /// MIR after our optimization passes have run. This is MIR that is ready
718    /// for codegen. This is also the only query that can fetch non-local MIR, at present.
719    query optimized_mir(key: DefId) -> &'tcx mir::Body<'tcx> {
720        desc { "optimizing MIR for `{}`", tcx.def_path_str(key) }
721        cache_on_disk
722        separate_provide_extern
723    }
724
725    /// Returns `true` if this def is a function-like thing that is eligible for
726    /// coverage instrumentation under `-Cinstrument-coverage`.
727    ///
728    /// (Eligible functions might nevertheless be skipped for other reasons.)
729    query is_eligible_for_coverage(key: LocalDefId) -> bool {
730        desc { "checking whether `{}` is eligible for coverage", tcx.def_path_str(key) }
731    }
732
733    /// Checks for the nearest `#[coverage(off)]` or `#[coverage(on)]` on
734    /// this def and any enclosing defs, up to the crate root.
735    ///
736    /// Returns `false` if `#[coverage(off)]` was found, or `true` if
737    /// either `#[coverage(on)]` or no coverage attribute was found.
738    query coverage_attr_on(key: LocalDefId) -> bool {
739        desc { "checking for `#[coverage(..)]` on `{}`", tcx.def_path_str(key) }
740        feedable
741    }
742
743    /// Scans through a function's MIR after MIR optimizations, to prepare the
744    /// information needed by codegen when `-Cinstrument-coverage` is active.
745    ///
746    /// This includes the details of where to insert `llvm.instrprof.increment`
747    /// intrinsics, and the expression tables to be embedded in the function's
748    /// coverage metadata.
749    ///
750    /// Returns `None` for functions that were not instrumented.
751    query coverage_codegen_info(key: ty::InstanceKind<'tcx>)
752        -> Option<&'tcx mir::coverage::CoverageCodegenInfo>
753    {
754        desc { "retrieving coverage codegen info from MIR for `{}`", tcx.def_path_str(key.def_id()) }
755        arena_cache
756    }
757
758    /// The `DefId` is the `DefId` of the containing MIR body. Promoteds do not have their own
759    /// `DefId`. This function returns all promoteds in the specified body. The body references
760    /// promoteds by the `DefId` and the `mir::Promoted` index. This is necessary, because
761    /// after inlining a body may refer to promoteds from other bodies. In that case you still
762    /// need to use the `DefId` of the original body.
763    query promoted_mir(key: DefId) -> &'tcx IndexVec<mir::Promoted, mir::Body<'tcx>> {
764        desc { "optimizing promoted MIR for `{}`", tcx.def_path_str(key) }
765        cache_on_disk
766        separate_provide_extern
767    }
768
769    /// Erases regions from `ty` to yield a new type.
770    /// Normally you would just use `tcx.erase_and_anonymize_regions(value)`,
771    /// however, which uses this query as a kind of cache.
772    query erase_and_anonymize_regions_ty(ty: Ty<'tcx>) -> Ty<'tcx> {
773        desc { "erasing regions from `{}`", ty }
774        // Not hashing the return value appears to give marginally better perf for this query,
775        // which should always be marked green for having no dependencies anyway.
776        no_hash
777    }
778
779    query wasm_import_module_map(_: CrateNum) -> &'tcx DefIdMap<String> {
780        arena_cache
781        desc { "getting wasm import module map" }
782    }
783
784    /// Returns the explicitly user-written *clauses and bounds* of the trait given by `DefId`.
785    ///
786    /// Traits are unusual, because clauses on associated types are
787    /// converted into bounds on that type for backwards compatibility:
788    ///
789    /// ```
790    /// trait X where Self::U: Copy { type U; }
791    /// ```
792    ///
793    /// becomes
794    ///
795    /// ```
796    /// trait X { type U: Copy; }
797    /// ```
798    ///
799    /// [`Self::explicit_clauses_of`] and [`Self::explicit_item_bounds`] will
800    /// then take the appropriate subsets of the clauses here.
801    ///
802    /// # Panics
803    ///
804    /// This query will panic if the given definition is not a trait.
805    query trait_explicit_clauses_and_bounds(key: LocalDefId) -> ty::GenericClauses<'tcx> {
806        desc { "computing explicit clauses of trait `{}`", tcx.def_path_str(key) }
807    }
808
809    /// Returns the explicitly user-written *clauses* of the definition given by `DefId`
810    /// that must be proven true at usage sites (and which can be assumed at definition site).
811    ///
812    /// You should probably use [`TyCtxt::clauses_of`] unless you're looking for
813    /// clauses with explicit spans for diagnostics purposes.
814    query explicit_clauses_of(key: DefId) -> ty::GenericClauses<'tcx> {
815        desc { "computing explicit predicates of `{}`", tcx.def_path_str(key) }
816        cache_on_disk
817        separate_provide_extern
818        feedable
819    }
820
821    /// Returns the *inferred outlives-clauses* of the item given by `DefId`.
822    ///
823    /// E.g., for `struct Foo<'a, T> { x: &'a T }`, this would return `[T: 'a]`.
824    ///
825    /// **Tip**: You can use `#[rustc_dump_inferred_outlives]` on an item to basically
826    /// print the result of this query for use in UI tests or for debugging purposes.
827    query inferred_outlives_of(key: DefId) -> &'tcx [(ty::Clause<'tcx>, Span)] {
828        desc { "computing inferred outlives-clauses of `{}`", tcx.def_path_str(key) }
829        cache_on_disk
830        separate_provide_extern
831        feedable
832    }
833
834    /// Returns the explicitly user-written *super-clauses* of the trait given by `DefId`.
835    ///
836    /// These clauses are unelaborated and consequently don't contain transitive super-clauses.
837    ///
838    /// This is a subset of the full list of clauses. We store these in a separate map
839    /// because we must evaluate them even during type conversion, often before the full
840    /// clauses are available (note that super-clauses must not be cyclic).
841    query explicit_super_clauses_of(key: DefId) -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
842        desc { "computing the super clauses of `{}`", tcx.def_path_str(key) }
843        cache_on_disk
844        separate_provide_extern
845    }
846
847    /// The clauses of the trait that are implied during elaboration.
848    ///
849    /// This is a superset of the super-clauses of the trait, but a subset of the clauses
850    /// of the trait. For regular traits, this includes all super-clauses and their
851    /// associated type bounds. For trait aliases, currently, this includes all of the
852    /// clauses of the trait alias.
853    query explicit_implied_clauses_of(key: DefId) -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
854        desc { "computing the implied clauses of `{}`", tcx.def_path_str(key) }
855        cache_on_disk
856        separate_provide_extern
857    }
858
859    /// The Ident is the name of an associated type.The query returns only the subset
860    /// of supertraits that define the given associated type. This is used to avoid
861    /// cycles in resolving type-dependent associated item paths like `T::Item`.
862    query explicit_supertraits_containing_assoc_item(
863        key: (DefId, rustc_span::Ident)
864    ) -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
865        desc { "computing the super traits of `{}` with associated type name `{}`",
866            tcx.def_path_str(key.0),
867            key.1
868        }
869    }
870
871    /// Compute the conditions that need to hold for a conditionally-const item to be const.
872    /// That is, compute the set of `[const]` where clauses for a given item.
873    ///
874    /// This can be thought of as the `[const]` equivalent of `clauses_of`. These are the
875    /// predicates that need to be proven at usage sites, and can be assumed at definition.
876    ///
877    /// This query also computes the `[const]` where clauses for associated types, which are
878    /// not "const", but which have item bounds which may be `[const]`. These must hold for
879    /// the `[const]` item bound to hold.
880    query const_conditions(
881        key: DefId
882    ) -> ty::ConstConditions<'tcx> {
883        desc { "computing the conditions for `{}` to be considered const",
884            tcx.def_path_str(key)
885        }
886        separate_provide_extern
887    }
888
889    /// Compute the const bounds that are implied for a conditionally-const item.
890    ///
891    /// This can be though of as the `[const]` equivalent of `explicit_item_bounds`. These
892    /// are the predicates that need to proven at definition sites, and can be assumed at
893    /// usage sites.
894    query explicit_implied_const_bounds(
895        key: DefId
896    ) -> ty::EarlyBinder<'tcx, &'tcx [(ty::PolyTraitRef<'tcx>, Span)]> {
897        desc { "computing the implied `[const]` bounds for `{}`",
898            tcx.def_path_str(key)
899        }
900        separate_provide_extern
901    }
902
903    /// To avoid cycles within the clauses of a single item we compute
904    /// per-type-parameter clauses for resolving `T::AssocTy`.
905    query type_param_clauses(
906        key: (LocalDefId, LocalDefId, rustc_span::Ident)
907    ) -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
908        desc { "computing the bounds for type parameter `{}`", tcx.hir_ty_param_name(key.1) }
909    }
910
911    query trait_def(key: DefId) -> &'tcx ty::TraitDef {
912        desc { "computing trait definition for `{}`", tcx.def_path_str(key) }
913        arena_cache
914        cache_on_disk
915        separate_provide_extern
916    }
917    query adt_def(key: DefId) -> ty::AdtDef<'tcx> {
918        desc { "computing ADT definition for `{}`", tcx.def_path_str(key) }
919        cache_on_disk
920        separate_provide_extern
921    }
922    query adt_destructor(key: DefId) -> Option<ty::Destructor> {
923        desc { "computing `Drop` impl for `{}`", tcx.def_path_str(key) }
924        cache_on_disk
925        separate_provide_extern
926    }
927    query adt_async_destructor(key: DefId) -> Option<ty::AsyncDestructor> {
928        desc { "computing `AsyncDrop` impl for `{}`", tcx.def_path_str(key) }
929        cache_on_disk
930        separate_provide_extern
931    }
932    query adt_sizedness_constraint(
933        key: (DefId, SizedTraitKind)
934    ) -> Option<ty::EarlyBinder<'tcx, Ty<'tcx>>> {
935        desc { "computing the sizedness constraint for `{}`", tcx.def_path_str(key.0) }
936    }
937
938    query adt_dtorck_constraint(
939        key: DefId
940    ) -> &'tcx DropckConstraint<'tcx> {
941        desc { "computing drop-check constraints for `{}`", tcx.def_path_str(key) }
942    }
943
944    /// Returns the constness of the function-like[^1] definition given by `DefId`.
945    ///
946    /// Tuple struct/variant constructors are *always* const, foreign functions are
947    /// *never* const. The rest is const iff marked with keyword `const` (or rather
948    /// its parent in the case of associated functions).
949    ///
950    /// <div class="warning">
951    ///
952    /// **Do not call this query** directly. It is only meant to cache the base data for the
953    /// higher-level functions. Consider using `is_const_fn` or `is_const_trait_impl` instead.
954    ///
955    /// Also note that neither of them takes into account feature gates, stability and
956    /// const predicates/conditions!
957    ///
958    /// </div>
959    ///
960    /// # Panics
961    ///
962    /// This query will panic if the given definition is not function-like[^1].
963    ///
964    /// [^1]: Tuple struct/variant constructors, closures and free, associated and foreign functions.
965    query constness(key: DefId) -> hir::Constness {
966        desc { "checking if item is const: `{}`", tcx.def_path_str(key) }
967        separate_provide_extern
968        feedable
969    }
970
971    query asyncness(key: DefId) -> ty::Asyncness {
972        desc { "checking if the function is async: `{}`", tcx.def_path_str(key) }
973        separate_provide_extern
974    }
975
976    /// Returns `true` if calls to the function may be promoted.
977    ///
978    /// This is either because the function is e.g., a tuple-struct or tuple-variant
979    /// constructor, or because it has the `#[rustc_promotable]` attribute. The attribute should
980    /// be removed in the future in favour of some form of check which figures out whether the
981    /// function does not inspect the bits of any of its arguments (so is essentially just a
982    /// constructor function).
983    query is_promotable_const_fn(key: DefId) -> bool {
984        desc { "checking if item is promotable: `{}`", tcx.def_path_str(key) }
985    }
986
987    /// The body of the coroutine, modified to take its upvars by move rather than by ref.
988    ///
989    /// This is used by coroutine-closures, which must return a different flavor of coroutine
990    /// when called using `AsyncFnOnce::call_once`. It is produced by the `ByMoveBody` pass which
991    /// is run right after building the initial MIR, and will only be populated for coroutines
992    /// which come out of the async closure desugaring.
993    query coroutine_by_move_body_def_id(def_id: DefId) -> DefId {
994        desc { "looking up the coroutine by-move body for `{}`", tcx.def_path_str(def_id) }
995        separate_provide_extern
996    }
997
998    /// Returns `Some(coroutine_kind)` if the node pointed to by `def_id` is a coroutine.
999    query coroutine_kind(def_id: DefId) -> Option<hir::CoroutineKind> {
1000        desc { "looking up coroutine kind of `{}`", tcx.def_path_str(def_id) }
1001        separate_provide_extern
1002        feedable
1003    }
1004
1005    query coroutine_for_closure(def_id: DefId) -> DefId {
1006        desc { "Given a coroutine-closure def id, return the def id of the coroutine returned by it" }
1007        separate_provide_extern
1008    }
1009
1010    query coroutine_hidden_types(
1011        def_id: DefId,
1012    ) -> ty::EarlyBinder<'tcx, ty::Binder<'tcx, ty::CoroutineWitnessTypes<TyCtxt<'tcx>>>> {
1013        desc { "looking up the hidden types stored across await points in a coroutine" }
1014    }
1015
1016    /// Gets a map with the variances of every item in the local crate.
1017    ///
1018    /// <div class="warning">
1019    ///
1020    /// **Do not call this query** directly, use [`Self::variances_of`] instead.
1021    ///
1022    /// </div>
1023    query crate_variances(_: ()) -> &'tcx ty::CrateVariancesMap<'tcx> {
1024        arena_cache
1025        desc { "computing the variances for items in this crate" }
1026    }
1027
1028    /// Returns the (inferred) variances of the item given by `DefId`.
1029    ///
1030    /// The list of variances corresponds to the list of (early-bound) generic
1031    /// parameters of the item (including its parents).
1032    ///
1033    /// **Tip**: You can use `#[rustc_dump_variances]` on an item to basically print
1034    /// the result of this query for use in UI tests or for debugging purposes.
1035    query variances_of(def_id: DefId) -> &'tcx [ty::Variance] {
1036        desc { "computing the variances of `{}`", tcx.def_path_str(def_id) }
1037        cache_on_disk
1038        handle_cycle_error
1039        separate_provide_extern
1040    }
1041
1042    /// Gets a map with the inferred outlives-clauses of every item in the local crate.
1043    ///
1044    /// <div class="warning">
1045    ///
1046    /// **Do not call this query** directly, use [`Self::inferred_outlives_of`] instead.
1047    ///
1048    /// </div>
1049    query inferred_outlives_crate(_: ()) -> &'tcx ty::CrateClausesMap<'tcx> {
1050        arena_cache
1051        desc { "computing the inferred outlives-clauses for items in this crate" }
1052    }
1053
1054    /// Maps from an impl/trait or struct/variant `DefId`
1055    /// to a list of the `DefId`s of its associated items or fields.
1056    query associated_item_def_ids(key: DefId) -> &'tcx [DefId] {
1057        desc { "collecting associated items or fields of `{}`", tcx.def_path_str(key) }
1058        cache_on_disk
1059        separate_provide_extern
1060    }
1061
1062    /// Maps from a trait/impl item to the trait/impl item "descriptor".
1063    query associated_item(key: DefId) -> ty::AssocItem {
1064        desc { "computing associated item data for `{}`", tcx.def_path_str(key) }
1065        cache_on_disk
1066        separate_provide_extern
1067        feedable
1068    }
1069
1070    /// Collects the associated items defined on a trait or impl.
1071    query associated_items(key: DefId) -> &'tcx ty::AssocItems {
1072        arena_cache
1073        desc { "collecting associated items of `{}`", tcx.def_path_str(key) }
1074    }
1075
1076    /// Maps from associated items on a trait to the corresponding associated
1077    /// item on the impl specified by `impl_id`.
1078    ///
1079    /// For example, with the following code
1080    ///
1081    /// ```
1082    /// struct Type {}
1083    ///                         // DefId
1084    /// trait Trait {           // trait_id
1085    ///     fn f();             // trait_f
1086    ///     fn g() {}           // trait_g
1087    /// }
1088    ///
1089    /// impl Trait for Type {   // impl_id
1090    ///     fn f() {}           // impl_f
1091    ///     fn g() {}           // impl_g
1092    /// }
1093    /// ```
1094    ///
1095    /// The map returned for `tcx.impl_item_implementor_ids(impl_id)` would be
1096    ///`{ trait_f: impl_f, trait_g: impl_g }`
1097    query impl_item_implementor_ids(impl_id: DefId) -> &'tcx DefIdMap<DefId> {
1098        arena_cache
1099        desc { "comparing impl items against trait for `{}`", tcx.def_path_str(impl_id) }
1100    }
1101
1102    /// Given the `item_def_id` of a trait or impl, return a mapping from associated fn def id
1103    /// to its associated type items that correspond to the RPITITs in its signature.
1104    query associated_types_for_impl_traits_in_trait_or_impl(item_def_id: DefId) -> &'tcx DefIdMap<Vec<DefId>> {
1105        arena_cache
1106        desc { "synthesizing RPITIT items for the opaque types for methods in `{}`", tcx.def_path_str(item_def_id) }
1107        separate_provide_extern
1108    }
1109
1110    /// Given an `impl_id`, return the trait it implements along with some header information.
1111    query impl_trait_header(impl_id: DefId) -> ty::ImplTraitHeader<'tcx> {
1112        desc { "computing trait implemented by `{}`", tcx.def_path_str(impl_id) }
1113        cache_on_disk
1114        separate_provide_extern
1115    }
1116
1117    /// Whether all generic parameters of the type are unique unconstrained generic parameters
1118    /// of the impl. `Bar<'static>` or `Foo<'a, 'a>` or outlives bounds on the lifetimes cause
1119    /// this boolean to be false and `try_as_dyn` to return `None`.
1120    query impl_is_fully_generic_for_reflection(impl_id: DefId) -> bool {
1121        desc { "computing trait implemented by `{}`", tcx.def_path_str(impl_id) }
1122        cache_on_disk
1123        separate_provide_extern
1124    }
1125
1126    /// Given an `impl_def_id`, return true if the self type is guaranteed to be unsized due
1127    /// to either being one of the built-in unsized types (str/slice/dyn) or to be a struct
1128    /// whose tail is one of those types.
1129    query impl_self_is_guaranteed_unsized(impl_def_id: DefId) -> bool {
1130        desc { "computing whether `{}` has a guaranteed unsized self type", tcx.def_path_str(impl_def_id) }
1131    }
1132
1133    /// Maps a `DefId` of a type to a list of its inherent impls.
1134    /// Contains implementations of methods that are inherent to a type.
1135    /// Methods in these implementations don't need to be exported.
1136    query inherent_impls(key: DefId) -> &'tcx [DefId] {
1137        desc { "collecting inherent impls for `{}`", tcx.def_path_str(key) }
1138        cache_on_disk
1139        separate_provide_extern
1140    }
1141
1142    query incoherent_impls(key: SimplifiedType) -> &'tcx [DefId] {
1143        desc { "collecting all inherent impls for `{:?}`", key }
1144    }
1145
1146    /// Unsafety-check this `LocalDefId`.
1147    query check_transmutes(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
1148        desc { "check transmute calls inside `{}`", tcx.def_path_str(key) }
1149    }
1150
1151    /// Type-check offloads calls given a typeck root
1152    query check_offloads(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
1153        desc { "check offload calls inside `{}`", tcx.def_path_str(key) }
1154    }
1155
1156    /// Unsafety-check this `LocalDefId`.
1157    query check_unsafety(key: LocalDefId) {
1158        desc { "unsafety-checking `{}`", tcx.def_path_str(key) }
1159    }
1160
1161    /// Checks well-formedness of tail calls (`become f()`).
1162    query check_tail_calls(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
1163        desc { "tail-call-checking `{}`", tcx.def_path_str(key) }
1164    }
1165
1166    /// Returns the types assumed to be well formed while "inside" of the given item.
1167    ///
1168    /// Note that we've liberated the late bound regions of function signatures, so
1169    /// this can not be used to check whether these types are well formed.
1170    query assumed_wf_types(key: LocalDefId) -> &'tcx [(Ty<'tcx>, Span)] {
1171        desc { "computing the implied bounds of `{}`", tcx.def_path_str(key) }
1172    }
1173
1174    /// We need to store the assumed_wf_types for an RPITIT so that impls of foreign
1175    /// traits with return-position impl trait in traits can inherit the right wf types.
1176    query assumed_wf_types_for_rpitit(key: DefId) -> &'tcx [(Ty<'tcx>, Span)] {
1177        desc { "computing the implied bounds of `{}`", tcx.def_path_str(key) }
1178        separate_provide_extern
1179    }
1180
1181    /// Computes the signature of the function.
1182    query fn_sig(key: DefId) -> ty::EarlyBinder<'tcx, ty::PolyFnSig<'tcx>> {
1183        desc { "computing function signature of `{}`", tcx.def_path_str(key) }
1184        cache_on_disk
1185        handle_cycle_error
1186        separate_provide_extern
1187    }
1188
1189    /// Performs lint checking for the module.
1190    query lint_mod(key: LocalModId) {
1191        desc { "linting {}", describe_as_module(key, tcx) }
1192    }
1193
1194    query check_unused_traits(_: ()) {
1195        desc { "checking unused trait imports in crate" }
1196    }
1197
1198    /// Checks the attributes in the module.
1199    query check_mod_attrs(key: LocalModId) {
1200        desc { "checking attributes in {}", describe_as_module(key, tcx) }
1201    }
1202
1203    /// Checks for uses of unstable APIs in the module.
1204    query check_mod_unstable_api_usage(key: LocalModId) {
1205        desc { "checking for unstable API usage in {}", describe_as_module(key, tcx) }
1206    }
1207
1208    query check_mod_privacy(key: LocalModId) {
1209        desc { "checking privacy in {}", describe_as_module(key.to_local_def_id(), tcx) }
1210    }
1211
1212    query check_liveness(key: LocalDefId) -> &'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx> {
1213        arena_cache
1214        desc { "checking liveness of variables in `{}`", tcx.def_path_str(key.to_def_id()) }
1215    }
1216
1217    /// Return dead-code liveness summary for the crate.
1218    query live_symbols_and_ignored_derived_traits(_: ()) -> Result<&'tcx DeadCodeLivenessSummary, ErrorGuaranteed> {
1219        arena_cache
1220        desc { "finding live symbols in crate" }
1221    }
1222
1223    query check_mod_deathness(key: LocalModId) {
1224        desc { "checking deathness of variables in {}", describe_as_module(key, tcx) }
1225    }
1226
1227    query check_type_wf(key: ()) -> Result<(), ErrorGuaranteed> {
1228        desc { "checking that types are well-formed" }
1229    }
1230
1231    /// Caches `CoerceUnsized` kinds for impls on custom types.
1232    query coerce_unsized_info(key: DefId) -> Result<ty::adjustment::CoerceUnsizedInfo, ErrorGuaranteed> {
1233        desc { "computing CoerceUnsized info for `{}`", tcx.def_path_str(key) }
1234        cache_on_disk
1235        separate_provide_extern
1236    }
1237
1238    query typeck_root(key: LocalDefId) -> &'tcx ty::TypeckResults<'tcx> {
1239        desc { "type-checking `{}`", tcx.def_path_str(key) }
1240        cache_on_disk
1241    }
1242
1243    query used_trait_imports(key: LocalDefId) -> &'tcx UnordSet<LocalDefId> {
1244        desc { "finding used_trait_imports `{}`", tcx.def_path_str(key) }
1245        cache_on_disk
1246    }
1247
1248    query coherent_trait(def_id: DefId) -> Result<(), ErrorGuaranteed> {
1249        desc { "coherence checking all impls of trait `{}`", tcx.def_path_str(def_id) }
1250    }
1251
1252    /// Borrow-checks the given typeck root, e.g. functions, const/static items,
1253    /// and its children, e.g. closures, inline consts.
1254    query mir_borrowck(key: LocalDefId) -> Result<
1255        &'tcx FxIndexMap<LocalDefId, ty::DefinitionSiteHiddenType<'tcx>>,
1256        ErrorGuaranteed
1257    > {
1258        desc { "borrow-checking `{}`", tcx.def_path_str(key) }
1259    }
1260
1261    /// Gets a complete map from all types to their inherent impls.
1262    ///
1263    /// <div class="warning">
1264    ///
1265    /// **Not meant to be used** directly outside of coherence.
1266    ///
1267    /// </div>
1268    query crate_inherent_impls(k: ()) -> (&'tcx CrateInherentImpls, Result<(), ErrorGuaranteed>) {
1269        desc { "finding all inherent impls defined in crate" }
1270    }
1271
1272    /// Checks all types in the crate for overlap in their inherent impls. Reports errors.
1273    ///
1274    /// <div class="warning">
1275    ///
1276    /// **Not meant to be used** directly outside of coherence.
1277    ///
1278    /// </div>
1279    query crate_inherent_impls_validity_check(_: ()) -> Result<(), ErrorGuaranteed> {
1280        desc { "check for inherent impls that should not be defined in crate" }
1281    }
1282
1283    /// Checks all types in the crate for overlap in their inherent impls. Reports errors.
1284    ///
1285    /// <div class="warning">
1286    ///
1287    /// **Not meant to be used** directly outside of coherence.
1288    ///
1289    /// </div>
1290    query crate_inherent_impls_overlap_check(_: ()) -> Result<(), ErrorGuaranteed> {
1291        desc { "check for overlap between inherent impls defined in this crate" }
1292    }
1293
1294    /// Checks whether all impls in the crate pass the overlap check, returning
1295    /// which impls fail it. If all impls are correct, the returned slice is empty.
1296    query orphan_check_impl(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
1297        desc {
1298            "checking whether impl `{}` follows the orphan rules",
1299            tcx.def_path_str(key),
1300        }
1301    }
1302
1303    /// Return the set of (transitive) callees that may result in a recursive call to `key`,
1304    /// if we were able to walk all callees.
1305    query mir_callgraph_cyclic(key: LocalDefId) -> Option<&'tcx UnordSet<LocalDefId>> {
1306        arena_cache
1307        desc {
1308            "computing (transitive) callees of `{}` that may recurse",
1309            tcx.def_path_str(key),
1310        }
1311        cache_on_disk
1312    }
1313
1314    /// Obtain all the calls into other local functions
1315    query mir_inliner_callees(key: ty::InstanceKind<'tcx>) -> &'tcx [(DefId, GenericArgsRef<'tcx>)] {
1316        desc {
1317            "computing all local function calls in `{}`",
1318            tcx.def_path_str(key.def_id()),
1319        }
1320    }
1321
1322    /// Computes the tag (if any) for a given type and variant.
1323    ///
1324    /// `None` means that the variant doesn't need a tag (because it is niched).
1325    ///
1326    /// # Panics
1327    ///
1328    /// This query will panic for uninhabited variants and if the passed type is not an enum.
1329    query tag_for_variant(
1330        key: PseudoCanonicalInput<'tcx, (Ty<'tcx>, abi::VariantIdx)>,
1331    ) -> Option<ty::ScalarInt> {
1332        desc { "computing variant tag for enum" }
1333    }
1334
1335    /// Evaluates a constant and returns the computed allocation.
1336    ///
1337    /// <div class="warning">
1338    ///
1339    /// **Do not call this query** directly, use [`Self::eval_to_const_value_raw`] or
1340    /// [`Self::eval_to_valtree`] instead.
1341    ///
1342    /// </div>
1343    query eval_to_allocation_raw(key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>)
1344        -> EvalToAllocationRawResult<'tcx> {
1345        desc {
1346            "const-evaluating + checking `{}`",
1347            key.value.display(tcx)
1348        }
1349        cache_on_disk
1350    }
1351
1352    /// Evaluate a static's initializer, returning the allocation of the initializer's memory.
1353    query eval_static_initializer(key: DefId) -> EvalStaticInitializerRawResult<'tcx> {
1354        desc {
1355            "evaluating initializer of static `{}`",
1356            tcx.def_path_str(key)
1357        }
1358        cache_on_disk
1359        separate_provide_extern
1360        feedable
1361    }
1362
1363    /// Evaluates const items or anonymous constants[^1] into a representation
1364    /// suitable for the type system and const generics.
1365    ///
1366    /// <div class="warning">
1367    ///
1368    /// **Do not call this** directly, use one of the following wrappers:
1369    /// [`TyCtxt::const_eval_poly`], [`TyCtxt::const_eval_resolve`],
1370    /// [`TyCtxt::const_eval_instance`], or [`TyCtxt::const_eval_global_id`].
1371    ///
1372    /// </div>
1373    ///
1374    /// [^1]: Such as enum variant explicit discriminants or array lengths.
1375    query eval_to_const_value_raw(key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>)
1376        -> EvalToConstValueResult<'tcx> {
1377        desc {
1378            "simplifying constant for the type system `{}`",
1379            key.value.display(tcx)
1380        }
1381        depth_limit
1382        cache_on_disk
1383    }
1384
1385    /// Evaluate a constant and convert it to a type level constant or
1386    /// return `None` if that is not possible.
1387    query eval_to_valtree(
1388        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>
1389    ) -> EvalToValTreeResult<'tcx> {
1390        desc { "evaluating type-level constant" }
1391    }
1392
1393    /// Converts a type-level constant value into a MIR constant value.
1394    query valtree_to_const_val(key: ty::Value<'tcx>) -> mir::ConstValue {
1395        desc { "converting type-level constant value to MIR constant value"}
1396    }
1397
1398    // FIXME get rid of this with valtrees
1399    query lit_to_const(
1400        key: LitToConstInput<'tcx>
1401    ) -> Option<ty::Value<'tcx>> {
1402        desc { "converting literal to const" }
1403    }
1404
1405    query check_match(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
1406        desc { "match-checking `{}`", tcx.def_path_str(key) }
1407    }
1408
1409    /// Performs part of the privacy check and computes effective visibilities.
1410    query effective_visibilities(_: ()) -> &'tcx EffectiveVisibilities {
1411        eval_always
1412        desc { "checking effective visibilities" }
1413    }
1414    query check_private_in_public(module_def_id: LocalModId) {
1415        desc {
1416            "checking for private elements in public interfaces for {}",
1417            describe_as_module(module_def_id, tcx)
1418        }
1419    }
1420
1421    query reachable_set(_: ()) -> &'tcx LocalDefIdSet {
1422        arena_cache
1423        desc { "reachability" }
1424        cache_on_disk
1425    }
1426
1427    /// Per-body `region::ScopeTree`. The `DefId` should be the owner `DefId` for the body;
1428    /// in the case of closures, this will be redirected to the enclosing function.
1429    query region_scope_tree(def_id: LocalDefId) -> &'tcx crate::middle::region::ScopeTree {
1430        desc { "computing drop scopes for `{}`", tcx.def_path_str(def_id) }
1431    }
1432
1433    /// Generates a MIR body for the shim.
1434    query mir_shims(key: ty::ShimKind<'tcx>) -> &'tcx mir::Body<'tcx> {
1435        arena_cache
1436        desc {
1437            "generating MIR shim for `{}`, kind={:?}",
1438            tcx.def_path_str(key.def_id()),
1439            key
1440        }
1441    }
1442
1443    /// The `symbol_name` query provides the symbol name for calling a
1444    /// given instance from the local crate. In particular, it will also
1445    /// look up the correct symbol name of instances from upstream crates.
1446    query symbol_name(key: ty::Instance<'tcx>) -> ty::SymbolName<'tcx> {
1447        desc { "computing the symbol for `{}`", key }
1448        cache_on_disk
1449    }
1450
1451    query def_kind(def_id: DefId) -> DefKind {
1452        desc { "looking up definition kind of `{}`", tcx.def_path_str(def_id) }
1453        separate_provide_extern
1454        // This query has no local provider. For defs in the current crate,
1455        // its value is always set by feeding when the `DefId` is created,
1456        // usually in `TyCtxt::create_def`.
1457        feedable
1458    }
1459
1460    /// Gets the span for the definition.
1461    query def_span(def_id: DefId) -> Span {
1462        desc { "looking up span for `{}`", tcx.def_path_str(def_id) }
1463        cache_on_disk
1464        separate_provide_extern
1465        feedable
1466    }
1467
1468    /// Gets the span for the identifier of the definition.
1469    query def_ident_span(def_id: DefId) -> Option<Span> {
1470        desc { "looking up span for `{}`'s identifier", tcx.def_path_str(def_id) }
1471        cache_on_disk
1472        separate_provide_extern
1473        feedable
1474    }
1475
1476    /// Gets the span for the type of the definition.
1477    /// Panics if it is not a definition that has a single type.
1478    query ty_span(def_id: LocalDefId) -> Span {
1479        desc { "looking up span for `{}`'s type", tcx.def_path_str(def_id) }
1480        cache_on_disk
1481    }
1482
1483    query lookup_stability(def_id: DefId) -> Option<hir::Stability> {
1484        desc { "looking up stability of `{}`", tcx.def_path_str(def_id) }
1485        cache_on_disk
1486        separate_provide_extern
1487    }
1488
1489    query lookup_const_stability(def_id: DefId) -> Option<hir::ConstStability> {
1490        desc { "looking up const stability of `{}`", tcx.def_path_str(def_id) }
1491        cache_on_disk
1492        separate_provide_extern
1493    }
1494
1495    query lookup_default_body_stability(def_id: DefId) -> Option<hir::DefaultBodyStability> {
1496        desc { "looking up default body stability of `{}`", tcx.def_path_str(def_id) }
1497        separate_provide_extern
1498    }
1499
1500    query should_inherit_track_caller(def_id: DefId) -> bool {
1501        desc { "computing should_inherit_track_caller of `{}`", tcx.def_path_str(def_id) }
1502    }
1503
1504    query inherited_align(def_id: DefId) -> Option<Align> {
1505        desc { "computing inherited_align of `{}`", tcx.def_path_str(def_id) }
1506    }
1507
1508    query lookup_deprecation_entry(def_id: DefId) -> Option<DeprecationEntry> {
1509        desc { "checking whether `{}` is deprecated", tcx.def_path_str(def_id) }
1510        cache_on_disk
1511        separate_provide_extern
1512    }
1513
1514    /// Determines whether an item is annotated with `#[doc(hidden)]`.
1515    query is_doc_hidden(def_id: DefId) -> bool {
1516        desc { "checking whether `{}` is `doc(hidden)`", tcx.def_path_str(def_id) }
1517        separate_provide_extern
1518    }
1519
1520    /// Determines whether an item is annotated with `#[doc(notable_trait)]`.
1521    query is_doc_notable_trait(def_id: DefId) -> bool {
1522        desc { "checking whether `{}` is `doc(notable_trait)`", tcx.def_path_str(def_id) }
1523    }
1524
1525    /// Returns the attributes on the item at `def_id`.
1526    ///
1527    /// <div class="warning">
1528    ///
1529    /// Do not use this directly, use [`rustc_attr_ir::find_attr`] instead.
1530    ///
1531    /// </div>
1532    query attrs_for_def(def_id: DefId) -> &'tcx [rustc_attr_ir::Attribute] {
1533        desc { "collecting attributes of `{}`", tcx.def_path_str(def_id) }
1534        separate_provide_extern
1535    }
1536
1537    /// Returns the `CodegenFnAttrs` for the item at `def_id`.
1538    ///
1539    /// If possible, use `tcx.codegen_instance_attrs` instead. That function takes the
1540    /// instance kind into account.
1541    ///
1542    /// For example, the `#[naked]` attribute should be applied for `InstanceKind::Item`,
1543    /// but should not be applied if the instance kind is `InstanceKind::ReifyShim`.
1544    /// Using this query would include the attribute regardless of the actual instance
1545    /// kind at the call site.
1546    query codegen_fn_attrs(def_id: DefId) -> &'tcx CodegenFnAttrs {
1547        desc { "computing codegen attributes of `{}`", tcx.def_path_str(def_id) }
1548        arena_cache
1549        cache_on_disk
1550        separate_provide_extern
1551        feedable
1552    }
1553
1554    query asm_target_features(def_id: DefId) -> &'tcx FxIndexSet<Symbol> {
1555        desc { "computing target features for inline asm of `{}`", tcx.def_path_str(def_id) }
1556    }
1557
1558    query fn_arg_idents(def_id: DefId) -> &'tcx [Option<rustc_span::Ident>] {
1559        desc { "looking up function parameter identifiers for `{}`", tcx.def_path_str(def_id) }
1560        separate_provide_extern
1561    }
1562
1563    /// Gets the rendered value of the specified constant or associated constant.
1564    /// Used by rustdoc.
1565    query rendered_const(def_id: DefId) -> &'tcx String {
1566        arena_cache
1567        desc { "rendering constant initializer of `{}`", tcx.def_path_str(def_id) }
1568        separate_provide_extern
1569    }
1570
1571    /// Gets the rendered precise capturing args for an opaque for use in rustdoc.
1572    query rendered_precise_capturing_args(def_id: DefId) -> Option<&'tcx [PreciseCapturingArgKind<Symbol, Symbol>]> {
1573        desc { "rendering precise capturing args for `{}`", tcx.def_path_str(def_id) }
1574        separate_provide_extern
1575    }
1576
1577    query impl_parent(def_id: DefId) -> Option<DefId> {
1578        desc { "computing specialization parent impl of `{}`", tcx.def_path_str(def_id) }
1579        separate_provide_extern
1580    }
1581
1582    query is_mir_available(key: DefId) -> bool {
1583        desc { "checking if item has MIR available: `{}`", tcx.def_path_str(key) }
1584        cache_on_disk
1585        separate_provide_extern
1586    }
1587
1588    query own_existential_vtable_entries(
1589        key: DefId
1590    ) -> &'tcx [DefId] {
1591        desc { "finding all existential vtable entries for trait `{}`", tcx.def_path_str(key) }
1592    }
1593
1594    query vtable_entries(key: ty::TraitRef<'tcx>)
1595                        -> &'tcx [ty::VtblEntry<'tcx>] {
1596        desc { "finding all vtable entries for trait `{}`", tcx.def_path_str(key.def_id) }
1597    }
1598
1599    query first_method_vtable_slot(key: ty::TraitRef<'tcx>) -> usize {
1600        desc { "finding the slot within the vtable of `{}` for the implementation of `{}`", key.self_ty(), key.print_only_trait_name() }
1601    }
1602
1603    query supertrait_vtable_slot(key: (Ty<'tcx>, Ty<'tcx>)) -> Option<usize> {
1604        desc { "finding the slot within vtable for trait object `{}` vtable ptr during trait upcasting coercion from `{}` vtable",
1605            key.1, key.0 }
1606    }
1607
1608    query vtable_allocation(key: (Ty<'tcx>, Option<ty::ExistentialTraitRef<'tcx>>)) -> mir::interpret::AllocId {
1609        desc { "vtable const allocation for <{} as {}>",
1610            key.0,
1611            key.1.map(|trait_ref| format!("{trait_ref}")).unwrap_or_else(|| "_".to_owned())
1612        }
1613    }
1614
1615    query codegen_select_candidate(
1616        key: PseudoCanonicalInput<'tcx, ty::TraitRef<'tcx>>
1617    ) -> Result<&'tcx ImplSource<'tcx, ()>, CodegenObligationError> {
1618        cache_on_disk
1619        desc { "computing candidate for `{}`", key.value }
1620    }
1621
1622    /// Return all `impl` blocks in the current crate.
1623    query all_local_trait_impls(_: ()) -> &'tcx rustc_data_structures::fx::FxIndexMap<DefId, Vec<LocalDefId>> {
1624        desc { "finding local trait impls" }
1625    }
1626
1627    /// Return all `impl` blocks of the given trait in the current crate.
1628    query local_trait_impls(trait_id: DefId) -> &'tcx [LocalDefId] {
1629        desc { "finding local trait impls of `{}`", tcx.def_path_str(trait_id) }
1630    }
1631
1632    /// Given a trait `trait_id`, return all known `impl` blocks.
1633    query trait_impls_of(trait_id: DefId) -> &'tcx ty::trait_def::TraitImpls {
1634        arena_cache
1635        desc { "finding trait impls of `{}`", tcx.def_path_str(trait_id) }
1636    }
1637
1638    query specialization_graph_of(trait_id: DefId) -> Result<&'tcx specialization_graph::Graph, ErrorGuaranteed> {
1639        desc { "building specialization graph of trait `{}`", tcx.def_path_str(trait_id) }
1640        cache_on_disk
1641    }
1642    query dyn_compatibility_violations(trait_id: DefId) -> &'tcx [DynCompatibilityViolation] {
1643        desc { "determining dyn-compatibility of trait `{}`", tcx.def_path_str(trait_id) }
1644    }
1645    query is_dyn_compatible(trait_id: DefId) -> bool {
1646        desc { "checking if trait `{}` is dyn-compatible", tcx.def_path_str(trait_id) }
1647    }
1648
1649    /// Gets the ParameterEnvironment for a given item; this environment
1650    /// will be in "user-facing" mode, meaning that it is suitable for
1651    /// type-checking etc, and it does not normalize specializable
1652    /// associated types.
1653    ///
1654    /// You should almost certainly not use this. If you already have an InferCtxt, then
1655    /// you should also probably have a `ParamEnv` from when it was built. If you don't,
1656    /// then you should take a `TypingEnv` to ensure that you handle opaque types correctly.
1657    query param_env(def_id: DefId) -> ty::ParamEnv<'tcx> {
1658        desc { "computing normalized predicates of `{}`", tcx.def_path_str(def_id) }
1659        feedable
1660    }
1661
1662    /// Like `param_env`, but returns the `ParamEnv` after all opaque types have been
1663    /// replaced with their hidden type. This is used in the old trait solver
1664    /// when in `PostAnalysis` mode and should not be called directly.
1665    query param_env_normalized_for_post_analysis(def_id: DefId) -> ty::ParamEnv<'tcx> {
1666        desc { "computing revealed normalized predicates of `{}`", tcx.def_path_str(def_id) }
1667    }
1668
1669    /// Trait selection queries. These are best used by invoking `ty.is_copy_modulo_regions()`,
1670    /// `ty.is_copy()`, etc, since that will prune the environment where possible.
1671    query is_copy_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1672        desc { "computing whether `{}` is `Copy`", env.value }
1673    }
1674    /// Trait selection queries. These are best used by invoking `ty.is_use_cloned_modulo_regions()`,
1675    /// `ty.is_use_cloned()`, etc, since that will prune the environment where possible.
1676    query is_use_cloned_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1677        desc { "computing whether `{}` is `UseCloned`", env.value }
1678    }
1679    /// Query backing `Ty::is_sized`.
1680    query is_sized_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1681        desc { "computing whether `{}` is `Sized`", env.value }
1682    }
1683    /// Query backing `Ty::is_freeze`.
1684    query is_freeze_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1685        desc { "computing whether `{}` is freeze", env.value }
1686    }
1687    /// Query backing `Ty::is_unsafe_unpin`.
1688    query is_unsafe_unpin_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1689        desc { "computing whether `{}` is `UnsafeUnpin`", env.value }
1690    }
1691    /// Query backing `Ty::is_unpin`.
1692    query is_unpin_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1693        desc { "computing whether `{}` is `Unpin`", env.value }
1694    }
1695    /// Query backing `Ty::is_async_drop`.
1696    query is_async_drop_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1697        desc { "computing whether `{}` is `AsyncDrop`", env.value }
1698    }
1699    /// Query backing `Ty::needs_drop`.
1700    query needs_drop_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1701        desc { "computing whether `{}` needs drop", env.value }
1702    }
1703    /// Query backing `Ty::needs_async_drop`.
1704    query needs_async_drop_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1705        desc { "computing whether `{}` needs async drop", env.value }
1706    }
1707    /// Query backing `Ty::has_significant_drop_raw`.
1708    query has_significant_drop_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
1709        desc { "computing whether `{}` has a significant drop", env.value }
1710    }
1711
1712    /// Query backing `Ty::is_structural_eq_shallow`.
1713    ///
1714    /// This is only correct for ADTs. Call `is_structural_eq_shallow` to handle all types
1715    /// correctly.
1716    query has_structural_eq_impl(ty: Ty<'tcx>) -> bool {
1717        desc {
1718            "computing whether `{}` implements `StructuralPartialEq`",
1719            ty
1720        }
1721    }
1722
1723    /// A list of types where the ADT requires drop if and only if any of
1724    /// those types require drop. If the ADT is known to always need drop
1725    /// then `Err(AlwaysRequiresDrop)` is returned.
1726    query adt_drop_tys(def_id: DefId) -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
1727        desc { "computing when `{}` needs drop", tcx.def_path_str(def_id) }
1728        cache_on_disk
1729    }
1730
1731    /// A list of types where the ADT requires async drop if and only if any of
1732    /// those types require async drop. If the ADT is known to always need async drop
1733    /// then `Err(AlwaysRequiresDrop)` is returned.
1734    query adt_async_drop_tys(def_id: DefId) -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
1735        desc { "computing when `{}` needs async drop", tcx.def_path_str(def_id) }
1736        cache_on_disk
1737    }
1738
1739    /// A list of types where the ADT requires drop if and only if any of those types
1740    /// has significant drop. A type marked with the attribute `rustc_insignificant_dtor`
1741    /// is considered to not be significant. A drop is significant if it is implemented
1742    /// by the user or does anything that will have any observable behavior (other than
1743    /// freeing up memory). If the ADT is known to have a significant destructor then
1744    /// `Err(AlwaysRequiresDrop)` is returned.
1745    query adt_significant_drop_tys(def_id: DefId) -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
1746        desc { "computing when `{}` has a significant destructor", tcx.def_path_str(def_id) }
1747    }
1748
1749    /// Returns a list of types which (a) have a potentially significant destructor
1750    /// and (b) may be dropped as a result of dropping a value of some type `ty`
1751    /// (in the given environment).
1752    ///
1753    /// The idea of "significant" drop is somewhat informal and is used only for
1754    /// diagnostics and edition migrations. The idea is that a significant drop may have
1755    /// some visible side-effect on execution; freeing memory is NOT considered a side-effect.
1756    /// The rules are as follows:
1757    /// * Type with no explicit drop impl do not have significant drop.
1758    /// * Types with a drop impl are assumed to have significant drop unless they have a `#[rustc_insignificant_dtor]` annotation.
1759    ///
1760    /// Note that insignificant drop is a "shallow" property. A type like `Vec<LockGuard>` does not
1761    /// have significant drop but the type `LockGuard` does, and so if `ty  = Vec<LockGuard>`
1762    /// then the return value would be `&[LockGuard]`.
1763    /// *IMPORTANT*: *DO NOT* run this query before promoted MIR body is constructed,
1764    /// because this query partially depends on that query.
1765    /// Otherwise, there is a risk of query cycles.
1766    query list_significant_drop_tys(ty: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> &'tcx ty::List<Ty<'tcx>> {
1767        desc { "computing when `{}` has a significant destructor", ty.value }
1768    }
1769
1770    /// Computes the layout of a type. Note that this implicitly
1771    /// executes in `TypingMode::PostAnalysis`, and will normalize the input type.
1772    query layout_of(
1773        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>
1774    ) -> Result<ty::layout::TyAndLayout<'tcx>, &'tcx ty::layout::LayoutError<'tcx>> {
1775        depth_limit
1776        desc { "computing layout of `{}`", key.value }
1777        handle_cycle_error
1778    }
1779
1780    /// Compute a `FnAbi` suitable for indirect calls, i.e. to `fn` pointers.
1781    ///
1782    /// NB: this doesn't handle virtual calls - those should use `fn_abi_of_instance`
1783    /// instead, where the instance is an `InstanceKind::Virtual`.
1784    query fn_abi_of_fn_ptr(
1785        key: ty::PseudoCanonicalInput<'tcx, (ty::PolyFnSig<'tcx>, &'tcx ty::List<Ty<'tcx>>)>
1786    ) -> Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>, &'tcx ty::layout::FnAbiError<'tcx>> {
1787        desc { "computing call ABI of `{}` function pointers", key.value.0 }
1788    }
1789
1790    /// Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for direct calls*
1791    /// to an `fn`. Indirectly-passed parameters in the returned ABI might not include all possible
1792    /// codegen optimization attributes (such as `ReadOnly` or `CapturesNone`), as deducing these
1793    /// requires inspection of function bodies that can lead to cycles when performed during typeck.
1794    /// Post typeck, you should prefer the optimized ABI returned by `TyCtxt::fn_abi_of_instance`.
1795    ///
1796    /// NB: the ABI returned by this query must not differ from that returned by
1797    ///     `fn_abi_of_instance_raw` in any other way.
1798    ///
1799    /// * that includes virtual calls, which are represented by "direct calls" to an
1800    ///   `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`).
1801    query fn_abi_of_instance_no_deduced_attrs(
1802        key: ty::PseudoCanonicalInput<'tcx, (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)>
1803    ) -> Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>, &'tcx ty::layout::FnAbiError<'tcx>> {
1804        desc { "computing unadjusted call ABI of `{}`", key.value.0 }
1805    }
1806
1807    /// Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for direct calls*
1808    /// to an `fn`. Indirectly-passed parameters in the returned ABI will include applicable
1809    /// codegen optimization attributes, including `ReadOnly` and `CapturesNone` -- deduction of
1810    /// which requires inspection of function bodies that can lead to cycles when performed during
1811    /// typeck. During typeck, you should therefore use instead the unoptimized ABI returned by
1812    /// `fn_abi_of_instance_no_deduced_attrs`.
1813    ///
1814    /// For performance reasons, you should prefer to call the inherent `TyCtxt::fn_abi_of_instance`
1815    /// method rather than invoke this query: it delegates to this query if necessary, but where
1816    /// possible delegates instead to the `fn_abi_of_instance_no_deduced_attrs` query (thus avoiding
1817    /// unnecessary query system overhead).
1818    ///
1819    /// * that includes virtual calls, which are represented by "direct calls" to an
1820    ///   `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`).
1821    query fn_abi_of_instance_raw(
1822        key: ty::PseudoCanonicalInput<'tcx, (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)>
1823    ) -> Result<&'tcx rustc_target::callconv::FnAbi<'tcx, Ty<'tcx>>, &'tcx ty::layout::FnAbiError<'tcx>> {
1824        desc { "computing call ABI of `{}`", key.value.0 }
1825    }
1826
1827    query dylib_dependency_formats(_: CrateNum)
1828                                    -> &'tcx [(CrateNum, LinkagePreference)] {
1829        desc { "getting dylib dependency formats of crate" }
1830        separate_provide_extern
1831    }
1832
1833    query dependency_formats(_: ()) -> &'tcx Arc<crate::middle::dependency_format::Dependencies> {
1834        arena_cache
1835        desc { "getting the linkage format of all dependencies" }
1836    }
1837
1838    query is_compiler_builtins(_: CrateNum) -> bool {
1839        desc { "checking if the crate is_compiler_builtins" }
1840        separate_provide_extern
1841    }
1842    query has_global_allocator(_: CrateNum) -> bool {
1843        // This query depends on untracked global state in CStore
1844        eval_always
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        desc { "checking if the crate has_alloc_error_handler" }
1852        separate_provide_extern
1853    }
1854    query has_panic_handler(_: CrateNum) -> bool {
1855        desc { "checking if the crate has_panic_handler" }
1856        separate_provide_extern
1857    }
1858    query is_profiler_runtime(_: CrateNum) -> bool {
1859        desc { "checking if a crate is `#![profiler_runtime]`" }
1860        separate_provide_extern
1861    }
1862    query has_ffi_unwind_calls(key: LocalDefId) -> bool {
1863        desc { "checking if `{}` contains FFI-unwind calls", tcx.def_path_str(key) }
1864        cache_on_disk
1865    }
1866    query required_panic_strategy(_: CrateNum) -> Option<PanicStrategy> {
1867        desc { "getting a crate's required panic strategy" }
1868        separate_provide_extern
1869    }
1870    query panic_in_drop_strategy(_: CrateNum) -> PanicStrategy {
1871        desc { "getting a crate's configured panic-in-drop strategy" }
1872        separate_provide_extern
1873    }
1874    query is_no_builtins(_: CrateNum) -> bool {
1875        desc { "getting whether a crate has `#![no_builtins]`" }
1876        separate_provide_extern
1877    }
1878    query symbol_mangling_version(_: CrateNum) -> SymbolManglingVersion {
1879        desc { "getting a crate's symbol mangling version" }
1880        separate_provide_extern
1881    }
1882
1883    query extern_crate(def_id: CrateNum) -> Option<&'tcx ExternCrate> {
1884        eval_always
1885        desc { "getting crate's ExternCrateData" }
1886        separate_provide_extern
1887    }
1888
1889    query specialization_enabled_in(cnum: CrateNum) -> bool {
1890        desc { "checking whether the crate enabled `specialization`/`min_specialization`" }
1891        separate_provide_extern
1892    }
1893
1894    query specializes(_: (DefId, DefId)) -> bool {
1895        desc { "computing whether impls specialize one another" }
1896    }
1897
1898    /// Returns whether the impl or associated function has the `default` keyword.
1899    /// Note: This will ICE on inherent impl items. Consider using `AssocItem::defaultness`.
1900    query defaultness(def_id: DefId) -> hir::Defaultness {
1901        desc { "looking up whether `{}` has `default`", tcx.def_path_str(def_id) }
1902        separate_provide_extern
1903        feedable
1904    }
1905
1906    /// Returns whether the field corresponding to the `DefId` has a default field value.
1907    query default_field(def_id: DefId) -> Option<DefId> {
1908        desc { "looking up the `const` corresponding to the default for `{}`", tcx.def_path_str(def_id) }
1909        separate_provide_extern
1910    }
1911
1912    query check_well_formed(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
1913        desc { "checking that `{}` is well-formed", tcx.def_path_str(key) }
1914    }
1915
1916    query enforce_impl_non_lifetime_params_are_constrained(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
1917        desc { "checking that `{}`'s generics are constrained by the impl header", tcx.def_path_str(key) }
1918    }
1919
1920    // The `DefId`s of all non-generic functions and statics in the given crate
1921    // that can be reached from outside the crate.
1922    //
1923    // We expect this items to be available for being linked to.
1924    //
1925    // This query can also be called for `LOCAL_CRATE`. In this case it will
1926    // compute which items will be reachable to other crates, taking into account
1927    // the kind of crate that is currently compiled. Crates with only a
1928    // C interface have fewer reachable things.
1929    //
1930    // Does not include external symbols that don't have a corresponding DefId,
1931    // like the compiler-generated `main` function and so on.
1932    query reachable_non_generics(_: CrateNum)
1933        -> &'tcx DefIdMap<SymbolExportInfo> {
1934        arena_cache
1935        desc { "looking up the exported symbols of a crate" }
1936        separate_provide_extern
1937    }
1938    query is_reachable_non_generic(def_id: DefId) -> bool {
1939        desc { "checking whether `{}` is an exported symbol", tcx.def_path_str(def_id) }
1940        cache_on_disk
1941        separate_provide_extern
1942    }
1943    query is_unreachable_local_definition(def_id: LocalDefId) -> bool {
1944        desc {
1945            "checking whether `{}` is reachable from outside the crate",
1946            tcx.def_path_str(def_id),
1947        }
1948    }
1949
1950    /// The entire set of monomorphizations the local crate can safely
1951    /// link to because they are exported from upstream crates. Do
1952    /// not depend on this directly, as its value changes anytime
1953    /// a monomorphization gets added or removed in any upstream
1954    /// crate. Instead use the narrower `upstream_monomorphizations_for`,
1955    /// `upstream_drop_glue_for`, `upstream_async_drop_glue_for`, or,
1956    /// even better, `Instance::upstream_monomorphization()`.
1957    query upstream_monomorphizations(_: ()) -> &'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>, CrateNum>> {
1958        arena_cache
1959        desc { "collecting available upstream monomorphizations" }
1960    }
1961
1962    /// Returns the set of upstream monomorphizations available for the
1963    /// generic function identified by the given `def_id`. The query makes
1964    /// sure to make a stable selection if the same monomorphization is
1965    /// available in multiple upstream crates.
1966    ///
1967    /// You likely want to call `Instance::upstream_monomorphization()`
1968    /// instead of invoking this query directly.
1969    query upstream_monomorphizations_for(def_id: DefId)
1970        -> Option<&'tcx UnordMap<GenericArgsRef<'tcx>, CrateNum>>
1971    {
1972        desc {
1973            "collecting available upstream monomorphizations for `{}`",
1974            tcx.def_path_str(def_id),
1975        }
1976        separate_provide_extern
1977    }
1978
1979    /// Returns the upstream crate that exports drop-glue for the given
1980    /// type (`args` is expected to be a single-item list containing the
1981    /// type one wants drop-glue for).
1982    ///
1983    /// This is a subset of `upstream_monomorphizations_for` in order to
1984    /// increase dep-tracking granularity. Otherwise adding or removing any
1985    /// type with drop-glue in any upstream crate would invalidate all
1986    /// functions calling drop-glue of an upstream type.
1987    ///
1988    /// You likely want to call `Instance::upstream_monomorphization()`
1989    /// instead of invoking this query directly.
1990    ///
1991    /// NOTE: This query could easily be extended to also support other
1992    ///       common functions that have are large set of monomorphizations
1993    ///       (like `Clone::clone` for example).
1994    query upstream_drop_glue_for(args: GenericArgsRef<'tcx>) -> Option<CrateNum> {
1995        desc { "available upstream drop-glue for `{:?}`", args }
1996    }
1997
1998    /// Returns the upstream crate that exports async-drop-glue for
1999    /// the given type (`args` is expected to be a single-item list
2000    /// containing the type one wants async-drop-glue for).
2001    ///
2002    /// This is a subset of `upstream_monomorphizations_for` in order
2003    /// to increase dep-tracking granularity. Otherwise adding or
2004    /// removing any type with async-drop-glue in any upstream crate
2005    /// would invalidate all functions calling async-drop-glue of an
2006    /// upstream type.
2007    ///
2008    /// You likely want to call `Instance::upstream_monomorphization()`
2009    /// instead of invoking this query directly.
2010    ///
2011    /// NOTE: This query could easily be extended to also support other
2012    ///       common functions that have are large set of monomorphizations
2013    ///       (like `Clone::clone` for example).
2014    query upstream_async_drop_glue_for(args: GenericArgsRef<'tcx>) -> Option<CrateNum> {
2015        desc { "available upstream async-drop-glue for `{:?}`", args }
2016    }
2017
2018    /// Returns a list of all `extern` blocks of a crate.
2019    query foreign_modules(_: CrateNum) -> &'tcx FxIndexMap<DefId, ForeignModule> {
2020        arena_cache
2021        desc { "looking up the foreign modules of a linked crate" }
2022        separate_provide_extern
2023    }
2024
2025    /// Lint against `extern fn` declarations having incompatible types.
2026    query clashing_extern_declarations(_: ()) {
2027        desc { "checking `extern fn` declarations are compatible" }
2028    }
2029
2030    /// Identifies the entry-point (e.g., the `main` function) for a given
2031    /// crate, returning `None` if there is no entry point (such as for library crates).
2032    query entry_fn(_: ()) -> Option<(DefId, EntryFnType)> {
2033        desc { "looking up the entry function of a crate" }
2034    }
2035
2036    /// Finds the `rustc_proc_macro_decls` item of a crate.
2037    query proc_macro_decls_static(_: ()) -> Option<LocalDefId> {
2038        desc { "looking up the proc macro declarations for a crate" }
2039    }
2040
2041    // The macro which defines `rustc_metadata::provide_extern` depends on this query's name.
2042    // Changing the name should cause a compiler error, but in case that changes, be aware.
2043    //
2044    // The hash should not be calculated before the `analysis` pass is complete, specifically
2045    // until `tcx.untracked().definitions.freeze()` has been called, otherwise if incremental
2046    // compilation is enabled calculating this hash can freeze this structure too early in
2047    // compilation and cause subsequent crashes when attempting to write to `definitions`.
2048    query crate_hash(_: CrateNum) -> Svh {
2049        eval_always
2050        desc { "looking up the hash of a crate" }
2051        separate_provide_extern
2052    }
2053
2054    /// Gets the hash for the host proc macro. Used to support -Z dual-proc-macro.
2055    query crate_host_hash(_: CrateNum) -> Option<Svh> {
2056        eval_always
2057        desc { "looking up the hash of a host version of a crate" }
2058        separate_provide_extern
2059    }
2060
2061    /// Gets the extra data to put in each output filename for a crate.
2062    /// For example, compiling the `foo` crate with `extra-filename=-a` creates a `libfoo-b.rlib` file.
2063    query extra_filename(_: CrateNum) -> &'tcx String {
2064        arena_cache
2065        eval_always
2066        desc { "looking up the extra filename for a crate" }
2067        separate_provide_extern
2068    }
2069
2070    /// Gets the paths where the crate came from in the file system.
2071    query crate_extern_paths(_: CrateNum) -> &'tcx Vec<PathBuf> {
2072        arena_cache
2073        eval_always
2074        desc { "looking up the paths for extern crates" }
2075        separate_provide_extern
2076    }
2077
2078    /// Given a crate and a trait, look up all impls of that trait in the crate.
2079    /// Return `(impl_id, self_ty)`.
2080    query implementations_of_trait(_: (CrateNum, DefId)) -> &'tcx [(DefId, Option<SimplifiedType>)] {
2081        desc { "looking up implementations of a trait in a crate" }
2082        separate_provide_extern
2083    }
2084
2085    /// Collects all incoherent impls for the given crate and type.
2086    ///
2087    /// Do not call this directly, but instead use the `incoherent_impls` query.
2088    /// This query is only used to get the data necessary for that query.
2089    query crate_incoherent_impls(key: (CrateNum, SimplifiedType)) -> &'tcx [DefId] {
2090        desc { "collecting all impls for a type in a crate" }
2091        separate_provide_extern
2092    }
2093
2094    /// Get the corresponding native library from the `native_libraries` query
2095    query native_library(def_id: DefId) -> Option<&'tcx NativeLib> {
2096        desc { "getting the native library for `{}`", tcx.def_path_str(def_id) }
2097    }
2098
2099    query inherit_sig_for_delegation_item(def_id: LocalDefId) -> &'tcx [Ty<'tcx>] {
2100        desc { "inheriting delegation signature" }
2101    }
2102
2103    query delegation_user_specified_args(def_id: LocalDefId) -> (&'tcx [GenericArg<'tcx>], &'tcx [GenericArg<'tcx>]) {
2104        desc { "getting delegation user-specified args" }
2105    }
2106
2107    /// Does lifetime resolution on items. Importantly, we can't resolve
2108    /// lifetimes directly on things like trait methods, because of trait params.
2109    /// See `rustc_resolve::late::lifetimes` for details.
2110    query resolve_bound_vars(owner_id: hir::OwnerId) -> &'tcx ResolveBoundVars<'tcx> {
2111        arena_cache
2112        desc { "resolving lifetimes for `{}`", tcx.def_path_str(owner_id) }
2113    }
2114    query named_variable_map(owner_id: hir::OwnerId) -> &'tcx SortedMap<ItemLocalId, ResolvedArg> {
2115        desc { "looking up a named region inside `{}`", tcx.def_path_str(owner_id) }
2116    }
2117    query is_late_bound_map(owner_id: hir::OwnerId) -> Option<&'tcx FxIndexSet<ItemLocalId>> {
2118        desc { "testing if a region is late bound inside `{}`", tcx.def_path_str(owner_id) }
2119    }
2120    /// Returns the *default lifetime* to be used if a trait object type were to be passed for
2121    /// the type parameter given by `DefId`.
2122    ///
2123    /// **Tip**: You can use `#[rustc_dump_object_lifetime_defaults]` on an item to basically
2124    /// print the result of this query for use in UI tests or for debugging purposes.
2125    ///
2126    /// # Examples
2127    ///
2128    /// - For `T` in `struct Foo<'a, T: 'a>(&'a T);`, this would be `Param('a)`
2129    /// - For `T` in `struct Bar<'a, T>(&'a T);`, this would be `Empty`
2130    ///
2131    /// # Panics
2132    ///
2133    /// This query will panic if the given definition is not a type parameter.
2134    query object_lifetime_default(def_id: DefId) -> ObjectLifetimeDefault {
2135        desc { "looking up lifetime defaults for type parameter `{}`", tcx.def_path_str(def_id) }
2136        separate_provide_extern
2137    }
2138    query late_bound_vars_map(owner_id: hir::OwnerId)
2139        -> &'tcx SortedMap<ItemLocalId, Vec<ty::BoundVariableKind<'tcx>>> {
2140        desc { "looking up late bound vars inside `{}`", tcx.def_path_str(owner_id) }
2141    }
2142    /// For an opaque type, return the list of (captured lifetime, inner generic param).
2143    /// ```ignore (illustrative)
2144    /// fn foo<'a: 'a, 'b, T>(&'b u8) -> impl Into<Self> + 'b { ... }
2145    /// ```
2146    ///
2147    /// We would return `[('a, '_a), ('b, '_b)]`, with `'a` early-bound and `'b` late-bound.
2148    ///
2149    /// After hir_ty_lowering, we get:
2150    /// ```ignore (pseudo-code)
2151    /// opaque foo::<'a>::opaque<'_a, '_b>: Into<Foo<'_a>> + '_b;
2152    ///                          ^^^^^^^^ inner generic params
2153    /// fn foo<'a>: for<'b> fn(&'b u8) -> foo::<'a>::opaque::<'a, 'b>
2154    ///                                                       ^^^^^^ captured lifetimes
2155    /// ```
2156    query opaque_captured_lifetimes(def_id: LocalDefId) -> &'tcx [(ResolvedArg, LocalDefId)] {
2157        desc { "listing captured lifetimes for opaque `{}`", tcx.def_path_str(def_id) }
2158    }
2159
2160    /// For an opaque type or trait associated type, return the list of potentially live
2161    /// (identity) generic args from the set of outlives bounds on that alias. Callers should
2162    /// instantiate the returned args with the concrete args of the alias.
2163    /// ```ignore (illustrative)
2164    /// // Edition 2024: all args are captured
2165    /// fn foo<'a, 'b, T: 'static>(&'a &'b T) -> impl Sized + 'a {}
2166    /// fn bar<'a, 'b, T: 'static>(&'a &'b T) -> impl Sized + 'static {}
2167    /// fn baz<'a, 'b, T: 'static>(&'a &'b T) -> impl Sized {}
2168    /// ```
2169    ///
2170    /// In the above:
2171    ///   - `foo` outlives `'a`, but we know that `'b: 'a` holds, so `'b` is *also* potentially live
2172    ///     (and so is `T`, since `T: 'static` implies `T: 'a`)
2173    ///   - `bar` outlives `'static`, so we know that no args are potentially live and we can return an empty set
2174    ///   - `baz` has no outlives bound, so return `None` and let the caller decide what to do
2175    query live_args_for_alias_from_outlives_bounds(kind: ty::AliasTyKind<'tcx>) -> &'tcx Option<ty::EarlyBinder<'tcx, Vec<ty::GenericArg<'tcx>>>> {
2176        arena_cache
2177        desc { "identifying live args for alias `{:?}`", kind }
2178    }
2179
2180    /// For each region param of an alias, the identity args that are known to
2181    /// outlive it given only the alias's declared where-clauses. Used for liveness:
2182    /// these are the only args whose regions the underlying type of the alias
2183    /// could capture while satisfying an outlives bound on that param.
2184    query args_known_to_outlive_alias_params(def_id: DefId) -> &'tcx ty::EarlyBinder<'tcx, Vec<(ty::Region<'tcx>, Vec<ty::GenericArg<'tcx>>)>> {
2185        arena_cache
2186        desc { "computing the args known to outlive each region param of alias `{}`", tcx.def_path_str(def_id) }
2187        separate_provide_extern
2188    }
2189
2190    /// Computes the visibility of the provided `def_id`.
2191    ///
2192    /// If the item from the `def_id` doesn't have a visibility, it will panic. For example
2193    /// a generic type parameter will panic if you call this method on it:
2194    ///
2195    /// ```
2196    /// use std::fmt::Debug;
2197    ///
2198    /// pub trait Foo<T: Debug> {}
2199    /// ```
2200    ///
2201    /// In here, if you call `visibility` on `T`, it'll panic.
2202    query visibility(def_id: DefId) -> ty::Visibility<ModId> {
2203        desc { "computing visibility of `{}`", tcx.def_path_str(def_id) }
2204        separate_provide_extern
2205        feedable
2206    }
2207
2208    query inhabited_predicate_adt(key: DefId) -> ty::inhabitedness::InhabitedPredicate<'tcx> {
2209        desc { "computing the uninhabited predicate of `{:?}`", key }
2210    }
2211
2212    /// Do not call this query directly: invoke `Ty::inhabited_predicate` instead.
2213    query inhabited_predicate_type(key: Ty<'tcx>) -> ty::inhabitedness::InhabitedPredicate<'tcx> {
2214        desc { "computing the uninhabited predicate of `{}`", key }
2215    }
2216
2217    /// Do not call this query directly: invoke `Ty::is_opsem_inhabited` instead.
2218    query is_opsem_inhabited_raw(env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
2219        desc { "computing whether `{}` is inhabited on the opsem level", env.value }
2220    }
2221
2222    query crate_dep_kind(_: CrateNum) -> CrateDepKind {
2223        eval_always
2224        desc { "fetching what a dependency looks like" }
2225        separate_provide_extern
2226    }
2227
2228    /// Gets the name of the crate.
2229    query crate_name(_: CrateNum) -> Symbol {
2230        feedable
2231        desc { "fetching what a crate is named" }
2232        separate_provide_extern
2233    }
2234
2235    /// Iterates over all named children of the given module,
2236    /// including both proper items and reexports.
2237    /// Module here is understood in name resolution sense - it can be a `mod` item,
2238    /// or a crate root, or an enum, or a trait.
2239    ///
2240    /// # Panics
2241    ///
2242    /// May panic if the provided `id` does not refer to a module.
2243    query module_children(def_id: DefId) -> &'tcx [ModChild] {
2244        desc { "collecting child items of module `{}`", tcx.def_path_str(def_id) }
2245        separate_provide_extern
2246    }
2247
2248    /// Gets the number of definitions in a foreign crate.
2249    ///
2250    /// This allows external tools to iterate over all definitions in a foreign crate.
2251    ///
2252    /// This should never be used for the local crate, instead use `iter_local_def_id`.
2253    query num_extern_def_ids(_: CrateNum) -> usize {
2254        desc { "fetching the number of definitions in a crate" }
2255        separate_provide_extern
2256    }
2257
2258    query lib_features(_: CrateNum) -> &'tcx LibFeatures {
2259        desc { "calculating the lib features defined in a crate" }
2260        separate_provide_extern
2261        arena_cache
2262    }
2263    /// Mapping from feature name to feature name based on the `implied_by` field of `#[unstable]`
2264    /// attributes. If a `#[unstable(feature = "implier", implied_by = "impliee")]` attribute
2265    /// exists, then this map will have a `impliee -> implier` entry.
2266    ///
2267    /// This mapping is necessary unless both the `#[stable]` and `#[unstable]` attributes should
2268    /// specify their implications (both `implies` and `implied_by`). If only one of the two
2269    /// attributes do (as in the current implementation, `implied_by` in `#[unstable]`), then this
2270    /// mapping is necessary for diagnostics. When a "unnecessary feature attribute" error is
2271    /// reported, only the `#[stable]` attribute information is available, so the map is necessary
2272    /// to know that the feature implies another feature. If it were reversed, and the `#[stable]`
2273    /// attribute had an `implies` meta item, then a map would be necessary when avoiding a "use of
2274    /// unstable feature" error for a feature that was implied.
2275    query stability_implications(_: CrateNum) -> &'tcx UnordMap<Symbol, Symbol> {
2276        arena_cache
2277        desc { "calculating the implications between `#[unstable]` features defined in a crate" }
2278        separate_provide_extern
2279    }
2280    /// Whether the function is an intrinsic
2281    query intrinsic_raw(def_id: DefId) -> Option<rustc_middle::ty::IntrinsicDef> {
2282        desc { "fetch intrinsic name if `{}` is an intrinsic", tcx.def_path_str(def_id) }
2283        separate_provide_extern
2284    }
2285    /// Returns the lang items defined in all crates by loading them from metadata of dependencies
2286    /// and collecting the ones from the current crate.
2287    query get_lang_items(_: ()) -> &'tcx LanguageItems {
2288        arena_cache
2289        eval_always
2290        desc { "calculating the lang items map" }
2291    }
2292
2293    /// Returns all diagnostic items defined in all crates.
2294    query all_diagnostic_items(_: ()) -> &'tcx rustc_hir::attrs::diagnostic_items::DiagnosticItems {
2295        arena_cache
2296        eval_always
2297        desc { "calculating the diagnostic items map" }
2298    }
2299
2300    /// Returns all the canonical symbols defined in all crates.
2301    query all_canonical_symbols(_: ()) -> &'tcx CanonicalSymbols {
2302        arena_cache
2303        eval_always
2304        desc { "calculating the canonical symbols map" }
2305    }
2306
2307    /// Returns the lang items defined in another crate by loading it from metadata.
2308    query defined_lang_items(_: CrateNum) -> &'tcx [(DefId, LangItem)] {
2309        desc { "calculating the lang items defined in a crate" }
2310        separate_provide_extern
2311    }
2312
2313    /// Returns the diagnostic items defined in a crate.
2314    query diagnostic_items(_: CrateNum) -> &'tcx rustc_hir::attrs::diagnostic_items::DiagnosticItems {
2315        arena_cache
2316        desc { "calculating the diagnostic items map in a crate" }
2317        separate_provide_extern
2318    }
2319
2320    /// Returns the canonical symbols defined in a crate.
2321    query canonical_symbols(_: CrateNum) -> &'tcx CanonicalSymbols {
2322        arena_cache
2323        desc { "calculating the canonical symbols map in a crate" }
2324        separate_provide_extern
2325    }
2326
2327    query missing_lang_items(_: CrateNum) -> &'tcx [LangItem] {
2328        desc { "calculating the missing lang items in a crate" }
2329        separate_provide_extern
2330    }
2331
2332    /// The visible parent map is a map from every item to a visible parent.
2333    /// It prefers the shortest visible path to an item.
2334    /// Used for diagnostics, for example path trimming.
2335    /// The parents are modules, enums or traits.
2336    query visible_parent_map(_: ()) -> &'tcx DefIdMap<DefId> {
2337        arena_cache
2338        desc { "calculating the visible parent map" }
2339    }
2340    /// Collects the "trimmed", shortest accessible paths to all items for diagnostics.
2341    /// See the [provider docs](`rustc_middle::ty::print::trimmed_def_paths`) for more info.
2342    query trimmed_def_paths(_: ()) -> &'tcx DefIdMap<Symbol> {
2343        arena_cache
2344        desc { "calculating trimmed def paths" }
2345    }
2346    query missing_extern_crate_item(_: CrateNum) -> bool {
2347        eval_always
2348        desc { "seeing if we're missing an `extern crate` item for this crate" }
2349        separate_provide_extern
2350    }
2351    query used_crate_source(_: CrateNum) -> &'tcx Arc<CrateSource> {
2352        arena_cache
2353        eval_always
2354        desc { "looking at the source for a crate" }
2355        separate_provide_extern
2356    }
2357
2358    /// Returns the debugger visualizers defined for this crate.
2359    /// NOTE: This query has to be marked `eval_always` because it reads data
2360    ///       directly from disk that is not tracked anywhere else. I.e. it
2361    ///       represents a genuine input to the query system.
2362    query debugger_visualizers(_: CrateNum) -> &'tcx Vec<DebuggerVisualizerFile> {
2363        arena_cache
2364        desc { "looking up the debugger visualizers for this crate" }
2365        separate_provide_extern
2366        eval_always
2367    }
2368
2369    query postorder_cnums(_: ()) -> &'tcx [CrateNum] {
2370        eval_always
2371        desc { "generating a postorder list of CrateNums" }
2372    }
2373    /// Returns whether or not the crate with CrateNum 'cnum'
2374    /// is marked as a private dependency
2375    query is_private_dep(c: CrateNum) -> bool {
2376        eval_always
2377        desc { "checking whether crate `{}` is a private dependency", c }
2378        separate_provide_extern
2379    }
2380    query allocator_kind(_: ()) -> Option<AllocatorKind> {
2381        eval_always
2382        desc { "getting the allocator kind for the current crate" }
2383    }
2384    query alloc_error_handler_kind(_: ()) -> Option<AllocatorKind> {
2385        eval_always
2386        desc { "alloc error handler kind for the current crate" }
2387    }
2388
2389    query upvars_mentioned(def_id: DefId) -> Option<&'tcx FxIndexMap<hir::HirId, hir::Upvar>> {
2390        desc { "collecting upvars mentioned in `{}`", tcx.def_path_str(def_id) }
2391    }
2392
2393    /// All available crates in the graph, including those that should not be user-facing
2394    /// (such as private crates).
2395    query crates(_: ()) -> &'tcx [CrateNum] {
2396        eval_always
2397        desc { "fetching all foreign CrateNum instances" }
2398    }
2399
2400    // Crates that are loaded non-speculatively (not for diagnostics or doc links).
2401    // FIXME: This is currently only used for collecting lang items, but should be used instead of
2402    // `crates` in most other cases too.
2403    query used_crates(_: ()) -> &'tcx [CrateNum] {
2404        eval_always
2405        desc { "fetching `CrateNum`s for all crates loaded non-speculatively" }
2406    }
2407
2408    /// All crates that share the same name as crate `c`.
2409    ///
2410    /// This normally occurs when multiple versions of the same dependency are present in the
2411    /// dependency tree.
2412    query duplicate_crate_names(c: CrateNum) -> &'tcx [CrateNum] {
2413        desc { "fetching `CrateNum`s with same name as `{c:?}`" }
2414    }
2415
2416    /// A list of all traits in a crate, used by rustdoc and error reporting.
2417    query traits(_: CrateNum) -> &'tcx [DefId] {
2418        desc { "fetching all traits in a crate" }
2419        separate_provide_extern
2420    }
2421
2422    query trait_impls_in_crate(_: CrateNum) -> &'tcx [DefId] {
2423        desc { "fetching all trait impls in a crate" }
2424        separate_provide_extern
2425    }
2426
2427    query stable_order_of_exportable_impls(_: CrateNum) -> &'tcx FxIndexMap<DefId, usize> {
2428        desc { "fetching the stable impl's order" }
2429        separate_provide_extern
2430    }
2431
2432    query exportable_items(_: CrateNum) -> &'tcx [DefId] {
2433        desc { "fetching all exportable items in a crate" }
2434        separate_provide_extern
2435    }
2436
2437    /// The list of non-generic symbols exported from the given crate.
2438    ///
2439    /// This is separate from exported_generic_symbols to avoid having
2440    /// to deserialize all non-generic symbols too for upstream crates
2441    /// in the upstream_monomorphizations query.
2442    ///
2443    /// - All names contained in `exported_non_generic_symbols(cnum)` are
2444    ///   guaranteed to correspond to a publicly visible symbol in `cnum`
2445    ///   machine code.
2446    /// - The `exported_non_generic_symbols` and `exported_generic_symbols`
2447    ///   sets of different crates do not intersect.
2448    query exported_non_generic_symbols(cnum: CrateNum) -> &'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)] {
2449        desc { "collecting exported non-generic symbols for crate `{}`", cnum}
2450        cache_on_disk
2451        separate_provide_extern
2452    }
2453
2454    /// The list of generic symbols exported from the given crate.
2455    ///
2456    /// - All names contained in `exported_generic_symbols(cnum)` are
2457    ///   guaranteed to correspond to a publicly visible symbol in `cnum`
2458    ///   machine code.
2459    /// - The `exported_non_generic_symbols` and `exported_generic_symbols`
2460    ///   sets of different crates do not intersect.
2461    query exported_generic_symbols(cnum: CrateNum) -> &'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)] {
2462        desc { "collecting exported generic symbols for crate `{}`", cnum}
2463        cache_on_disk
2464        separate_provide_extern
2465    }
2466
2467    query collect_and_partition_mono_items(_: ()) -> MonoItemPartitions<'tcx> {
2468        eval_always
2469        desc { "collect_and_partition_mono_items" }
2470    }
2471
2472    query is_codegened_item(def_id: DefId) -> bool {
2473        desc { "determining whether `{}` needs codegen", tcx.def_path_str(def_id) }
2474    }
2475
2476    query codegen_unit(sym: Symbol) -> &'tcx CodegenUnit<'tcx> {
2477        desc { "getting codegen unit `{sym}`" }
2478    }
2479
2480    query backend_optimization_level(_: ()) -> OptLevel {
2481        desc { "optimization level used by backend" }
2482    }
2483
2484    /// Return the filenames where output artefacts shall be stored.
2485    ///
2486    /// This query returns an `&Arc` because codegen backends need the value even after the `TyCtxt`
2487    /// has been destroyed.
2488    query output_filenames(_: ()) -> &'tcx Arc<OutputFilenames> {
2489        feedable
2490        desc { "getting output filenames" }
2491        arena_cache
2492    }
2493
2494    /// <div class="warning">
2495    ///
2496    /// Do not call this query directly: Invoke `normalize` instead.
2497    ///
2498    /// </div>
2499    query normalize_canonicalized_projection(
2500        goal: CanonicalAliasGoal<'tcx>
2501    ) -> Result<
2502        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
2503        NoSolution,
2504    > {
2505        desc { "normalizing `{}`", goal.canonical.value.value }
2506    }
2507
2508    /// <div class="warning">
2509    ///
2510    /// Do not call this query directly: Invoke `normalize` instead.
2511    ///
2512    /// </div>
2513    query normalize_canonicalized_free_alias(
2514        goal: CanonicalAliasGoal<'tcx>
2515    ) -> Result<
2516        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
2517        NoSolution,
2518    > {
2519        desc { "normalizing `{}`", goal.canonical.value.value }
2520    }
2521
2522    /// <div class="warning">
2523    ///
2524    /// Do not call this query directly: Invoke `normalize` instead.
2525    ///
2526    /// </div>
2527    query normalize_canonicalized_inherent_projection(
2528        goal: CanonicalAliasGoal<'tcx>
2529    ) -> Result<
2530        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
2531        NoSolution,
2532    > {
2533        desc { "normalizing `{}`", goal.canonical.value.value }
2534    }
2535
2536    /// Do not call this query directly: invoke `try_normalize_erasing_regions` instead.
2537    query try_normalize_generic_arg_after_erasing_regions(
2538        goal: PseudoCanonicalInput<'tcx, GenericArg<'tcx>>
2539    ) -> Result<GenericArg<'tcx>, NoSolution> {
2540        desc { "normalizing `{}`", goal.value }
2541    }
2542
2543    query implied_outlives_bounds(
2544        key: (CanonicalImpliedOutlivesBoundsGoal<'tcx>, bool)
2545    ) -> Result<
2546        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, Vec<OutlivesBound<'tcx>>>>,
2547        NoSolution,
2548    > {
2549        desc { "computing implied outlives bounds for `{}` (hack disabled = {:?})", key.0.canonical.value.value.ty, key.1 }
2550    }
2551
2552    query mir_borrowck_implied_outlives_bounds(
2553        mir_def: LocalDefId
2554    ) -> Result<
2555        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, MirBorrowckImpliedOutlivesBounds<'tcx> >>,
2556        NoSolution,
2557    > {
2558        desc { "computing implied outlives bounds for borrowck for `{}`", tcx.def_path_str(mir_def) }
2559    }
2560
2561    /// Do not call this query directly:
2562    /// invoke `DropckOutlives::new(dropped_ty)).fully_perform(typeck.infcx)` instead.
2563    query dropck_outlives(
2564        goal: CanonicalDropckOutlivesGoal<'tcx>
2565    ) -> Result<
2566        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, DropckOutlivesResult<'tcx>>>,
2567        NoSolution,
2568    > {
2569        desc { "computing dropck types for `{}`", goal.canonical.value.value.dropped_ty }
2570    }
2571
2572    /// Do not call this query directly: invoke `infcx.predicate_may_hold()` or
2573    /// `infcx.predicate_must_hold()` instead.
2574    query evaluate_obligation(
2575        goal: CanonicalPredicateGoal<'tcx>
2576    ) -> Result<EvaluationResult, OverflowError> {
2577        desc { "evaluating trait selection obligation `{}`", goal.canonical.value.value }
2578    }
2579
2580    /// Do not call this query directly: part of the `Eq` type-op
2581    query type_op_ascribe_user_type(
2582        goal: CanonicalTypeOpAscribeUserTypeGoal<'tcx>
2583    ) -> Result<
2584        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ()>>,
2585        NoSolution,
2586    > {
2587        desc { "evaluating `type_op_ascribe_user_type` `{:?}`", goal.canonical.value.value }
2588    }
2589
2590    /// Do not call this query directly: part of the `ProvePredicate` type-op
2591    query type_op_prove_predicate(
2592        goal: CanonicalTypeOpProvePredicateGoal<'tcx>
2593    ) -> Result<
2594        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ()>>,
2595        NoSolution,
2596    > {
2597        desc { "evaluating `type_op_prove_predicate` `{:?}`", goal.canonical.value.value }
2598    }
2599
2600    /// Do not call this query directly: part of the `Normalize` type-op
2601    query type_op_normalize_ty(
2602        goal: CanonicalTypeOpNormalizeGoal<'tcx, Ty<'tcx>>
2603    ) -> Result<
2604        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, Ty<'tcx>>>,
2605        NoSolution,
2606    > {
2607        desc { "normalizing `{}`", goal.canonical.value.value.value.skip_normalization() }
2608    }
2609
2610    /// Do not call this query directly: part of the `Normalize` type-op
2611    query type_op_normalize_clause(
2612        goal: CanonicalTypeOpNormalizeGoal<'tcx, ty::Clause<'tcx>>
2613    ) -> Result<
2614        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ty::Clause<'tcx>>>,
2615        NoSolution,
2616    > {
2617        desc { "normalizing `{:?}`", goal.canonical.value.value.value.skip_normalization() }
2618    }
2619
2620    /// Do not call this query directly: part of the `Normalize` type-op
2621    query type_op_normalize_poly_fn_sig(
2622        goal: CanonicalTypeOpNormalizeGoal<'tcx, ty::PolyFnSig<'tcx>>
2623    ) -> Result<
2624        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ty::PolyFnSig<'tcx>>>,
2625        NoSolution,
2626    > {
2627        desc { "normalizing `{:?}`", goal.canonical.value.value.value.skip_normalization() }
2628    }
2629
2630    /// Do not call this query directly: part of the `Normalize` type-op
2631    query type_op_normalize_fn_sig(
2632        goal: CanonicalTypeOpNormalizeGoal<'tcx, ty::FnSig<'tcx>>
2633    ) -> Result<
2634        &'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ty::FnSig<'tcx>>>,
2635        NoSolution,
2636    > {
2637        desc { "normalizing `{:?}`", goal.canonical.value.value.value.skip_normalization() }
2638    }
2639
2640    query instantiate_and_check_impossible_clauses(key: (DefId, GenericArgsRef<'tcx>)) -> bool {
2641        desc {
2642            "checking impossible instantiated clauses: `{}`",
2643            tcx.def_path_str(key.0)
2644        }
2645    }
2646
2647    query is_impossible_associated_item(key: (DefId, DefId)) -> bool {
2648        desc {
2649            "checking if `{}` is impossible to reference within `{}`",
2650            tcx.def_path_str(key.1),
2651            tcx.def_path_str(key.0),
2652        }
2653    }
2654
2655    query method_autoderef_steps(
2656        goal: CanonicalMethodAutoderefStepsGoal<'tcx>
2657    ) -> MethodAutoderefStepsResult<'tcx> {
2658        desc { "computing autoderef types for `{}`", goal.canonical.value.value.self_ty }
2659    }
2660
2661    /// Used by `-Znext-solver` to compute proof trees.
2662    query evaluate_root_goal_for_proof_tree_raw(
2663        key: (solve::CanonicalInput<'tcx>, usize)
2664    ) -> (solve::QueryResult<'tcx>, &'tcx solve::inspect::Probe<TyCtxt<'tcx>>, RequiredDepth) {
2665        no_hash
2666        desc { "computing proof tree for `{}` with depth `{}`", key.0.canonical.value.goal.predicate, key.1 }
2667    }
2668
2669    /// Returns a list of all Rust target features for the current target (not just the ones that
2670    /// are enabled). These are not always the same as LLVM target features!
2671    query all_rust_target_features(_: CrateNum) -> &'tcx UnordMap<String, rustc_target::target_features::Stability> {
2672        arena_cache
2673        eval_always
2674        desc { "looking up Rust target features" }
2675    }
2676
2677    query implied_target_features(feature: Symbol) -> &'tcx Vec<Symbol> {
2678        arena_cache
2679        eval_always
2680        desc { "looking up implied target features" }
2681    }
2682
2683    query features_query(_: ()) -> &'tcx rustc_feature::Features {
2684        feedable
2685        desc { "looking up enabled feature gates" }
2686    }
2687
2688    query crate_for_resolver((): ()) -> &'tcx Steal<(rustc_ast::Crate, rustc_ast::AttrVec)> {
2689        feedable
2690        no_hash
2691        desc { "the ast before macro expansion and name resolution" }
2692    }
2693
2694    /// Attempt to resolve the given `DefId` to an `Instance`, for the
2695    /// given generics args (`GenericArgsRef`), returning one of:
2696    ///  * `Ok(Some(instance))` on success
2697    ///  * `Ok(None)` when the `GenericArgsRef` are still too generic,
2698    ///    and therefore don't allow finding the final `Instance`
2699    ///  * `Err(ErrorGuaranteed)` when the `Instance` resolution process
2700    ///    couldn't complete due to errors elsewhere - this is distinct
2701    ///    from `Ok(None)` to avoid misleading diagnostics when an error
2702    ///    has already been/will be emitted, for the original cause.
2703    query resolve_instance_raw(
2704        key: ty::PseudoCanonicalInput<'tcx, (DefId, GenericArgsRef<'tcx>)>
2705    ) -> Result<Option<ty::Instance<'tcx>>, ErrorGuaranteed> {
2706        desc { "resolving instance `{}`", ty::Instance::new_raw(key.value.0, key.value.1) }
2707    }
2708
2709    query reveal_opaque_types_in_bounds(key: ty::Clauses<'tcx>) -> ty::Clauses<'tcx> {
2710        desc { "revealing opaque types in `{:?}`", key }
2711    }
2712
2713    query limits(key: ()) -> Limits {
2714        desc { "looking up limits" }
2715    }
2716
2717    /// Performs an HIR-based well-formed check on the item with the given `HirId`. If
2718    /// we get an `Unimplemented` error that matches the provided `Predicate`, return
2719    /// the cause of the newly created obligation.
2720    ///
2721    /// This is only used by error-reporting code to get a better cause (in particular, a better
2722    /// span) for an *existing* error. Therefore, it is best-effort, and may never handle
2723    /// all of the cases that the normal `ty::Ty`-based wfcheck does. This is fine,
2724    /// because the `ty::Ty`-based wfcheck is always run.
2725    query diagnostic_hir_wf_check(
2726        key: (ty::Predicate<'tcx>, WellFormedLoc)
2727    ) -> Option<&'tcx ObligationCause<'tcx>> {
2728        arena_cache
2729        eval_always
2730        no_hash
2731        desc { "performing HIR wf-checking for predicate `{:?}` at item `{:?}`", key.0, key.1 }
2732    }
2733
2734    /// The list of backend features computed from CLI flags (`-Ctarget-cpu`, `-Ctarget-feature`,
2735    /// `--target` and similar).
2736    query global_backend_features(_: ()) -> &'tcx Vec<String> {
2737        arena_cache
2738        eval_always
2739        desc { "computing the backend features for CLI flags" }
2740    }
2741
2742    query check_validity_requirement(key: (ValidityRequirement, ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)) -> Result<bool, &'tcx ty::layout::LayoutError<'tcx>> {
2743        desc { "checking validity requirement for `{}`: {}", key.1.value, key.0 }
2744    }
2745
2746    /// This takes the def-id of an associated item from a impl of a trait,
2747    /// and checks its validity against the trait item it corresponds to.
2748    ///
2749    /// Any other def id will ICE.
2750    query compare_impl_item(key: LocalDefId) -> Result<(), ErrorGuaranteed> {
2751        desc { "checking assoc item `{}` is compatible with trait definition", tcx.def_path_str(key) }
2752    }
2753
2754    query deduced_param_attrs(def_id: DefId) -> &'tcx [DeducedParamAttrs] {
2755        desc { "deducing parameter attributes for {}", tcx.def_path_str(def_id) }
2756        separate_provide_extern
2757    }
2758
2759    query doc_link_resolutions(def_id: ModId) -> &'tcx DocLinkResMap {
2760        eval_always
2761        desc { "resolutions for documentation links for a module" }
2762        separate_provide_extern
2763    }
2764
2765    query doc_link_traits_in_scope(def_id: ModId) -> &'tcx [DefId] {
2766        eval_always
2767        desc { "traits in scope for documentation links for a module" }
2768        separate_provide_extern
2769    }
2770
2771    /// Get all item paths that were stripped by a `#[cfg]` in a particular crate.
2772    /// Should not be called for the local crate before the resolver outputs are created, as it
2773    /// is only fed there.
2774    query stripped_cfg_items(cnum: CrateNum) -> &'tcx [StrippedCfgItem] {
2775        desc { "getting cfg-ed out item names" }
2776        separate_provide_extern
2777    }
2778
2779    query generics_require_sized_self(def_id: DefId) -> bool {
2780        desc { "check whether the item has a `where Self: Sized` bound" }
2781    }
2782
2783    query cross_crate_inlinable(def_id: DefId) -> bool {
2784        desc { "whether the item should be made inlinable across crates" }
2785        separate_provide_extern
2786    }
2787
2788    /// Perform monomorphization-time checking on this item.
2789    /// This is used for lints/errors that can only be checked once the instance is fully
2790    /// monomorphized.
2791    query check_mono_item(key: ty::Instance<'tcx>) {
2792        desc { "monomorphization-time checking" }
2793    }
2794
2795    query items_of_instance(key: (ty::Instance<'tcx>, CollectionMode)) -> Result<(&'tcx [Spanned<MonoItem<'tcx>>], &'tcx [Spanned<MonoItem<'tcx>>]), NormalizationErrorInMono> {
2796        desc { "collecting items used by `{}`", key.0 }
2797        cache_on_disk
2798    }
2799
2800    query size_estimate(key: ty::Instance<'tcx>) -> usize {
2801        desc { "estimating codegen size of `{}`", key }
2802        cache_on_disk
2803    }
2804
2805    query anon_const_kind(def_id: DefId) -> ty::AnonConstKind {
2806        desc { "looking up anon const kind of `{}`", tcx.def_path_str(def_id) }
2807        separate_provide_extern
2808    }
2809
2810    query trivial_const(def_id: DefId) -> Option<(mir::ConstValue, Ty<'tcx>)> {
2811        desc { "checking if `{}` is a trivial const", tcx.def_path_str(def_id) }
2812        cache_on_disk
2813        separate_provide_extern
2814    }
2815
2816    /// Checks for the nearest `#[sanitize(xyz = "off")]` or
2817    /// `#[sanitize(xyz = "on")]` on this def and any enclosing defs, up to the
2818    /// crate root.
2819    ///
2820    /// Returns the sanitizer settings for this def.
2821    query sanitizer_settings_for(key: LocalDefId) -> SanitizerFnAttrs {
2822        desc { "checking what set of sanitizers are enabled on `{}`", tcx.def_path_str(key) }
2823        feedable
2824    }
2825
2826    query check_externally_implementable_items(_: ()) {
2827        desc { "check externally implementable items" }
2828    }
2829
2830    /// Returns a list of all `externally implementable items` crate.
2831    query externally_implementable_items(cnum: CrateNum) -> &'tcx FxIndexMap<DefId, (EiiDecl, FxIndexMap<DefId, EiiImpl>)> {
2832        arena_cache
2833        desc { "looking up the externally implementable items of a crate" }
2834        cache_on_disk
2835        separate_provide_extern
2836    }
2837
2838    //-----------------------------------------------------------------------------
2839    // "Non-queries" are special dep kinds that are not queries.
2840    //-----------------------------------------------------------------------------
2841
2842    /// We use this for most things when incr. comp. is turned off.
2843    non_query Null
2844    /// We use this to create a forever-red node.
2845    non_query Red
2846    /// We use this to create a side effect node.
2847    non_query SideEffect
2848    /// We use this to create the anon node with zero dependencies.
2849    non_query AnonZeroDeps
2850    non_query TraitSelect
2851    non_query CompileCodegenUnit
2852    non_query CompileMonoItem
2853    non_query Metadata
2854}
2855
2856pub mod derive_macro_expansion {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = (LocalExpnId, &'tcx TokenStream);
    pub type Value<'tcx> = Result<&'tcx TokenStream, ()>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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_attr_tools {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx ty::RegisteredTools;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.registered_attr_tools,
                    provided_value)
            };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `registered_attr_tools` has a key type `()` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `registered_attr_tools` has a value type `& \'tcx ty :: RegisteredTools` that is too large");
                };
            }
        };
}
pub mod registered_lint_tools {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx ty::RegisteredTools;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.registered_lint_tools,
                    provided_value)
            };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `registered_lint_tools` has a key type `()` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `registered_lint_tools` has a value type `& \'tcx ty :: RegisteredTools` that is too large");
                };
            }
        };
}
pub mod early_lint_checks {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = &'tcx OsStr;
    pub type Value<'tcx> = Option<&'tcx OsStr>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx ty::ResolverGlobalCtxt;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> =
        (&'tcx Steal<ty::ResolverAstLowering<'tcx>>, &'tcx Steal<ast::Crate>,
        &'tcx ty::ResolverGlobalCtxt);
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 < \'tcx > > , & \'tcx Steal < ast ::\nCrate > , & \'tcx ty :: ResolverGlobalCtxt,)` that is too large");
                };
            }
        };
}
pub mod index_ast {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> =
        &'tcx IndexVec<LocalDefId,
        Steal<(Arc<ty::ResolverAstLowering<'tcx>>, ast::AstOwner)>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.index_ast, provided_value)
            };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `index_ast` has a key type `()` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `index_ast` has a value type `& \'tcx IndexVec < LocalDefId, Steal <\n(Arc < ty :: ResolverAstLowering < \'tcx > > , ast :: AstOwner,) > >` that is too large");
                };
            }
        };
}
pub mod source_span {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = Span;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 lower_to_hir {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = hir::MaybeOwner<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `lower_to_hir` has a key type `LocalDefId` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `lower_to_hir` has a value type `hir :: MaybeOwner < \'tcx >` that is too large");
                };
            }
        };
}
pub mod hir_owner {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = rustc_middle::hir::ProjectedMaybeOwner<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `hir_owner` has a key type `LocalDefId` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `hir_owner` has a value type `rustc_middle :: hir :: ProjectedMaybeOwner < \'tcx >` that is too large");
                };
            }
        };
}
pub mod hir_crate_items {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx rustc_middle::hir::ModuleItems;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.hir_crate_items, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalModId;
    pub type Value<'tcx> = &'tcx rustc_middle::hir::ModuleItems;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.hir_module_items, provided_value)
            };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `hir_module_items` has a key type `LocalModId` 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 hir_owner_parent_q {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = hir::OwnerId;
    pub type Value<'tcx> = hir::HirId;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `hir_owner_parent_q` 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_q` has a value type `hir :: HirId` that is too large");
                };
            }
        };
}
pub mod hir_attr_map {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = hir::OwnerId;
    pub type Value<'tcx> = &'tcx hir::AttributeMap<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 const_param_default {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::EarlyBinder<'tcx, ty::Const<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::EarlyBinder<'tcx, ty::Const<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::EarlyBinder<'tcx, Ty<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::EarlyBinder<'tcx, Ty<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 `ty :: EarlyBinder < \'tcx, Ty < \'tcx > >` that is too large");
                };
            }
        };
}
pub mod type_of_opaque_hir_typeck {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = ty::EarlyBinder<'tcx, Ty<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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_checked {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `type_alias_is_checked` 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_checked` has a value type `bool` that is too large");
                };
            }
        };
}
pub mod collect_return_position_impl_trait_in_trait_tys {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> =
        Result<&'tcx DefIdMap<ty::EarlyBinder<'tcx, Ty<'tcx>>>,
        ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = hir::OpaqueTyOrigin<DefId>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx rustc_index::bit_set::DenseBitSet<u32>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.unsizing_params_for_adt,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = Option<Symbol>;
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx ty::Generics;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.generics_of, provided_value)
            };
        erase::erase_val(value)
    }
    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 clauses_of {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::GenericClauses<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `clauses_of` has a key type `DefId` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `clauses_of` has a value type `ty :: GenericClauses < \'tcx >` that is too large");
                };
            }
        };
}
pub mod opaque_types_defined_by {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = &'tcx ty::List<LocalDefId>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = &'tcx ty::List<LocalDefId>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> =
        ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> =
        ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::EarlyBinder<'tcx, ty::Clauses<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::EarlyBinder<'tcx, ty::Clauses<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::EarlyBinder<'tcx, ty::Clauses<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::EarlyBinder<'tcx, ty::Clauses<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx Vec<NativeLib>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.native_libraries, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = hir::OwnerId;
    pub type Value<'tcx> = &'tcx rustc_middle::lint::ShallowLintLevelMap;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.shallow_lint_levels_on,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> =
        &'tcx Vec<(StableLintExpectationId, LintExpectation)>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.lint_expectations, provided_value)
            };
        erase::erase_val(value)
    }
    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 < (StableLintExpectationId, LintExpectation) >` that is too large");
                };
            }
        };
}
pub mod skippable_lints {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx UnordSet<LintId>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.skippable_lints, provided_value)
            };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `skippable_lints` has a key type `()` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `skippable_lints` has a value type `& \'tcx UnordSet < LintId >` that is too large");
                };
            }
        };
}
pub mod expn_that_defined {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = rustc_span::ExpnId;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 check_representability {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `check_representability` has a key type `LocalDefId` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `check_representability` has a value type `()` that is too large");
                };
            }
        };
}
pub mod check_representability_adt_ty {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = Ty<'tcx>;
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `check_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 `check_representability_adt_ty` has a value type `()` that is too large");
                };
            }
        };
}
pub mod params_in_repr {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx rustc_index::bit_set::DenseBitSet<u32>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.params_in_repr, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> =
        Result<(&'tcx Steal<thir::Thir<'tcx>>, thir::ExprId),
        ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> =
        &'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.mir_keys, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = mir::ConstQualifs;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = &'tcx Steal<mir::Body<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> =
        Result<Option<ty::EarlyBinder<'tcx, ty::Const<'tcx>>>,
        ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = &'tcx Steal<mir::Body<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx mir::Body<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> =
        (&'tcx Steal<mir::Body<'tcx>>,
        &'tcx Steal<IndexVec<mir::Promoted, mir::Body<'tcx>>>);
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = ty::ClosureTypeInfo<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx IndexVec<abi::FieldIdx, Symbol>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.closure_saved_names_of_captured_variables,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Option<&'tcx mir::CoroutineLayout<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.mir_coroutine_witnesses,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx mir::Body<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 is_eligible_for_coverage {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `is_eligible_for_coverage` has a key type `LocalDefId` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `is_eligible_for_coverage` has a value type `bool` that is too large");
                };
            }
        };
}
pub mod coverage_attr_on {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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_codegen_info {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::InstanceKind<'tcx>;
    pub type Value<'tcx> = Option<&'tcx mir::coverage::CoverageCodegenInfo>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.coverage_codegen_info,
                    provided_value)
            };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `coverage_codegen_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_codegen_info` has a value type `Option < & \'tcx mir :: coverage :: CoverageCodegenInfo >` that is too large");
                };
            }
        };
}
pub mod promoted_mir {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx IndexVec<mir::Promoted, mir::Body<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = Ty<'tcx>;
    pub type Value<'tcx> = Ty<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx DefIdMap<String>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.wasm_import_module_map,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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_clauses_and_bounds {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = ty::GenericClauses<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `trait_explicit_clauses_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_clauses_and_bounds` has a value type `ty :: GenericClauses < \'tcx >` that is too large");
                };
            }
        };
}
pub mod explicit_clauses_of {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::GenericClauses<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `explicit_clauses_of` has a key type `DefId` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `explicit_clauses_of` has a value type `ty :: GenericClauses < \'tcx >` that is too large");
                };
            }
        };
}
pub mod inferred_outlives_of {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx [(ty::Clause<'tcx>, Span)];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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_clauses_of {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> =
        ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `explicit_super_clauses_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_clauses_of` has a value type `ty :: EarlyBinder < \'tcx, & \'tcx [(ty :: Clause < \'tcx > , Span)] >` that is too large");
                };
            }
        };
}
pub mod explicit_implied_clauses_of {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> =
        ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `explicit_implied_clauses_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_clauses_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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = (DefId, rustc_span::Ident);
    pub type Value<'tcx> =
        ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::ConstConditions<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> =
        ty::EarlyBinder<'tcx, &'tcx [(ty::PolyTraitRef<'tcx>, Span)]>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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_clauses {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = (LocalDefId, LocalDefId, rustc_span::Ident);
    pub type Value<'tcx> =
        ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `type_param_clauses` 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_clauses` has a value type `ty :: EarlyBinder < \'tcx, & \'tcx [(ty :: Clause < \'tcx > , Span)] >` that is too large");
                };
            }
        };
}
pub mod trait_def {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx ty::TraitDef;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.trait_def, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::AdtDef<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Option<ty::Destructor>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Option<ty::AsyncDestructor>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = (DefId, SizedTraitKind);
    pub type Value<'tcx> = Option<ty::EarlyBinder<'tcx, Ty<'tcx>>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx DropckConstraint<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = hir::Constness;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::Asyncness;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = DefId;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Option<hir::CoroutineKind>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = DefId;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> =
        ty::EarlyBinder<'tcx,
        ty::Binder<'tcx, ty::CoroutineWitnessTypes<TyCtxt<'tcx>>>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx ty::CrateVariancesMap<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.crate_variances, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx [ty::Variance];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx ty::CrateClausesMap<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.inferred_outlives_crate,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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 :: CrateClausesMap < \'tcx >` that is too large");
                };
            }
        };
}
pub mod associated_item_def_ids {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx [DefId];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::AssocItem;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx ty::AssocItems;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.associated_items, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx DefIdMap<DefId>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.impl_item_implementor_ids,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx DefIdMap<Vec<DefId>>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.associated_types_for_impl_traits_in_trait_or_impl,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::ImplTraitHeader<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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_is_fully_generic_for_reflection {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `impl_is_fully_generic_for_reflection` has a key type `DefId` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `impl_is_fully_generic_for_reflection` has a value type `bool` that is too large");
                };
            }
        };
}
pub mod impl_self_is_guaranteed_unsized {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx [DefId];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = SimplifiedType;
    pub type Value<'tcx> = &'tcx [DefId];
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 `Result < (), ErrorGuaranteed >` that is too large");
                };
            }
        };
}
pub mod check_offloads {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `check_offloads` has a key type `LocalDefId` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `check_offloads` has a value type `Result < (), ErrorGuaranteed >` that is too large");
                };
            }
        };
}
pub mod check_unsafety {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 < (), ErrorGuaranteed >` that is too large");
                };
            }
        };
}
pub mod assumed_wf_types {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = &'tcx [(Ty<'tcx>, Span)];
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx [(Ty<'tcx>, Span)];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::EarlyBinder<'tcx, ty::PolyFnSig<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalModId;
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `lint_mod` has a key type `LocalModId` 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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalModId;
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `check_mod_attrs` has a key type `LocalModId` 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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalModId;
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `check_mod_unstable_api_usage` has a key type `LocalModId` 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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalModId;
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `check_mod_privacy` has a key type `LocalModId` 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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> =
        &'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.check_liveness, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> =
        Result<&'tcx DeadCodeLivenessSummary, ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.live_symbols_and_ignored_derived_traits,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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 `Result < & \'tcx DeadCodeLivenessSummary, ErrorGuaranteed >` that is too large");
                };
            }
        };
}
pub mod check_mod_deathness {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalModId;
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `check_mod_deathness` has a key type `LocalModId` 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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> =
        Result<ty::adjustment::CoerceUnsizedInfo, ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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_root {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = &'tcx ty::TypeckResults<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `typeck_root` has a key type `LocalDefId` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `typeck_root` has a value type `& \'tcx ty :: TypeckResults < \'tcx >` that is too large");
                };
            }
        };
}
pub mod used_trait_imports {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = &'tcx UnordSet<LocalDefId>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> =
        Result<&'tcx FxIndexMap<LocalDefId,
        ty::DefinitionSiteHiddenType<'tcx>>, ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> =
        (&'tcx CrateInherentImpls, Result<(), ErrorGuaranteed>);
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = Option<&'tcx UnordSet<LocalDefId>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.mir_callgraph_cyclic,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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 `Option < & \'tcx UnordSet < LocalDefId > >` that is too large");
                };
            }
        };
}
pub mod mir_inliner_callees {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::InstanceKind<'tcx>;
    pub type Value<'tcx> = &'tcx [(DefId, GenericArgsRef<'tcx>)];
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> =
        PseudoCanonicalInput<'tcx, (Ty<'tcx>, abi::VariantIdx)>;
    pub type Value<'tcx> = Option<ty::ScalarInt>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>;
    pub type Value<'tcx> = EvalToAllocationRawResult<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = EvalStaticInitializerRawResult<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>;
    pub type Value<'tcx> = EvalToConstValueResult<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>;
    pub type Value<'tcx> = EvalToValTreeResult<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::Value<'tcx>;
    pub type Value<'tcx> = mir::ConstValue;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LitToConstInput<'tcx>;
    pub type Value<'tcx> = Option<ty::Value<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 `Option < ty :: Value < \'tcx > >` that is too large");
                };
            }
        };
}
pub mod check_match {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 < (), ErrorGuaranteed >` that is too large");
                };
            }
        };
}
pub mod effective_visibilities {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx EffectiveVisibilities;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalModId;
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `check_private_in_public` has a key type `LocalModId` 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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx LocalDefIdSet;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.reachable_set, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = &'tcx crate::middle::region::ScopeTree;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `region_scope_tree` has a key type `LocalDefId` 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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::ShimKind<'tcx>;
    pub type Value<'tcx> = &'tcx mir::Body<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.mir_shims, provided_value)
            };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `mir_shims` has a key type `ty :: ShimKind < \'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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::Instance<'tcx>;
    pub type Value<'tcx> = ty::SymbolName<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = DefKind;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Span;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Option<Span>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = Span;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Option<hir::Stability>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Option<hir::ConstStability>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Option<hir::DefaultBodyStability>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Option<Align>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Option<DeprecationEntry>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx [rustc_attr_ir::Attribute];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 [rustc_attr_ir :: Attribute]` that is too large");
                };
            }
        };
}
pub mod codegen_fn_attrs {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx CodegenFnAttrs;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.codegen_fn_attrs, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx FxIndexSet<Symbol>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx [Option<rustc_span::Ident>];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx String;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.rendered_const, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> =
        Option<&'tcx [PreciseCapturingArgKind<Symbol, Symbol>]>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Option<DefId>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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_mir_available {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx [DefId];
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::TraitRef<'tcx>;
    pub type Value<'tcx> = &'tcx [ty::VtblEntry<'tcx>];
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::TraitRef<'tcx>;
    pub type Value<'tcx> = usize;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = (Ty<'tcx>, Ty<'tcx>);
    pub type Value<'tcx> = Option<usize>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = (Ty<'tcx>, Option<ty::ExistentialTraitRef<'tcx>>);
    pub type Value<'tcx> = mir::interpret::AllocId;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = PseudoCanonicalInput<'tcx, ty::TraitRef<'tcx>>;
    pub type Value<'tcx> =
        Result<&'tcx ImplSource<'tcx, ()>, CodegenObligationError>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> =
        &'tcx rustc_data_structures::fx::FxIndexMap<DefId, Vec<LocalDefId>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx [LocalDefId];
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx ty::trait_def::TraitImpls;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.trait_impls_of, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> =
        Result<&'tcx specialization_graph::Graph, ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx [DynCompatibilityViolation];
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::ParamEnv<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 param_env_normalized_for_post_analysis {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::ParamEnv<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `param_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 `param_env_normalized_for_post_analysis` has a value type `ty :: ParamEnv < \'tcx >` that is too large");
                };
            }
        };
}
pub mod is_copy_raw {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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_unsafe_unpin_raw {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `is_unsafe_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_unsafe_unpin_raw` has a value type `bool` that is too large");
                };
            }
        };
}
pub mod is_unpin_raw {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = Ty<'tcx>;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> =
        Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> =
        Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> =
        Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
    pub type Value<'tcx> = &'tcx ty::List<Ty<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
    pub type Value<'tcx> =
        Result<ty::layout::TyAndLayout<'tcx>,
        &'tcx ty::layout::LayoutError<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    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>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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_no_deduced_attrs {
    use super::*;
    use crate::query::erase::{self, Erased};
    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>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `fn_abi_of_instance_no_deduced_attrs` 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_no_deduced_attrs` 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_raw {
    use super::*;
    use crate::query::erase::{self, Erased};
    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>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `fn_abi_of_instance_raw` 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_raw` 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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx [(CrateNum, LinkagePreference)];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> =
        &'tcx Arc<crate::middle::dependency_format::Dependencies>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.dependency_formats, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = Option<PanicStrategy>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = PanicStrategy;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = SymbolManglingVersion;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = Option<&'tcx ExternCrate>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = (DefId, DefId);
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 defaultness {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = hir::Defaultness;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Option<DefId>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx DefIdMap<SymbolExportInfo>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.reachable_non_generics,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> =
        &'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>, CrateNum>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.upstream_monomorphizations,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> =
        Option<&'tcx UnordMap<GenericArgsRef<'tcx>, CrateNum>>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = GenericArgsRef<'tcx>;
    pub type Value<'tcx> = Option<CrateNum>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = GenericArgsRef<'tcx>;
    pub type Value<'tcx> = Option<CrateNum>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx FxIndexMap<DefId, ForeignModule>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.foreign_modules, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = Option<(DefId, EntryFnType)>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = Option<LocalDefId>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = Svh;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = Option<Svh>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx String;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.extra_filename, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx Vec<PathBuf>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.crate_extern_paths, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = (CrateNum, DefId);
    pub type Value<'tcx> = &'tcx [(DefId, Option<SimplifiedType>)];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = (CrateNum, SimplifiedType);
    pub type Value<'tcx> = &'tcx [DefId];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Option<&'tcx NativeLib>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = &'tcx [Ty<'tcx>];
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 delegation_user_specified_args {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> =
        (&'tcx [GenericArg<'tcx>], &'tcx [GenericArg<'tcx>]);
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `delegation_user_specified_args` has a key type `LocalDefId` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `delegation_user_specified_args` has a value type `(& \'tcx [GenericArg < \'tcx >], & \'tcx [GenericArg < \'tcx >])` that is too large");
                };
            }
        };
}
pub mod resolve_bound_vars {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = hir::OwnerId;
    pub type Value<'tcx> = &'tcx ResolveBoundVars<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.resolve_bound_vars, provided_value)
            };
        erase::erase_val(value)
    }
    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 < \'tcx >` that is too large");
                };
            }
        };
}
pub mod named_variable_map {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = hir::OwnerId;
    pub type Value<'tcx> = &'tcx SortedMap<ItemLocalId, ResolvedArg>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = hir::OwnerId;
    pub type Value<'tcx> = Option<&'tcx FxIndexSet<ItemLocalId>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ObjectLifetimeDefault;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = hir::OwnerId;
    pub type Value<'tcx> =
        &'tcx SortedMap<ItemLocalId, Vec<ty::BoundVariableKind<'tcx>>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 < \'tcx > > >` that is too large");
                };
            }
        };
}
pub mod opaque_captured_lifetimes {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = &'tcx [(ResolvedArg, LocalDefId)];
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 live_args_for_alias_from_outlives_bounds {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::AliasTyKind<'tcx>;
    pub type Value<'tcx> =
        &'tcx Option<ty::EarlyBinder<'tcx, Vec<ty::GenericArg<'tcx>>>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.live_args_for_alias_from_outlives_bounds,
                    provided_value)
            };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `live_args_for_alias_from_outlives_bounds` has a key type `ty :: AliasTyKind < \'tcx >` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `live_args_for_alias_from_outlives_bounds` has a value type `& \'tcx Option < ty :: EarlyBinder < \'tcx, Vec < ty :: GenericArg < \'tcx > > >\n>` that is too large");
                };
            }
        };
}
pub mod args_known_to_outlive_alias_params {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> =
        &'tcx ty::EarlyBinder<'tcx,
        Vec<(ty::Region<'tcx>, Vec<ty::GenericArg<'tcx>>)>>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.args_known_to_outlive_alias_params,
                    provided_value)
            };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `args_known_to_outlive_alias_params` has a key type `DefId` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `args_known_to_outlive_alias_params` has a value type `& \'tcx ty :: EarlyBinder < \'tcx, Vec <\n(ty :: Region < \'tcx > , Vec < ty :: GenericArg < \'tcx > >) > >` that is too large");
                };
            }
        };
}
pub mod visibility {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::Visibility<ModId>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 < ModId >` that is too large");
                };
            }
        };
}
pub mod inhabited_predicate_adt {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::inhabitedness::InhabitedPredicate<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = Ty<'tcx>;
    pub type Value<'tcx> = ty::inhabitedness::InhabitedPredicate<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 is_opsem_inhabited_raw {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `is_opsem_inhabited_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_opsem_inhabited_raw` has a value type `bool` that is too large");
                };
            }
        };
}
pub mod crate_dep_kind {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = CrateDepKind;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `crate_dep_kind` has a key type `CrateNum` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `crate_dep_kind` has a value type `CrateDepKind` that is too large");
                };
            }
        };
}
pub mod crate_name {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = Symbol;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx [ModChild];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = usize;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx LibFeatures;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.lib_features, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx UnordMap<Symbol, Symbol>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.stability_implications,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Option<rustc_middle::ty::IntrinsicDef>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx LanguageItems;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.get_lang_items, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> =
        &'tcx rustc_hir::attrs::diagnostic_items::DiagnosticItems;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.all_diagnostic_items,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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 :: attrs :: diagnostic_items :: DiagnosticItems` that is too large");
                };
            }
        };
}
pub mod all_canonical_symbols {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx CanonicalSymbols;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.all_canonical_symbols,
                    provided_value)
            };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `all_canonical_symbols` has a key type `()` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `all_canonical_symbols` has a value type `& \'tcx CanonicalSymbols` that is too large");
                };
            }
        };
}
pub mod defined_lang_items {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx [(DefId, LangItem)];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> =
        &'tcx rustc_hir::attrs::diagnostic_items::DiagnosticItems;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.diagnostic_items, provided_value)
            };
        erase::erase_val(value)
    }
    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 :: attrs :: diagnostic_items :: DiagnosticItems` that is too large");
                };
            }
        };
}
pub mod canonical_symbols {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx CanonicalSymbols;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.canonical_symbols, provided_value)
            };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `canonical_symbols` has a key type `CrateNum` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `canonical_symbols` has a value type `& \'tcx CanonicalSymbols` that is too large");
                };
            }
        };
}
pub mod missing_lang_items {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx [LangItem];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx DefIdMap<DefId>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.visible_parent_map, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx DefIdMap<Symbol>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.trimmed_def_paths, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx Arc<CrateSource>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.used_crate_source, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx Vec<DebuggerVisualizerFile>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.debugger_visualizers,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx [CrateNum];
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = Option<AllocatorKind>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = Option<AllocatorKind>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Option<&'tcx FxIndexMap<hir::HirId, hir::Upvar>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx [CrateNum];
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx [CrateNum];
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx [CrateNum];
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx [DefId];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx [DefId];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx FxIndexMap<DefId, usize>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx [DefId];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = MonoItemPartitions<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = Symbol;
    pub type Value<'tcx> = &'tcx CodegenUnit<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = OptLevel;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx Arc<OutputFilenames>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.output_filenames, provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CanonicalAliasGoal<'tcx>;
    pub type Value<'tcx> =
        Result<&'tcx Canonical<'tcx,
        canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
        NoSolution>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CanonicalAliasGoal<'tcx>;
    pub type Value<'tcx> =
        Result<&'tcx Canonical<'tcx,
        canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
        NoSolution>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CanonicalAliasGoal<'tcx>;
    pub type Value<'tcx> =
        Result<&'tcx Canonical<'tcx,
        canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
        NoSolution>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = PseudoCanonicalInput<'tcx, GenericArg<'tcx>>;
    pub type Value<'tcx> = Result<GenericArg<'tcx>, NoSolution>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = (CanonicalImpliedOutlivesBoundsGoal<'tcx>, bool);
    pub type Value<'tcx> =
        Result<&'tcx Canonical<'tcx,
        canonical::QueryResponse<'tcx, Vec<OutlivesBound<'tcx>>>>,
        NoSolution>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 mir_borrowck_implied_outlives_bounds {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> =
        Result<&'tcx Canonical<'tcx,
        canonical::QueryResponse<'tcx,
        MirBorrowckImpliedOutlivesBounds<'tcx>>>, NoSolution>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `mir_borrowck_implied_outlives_bounds` has a key type `LocalDefId` that is too large");
                };
            }
        };
    const _: () =
        {
            if size_of::<Value<'static>>() > 64 {
                {
                    ::core::panicking::panic_display(&"the query `mir_borrowck_implied_outlives_bounds` has a value type `Result < & \'tcx Canonical < \'tcx, canonical :: QueryResponse < \'tcx,\nMirBorrowckImpliedOutlivesBounds < \'tcx > > > , NoSolution, >` that is too large");
                };
            }
        };
}
pub mod dropck_outlives {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CanonicalDropckOutlivesGoal<'tcx>;
    pub type Value<'tcx> =
        Result<&'tcx Canonical<'tcx,
        canonical::QueryResponse<'tcx, DropckOutlivesResult<'tcx>>>,
        NoSolution>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CanonicalPredicateGoal<'tcx>;
    pub type Value<'tcx> = Result<EvaluationResult, OverflowError>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CanonicalTypeOpAscribeUserTypeGoal<'tcx>;
    pub type Value<'tcx> =
        Result<&'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ()>>,
        NoSolution>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CanonicalTypeOpProvePredicateGoal<'tcx>;
    pub type Value<'tcx> =
        Result<&'tcx Canonical<'tcx, canonical::QueryResponse<'tcx, ()>>,
        NoSolution>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CanonicalTypeOpNormalizeGoal<'tcx, Ty<'tcx>>;
    pub type Value<'tcx> =
        Result<&'tcx Canonical<'tcx,
        canonical::QueryResponse<'tcx, Ty<'tcx>>>, NoSolution>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CanonicalTypeOpNormalizeGoal<'tcx, ty::Clause<'tcx>>;
    pub type Value<'tcx> =
        Result<&'tcx Canonical<'tcx,
        canonical::QueryResponse<'tcx, ty::Clause<'tcx>>>, NoSolution>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> =
        CanonicalTypeOpNormalizeGoal<'tcx, ty::PolyFnSig<'tcx>>;
    pub type Value<'tcx> =
        Result<&'tcx Canonical<'tcx,
        canonical::QueryResponse<'tcx, ty::PolyFnSig<'tcx>>>, NoSolution>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CanonicalTypeOpNormalizeGoal<'tcx, ty::FnSig<'tcx>>;
    pub type Value<'tcx> =
        Result<&'tcx Canonical<'tcx,
        canonical::QueryResponse<'tcx, ty::FnSig<'tcx>>>, NoSolution>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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_clauses {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = (DefId, GenericArgsRef<'tcx>);
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `instantiate_and_check_impossible_clauses` 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_clauses` has a value type `bool` that is too large");
                };
            }
        };
}
pub mod is_impossible_associated_item {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = (DefId, DefId);
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CanonicalMethodAutoderefStepsGoal<'tcx>;
    pub type Value<'tcx> = MethodAutoderefStepsResult<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = (solve::CanonicalInput<'tcx>, usize);
    pub type Value<'tcx> =
        (solve::QueryResult<'tcx>, &'tcx solve::inspect::Probe<TyCtxt<'tcx>>,
        RequiredDepth);
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 > , usize)` 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 > > , RequiredDepth)` that is too large");
                };
            }
        };
}
pub mod all_rust_target_features {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> =
        &'tcx UnordMap<String, rustc_target::target_features::Stability>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.all_rust_target_features,
                    provided_value)
            };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `all_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 `all_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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = Symbol;
    pub type Value<'tcx> = &'tcx Vec<Symbol>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.implied_target_features,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx rustc_feature::Features;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> =
        &'tcx Steal<(rustc_ast::Crate, rustc_ast::AttrVec)>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> =
        ty::PseudoCanonicalInput<'tcx, (DefId, GenericArgsRef<'tcx>)>;
    pub type Value<'tcx> =
        Result<Option<ty::Instance<'tcx>>, ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::Clauses<'tcx>;
    pub type Value<'tcx> = ty::Clauses<'tcx>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = Limits;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = (ty::Predicate<'tcx>, WellFormedLoc);
    pub type Value<'tcx> = Option<&'tcx ObligationCause<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.diagnostic_hir_wf_check,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = &'tcx Vec<String>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.global_backend_features,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> =
        (ValidityRequirement, ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>);
    pub type Value<'tcx> = Result<bool, &'tcx ty::layout::LayoutError<'tcx>>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = Result<(), ErrorGuaranteed>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = &'tcx [DeducedParamAttrs];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ModId;
    pub type Value<'tcx> = &'tcx DocLinkResMap;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `doc_link_resolutions` has a key type `ModId` 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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ModId;
    pub type Value<'tcx> = &'tcx [DefId];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    const _: () =
        {
            if size_of::<Key<'static>>() > 88 {
                {
                    ::core::panicking::panic_display(&"the query `doc_link_traits_in_scope` has a key type `ModId` 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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> = &'tcx [StrippedCfgItem];
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = bool;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::Instance<'tcx>;
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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 items_of_instance {
    use super::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = (ty::Instance<'tcx>, CollectionMode);
    pub type Value<'tcx> =
        Result<(&'tcx [Spanned<MonoItem<'tcx>>],
        &'tcx [Spanned<MonoItem<'tcx>>]), NormalizationErrorInMono>;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ty::Instance<'tcx>;
    pub type Value<'tcx> = usize;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = ty::AnonConstKind;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = DefId;
    pub type Value<'tcx> = Option<(mir::ConstValue, Ty<'tcx>)>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = LocalDefId;
    pub type Value<'tcx> = SanitizerFnAttrs;
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = ();
    pub type Value<'tcx> = ();
    /// Key type used by provider functions in `local_providers`.
    pub type LocalKey<'tcx> = Key<'tcx>;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> = Value<'tcx>;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> = { let _ = tcx; provided_value };
        erase::erase_val(value)
    }
    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::*;
    use crate::query::erase::{self, Erased};
    pub type Key<'tcx> = CrateNum;
    pub type Value<'tcx> =
        &'tcx FxIndexMap<DefId, (EiiDecl, FxIndexMap<DefId, EiiImpl>)>;
    /// Key type used by provider functions in `local_providers`.
    /// This query has the `separate_provide_extern` modifier.
    pub type LocalKey<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::LocalQueryKey;
    /// Type returned from query providers and loaded from disk-cache.
    pub type ProvidedValue<'tcx> =
        <Value<'tcx> as
        crate::query::arena_cached::ArenaCached<'tcx>>::Provided;
    pub type Cache<'tcx> =
        <Key<'tcx> as crate::query::QueryKey>::Cache<Erased<Value<'tcx>>>;
    /// This helper function takes a value returned by the query provider
    /// (or loaded from disk, or supplied by query feeding), allocates
    /// it in an arena if requested by the `arena_cache` modifier, and
    /// then returns an erased copy of it.
    #[inline(always)]
    pub fn provided_to_erased<'tcx>(tcx: TyCtxt<'tcx>,
        provided_value: ProvidedValue<'tcx>) -> Erased<Value<'tcx>> {
        let value: Value<'tcx> =
            {
                use crate::query::arena_cached::ArenaCached;
                <Value<'tcx> as
                        ArenaCached>::alloc_in_arena(tcx,
                    &tcx.query_system.arenas.externally_implementable_items,
                    provided_value)
            };
        erase::erase_val(value)
    }
    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");
                };
            }
        };
}
/// Identifies a query by kind and key. This is in contrast to `QueryJobId` which is just a
/// number.
#[allow(non_camel_case_types)]
pub enum TaggedQueryKey<'tcx> {
    derive_macro_expansion(derive_macro_expansion::Key<'tcx>),
    trigger_delayed_bug(trigger_delayed_bug::Key<'tcx>),
    registered_attr_tools(registered_attr_tools::Key<'tcx>),
    registered_lint_tools(registered_lint_tools::Key<'tcx>),
    early_lint_checks(early_lint_checks::Key<'tcx>),
    env_var_os(env_var_os::Key<'tcx>),
    resolutions(resolutions::Key<'tcx>),
    resolver_for_lowering_raw(resolver_for_lowering_raw::Key<'tcx>),
    index_ast(index_ast::Key<'tcx>),
    source_span(source_span::Key<'tcx>),
    lower_to_hir(lower_to_hir::Key<'tcx>),
    hir_owner(hir_owner::Key<'tcx>),
    hir_crate_items(hir_crate_items::Key<'tcx>),
    hir_module_items(hir_module_items::Key<'tcx>),
    hir_owner_parent_q(hir_owner_parent_q::Key<'tcx>),
    hir_attr_map(hir_attr_map::Key<'tcx>),
    const_param_default(const_param_default::Key<'tcx>),
    const_of_item(const_of_item::Key<'tcx>),
    type_of(type_of::Key<'tcx>),
    type_of_opaque(type_of_opaque::Key<'tcx>),
    type_of_opaque_hir_typeck(type_of_opaque_hir_typeck::Key<'tcx>),
    type_alias_is_checked(type_alias_is_checked::Key<'tcx>),
    collect_return_position_impl_trait_in_trait_tys(collect_return_position_impl_trait_in_trait_tys::Key<'tcx>),
    opaque_ty_origin(opaque_ty_origin::Key<'tcx>),
    unsizing_params_for_adt(unsizing_params_for_adt::Key<'tcx>),
    analysis(analysis::Key<'tcx>),
    check_expectations(check_expectations::Key<'tcx>),
    generics_of(generics_of::Key<'tcx>),
    clauses_of(clauses_of::Key<'tcx>),
    opaque_types_defined_by(opaque_types_defined_by::Key<'tcx>),
    nested_bodies_within(nested_bodies_within::Key<'tcx>),
    explicit_item_bounds(explicit_item_bounds::Key<'tcx>),
    explicit_item_self_bounds(explicit_item_self_bounds::Key<'tcx>),
    item_bounds(item_bounds::Key<'tcx>),
    item_self_bounds(item_self_bounds::Key<'tcx>),
    item_non_self_bounds(item_non_self_bounds::Key<'tcx>),
    impl_super_outlives(impl_super_outlives::Key<'tcx>),
    native_libraries(native_libraries::Key<'tcx>),
    shallow_lint_levels_on(shallow_lint_levels_on::Key<'tcx>),
    lint_expectations(lint_expectations::Key<'tcx>),
    skippable_lints(skippable_lints::Key<'tcx>),
    expn_that_defined(expn_that_defined::Key<'tcx>),
    is_panic_runtime(is_panic_runtime::Key<'tcx>),
    check_representability(check_representability::Key<'tcx>),
    check_representability_adt_ty(check_representability_adt_ty::Key<'tcx>),
    params_in_repr(params_in_repr::Key<'tcx>),
    thir_body(thir_body::Key<'tcx>),
    mir_keys(mir_keys::Key<'tcx>),
    mir_const_qualif(mir_const_qualif::Key<'tcx>),
    mir_built(mir_built::Key<'tcx>),
    thir_abstract_const(thir_abstract_const::Key<'tcx>),
    mir_drops_elaborated_and_const_checked(mir_drops_elaborated_and_const_checked::Key<'tcx>),
    mir_for_ctfe(mir_for_ctfe::Key<'tcx>),
    mir_promoted(mir_promoted::Key<'tcx>),
    closure_typeinfo(closure_typeinfo::Key<'tcx>),
    closure_saved_names_of_captured_variables(closure_saved_names_of_captured_variables::Key<'tcx>),
    mir_coroutine_witnesses(mir_coroutine_witnesses::Key<'tcx>),
    check_coroutine_obligations(check_coroutine_obligations::Key<'tcx>),
    check_potentially_region_dependent_goals(check_potentially_region_dependent_goals::Key<'tcx>),
    optimized_mir(optimized_mir::Key<'tcx>),
    is_eligible_for_coverage(is_eligible_for_coverage::Key<'tcx>),
    coverage_attr_on(coverage_attr_on::Key<'tcx>),
    coverage_codegen_info(coverage_codegen_info::Key<'tcx>),
    promoted_mir(promoted_mir::Key<'tcx>),
    erase_and_anonymize_regions_ty(erase_and_anonymize_regions_ty::Key<'tcx>),
    wasm_import_module_map(wasm_import_module_map::Key<'tcx>),
    trait_explicit_clauses_and_bounds(trait_explicit_clauses_and_bounds::Key<'tcx>),
    explicit_clauses_of(explicit_clauses_of::Key<'tcx>),
    inferred_outlives_of(inferred_outlives_of::Key<'tcx>),
    explicit_super_clauses_of(explicit_super_clauses_of::Key<'tcx>),
    explicit_implied_clauses_of(explicit_implied_clauses_of::Key<'tcx>),
    explicit_supertraits_containing_assoc_item(explicit_supertraits_containing_assoc_item::Key<'tcx>),
    const_conditions(const_conditions::Key<'tcx>),
    explicit_implied_const_bounds(explicit_implied_const_bounds::Key<'tcx>),
    type_param_clauses(type_param_clauses::Key<'tcx>),
    trait_def(trait_def::Key<'tcx>),
    adt_def(adt_def::Key<'tcx>),
    adt_destructor(adt_destructor::Key<'tcx>),
    adt_async_destructor(adt_async_destructor::Key<'tcx>),
    adt_sizedness_constraint(adt_sizedness_constraint::Key<'tcx>),
    adt_dtorck_constraint(adt_dtorck_constraint::Key<'tcx>),
    constness(constness::Key<'tcx>),
    asyncness(asyncness::Key<'tcx>),
    is_promotable_const_fn(is_promotable_const_fn::Key<'tcx>),
    coroutine_by_move_body_def_id(coroutine_by_move_body_def_id::Key<'tcx>),
    coroutine_kind(coroutine_kind::Key<'tcx>),
    coroutine_for_closure(coroutine_for_closure::Key<'tcx>),
    coroutine_hidden_types(coroutine_hidden_types::Key<'tcx>),
    crate_variances(crate_variances::Key<'tcx>),
    variances_of(variances_of::Key<'tcx>),
    inferred_outlives_crate(inferred_outlives_crate::Key<'tcx>),
    associated_item_def_ids(associated_item_def_ids::Key<'tcx>),
    associated_item(associated_item::Key<'tcx>),
    associated_items(associated_items::Key<'tcx>),
    impl_item_implementor_ids(impl_item_implementor_ids::Key<'tcx>),
    associated_types_for_impl_traits_in_trait_or_impl(associated_types_for_impl_traits_in_trait_or_impl::Key<'tcx>),
    impl_trait_header(impl_trait_header::Key<'tcx>),
    impl_is_fully_generic_for_reflection(impl_is_fully_generic_for_reflection::Key<'tcx>),
    impl_self_is_guaranteed_unsized(impl_self_is_guaranteed_unsized::Key<'tcx>),
    inherent_impls(inherent_impls::Key<'tcx>),
    incoherent_impls(incoherent_impls::Key<'tcx>),
    check_transmutes(check_transmutes::Key<'tcx>),
    check_offloads(check_offloads::Key<'tcx>),
    check_unsafety(check_unsafety::Key<'tcx>),
    check_tail_calls(check_tail_calls::Key<'tcx>),
    assumed_wf_types(assumed_wf_types::Key<'tcx>),
    assumed_wf_types_for_rpitit(assumed_wf_types_for_rpitit::Key<'tcx>),
    fn_sig(fn_sig::Key<'tcx>),
    lint_mod(lint_mod::Key<'tcx>),
    check_unused_traits(check_unused_traits::Key<'tcx>),
    check_mod_attrs(check_mod_attrs::Key<'tcx>),
    check_mod_unstable_api_usage(check_mod_unstable_api_usage::Key<'tcx>),
    check_mod_privacy(check_mod_privacy::Key<'tcx>),
    check_liveness(check_liveness::Key<'tcx>),
    live_symbols_and_ignored_derived_traits(live_symbols_and_ignored_derived_traits::Key<'tcx>),
    check_mod_deathness(check_mod_deathness::Key<'tcx>),
    check_type_wf(check_type_wf::Key<'tcx>),
    coerce_unsized_info(coerce_unsized_info::Key<'tcx>),
    typeck_root(typeck_root::Key<'tcx>),
    used_trait_imports(used_trait_imports::Key<'tcx>),
    coherent_trait(coherent_trait::Key<'tcx>),
    mir_borrowck(mir_borrowck::Key<'tcx>),
    crate_inherent_impls(crate_inherent_impls::Key<'tcx>),
    crate_inherent_impls_validity_check(crate_inherent_impls_validity_check::Key<'tcx>),
    crate_inherent_impls_overlap_check(crate_inherent_impls_overlap_check::Key<'tcx>),
    orphan_check_impl(orphan_check_impl::Key<'tcx>),
    mir_callgraph_cyclic(mir_callgraph_cyclic::Key<'tcx>),
    mir_inliner_callees(mir_inliner_callees::Key<'tcx>),
    tag_for_variant(tag_for_variant::Key<'tcx>),
    eval_to_allocation_raw(eval_to_allocation_raw::Key<'tcx>),
    eval_static_initializer(eval_static_initializer::Key<'tcx>),
    eval_to_const_value_raw(eval_to_const_value_raw::Key<'tcx>),
    eval_to_valtree(eval_to_valtree::Key<'tcx>),
    valtree_to_const_val(valtree_to_const_val::Key<'tcx>),
    lit_to_const(lit_to_const::Key<'tcx>),
    check_match(check_match::Key<'tcx>),
    effective_visibilities(effective_visibilities::Key<'tcx>),
    check_private_in_public(check_private_in_public::Key<'tcx>),
    reachable_set(reachable_set::Key<'tcx>),
    region_scope_tree(region_scope_tree::Key<'tcx>),
    mir_shims(mir_shims::Key<'tcx>),
    symbol_name(symbol_name::Key<'tcx>),
    def_kind(def_kind::Key<'tcx>),
    def_span(def_span::Key<'tcx>),
    def_ident_span(def_ident_span::Key<'tcx>),
    ty_span(ty_span::Key<'tcx>),
    lookup_stability(lookup_stability::Key<'tcx>),
    lookup_const_stability(lookup_const_stability::Key<'tcx>),
    lookup_default_body_stability(lookup_default_body_stability::Key<'tcx>),
    should_inherit_track_caller(should_inherit_track_caller::Key<'tcx>),
    inherited_align(inherited_align::Key<'tcx>),
    lookup_deprecation_entry(lookup_deprecation_entry::Key<'tcx>),
    is_doc_hidden(is_doc_hidden::Key<'tcx>),
    is_doc_notable_trait(is_doc_notable_trait::Key<'tcx>),
    attrs_for_def(attrs_for_def::Key<'tcx>),
    codegen_fn_attrs(codegen_fn_attrs::Key<'tcx>),
    asm_target_features(asm_target_features::Key<'tcx>),
    fn_arg_idents(fn_arg_idents::Key<'tcx>),
    rendered_const(rendered_const::Key<'tcx>),
    rendered_precise_capturing_args(rendered_precise_capturing_args::Key<'tcx>),
    impl_parent(impl_parent::Key<'tcx>),
    is_mir_available(is_mir_available::Key<'tcx>),
    own_existential_vtable_entries(own_existential_vtable_entries::Key<'tcx>),
    vtable_entries(vtable_entries::Key<'tcx>),
    first_method_vtable_slot(first_method_vtable_slot::Key<'tcx>),
    supertrait_vtable_slot(supertrait_vtable_slot::Key<'tcx>),
    vtable_allocation(vtable_allocation::Key<'tcx>),
    codegen_select_candidate(codegen_select_candidate::Key<'tcx>),
    all_local_trait_impls(all_local_trait_impls::Key<'tcx>),
    local_trait_impls(local_trait_impls::Key<'tcx>),
    trait_impls_of(trait_impls_of::Key<'tcx>),
    specialization_graph_of(specialization_graph_of::Key<'tcx>),
    dyn_compatibility_violations(dyn_compatibility_violations::Key<'tcx>),
    is_dyn_compatible(is_dyn_compatible::Key<'tcx>),
    param_env(param_env::Key<'tcx>),
    param_env_normalized_for_post_analysis(param_env_normalized_for_post_analysis::Key<'tcx>),
    is_copy_raw(is_copy_raw::Key<'tcx>),
    is_use_cloned_raw(is_use_cloned_raw::Key<'tcx>),
    is_sized_raw(is_sized_raw::Key<'tcx>),
    is_freeze_raw(is_freeze_raw::Key<'tcx>),
    is_unsafe_unpin_raw(is_unsafe_unpin_raw::Key<'tcx>),
    is_unpin_raw(is_unpin_raw::Key<'tcx>),
    is_async_drop_raw(is_async_drop_raw::Key<'tcx>),
    needs_drop_raw(needs_drop_raw::Key<'tcx>),
    needs_async_drop_raw(needs_async_drop_raw::Key<'tcx>),
    has_significant_drop_raw(has_significant_drop_raw::Key<'tcx>),
    has_structural_eq_impl(has_structural_eq_impl::Key<'tcx>),
    adt_drop_tys(adt_drop_tys::Key<'tcx>),
    adt_async_drop_tys(adt_async_drop_tys::Key<'tcx>),
    adt_significant_drop_tys(adt_significant_drop_tys::Key<'tcx>),
    list_significant_drop_tys(list_significant_drop_tys::Key<'tcx>),
    layout_of(layout_of::Key<'tcx>),
    fn_abi_of_fn_ptr(fn_abi_of_fn_ptr::Key<'tcx>),
    fn_abi_of_instance_no_deduced_attrs(fn_abi_of_instance_no_deduced_attrs::Key<'tcx>),
    fn_abi_of_instance_raw(fn_abi_of_instance_raw::Key<'tcx>),
    dylib_dependency_formats(dylib_dependency_formats::Key<'tcx>),
    dependency_formats(dependency_formats::Key<'tcx>),
    is_compiler_builtins(is_compiler_builtins::Key<'tcx>),
    has_global_allocator(has_global_allocator::Key<'tcx>),
    has_alloc_error_handler(has_alloc_error_handler::Key<'tcx>),
    has_panic_handler(has_panic_handler::Key<'tcx>),
    is_profiler_runtime(is_profiler_runtime::Key<'tcx>),
    has_ffi_unwind_calls(has_ffi_unwind_calls::Key<'tcx>),
    required_panic_strategy(required_panic_strategy::Key<'tcx>),
    panic_in_drop_strategy(panic_in_drop_strategy::Key<'tcx>),
    is_no_builtins(is_no_builtins::Key<'tcx>),
    symbol_mangling_version(symbol_mangling_version::Key<'tcx>),
    extern_crate(extern_crate::Key<'tcx>),
    specialization_enabled_in(specialization_enabled_in::Key<'tcx>),
    specializes(specializes::Key<'tcx>),
    defaultness(defaultness::Key<'tcx>),
    default_field(default_field::Key<'tcx>),
    check_well_formed(check_well_formed::Key<'tcx>),
    enforce_impl_non_lifetime_params_are_constrained(enforce_impl_non_lifetime_params_are_constrained::Key<'tcx>),
    reachable_non_generics(reachable_non_generics::Key<'tcx>),
    is_reachable_non_generic(is_reachable_non_generic::Key<'tcx>),
    is_unreachable_local_definition(is_unreachable_local_definition::Key<'tcx>),
    upstream_monomorphizations(upstream_monomorphizations::Key<'tcx>),
    upstream_monomorphizations_for(upstream_monomorphizations_for::Key<'tcx>),
    upstream_drop_glue_for(upstream_drop_glue_for::Key<'tcx>),
    upstream_async_drop_glue_for(upstream_async_drop_glue_for::Key<'tcx>),
    foreign_modules(foreign_modules::Key<'tcx>),
    clashing_extern_declarations(clashing_extern_declarations::Key<'tcx>),
    entry_fn(entry_fn::Key<'tcx>),
    proc_macro_decls_static(proc_macro_decls_static::Key<'tcx>),
    crate_hash(crate_hash::Key<'tcx>),
    crate_host_hash(crate_host_hash::Key<'tcx>),
    extra_filename(extra_filename::Key<'tcx>),
    crate_extern_paths(crate_extern_paths::Key<'tcx>),
    implementations_of_trait(implementations_of_trait::Key<'tcx>),
    crate_incoherent_impls(crate_incoherent_impls::Key<'tcx>),
    native_library(native_library::Key<'tcx>),
    inherit_sig_for_delegation_item(inherit_sig_for_delegation_item::Key<'tcx>),
    delegation_user_specified_args(delegation_user_specified_args::Key<'tcx>),
    resolve_bound_vars(resolve_bound_vars::Key<'tcx>),
    named_variable_map(named_variable_map::Key<'tcx>),
    is_late_bound_map(is_late_bound_map::Key<'tcx>),
    object_lifetime_default(object_lifetime_default::Key<'tcx>),
    late_bound_vars_map(late_bound_vars_map::Key<'tcx>),
    opaque_captured_lifetimes(opaque_captured_lifetimes::Key<'tcx>),
    live_args_for_alias_from_outlives_bounds(live_args_for_alias_from_outlives_bounds::Key<'tcx>),
    args_known_to_outlive_alias_params(args_known_to_outlive_alias_params::Key<'tcx>),
    visibility(visibility::Key<'tcx>),
    inhabited_predicate_adt(inhabited_predicate_adt::Key<'tcx>),
    inhabited_predicate_type(inhabited_predicate_type::Key<'tcx>),
    is_opsem_inhabited_raw(is_opsem_inhabited_raw::Key<'tcx>),
    crate_dep_kind(crate_dep_kind::Key<'tcx>),
    crate_name(crate_name::Key<'tcx>),
    module_children(module_children::Key<'tcx>),
    num_extern_def_ids(num_extern_def_ids::Key<'tcx>),
    lib_features(lib_features::Key<'tcx>),
    stability_implications(stability_implications::Key<'tcx>),
    intrinsic_raw(intrinsic_raw::Key<'tcx>),
    get_lang_items(get_lang_items::Key<'tcx>),
    all_diagnostic_items(all_diagnostic_items::Key<'tcx>),
    all_canonical_symbols(all_canonical_symbols::Key<'tcx>),
    defined_lang_items(defined_lang_items::Key<'tcx>),
    diagnostic_items(diagnostic_items::Key<'tcx>),
    canonical_symbols(canonical_symbols::Key<'tcx>),
    missing_lang_items(missing_lang_items::Key<'tcx>),
    visible_parent_map(visible_parent_map::Key<'tcx>),
    trimmed_def_paths(trimmed_def_paths::Key<'tcx>),
    missing_extern_crate_item(missing_extern_crate_item::Key<'tcx>),
    used_crate_source(used_crate_source::Key<'tcx>),
    debugger_visualizers(debugger_visualizers::Key<'tcx>),
    postorder_cnums(postorder_cnums::Key<'tcx>),
    is_private_dep(is_private_dep::Key<'tcx>),
    allocator_kind(allocator_kind::Key<'tcx>),
    alloc_error_handler_kind(alloc_error_handler_kind::Key<'tcx>),
    upvars_mentioned(upvars_mentioned::Key<'tcx>),
    crates(crates::Key<'tcx>),
    used_crates(used_crates::Key<'tcx>),
    duplicate_crate_names(duplicate_crate_names::Key<'tcx>),
    traits(traits::Key<'tcx>),
    trait_impls_in_crate(trait_impls_in_crate::Key<'tcx>),
    stable_order_of_exportable_impls(stable_order_of_exportable_impls::Key<'tcx>),
    exportable_items(exportable_items::Key<'tcx>),
    exported_non_generic_symbols(exported_non_generic_symbols::Key<'tcx>),
    exported_generic_symbols(exported_generic_symbols::Key<'tcx>),
    collect_and_partition_mono_items(collect_and_partition_mono_items::Key<'tcx>),
    is_codegened_item(is_codegened_item::Key<'tcx>),
    codegen_unit(codegen_unit::Key<'tcx>),
    backend_optimization_level(backend_optimization_level::Key<'tcx>),
    output_filenames(output_filenames::Key<'tcx>),
    normalize_canonicalized_projection(normalize_canonicalized_projection::Key<'tcx>),
    normalize_canonicalized_free_alias(normalize_canonicalized_free_alias::Key<'tcx>),
    normalize_canonicalized_inherent_projection(normalize_canonicalized_inherent_projection::Key<'tcx>),
    try_normalize_generic_arg_after_erasing_regions(try_normalize_generic_arg_after_erasing_regions::Key<'tcx>),
    implied_outlives_bounds(implied_outlives_bounds::Key<'tcx>),
    mir_borrowck_implied_outlives_bounds(mir_borrowck_implied_outlives_bounds::Key<'tcx>),
    dropck_outlives(dropck_outlives::Key<'tcx>),
    evaluate_obligation(evaluate_obligation::Key<'tcx>),
    type_op_ascribe_user_type(type_op_ascribe_user_type::Key<'tcx>),
    type_op_prove_predicate(type_op_prove_predicate::Key<'tcx>),
    type_op_normalize_ty(type_op_normalize_ty::Key<'tcx>),
    type_op_normalize_clause(type_op_normalize_clause::Key<'tcx>),
    type_op_normalize_poly_fn_sig(type_op_normalize_poly_fn_sig::Key<'tcx>),
    type_op_normalize_fn_sig(type_op_normalize_fn_sig::Key<'tcx>),
    instantiate_and_check_impossible_clauses(instantiate_and_check_impossible_clauses::Key<'tcx>),
    is_impossible_associated_item(is_impossible_associated_item::Key<'tcx>),
    method_autoderef_steps(method_autoderef_steps::Key<'tcx>),
    evaluate_root_goal_for_proof_tree_raw(evaluate_root_goal_for_proof_tree_raw::Key<'tcx>),
    all_rust_target_features(all_rust_target_features::Key<'tcx>),
    implied_target_features(implied_target_features::Key<'tcx>),
    features_query(features_query::Key<'tcx>),
    crate_for_resolver(crate_for_resolver::Key<'tcx>),
    resolve_instance_raw(resolve_instance_raw::Key<'tcx>),
    reveal_opaque_types_in_bounds(reveal_opaque_types_in_bounds::Key<'tcx>),
    limits(limits::Key<'tcx>),
    diagnostic_hir_wf_check(diagnostic_hir_wf_check::Key<'tcx>),
    global_backend_features(global_backend_features::Key<'tcx>),
    check_validity_requirement(check_validity_requirement::Key<'tcx>),
    compare_impl_item(compare_impl_item::Key<'tcx>),
    deduced_param_attrs(deduced_param_attrs::Key<'tcx>),
    doc_link_resolutions(doc_link_resolutions::Key<'tcx>),
    doc_link_traits_in_scope(doc_link_traits_in_scope::Key<'tcx>),
    stripped_cfg_items(stripped_cfg_items::Key<'tcx>),
    generics_require_sized_self(generics_require_sized_self::Key<'tcx>),
    cross_crate_inlinable(cross_crate_inlinable::Key<'tcx>),
    check_mono_item(check_mono_item::Key<'tcx>),
    items_of_instance(items_of_instance::Key<'tcx>),
    size_estimate(size_estimate::Key<'tcx>),
    anon_const_kind(anon_const_kind::Key<'tcx>),
    trivial_const(trivial_const::Key<'tcx>),
    sanitizer_settings_for(sanitizer_settings_for::Key<'tcx>),
    check_externally_implementable_items(check_externally_implementable_items::Key<'tcx>),
    externally_implementable_items(externally_implementable_items::Key<'tcx>),
}
#[automatically_derived]
#[doc(hidden)]
#[allow(non_camel_case_types)]
unsafe impl<'tcx> ::core::clone::TrivialClone for TaggedQueryKey<'tcx> { }
#[automatically_derived]
#[allow(non_camel_case_types)]
impl<'tcx> ::core::clone::Clone for TaggedQueryKey<'tcx> {
    #[inline]
    fn clone(&self) -> TaggedQueryKey<'tcx> {
        let _:
                ::core::clone::AssertParamIsClone<derive_macro_expansion::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<trigger_delayed_bug::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<registered_attr_tools::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<registered_lint_tools::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<early_lint_checks::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<env_var_os::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<resolutions::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<resolver_for_lowering_raw::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<index_ast::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<source_span::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<lower_to_hir::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<hir_owner::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<hir_crate_items::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<hir_module_items::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<hir_owner_parent_q::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<hir_attr_map::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<const_param_default::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<const_of_item::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<type_of::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<type_of_opaque::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<type_of_opaque_hir_typeck::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<type_alias_is_checked::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<collect_return_position_impl_trait_in_trait_tys::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<opaque_ty_origin::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<unsizing_params_for_adt::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<analysis::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<check_expectations::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<generics_of::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<clauses_of::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<opaque_types_defined_by::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<nested_bodies_within::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<explicit_item_bounds::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<explicit_item_self_bounds::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<item_bounds::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<item_self_bounds::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<item_non_self_bounds::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<impl_super_outlives::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<native_libraries::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<shallow_lint_levels_on::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<lint_expectations::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<skippable_lints::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<expn_that_defined::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<is_panic_runtime::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<check_representability::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<check_representability_adt_ty::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<params_in_repr::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<thir_body::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<mir_keys::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<mir_const_qualif::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<mir_built::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<thir_abstract_const::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<mir_drops_elaborated_and_const_checked::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<mir_for_ctfe::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<mir_promoted::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<closure_typeinfo::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<closure_saved_names_of_captured_variables::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<mir_coroutine_witnesses::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<check_coroutine_obligations::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<check_potentially_region_dependent_goals::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<optimized_mir::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<is_eligible_for_coverage::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<coverage_attr_on::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<coverage_codegen_info::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<promoted_mir::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<erase_and_anonymize_regions_ty::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<wasm_import_module_map::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<trait_explicit_clauses_and_bounds::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<explicit_clauses_of::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<inferred_outlives_of::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<explicit_super_clauses_of::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<explicit_implied_clauses_of::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<explicit_supertraits_containing_assoc_item::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<const_conditions::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<explicit_implied_const_bounds::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<type_param_clauses::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<trait_def::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<adt_def::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<adt_destructor::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<adt_async_destructor::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<adt_sizedness_constraint::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<adt_dtorck_constraint::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<constness::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<asyncness::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<is_promotable_const_fn::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<coroutine_by_move_body_def_id::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<coroutine_kind::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<coroutine_for_closure::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<coroutine_hidden_types::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<crate_variances::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<variances_of::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<inferred_outlives_crate::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<associated_item_def_ids::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<associated_item::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<associated_items::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<impl_item_implementor_ids::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<associated_types_for_impl_traits_in_trait_or_impl::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<impl_trait_header::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<impl_is_fully_generic_for_reflection::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<impl_self_is_guaranteed_unsized::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<inherent_impls::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<incoherent_impls::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<check_transmutes::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<check_offloads::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<check_unsafety::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<check_tail_calls::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<assumed_wf_types::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<assumed_wf_types_for_rpitit::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<fn_sig::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<lint_mod::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<check_unused_traits::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<check_mod_attrs::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<check_mod_unstable_api_usage::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<check_mod_privacy::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<check_liveness::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<live_symbols_and_ignored_derived_traits::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<check_mod_deathness::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<check_type_wf::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<coerce_unsized_info::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<typeck_root::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<used_trait_imports::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<coherent_trait::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<mir_borrowck::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<crate_inherent_impls::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<crate_inherent_impls_validity_check::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<crate_inherent_impls_overlap_check::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<orphan_check_impl::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<mir_callgraph_cyclic::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<mir_inliner_callees::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<tag_for_variant::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<eval_to_allocation_raw::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<eval_static_initializer::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<eval_to_const_value_raw::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<eval_to_valtree::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<valtree_to_const_val::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<lit_to_const::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<check_match::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<effective_visibilities::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<check_private_in_public::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<reachable_set::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<region_scope_tree::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<mir_shims::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<symbol_name::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<def_kind::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<def_span::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<def_ident_span::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<ty_span::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<lookup_stability::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<lookup_const_stability::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<lookup_default_body_stability::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<should_inherit_track_caller::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<inherited_align::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<lookup_deprecation_entry::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<is_doc_hidden::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<is_doc_notable_trait::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<attrs_for_def::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<codegen_fn_attrs::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<asm_target_features::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<fn_arg_idents::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<rendered_const::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<rendered_precise_capturing_args::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<impl_parent::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<is_mir_available::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<own_existential_vtable_entries::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<vtable_entries::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<first_method_vtable_slot::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<supertrait_vtable_slot::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<vtable_allocation::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<codegen_select_candidate::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<all_local_trait_impls::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<local_trait_impls::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<trait_impls_of::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<specialization_graph_of::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<dyn_compatibility_violations::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<is_dyn_compatible::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<param_env::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<param_env_normalized_for_post_analysis::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<is_copy_raw::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<is_use_cloned_raw::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<is_sized_raw::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<is_freeze_raw::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<is_unsafe_unpin_raw::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<is_unpin_raw::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<is_async_drop_raw::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<needs_drop_raw::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<needs_async_drop_raw::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<has_significant_drop_raw::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<has_structural_eq_impl::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<adt_drop_tys::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<adt_async_drop_tys::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<adt_significant_drop_tys::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<list_significant_drop_tys::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<layout_of::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<fn_abi_of_fn_ptr::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<fn_abi_of_instance_no_deduced_attrs::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<fn_abi_of_instance_raw::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<dylib_dependency_formats::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<dependency_formats::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<is_compiler_builtins::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<has_global_allocator::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<has_alloc_error_handler::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<has_panic_handler::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<is_profiler_runtime::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<has_ffi_unwind_calls::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<required_panic_strategy::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<panic_in_drop_strategy::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<is_no_builtins::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<symbol_mangling_version::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<extern_crate::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<specialization_enabled_in::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<specializes::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<defaultness::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<default_field::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<check_well_formed::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<enforce_impl_non_lifetime_params_are_constrained::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<reachable_non_generics::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<is_reachable_non_generic::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<is_unreachable_local_definition::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<upstream_monomorphizations::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<upstream_monomorphizations_for::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<upstream_drop_glue_for::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<upstream_async_drop_glue_for::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<foreign_modules::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<clashing_extern_declarations::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<entry_fn::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<proc_macro_decls_static::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<crate_hash::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<crate_host_hash::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<extra_filename::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<crate_extern_paths::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<implementations_of_trait::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<crate_incoherent_impls::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<native_library::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<inherit_sig_for_delegation_item::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<delegation_user_specified_args::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<resolve_bound_vars::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<named_variable_map::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<is_late_bound_map::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<object_lifetime_default::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<late_bound_vars_map::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<opaque_captured_lifetimes::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<live_args_for_alias_from_outlives_bounds::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<args_known_to_outlive_alias_params::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<visibility::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<inhabited_predicate_adt::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<inhabited_predicate_type::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<is_opsem_inhabited_raw::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<crate_dep_kind::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<crate_name::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<module_children::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<num_extern_def_ids::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<lib_features::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<stability_implications::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<intrinsic_raw::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<get_lang_items::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<all_diagnostic_items::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<all_canonical_symbols::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<defined_lang_items::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<diagnostic_items::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<canonical_symbols::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<missing_lang_items::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<visible_parent_map::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<trimmed_def_paths::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<missing_extern_crate_item::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<used_crate_source::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<debugger_visualizers::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<postorder_cnums::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<is_private_dep::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<allocator_kind::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<alloc_error_handler_kind::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<upvars_mentioned::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<crates::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<used_crates::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<duplicate_crate_names::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<traits::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<trait_impls_in_crate::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<stable_order_of_exportable_impls::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<exportable_items::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<exported_non_generic_symbols::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<exported_generic_symbols::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<collect_and_partition_mono_items::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<is_codegened_item::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<codegen_unit::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<backend_optimization_level::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<output_filenames::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<normalize_canonicalized_projection::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<normalize_canonicalized_free_alias::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<normalize_canonicalized_inherent_projection::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<try_normalize_generic_arg_after_erasing_regions::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<implied_outlives_bounds::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<mir_borrowck_implied_outlives_bounds::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<dropck_outlives::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<evaluate_obligation::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<type_op_ascribe_user_type::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<type_op_prove_predicate::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<type_op_normalize_ty::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<type_op_normalize_clause::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<type_op_normalize_poly_fn_sig::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<type_op_normalize_fn_sig::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<instantiate_and_check_impossible_clauses::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<is_impossible_associated_item::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<method_autoderef_steps::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<evaluate_root_goal_for_proof_tree_raw::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<all_rust_target_features::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<implied_target_features::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<features_query::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<crate_for_resolver::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<resolve_instance_raw::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<reveal_opaque_types_in_bounds::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<limits::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<diagnostic_hir_wf_check::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<global_backend_features::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<check_validity_requirement::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<compare_impl_item::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<deduced_param_attrs::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<doc_link_resolutions::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<doc_link_traits_in_scope::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<stripped_cfg_items::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<generics_require_sized_self::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<cross_crate_inlinable::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<check_mono_item::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<items_of_instance::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<size_estimate::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<anon_const_kind::Key<'tcx>>;
        let _: ::core::clone::AssertParamIsClone<trivial_const::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<sanitizer_settings_for::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<check_externally_implementable_items::Key<'tcx>>;
        let _:
                ::core::clone::AssertParamIsClone<externally_implementable_items::Key<'tcx>>;
        *self
    }
}
#[automatically_derived]
#[allow(non_camel_case_types)]
impl<'tcx> ::core::marker::Copy for TaggedQueryKey<'tcx> { }
#[automatically_derived]
#[allow(non_camel_case_types)]
impl<'tcx> ::core::fmt::Debug for TaggedQueryKey<'tcx> {
    #[inline]
    fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result {
        match self {
            TaggedQueryKey::derive_macro_expansion(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "derive_macro_expansion", &__self_0),
            TaggedQueryKey::trigger_delayed_bug(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "trigger_delayed_bug", &__self_0),
            TaggedQueryKey::registered_attr_tools(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "registered_attr_tools", &__self_0),
            TaggedQueryKey::registered_lint_tools(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "registered_lint_tools", &__self_0),
            TaggedQueryKey::early_lint_checks(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "early_lint_checks", &__self_0),
            TaggedQueryKey::env_var_os(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "env_var_os", &__self_0),
            TaggedQueryKey::resolutions(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "resolutions", &__self_0),
            TaggedQueryKey::resolver_for_lowering_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "resolver_for_lowering_raw", &__self_0),
            TaggedQueryKey::index_ast(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "index_ast", &__self_0),
            TaggedQueryKey::source_span(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "source_span", &__self_0),
            TaggedQueryKey::lower_to_hir(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "lower_to_hir", &__self_0),
            TaggedQueryKey::hir_owner(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "hir_owner", &__self_0),
            TaggedQueryKey::hir_crate_items(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "hir_crate_items", &__self_0),
            TaggedQueryKey::hir_module_items(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "hir_module_items", &__self_0),
            TaggedQueryKey::hir_owner_parent_q(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "hir_owner_parent_q", &__self_0),
            TaggedQueryKey::hir_attr_map(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "hir_attr_map", &__self_0),
            TaggedQueryKey::const_param_default(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "const_param_default", &__self_0),
            TaggedQueryKey::const_of_item(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "const_of_item", &__self_0),
            TaggedQueryKey::type_of(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "type_of", &__self_0),
            TaggedQueryKey::type_of_opaque(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "type_of_opaque", &__self_0),
            TaggedQueryKey::type_of_opaque_hir_typeck(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "type_of_opaque_hir_typeck", &__self_0),
            TaggedQueryKey::type_alias_is_checked(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "type_alias_is_checked", &__self_0),
            TaggedQueryKey::collect_return_position_impl_trait_in_trait_tys(__self_0)
                =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "collect_return_position_impl_trait_in_trait_tys",
                    &__self_0),
            TaggedQueryKey::opaque_ty_origin(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "opaque_ty_origin", &__self_0),
            TaggedQueryKey::unsizing_params_for_adt(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "unsizing_params_for_adt", &__self_0),
            TaggedQueryKey::analysis(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "analysis", &__self_0),
            TaggedQueryKey::check_expectations(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_expectations", &__self_0),
            TaggedQueryKey::generics_of(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "generics_of", &__self_0),
            TaggedQueryKey::clauses_of(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "clauses_of", &__self_0),
            TaggedQueryKey::opaque_types_defined_by(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "opaque_types_defined_by", &__self_0),
            TaggedQueryKey::nested_bodies_within(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "nested_bodies_within", &__self_0),
            TaggedQueryKey::explicit_item_bounds(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "explicit_item_bounds", &__self_0),
            TaggedQueryKey::explicit_item_self_bounds(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "explicit_item_self_bounds", &__self_0),
            TaggedQueryKey::item_bounds(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "item_bounds", &__self_0),
            TaggedQueryKey::item_self_bounds(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "item_self_bounds", &__self_0),
            TaggedQueryKey::item_non_self_bounds(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "item_non_self_bounds", &__self_0),
            TaggedQueryKey::impl_super_outlives(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "impl_super_outlives", &__self_0),
            TaggedQueryKey::native_libraries(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "native_libraries", &__self_0),
            TaggedQueryKey::shallow_lint_levels_on(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "shallow_lint_levels_on", &__self_0),
            TaggedQueryKey::lint_expectations(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "lint_expectations", &__self_0),
            TaggedQueryKey::skippable_lints(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "skippable_lints", &__self_0),
            TaggedQueryKey::expn_that_defined(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "expn_that_defined", &__self_0),
            TaggedQueryKey::is_panic_runtime(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_panic_runtime", &__self_0),
            TaggedQueryKey::check_representability(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_representability", &__self_0),
            TaggedQueryKey::check_representability_adt_ty(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_representability_adt_ty", &__self_0),
            TaggedQueryKey::params_in_repr(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "params_in_repr", &__self_0),
            TaggedQueryKey::thir_body(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "thir_body", &__self_0),
            TaggedQueryKey::mir_keys(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "mir_keys", &__self_0),
            TaggedQueryKey::mir_const_qualif(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "mir_const_qualif", &__self_0),
            TaggedQueryKey::mir_built(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "mir_built", &__self_0),
            TaggedQueryKey::thir_abstract_const(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "thir_abstract_const", &__self_0),
            TaggedQueryKey::mir_drops_elaborated_and_const_checked(__self_0)
                =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "mir_drops_elaborated_and_const_checked", &__self_0),
            TaggedQueryKey::mir_for_ctfe(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "mir_for_ctfe", &__self_0),
            TaggedQueryKey::mir_promoted(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "mir_promoted", &__self_0),
            TaggedQueryKey::closure_typeinfo(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "closure_typeinfo", &__self_0),
            TaggedQueryKey::closure_saved_names_of_captured_variables(__self_0)
                =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "closure_saved_names_of_captured_variables", &__self_0),
            TaggedQueryKey::mir_coroutine_witnesses(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "mir_coroutine_witnesses", &__self_0),
            TaggedQueryKey::check_coroutine_obligations(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_coroutine_obligations", &__self_0),
            TaggedQueryKey::check_potentially_region_dependent_goals(__self_0)
                =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_potentially_region_dependent_goals", &__self_0),
            TaggedQueryKey::optimized_mir(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "optimized_mir", &__self_0),
            TaggedQueryKey::is_eligible_for_coverage(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_eligible_for_coverage", &__self_0),
            TaggedQueryKey::coverage_attr_on(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "coverage_attr_on", &__self_0),
            TaggedQueryKey::coverage_codegen_info(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "coverage_codegen_info", &__self_0),
            TaggedQueryKey::promoted_mir(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "promoted_mir", &__self_0),
            TaggedQueryKey::erase_and_anonymize_regions_ty(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "erase_and_anonymize_regions_ty", &__self_0),
            TaggedQueryKey::wasm_import_module_map(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "wasm_import_module_map", &__self_0),
            TaggedQueryKey::trait_explicit_clauses_and_bounds(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "trait_explicit_clauses_and_bounds", &__self_0),
            TaggedQueryKey::explicit_clauses_of(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "explicit_clauses_of", &__self_0),
            TaggedQueryKey::inferred_outlives_of(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "inferred_outlives_of", &__self_0),
            TaggedQueryKey::explicit_super_clauses_of(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "explicit_super_clauses_of", &__self_0),
            TaggedQueryKey::explicit_implied_clauses_of(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "explicit_implied_clauses_of", &__self_0),
            TaggedQueryKey::explicit_supertraits_containing_assoc_item(__self_0)
                =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "explicit_supertraits_containing_assoc_item", &__self_0),
            TaggedQueryKey::const_conditions(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "const_conditions", &__self_0),
            TaggedQueryKey::explicit_implied_const_bounds(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "explicit_implied_const_bounds", &__self_0),
            TaggedQueryKey::type_param_clauses(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "type_param_clauses", &__self_0),
            TaggedQueryKey::trait_def(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "trait_def", &__self_0),
            TaggedQueryKey::adt_def(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "adt_def", &__self_0),
            TaggedQueryKey::adt_destructor(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "adt_destructor", &__self_0),
            TaggedQueryKey::adt_async_destructor(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "adt_async_destructor", &__self_0),
            TaggedQueryKey::adt_sizedness_constraint(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "adt_sizedness_constraint", &__self_0),
            TaggedQueryKey::adt_dtorck_constraint(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "adt_dtorck_constraint", &__self_0),
            TaggedQueryKey::constness(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "constness", &__self_0),
            TaggedQueryKey::asyncness(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "asyncness", &__self_0),
            TaggedQueryKey::is_promotable_const_fn(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_promotable_const_fn", &__self_0),
            TaggedQueryKey::coroutine_by_move_body_def_id(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "coroutine_by_move_body_def_id", &__self_0),
            TaggedQueryKey::coroutine_kind(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "coroutine_kind", &__self_0),
            TaggedQueryKey::coroutine_for_closure(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "coroutine_for_closure", &__self_0),
            TaggedQueryKey::coroutine_hidden_types(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "coroutine_hidden_types", &__self_0),
            TaggedQueryKey::crate_variances(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "crate_variances", &__self_0),
            TaggedQueryKey::variances_of(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "variances_of", &__self_0),
            TaggedQueryKey::inferred_outlives_crate(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "inferred_outlives_crate", &__self_0),
            TaggedQueryKey::associated_item_def_ids(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "associated_item_def_ids", &__self_0),
            TaggedQueryKey::associated_item(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "associated_item", &__self_0),
            TaggedQueryKey::associated_items(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "associated_items", &__self_0),
            TaggedQueryKey::impl_item_implementor_ids(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "impl_item_implementor_ids", &__self_0),
            TaggedQueryKey::associated_types_for_impl_traits_in_trait_or_impl(__self_0)
                =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "associated_types_for_impl_traits_in_trait_or_impl",
                    &__self_0),
            TaggedQueryKey::impl_trait_header(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "impl_trait_header", &__self_0),
            TaggedQueryKey::impl_is_fully_generic_for_reflection(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "impl_is_fully_generic_for_reflection", &__self_0),
            TaggedQueryKey::impl_self_is_guaranteed_unsized(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "impl_self_is_guaranteed_unsized", &__self_0),
            TaggedQueryKey::inherent_impls(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "inherent_impls", &__self_0),
            TaggedQueryKey::incoherent_impls(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "incoherent_impls", &__self_0),
            TaggedQueryKey::check_transmutes(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_transmutes", &__self_0),
            TaggedQueryKey::check_offloads(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_offloads", &__self_0),
            TaggedQueryKey::check_unsafety(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_unsafety", &__self_0),
            TaggedQueryKey::check_tail_calls(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_tail_calls", &__self_0),
            TaggedQueryKey::assumed_wf_types(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "assumed_wf_types", &__self_0),
            TaggedQueryKey::assumed_wf_types_for_rpitit(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "assumed_wf_types_for_rpitit", &__self_0),
            TaggedQueryKey::fn_sig(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f, "fn_sig",
                    &__self_0),
            TaggedQueryKey::lint_mod(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "lint_mod", &__self_0),
            TaggedQueryKey::check_unused_traits(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_unused_traits", &__self_0),
            TaggedQueryKey::check_mod_attrs(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_mod_attrs", &__self_0),
            TaggedQueryKey::check_mod_unstable_api_usage(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_mod_unstable_api_usage", &__self_0),
            TaggedQueryKey::check_mod_privacy(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_mod_privacy", &__self_0),
            TaggedQueryKey::check_liveness(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_liveness", &__self_0),
            TaggedQueryKey::live_symbols_and_ignored_derived_traits(__self_0)
                =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "live_symbols_and_ignored_derived_traits", &__self_0),
            TaggedQueryKey::check_mod_deathness(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_mod_deathness", &__self_0),
            TaggedQueryKey::check_type_wf(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_type_wf", &__self_0),
            TaggedQueryKey::coerce_unsized_info(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "coerce_unsized_info", &__self_0),
            TaggedQueryKey::typeck_root(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "typeck_root", &__self_0),
            TaggedQueryKey::used_trait_imports(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "used_trait_imports", &__self_0),
            TaggedQueryKey::coherent_trait(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "coherent_trait", &__self_0),
            TaggedQueryKey::mir_borrowck(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "mir_borrowck", &__self_0),
            TaggedQueryKey::crate_inherent_impls(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "crate_inherent_impls", &__self_0),
            TaggedQueryKey::crate_inherent_impls_validity_check(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "crate_inherent_impls_validity_check", &__self_0),
            TaggedQueryKey::crate_inherent_impls_overlap_check(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "crate_inherent_impls_overlap_check", &__self_0),
            TaggedQueryKey::orphan_check_impl(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "orphan_check_impl", &__self_0),
            TaggedQueryKey::mir_callgraph_cyclic(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "mir_callgraph_cyclic", &__self_0),
            TaggedQueryKey::mir_inliner_callees(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "mir_inliner_callees", &__self_0),
            TaggedQueryKey::tag_for_variant(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "tag_for_variant", &__self_0),
            TaggedQueryKey::eval_to_allocation_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "eval_to_allocation_raw", &__self_0),
            TaggedQueryKey::eval_static_initializer(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "eval_static_initializer", &__self_0),
            TaggedQueryKey::eval_to_const_value_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "eval_to_const_value_raw", &__self_0),
            TaggedQueryKey::eval_to_valtree(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "eval_to_valtree", &__self_0),
            TaggedQueryKey::valtree_to_const_val(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "valtree_to_const_val", &__self_0),
            TaggedQueryKey::lit_to_const(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "lit_to_const", &__self_0),
            TaggedQueryKey::check_match(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_match", &__self_0),
            TaggedQueryKey::effective_visibilities(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "effective_visibilities", &__self_0),
            TaggedQueryKey::check_private_in_public(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_private_in_public", &__self_0),
            TaggedQueryKey::reachable_set(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "reachable_set", &__self_0),
            TaggedQueryKey::region_scope_tree(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "region_scope_tree", &__self_0),
            TaggedQueryKey::mir_shims(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "mir_shims", &__self_0),
            TaggedQueryKey::symbol_name(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "symbol_name", &__self_0),
            TaggedQueryKey::def_kind(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "def_kind", &__self_0),
            TaggedQueryKey::def_span(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "def_span", &__self_0),
            TaggedQueryKey::def_ident_span(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "def_ident_span", &__self_0),
            TaggedQueryKey::ty_span(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "ty_span", &__self_0),
            TaggedQueryKey::lookup_stability(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "lookup_stability", &__self_0),
            TaggedQueryKey::lookup_const_stability(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "lookup_const_stability", &__self_0),
            TaggedQueryKey::lookup_default_body_stability(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "lookup_default_body_stability", &__self_0),
            TaggedQueryKey::should_inherit_track_caller(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "should_inherit_track_caller", &__self_0),
            TaggedQueryKey::inherited_align(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "inherited_align", &__self_0),
            TaggedQueryKey::lookup_deprecation_entry(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "lookup_deprecation_entry", &__self_0),
            TaggedQueryKey::is_doc_hidden(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_doc_hidden", &__self_0),
            TaggedQueryKey::is_doc_notable_trait(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_doc_notable_trait", &__self_0),
            TaggedQueryKey::attrs_for_def(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "attrs_for_def", &__self_0),
            TaggedQueryKey::codegen_fn_attrs(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "codegen_fn_attrs", &__self_0),
            TaggedQueryKey::asm_target_features(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "asm_target_features", &__self_0),
            TaggedQueryKey::fn_arg_idents(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "fn_arg_idents", &__self_0),
            TaggedQueryKey::rendered_const(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "rendered_const", &__self_0),
            TaggedQueryKey::rendered_precise_capturing_args(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "rendered_precise_capturing_args", &__self_0),
            TaggedQueryKey::impl_parent(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "impl_parent", &__self_0),
            TaggedQueryKey::is_mir_available(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_mir_available", &__self_0),
            TaggedQueryKey::own_existential_vtable_entries(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "own_existential_vtable_entries", &__self_0),
            TaggedQueryKey::vtable_entries(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "vtable_entries", &__self_0),
            TaggedQueryKey::first_method_vtable_slot(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "first_method_vtable_slot", &__self_0),
            TaggedQueryKey::supertrait_vtable_slot(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "supertrait_vtable_slot", &__self_0),
            TaggedQueryKey::vtable_allocation(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "vtable_allocation", &__self_0),
            TaggedQueryKey::codegen_select_candidate(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "codegen_select_candidate", &__self_0),
            TaggedQueryKey::all_local_trait_impls(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "all_local_trait_impls", &__self_0),
            TaggedQueryKey::local_trait_impls(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "local_trait_impls", &__self_0),
            TaggedQueryKey::trait_impls_of(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "trait_impls_of", &__self_0),
            TaggedQueryKey::specialization_graph_of(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "specialization_graph_of", &__self_0),
            TaggedQueryKey::dyn_compatibility_violations(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "dyn_compatibility_violations", &__self_0),
            TaggedQueryKey::is_dyn_compatible(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_dyn_compatible", &__self_0),
            TaggedQueryKey::param_env(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "param_env", &__self_0),
            TaggedQueryKey::param_env_normalized_for_post_analysis(__self_0)
                =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "param_env_normalized_for_post_analysis", &__self_0),
            TaggedQueryKey::is_copy_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_copy_raw", &__self_0),
            TaggedQueryKey::is_use_cloned_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_use_cloned_raw", &__self_0),
            TaggedQueryKey::is_sized_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_sized_raw", &__self_0),
            TaggedQueryKey::is_freeze_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_freeze_raw", &__self_0),
            TaggedQueryKey::is_unsafe_unpin_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_unsafe_unpin_raw", &__self_0),
            TaggedQueryKey::is_unpin_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_unpin_raw", &__self_0),
            TaggedQueryKey::is_async_drop_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_async_drop_raw", &__self_0),
            TaggedQueryKey::needs_drop_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "needs_drop_raw", &__self_0),
            TaggedQueryKey::needs_async_drop_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "needs_async_drop_raw", &__self_0),
            TaggedQueryKey::has_significant_drop_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "has_significant_drop_raw", &__self_0),
            TaggedQueryKey::has_structural_eq_impl(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "has_structural_eq_impl", &__self_0),
            TaggedQueryKey::adt_drop_tys(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "adt_drop_tys", &__self_0),
            TaggedQueryKey::adt_async_drop_tys(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "adt_async_drop_tys", &__self_0),
            TaggedQueryKey::adt_significant_drop_tys(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "adt_significant_drop_tys", &__self_0),
            TaggedQueryKey::list_significant_drop_tys(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "list_significant_drop_tys", &__self_0),
            TaggedQueryKey::layout_of(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "layout_of", &__self_0),
            TaggedQueryKey::fn_abi_of_fn_ptr(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "fn_abi_of_fn_ptr", &__self_0),
            TaggedQueryKey::fn_abi_of_instance_no_deduced_attrs(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "fn_abi_of_instance_no_deduced_attrs", &__self_0),
            TaggedQueryKey::fn_abi_of_instance_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "fn_abi_of_instance_raw", &__self_0),
            TaggedQueryKey::dylib_dependency_formats(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "dylib_dependency_formats", &__self_0),
            TaggedQueryKey::dependency_formats(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "dependency_formats", &__self_0),
            TaggedQueryKey::is_compiler_builtins(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_compiler_builtins", &__self_0),
            TaggedQueryKey::has_global_allocator(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "has_global_allocator", &__self_0),
            TaggedQueryKey::has_alloc_error_handler(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "has_alloc_error_handler", &__self_0),
            TaggedQueryKey::has_panic_handler(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "has_panic_handler", &__self_0),
            TaggedQueryKey::is_profiler_runtime(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_profiler_runtime", &__self_0),
            TaggedQueryKey::has_ffi_unwind_calls(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "has_ffi_unwind_calls", &__self_0),
            TaggedQueryKey::required_panic_strategy(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "required_panic_strategy", &__self_0),
            TaggedQueryKey::panic_in_drop_strategy(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "panic_in_drop_strategy", &__self_0),
            TaggedQueryKey::is_no_builtins(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_no_builtins", &__self_0),
            TaggedQueryKey::symbol_mangling_version(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "symbol_mangling_version", &__self_0),
            TaggedQueryKey::extern_crate(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "extern_crate", &__self_0),
            TaggedQueryKey::specialization_enabled_in(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "specialization_enabled_in", &__self_0),
            TaggedQueryKey::specializes(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "specializes", &__self_0),
            TaggedQueryKey::defaultness(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "defaultness", &__self_0),
            TaggedQueryKey::default_field(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "default_field", &__self_0),
            TaggedQueryKey::check_well_formed(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_well_formed", &__self_0),
            TaggedQueryKey::enforce_impl_non_lifetime_params_are_constrained(__self_0)
                =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "enforce_impl_non_lifetime_params_are_constrained",
                    &__self_0),
            TaggedQueryKey::reachable_non_generics(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "reachable_non_generics", &__self_0),
            TaggedQueryKey::is_reachable_non_generic(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_reachable_non_generic", &__self_0),
            TaggedQueryKey::is_unreachable_local_definition(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_unreachable_local_definition", &__self_0),
            TaggedQueryKey::upstream_monomorphizations(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "upstream_monomorphizations", &__self_0),
            TaggedQueryKey::upstream_monomorphizations_for(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "upstream_monomorphizations_for", &__self_0),
            TaggedQueryKey::upstream_drop_glue_for(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "upstream_drop_glue_for", &__self_0),
            TaggedQueryKey::upstream_async_drop_glue_for(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "upstream_async_drop_glue_for", &__self_0),
            TaggedQueryKey::foreign_modules(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "foreign_modules", &__self_0),
            TaggedQueryKey::clashing_extern_declarations(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "clashing_extern_declarations", &__self_0),
            TaggedQueryKey::entry_fn(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "entry_fn", &__self_0),
            TaggedQueryKey::proc_macro_decls_static(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "proc_macro_decls_static", &__self_0),
            TaggedQueryKey::crate_hash(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "crate_hash", &__self_0),
            TaggedQueryKey::crate_host_hash(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "crate_host_hash", &__self_0),
            TaggedQueryKey::extra_filename(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "extra_filename", &__self_0),
            TaggedQueryKey::crate_extern_paths(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "crate_extern_paths", &__self_0),
            TaggedQueryKey::implementations_of_trait(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "implementations_of_trait", &__self_0),
            TaggedQueryKey::crate_incoherent_impls(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "crate_incoherent_impls", &__self_0),
            TaggedQueryKey::native_library(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "native_library", &__self_0),
            TaggedQueryKey::inherit_sig_for_delegation_item(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "inherit_sig_for_delegation_item", &__self_0),
            TaggedQueryKey::delegation_user_specified_args(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "delegation_user_specified_args", &__self_0),
            TaggedQueryKey::resolve_bound_vars(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "resolve_bound_vars", &__self_0),
            TaggedQueryKey::named_variable_map(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "named_variable_map", &__self_0),
            TaggedQueryKey::is_late_bound_map(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_late_bound_map", &__self_0),
            TaggedQueryKey::object_lifetime_default(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "object_lifetime_default", &__self_0),
            TaggedQueryKey::late_bound_vars_map(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "late_bound_vars_map", &__self_0),
            TaggedQueryKey::opaque_captured_lifetimes(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "opaque_captured_lifetimes", &__self_0),
            TaggedQueryKey::live_args_for_alias_from_outlives_bounds(__self_0)
                =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "live_args_for_alias_from_outlives_bounds", &__self_0),
            TaggedQueryKey::args_known_to_outlive_alias_params(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "args_known_to_outlive_alias_params", &__self_0),
            TaggedQueryKey::visibility(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "visibility", &__self_0),
            TaggedQueryKey::inhabited_predicate_adt(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "inhabited_predicate_adt", &__self_0),
            TaggedQueryKey::inhabited_predicate_type(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "inhabited_predicate_type", &__self_0),
            TaggedQueryKey::is_opsem_inhabited_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_opsem_inhabited_raw", &__self_0),
            TaggedQueryKey::crate_dep_kind(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "crate_dep_kind", &__self_0),
            TaggedQueryKey::crate_name(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "crate_name", &__self_0),
            TaggedQueryKey::module_children(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "module_children", &__self_0),
            TaggedQueryKey::num_extern_def_ids(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "num_extern_def_ids", &__self_0),
            TaggedQueryKey::lib_features(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "lib_features", &__self_0),
            TaggedQueryKey::stability_implications(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "stability_implications", &__self_0),
            TaggedQueryKey::intrinsic_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "intrinsic_raw", &__self_0),
            TaggedQueryKey::get_lang_items(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "get_lang_items", &__self_0),
            TaggedQueryKey::all_diagnostic_items(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "all_diagnostic_items", &__self_0),
            TaggedQueryKey::all_canonical_symbols(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "all_canonical_symbols", &__self_0),
            TaggedQueryKey::defined_lang_items(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "defined_lang_items", &__self_0),
            TaggedQueryKey::diagnostic_items(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "diagnostic_items", &__self_0),
            TaggedQueryKey::canonical_symbols(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "canonical_symbols", &__self_0),
            TaggedQueryKey::missing_lang_items(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "missing_lang_items", &__self_0),
            TaggedQueryKey::visible_parent_map(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "visible_parent_map", &__self_0),
            TaggedQueryKey::trimmed_def_paths(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "trimmed_def_paths", &__self_0),
            TaggedQueryKey::missing_extern_crate_item(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "missing_extern_crate_item", &__self_0),
            TaggedQueryKey::used_crate_source(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "used_crate_source", &__self_0),
            TaggedQueryKey::debugger_visualizers(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "debugger_visualizers", &__self_0),
            TaggedQueryKey::postorder_cnums(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "postorder_cnums", &__self_0),
            TaggedQueryKey::is_private_dep(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_private_dep", &__self_0),
            TaggedQueryKey::allocator_kind(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "allocator_kind", &__self_0),
            TaggedQueryKey::alloc_error_handler_kind(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "alloc_error_handler_kind", &__self_0),
            TaggedQueryKey::upvars_mentioned(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "upvars_mentioned", &__self_0),
            TaggedQueryKey::crates(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f, "crates",
                    &__self_0),
            TaggedQueryKey::used_crates(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "used_crates", &__self_0),
            TaggedQueryKey::duplicate_crate_names(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "duplicate_crate_names", &__self_0),
            TaggedQueryKey::traits(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f, "traits",
                    &__self_0),
            TaggedQueryKey::trait_impls_in_crate(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "trait_impls_in_crate", &__self_0),
            TaggedQueryKey::stable_order_of_exportable_impls(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "stable_order_of_exportable_impls", &__self_0),
            TaggedQueryKey::exportable_items(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "exportable_items", &__self_0),
            TaggedQueryKey::exported_non_generic_symbols(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "exported_non_generic_symbols", &__self_0),
            TaggedQueryKey::exported_generic_symbols(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "exported_generic_symbols", &__self_0),
            TaggedQueryKey::collect_and_partition_mono_items(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "collect_and_partition_mono_items", &__self_0),
            TaggedQueryKey::is_codegened_item(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_codegened_item", &__self_0),
            TaggedQueryKey::codegen_unit(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "codegen_unit", &__self_0),
            TaggedQueryKey::backend_optimization_level(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "backend_optimization_level", &__self_0),
            TaggedQueryKey::output_filenames(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "output_filenames", &__self_0),
            TaggedQueryKey::normalize_canonicalized_projection(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "normalize_canonicalized_projection", &__self_0),
            TaggedQueryKey::normalize_canonicalized_free_alias(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "normalize_canonicalized_free_alias", &__self_0),
            TaggedQueryKey::normalize_canonicalized_inherent_projection(__self_0)
                =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "normalize_canonicalized_inherent_projection", &__self_0),
            TaggedQueryKey::try_normalize_generic_arg_after_erasing_regions(__self_0)
                =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "try_normalize_generic_arg_after_erasing_regions",
                    &__self_0),
            TaggedQueryKey::implied_outlives_bounds(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "implied_outlives_bounds", &__self_0),
            TaggedQueryKey::mir_borrowck_implied_outlives_bounds(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "mir_borrowck_implied_outlives_bounds", &__self_0),
            TaggedQueryKey::dropck_outlives(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "dropck_outlives", &__self_0),
            TaggedQueryKey::evaluate_obligation(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "evaluate_obligation", &__self_0),
            TaggedQueryKey::type_op_ascribe_user_type(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "type_op_ascribe_user_type", &__self_0),
            TaggedQueryKey::type_op_prove_predicate(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "type_op_prove_predicate", &__self_0),
            TaggedQueryKey::type_op_normalize_ty(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "type_op_normalize_ty", &__self_0),
            TaggedQueryKey::type_op_normalize_clause(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "type_op_normalize_clause", &__self_0),
            TaggedQueryKey::type_op_normalize_poly_fn_sig(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "type_op_normalize_poly_fn_sig", &__self_0),
            TaggedQueryKey::type_op_normalize_fn_sig(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "type_op_normalize_fn_sig", &__self_0),
            TaggedQueryKey::instantiate_and_check_impossible_clauses(__self_0)
                =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "instantiate_and_check_impossible_clauses", &__self_0),
            TaggedQueryKey::is_impossible_associated_item(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "is_impossible_associated_item", &__self_0),
            TaggedQueryKey::method_autoderef_steps(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "method_autoderef_steps", &__self_0),
            TaggedQueryKey::evaluate_root_goal_for_proof_tree_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "evaluate_root_goal_for_proof_tree_raw", &__self_0),
            TaggedQueryKey::all_rust_target_features(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "all_rust_target_features", &__self_0),
            TaggedQueryKey::implied_target_features(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "implied_target_features", &__self_0),
            TaggedQueryKey::features_query(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "features_query", &__self_0),
            TaggedQueryKey::crate_for_resolver(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "crate_for_resolver", &__self_0),
            TaggedQueryKey::resolve_instance_raw(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "resolve_instance_raw", &__self_0),
            TaggedQueryKey::reveal_opaque_types_in_bounds(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "reveal_opaque_types_in_bounds", &__self_0),
            TaggedQueryKey::limits(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f, "limits",
                    &__self_0),
            TaggedQueryKey::diagnostic_hir_wf_check(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "diagnostic_hir_wf_check", &__self_0),
            TaggedQueryKey::global_backend_features(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "global_backend_features", &__self_0),
            TaggedQueryKey::check_validity_requirement(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_validity_requirement", &__self_0),
            TaggedQueryKey::compare_impl_item(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "compare_impl_item", &__self_0),
            TaggedQueryKey::deduced_param_attrs(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "deduced_param_attrs", &__self_0),
            TaggedQueryKey::doc_link_resolutions(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "doc_link_resolutions", &__self_0),
            TaggedQueryKey::doc_link_traits_in_scope(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "doc_link_traits_in_scope", &__self_0),
            TaggedQueryKey::stripped_cfg_items(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "stripped_cfg_items", &__self_0),
            TaggedQueryKey::generics_require_sized_self(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "generics_require_sized_self", &__self_0),
            TaggedQueryKey::cross_crate_inlinable(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "cross_crate_inlinable", &__self_0),
            TaggedQueryKey::check_mono_item(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_mono_item", &__self_0),
            TaggedQueryKey::items_of_instance(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "items_of_instance", &__self_0),
            TaggedQueryKey::size_estimate(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "size_estimate", &__self_0),
            TaggedQueryKey::anon_const_kind(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "anon_const_kind", &__self_0),
            TaggedQueryKey::trivial_const(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "trivial_const", &__self_0),
            TaggedQueryKey::sanitizer_settings_for(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "sanitizer_settings_for", &__self_0),
            TaggedQueryKey::check_externally_implementable_items(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "check_externally_implementable_items", &__self_0),
            TaggedQueryKey::externally_implementable_items(__self_0) =>
                ::core::fmt::Formatter::debug_tuple_field1_finish(f,
                    "externally_implementable_items", &__self_0),
        }
    }
}
impl<'tcx> TaggedQueryKey<'tcx> {
    /// Returns the name of the query this key is tagged with.
    ///
    /// This is useful for error/debug output, but don't use it to check for
    /// specific query names. Instead, match on the `TaggedQueryKey` variant.
    pub fn query_name(&self) -> &'static str {
        match self {
            TaggedQueryKey::derive_macro_expansion(_) =>
                "derive_macro_expansion",
            TaggedQueryKey::trigger_delayed_bug(_) => "trigger_delayed_bug",
            TaggedQueryKey::registered_attr_tools(_) =>
                "registered_attr_tools",
            TaggedQueryKey::registered_lint_tools(_) =>
                "registered_lint_tools",
            TaggedQueryKey::early_lint_checks(_) => "early_lint_checks",
            TaggedQueryKey::env_var_os(_) => "env_var_os",
            TaggedQueryKey::resolutions(_) => "resolutions",
            TaggedQueryKey::resolver_for_lowering_raw(_) =>
                "resolver_for_lowering_raw",
            TaggedQueryKey::index_ast(_) => "index_ast",
            TaggedQueryKey::source_span(_) => "source_span",
            TaggedQueryKey::lower_to_hir(_) => "lower_to_hir",
            TaggedQueryKey::hir_owner(_) => "hir_owner",
            TaggedQueryKey::hir_crate_items(_) => "hir_crate_items",
            TaggedQueryKey::hir_module_items(_) => "hir_module_items",
            TaggedQueryKey::hir_owner_parent_q(_) => "hir_owner_parent_q",
            TaggedQueryKey::hir_attr_map(_) => "hir_attr_map",
            TaggedQueryKey::const_param_default(_) => "const_param_default",
            TaggedQueryKey::const_of_item(_) => "const_of_item",
            TaggedQueryKey::type_of(_) => "type_of",
            TaggedQueryKey::type_of_opaque(_) => "type_of_opaque",
            TaggedQueryKey::type_of_opaque_hir_typeck(_) =>
                "type_of_opaque_hir_typeck",
            TaggedQueryKey::type_alias_is_checked(_) =>
                "type_alias_is_checked",
            TaggedQueryKey::collect_return_position_impl_trait_in_trait_tys(_)
                => "collect_return_position_impl_trait_in_trait_tys",
            TaggedQueryKey::opaque_ty_origin(_) => "opaque_ty_origin",
            TaggedQueryKey::unsizing_params_for_adt(_) =>
                "unsizing_params_for_adt",
            TaggedQueryKey::analysis(_) => "analysis",
            TaggedQueryKey::check_expectations(_) => "check_expectations",
            TaggedQueryKey::generics_of(_) => "generics_of",
            TaggedQueryKey::clauses_of(_) => "clauses_of",
            TaggedQueryKey::opaque_types_defined_by(_) =>
                "opaque_types_defined_by",
            TaggedQueryKey::nested_bodies_within(_) => "nested_bodies_within",
            TaggedQueryKey::explicit_item_bounds(_) => "explicit_item_bounds",
            TaggedQueryKey::explicit_item_self_bounds(_) =>
                "explicit_item_self_bounds",
            TaggedQueryKey::item_bounds(_) => "item_bounds",
            TaggedQueryKey::item_self_bounds(_) => "item_self_bounds",
            TaggedQueryKey::item_non_self_bounds(_) => "item_non_self_bounds",
            TaggedQueryKey::impl_super_outlives(_) => "impl_super_outlives",
            TaggedQueryKey::native_libraries(_) => "native_libraries",
            TaggedQueryKey::shallow_lint_levels_on(_) =>
                "shallow_lint_levels_on",
            TaggedQueryKey::lint_expectations(_) => "lint_expectations",
            TaggedQueryKey::skippable_lints(_) => "skippable_lints",
            TaggedQueryKey::expn_that_defined(_) => "expn_that_defined",
            TaggedQueryKey::is_panic_runtime(_) => "is_panic_runtime",
            TaggedQueryKey::check_representability(_) =>
                "check_representability",
            TaggedQueryKey::check_representability_adt_ty(_) =>
                "check_representability_adt_ty",
            TaggedQueryKey::params_in_repr(_) => "params_in_repr",
            TaggedQueryKey::thir_body(_) => "thir_body",
            TaggedQueryKey::mir_keys(_) => "mir_keys",
            TaggedQueryKey::mir_const_qualif(_) => "mir_const_qualif",
            TaggedQueryKey::mir_built(_) => "mir_built",
            TaggedQueryKey::thir_abstract_const(_) => "thir_abstract_const",
            TaggedQueryKey::mir_drops_elaborated_and_const_checked(_) =>
                "mir_drops_elaborated_and_const_checked",
            TaggedQueryKey::mir_for_ctfe(_) => "mir_for_ctfe",
            TaggedQueryKey::mir_promoted(_) => "mir_promoted",
            TaggedQueryKey::closure_typeinfo(_) => "closure_typeinfo",
            TaggedQueryKey::closure_saved_names_of_captured_variables(_) =>
                "closure_saved_names_of_captured_variables",
            TaggedQueryKey::mir_coroutine_witnesses(_) =>
                "mir_coroutine_witnesses",
            TaggedQueryKey::check_coroutine_obligations(_) =>
                "check_coroutine_obligations",
            TaggedQueryKey::check_potentially_region_dependent_goals(_) =>
                "check_potentially_region_dependent_goals",
            TaggedQueryKey::optimized_mir(_) => "optimized_mir",
            TaggedQueryKey::is_eligible_for_coverage(_) =>
                "is_eligible_for_coverage",
            TaggedQueryKey::coverage_attr_on(_) => "coverage_attr_on",
            TaggedQueryKey::coverage_codegen_info(_) =>
                "coverage_codegen_info",
            TaggedQueryKey::promoted_mir(_) => "promoted_mir",
            TaggedQueryKey::erase_and_anonymize_regions_ty(_) =>
                "erase_and_anonymize_regions_ty",
            TaggedQueryKey::wasm_import_module_map(_) =>
                "wasm_import_module_map",
            TaggedQueryKey::trait_explicit_clauses_and_bounds(_) =>
                "trait_explicit_clauses_and_bounds",
            TaggedQueryKey::explicit_clauses_of(_) => "explicit_clauses_of",
            TaggedQueryKey::inferred_outlives_of(_) => "inferred_outlives_of",
            TaggedQueryKey::explicit_super_clauses_of(_) =>
                "explicit_super_clauses_of",
            TaggedQueryKey::explicit_implied_clauses_of(_) =>
                "explicit_implied_clauses_of",
            TaggedQueryKey::explicit_supertraits_containing_assoc_item(_) =>
                "explicit_supertraits_containing_assoc_item",
            TaggedQueryKey::const_conditions(_) => "const_conditions",
            TaggedQueryKey::explicit_implied_const_bounds(_) =>
                "explicit_implied_const_bounds",
            TaggedQueryKey::type_param_clauses(_) => "type_param_clauses",
            TaggedQueryKey::trait_def(_) => "trait_def",
            TaggedQueryKey::adt_def(_) => "adt_def",
            TaggedQueryKey::adt_destructor(_) => "adt_destructor",
            TaggedQueryKey::adt_async_destructor(_) => "adt_async_destructor",
            TaggedQueryKey::adt_sizedness_constraint(_) =>
                "adt_sizedness_constraint",
            TaggedQueryKey::adt_dtorck_constraint(_) =>
                "adt_dtorck_constraint",
            TaggedQueryKey::constness(_) => "constness",
            TaggedQueryKey::asyncness(_) => "asyncness",
            TaggedQueryKey::is_promotable_const_fn(_) =>
                "is_promotable_const_fn",
            TaggedQueryKey::coroutine_by_move_body_def_id(_) =>
                "coroutine_by_move_body_def_id",
            TaggedQueryKey::coroutine_kind(_) => "coroutine_kind",
            TaggedQueryKey::coroutine_for_closure(_) =>
                "coroutine_for_closure",
            TaggedQueryKey::coroutine_hidden_types(_) =>
                "coroutine_hidden_types",
            TaggedQueryKey::crate_variances(_) => "crate_variances",
            TaggedQueryKey::variances_of(_) => "variances_of",
            TaggedQueryKey::inferred_outlives_crate(_) =>
                "inferred_outlives_crate",
            TaggedQueryKey::associated_item_def_ids(_) =>
                "associated_item_def_ids",
            TaggedQueryKey::associated_item(_) => "associated_item",
            TaggedQueryKey::associated_items(_) => "associated_items",
            TaggedQueryKey::impl_item_implementor_ids(_) =>
                "impl_item_implementor_ids",
            TaggedQueryKey::associated_types_for_impl_traits_in_trait_or_impl(_)
                => "associated_types_for_impl_traits_in_trait_or_impl",
            TaggedQueryKey::impl_trait_header(_) => "impl_trait_header",
            TaggedQueryKey::impl_is_fully_generic_for_reflection(_) =>
                "impl_is_fully_generic_for_reflection",
            TaggedQueryKey::impl_self_is_guaranteed_unsized(_) =>
                "impl_self_is_guaranteed_unsized",
            TaggedQueryKey::inherent_impls(_) => "inherent_impls",
            TaggedQueryKey::incoherent_impls(_) => "incoherent_impls",
            TaggedQueryKey::check_transmutes(_) => "check_transmutes",
            TaggedQueryKey::check_offloads(_) => "check_offloads",
            TaggedQueryKey::check_unsafety(_) => "check_unsafety",
            TaggedQueryKey::check_tail_calls(_) => "check_tail_calls",
            TaggedQueryKey::assumed_wf_types(_) => "assumed_wf_types",
            TaggedQueryKey::assumed_wf_types_for_rpitit(_) =>
                "assumed_wf_types_for_rpitit",
            TaggedQueryKey::fn_sig(_) => "fn_sig",
            TaggedQueryKey::lint_mod(_) => "lint_mod",
            TaggedQueryKey::check_unused_traits(_) => "check_unused_traits",
            TaggedQueryKey::check_mod_attrs(_) => "check_mod_attrs",
            TaggedQueryKey::check_mod_unstable_api_usage(_) =>
                "check_mod_unstable_api_usage",
            TaggedQueryKey::check_mod_privacy(_) => "check_mod_privacy",
            TaggedQueryKey::check_liveness(_) => "check_liveness",
            TaggedQueryKey::live_symbols_and_ignored_derived_traits(_) =>
                "live_symbols_and_ignored_derived_traits",
            TaggedQueryKey::check_mod_deathness(_) => "check_mod_deathness",
            TaggedQueryKey::check_type_wf(_) => "check_type_wf",
            TaggedQueryKey::coerce_unsized_info(_) => "coerce_unsized_info",
            TaggedQueryKey::typeck_root(_) => "typeck_root",
            TaggedQueryKey::used_trait_imports(_) => "used_trait_imports",
            TaggedQueryKey::coherent_trait(_) => "coherent_trait",
            TaggedQueryKey::mir_borrowck(_) => "mir_borrowck",
            TaggedQueryKey::crate_inherent_impls(_) => "crate_inherent_impls",
            TaggedQueryKey::crate_inherent_impls_validity_check(_) =>
                "crate_inherent_impls_validity_check",
            TaggedQueryKey::crate_inherent_impls_overlap_check(_) =>
                "crate_inherent_impls_overlap_check",
            TaggedQueryKey::orphan_check_impl(_) => "orphan_check_impl",
            TaggedQueryKey::mir_callgraph_cyclic(_) => "mir_callgraph_cyclic",
            TaggedQueryKey::mir_inliner_callees(_) => "mir_inliner_callees",
            TaggedQueryKey::tag_for_variant(_) => "tag_for_variant",
            TaggedQueryKey::eval_to_allocation_raw(_) =>
                "eval_to_allocation_raw",
            TaggedQueryKey::eval_static_initializer(_) =>
                "eval_static_initializer",
            TaggedQueryKey::eval_to_const_value_raw(_) =>
                "eval_to_const_value_raw",
            TaggedQueryKey::eval_to_valtree(_) => "eval_to_valtree",
            TaggedQueryKey::valtree_to_const_val(_) => "valtree_to_const_val",
            TaggedQueryKey::lit_to_const(_) => "lit_to_const",
            TaggedQueryKey::check_match(_) => "check_match",
            TaggedQueryKey::effective_visibilities(_) =>
                "effective_visibilities",
            TaggedQueryKey::check_private_in_public(_) =>
                "check_private_in_public",
            TaggedQueryKey::reachable_set(_) => "reachable_set",
            TaggedQueryKey::region_scope_tree(_) => "region_scope_tree",
            TaggedQueryKey::mir_shims(_) => "mir_shims",
            TaggedQueryKey::symbol_name(_) => "symbol_name",
            TaggedQueryKey::def_kind(_) => "def_kind",
            TaggedQueryKey::def_span(_) => "def_span",
            TaggedQueryKey::def_ident_span(_) => "def_ident_span",
            TaggedQueryKey::ty_span(_) => "ty_span",
            TaggedQueryKey::lookup_stability(_) => "lookup_stability",
            TaggedQueryKey::lookup_const_stability(_) =>
                "lookup_const_stability",
            TaggedQueryKey::lookup_default_body_stability(_) =>
                "lookup_default_body_stability",
            TaggedQueryKey::should_inherit_track_caller(_) =>
                "should_inherit_track_caller",
            TaggedQueryKey::inherited_align(_) => "inherited_align",
            TaggedQueryKey::lookup_deprecation_entry(_) =>
                "lookup_deprecation_entry",
            TaggedQueryKey::is_doc_hidden(_) => "is_doc_hidden",
            TaggedQueryKey::is_doc_notable_trait(_) => "is_doc_notable_trait",
            TaggedQueryKey::attrs_for_def(_) => "attrs_for_def",
            TaggedQueryKey::codegen_fn_attrs(_) => "codegen_fn_attrs",
            TaggedQueryKey::asm_target_features(_) => "asm_target_features",
            TaggedQueryKey::fn_arg_idents(_) => "fn_arg_idents",
            TaggedQueryKey::rendered_const(_) => "rendered_const",
            TaggedQueryKey::rendered_precise_capturing_args(_) =>
                "rendered_precise_capturing_args",
            TaggedQueryKey::impl_parent(_) => "impl_parent",
            TaggedQueryKey::is_mir_available(_) => "is_mir_available",
            TaggedQueryKey::own_existential_vtable_entries(_) =>
                "own_existential_vtable_entries",
            TaggedQueryKey::vtable_entries(_) => "vtable_entries",
            TaggedQueryKey::first_method_vtable_slot(_) =>
                "first_method_vtable_slot",
            TaggedQueryKey::supertrait_vtable_slot(_) =>
                "supertrait_vtable_slot",
            TaggedQueryKey::vtable_allocation(_) => "vtable_allocation",
            TaggedQueryKey::codegen_select_candidate(_) =>
                "codegen_select_candidate",
            TaggedQueryKey::all_local_trait_impls(_) =>
                "all_local_trait_impls",
            TaggedQueryKey::local_trait_impls(_) => "local_trait_impls",
            TaggedQueryKey::trait_impls_of(_) => "trait_impls_of",
            TaggedQueryKey::specialization_graph_of(_) =>
                "specialization_graph_of",
            TaggedQueryKey::dyn_compatibility_violations(_) =>
                "dyn_compatibility_violations",
            TaggedQueryKey::is_dyn_compatible(_) => "is_dyn_compatible",
            TaggedQueryKey::param_env(_) => "param_env",
            TaggedQueryKey::param_env_normalized_for_post_analysis(_) =>
                "param_env_normalized_for_post_analysis",
            TaggedQueryKey::is_copy_raw(_) => "is_copy_raw",
            TaggedQueryKey::is_use_cloned_raw(_) => "is_use_cloned_raw",
            TaggedQueryKey::is_sized_raw(_) => "is_sized_raw",
            TaggedQueryKey::is_freeze_raw(_) => "is_freeze_raw",
            TaggedQueryKey::is_unsafe_unpin_raw(_) => "is_unsafe_unpin_raw",
            TaggedQueryKey::is_unpin_raw(_) => "is_unpin_raw",
            TaggedQueryKey::is_async_drop_raw(_) => "is_async_drop_raw",
            TaggedQueryKey::needs_drop_raw(_) => "needs_drop_raw",
            TaggedQueryKey::needs_async_drop_raw(_) => "needs_async_drop_raw",
            TaggedQueryKey::has_significant_drop_raw(_) =>
                "has_significant_drop_raw",
            TaggedQueryKey::has_structural_eq_impl(_) =>
                "has_structural_eq_impl",
            TaggedQueryKey::adt_drop_tys(_) => "adt_drop_tys",
            TaggedQueryKey::adt_async_drop_tys(_) => "adt_async_drop_tys",
            TaggedQueryKey::adt_significant_drop_tys(_) =>
                "adt_significant_drop_tys",
            TaggedQueryKey::list_significant_drop_tys(_) =>
                "list_significant_drop_tys",
            TaggedQueryKey::layout_of(_) => "layout_of",
            TaggedQueryKey::fn_abi_of_fn_ptr(_) => "fn_abi_of_fn_ptr",
            TaggedQueryKey::fn_abi_of_instance_no_deduced_attrs(_) =>
                "fn_abi_of_instance_no_deduced_attrs",
            TaggedQueryKey::fn_abi_of_instance_raw(_) =>
                "fn_abi_of_instance_raw",
            TaggedQueryKey::dylib_dependency_formats(_) =>
                "dylib_dependency_formats",
            TaggedQueryKey::dependency_formats(_) => "dependency_formats",
            TaggedQueryKey::is_compiler_builtins(_) => "is_compiler_builtins",
            TaggedQueryKey::has_global_allocator(_) => "has_global_allocator",
            TaggedQueryKey::has_alloc_error_handler(_) =>
                "has_alloc_error_handler",
            TaggedQueryKey::has_panic_handler(_) => "has_panic_handler",
            TaggedQueryKey::is_profiler_runtime(_) => "is_profiler_runtime",
            TaggedQueryKey::has_ffi_unwind_calls(_) => "has_ffi_unwind_calls",
            TaggedQueryKey::required_panic_strategy(_) =>
                "required_panic_strategy",
            TaggedQueryKey::panic_in_drop_strategy(_) =>
                "panic_in_drop_strategy",
            TaggedQueryKey::is_no_builtins(_) => "is_no_builtins",
            TaggedQueryKey::symbol_mangling_version(_) =>
                "symbol_mangling_version",
            TaggedQueryKey::extern_crate(_) => "extern_crate",
            TaggedQueryKey::specialization_enabled_in(_) =>
                "specialization_enabled_in",
            TaggedQueryKey::specializes(_) => "specializes",
            TaggedQueryKey::defaultness(_) => "defaultness",
            TaggedQueryKey::default_field(_) => "default_field",
            TaggedQueryKey::check_well_formed(_) => "check_well_formed",
            TaggedQueryKey::enforce_impl_non_lifetime_params_are_constrained(_)
                => "enforce_impl_non_lifetime_params_are_constrained",
            TaggedQueryKey::reachable_non_generics(_) =>
                "reachable_non_generics",
            TaggedQueryKey::is_reachable_non_generic(_) =>
                "is_reachable_non_generic",
            TaggedQueryKey::is_unreachable_local_definition(_) =>
                "is_unreachable_local_definition",
            TaggedQueryKey::upstream_monomorphizations(_) =>
                "upstream_monomorphizations",
            TaggedQueryKey::upstream_monomorphizations_for(_) =>
                "upstream_monomorphizations_for",
            TaggedQueryKey::upstream_drop_glue_for(_) =>
                "upstream_drop_glue_for",
            TaggedQueryKey::upstream_async_drop_glue_for(_) =>
                "upstream_async_drop_glue_for",
            TaggedQueryKey::foreign_modules(_) => "foreign_modules",
            TaggedQueryKey::clashing_extern_declarations(_) =>
                "clashing_extern_declarations",
            TaggedQueryKey::entry_fn(_) => "entry_fn",
            TaggedQueryKey::proc_macro_decls_static(_) =>
                "proc_macro_decls_static",
            TaggedQueryKey::crate_hash(_) => "crate_hash",
            TaggedQueryKey::crate_host_hash(_) => "crate_host_hash",
            TaggedQueryKey::extra_filename(_) => "extra_filename",
            TaggedQueryKey::crate_extern_paths(_) => "crate_extern_paths",
            TaggedQueryKey::implementations_of_trait(_) =>
                "implementations_of_trait",
            TaggedQueryKey::crate_incoherent_impls(_) =>
                "crate_incoherent_impls",
            TaggedQueryKey::native_library(_) => "native_library",
            TaggedQueryKey::inherit_sig_for_delegation_item(_) =>
                "inherit_sig_for_delegation_item",
            TaggedQueryKey::delegation_user_specified_args(_) =>
                "delegation_user_specified_args",
            TaggedQueryKey::resolve_bound_vars(_) => "resolve_bound_vars",
            TaggedQueryKey::named_variable_map(_) => "named_variable_map",
            TaggedQueryKey::is_late_bound_map(_) => "is_late_bound_map",
            TaggedQueryKey::object_lifetime_default(_) =>
                "object_lifetime_default",
            TaggedQueryKey::late_bound_vars_map(_) => "late_bound_vars_map",
            TaggedQueryKey::opaque_captured_lifetimes(_) =>
                "opaque_captured_lifetimes",
            TaggedQueryKey::live_args_for_alias_from_outlives_bounds(_) =>
                "live_args_for_alias_from_outlives_bounds",
            TaggedQueryKey::args_known_to_outlive_alias_params(_) =>
                "args_known_to_outlive_alias_params",
            TaggedQueryKey::visibility(_) => "visibility",
            TaggedQueryKey::inhabited_predicate_adt(_) =>
                "inhabited_predicate_adt",
            TaggedQueryKey::inhabited_predicate_type(_) =>
                "inhabited_predicate_type",
            TaggedQueryKey::is_opsem_inhabited_raw(_) =>
                "is_opsem_inhabited_raw",
            TaggedQueryKey::crate_dep_kind(_) => "crate_dep_kind",
            TaggedQueryKey::crate_name(_) => "crate_name",
            TaggedQueryKey::module_children(_) => "module_children",
            TaggedQueryKey::num_extern_def_ids(_) => "num_extern_def_ids",
            TaggedQueryKey::lib_features(_) => "lib_features",
            TaggedQueryKey::stability_implications(_) =>
                "stability_implications",
            TaggedQueryKey::intrinsic_raw(_) => "intrinsic_raw",
            TaggedQueryKey::get_lang_items(_) => "get_lang_items",
            TaggedQueryKey::all_diagnostic_items(_) => "all_diagnostic_items",
            TaggedQueryKey::all_canonical_symbols(_) =>
                "all_canonical_symbols",
            TaggedQueryKey::defined_lang_items(_) => "defined_lang_items",
            TaggedQueryKey::diagnostic_items(_) => "diagnostic_items",
            TaggedQueryKey::canonical_symbols(_) => "canonical_symbols",
            TaggedQueryKey::missing_lang_items(_) => "missing_lang_items",
            TaggedQueryKey::visible_parent_map(_) => "visible_parent_map",
            TaggedQueryKey::trimmed_def_paths(_) => "trimmed_def_paths",
            TaggedQueryKey::missing_extern_crate_item(_) =>
                "missing_extern_crate_item",
            TaggedQueryKey::used_crate_source(_) => "used_crate_source",
            TaggedQueryKey::debugger_visualizers(_) => "debugger_visualizers",
            TaggedQueryKey::postorder_cnums(_) => "postorder_cnums",
            TaggedQueryKey::is_private_dep(_) => "is_private_dep",
            TaggedQueryKey::allocator_kind(_) => "allocator_kind",
            TaggedQueryKey::alloc_error_handler_kind(_) =>
                "alloc_error_handler_kind",
            TaggedQueryKey::upvars_mentioned(_) => "upvars_mentioned",
            TaggedQueryKey::crates(_) => "crates",
            TaggedQueryKey::used_crates(_) => "used_crates",
            TaggedQueryKey::duplicate_crate_names(_) =>
                "duplicate_crate_names",
            TaggedQueryKey::traits(_) => "traits",
            TaggedQueryKey::trait_impls_in_crate(_) => "trait_impls_in_crate",
            TaggedQueryKey::stable_order_of_exportable_impls(_) =>
                "stable_order_of_exportable_impls",
            TaggedQueryKey::exportable_items(_) => "exportable_items",
            TaggedQueryKey::exported_non_generic_symbols(_) =>
                "exported_non_generic_symbols",
            TaggedQueryKey::exported_generic_symbols(_) =>
                "exported_generic_symbols",
            TaggedQueryKey::collect_and_partition_mono_items(_) =>
                "collect_and_partition_mono_items",
            TaggedQueryKey::is_codegened_item(_) => "is_codegened_item",
            TaggedQueryKey::codegen_unit(_) => "codegen_unit",
            TaggedQueryKey::backend_optimization_level(_) =>
                "backend_optimization_level",
            TaggedQueryKey::output_filenames(_) => "output_filenames",
            TaggedQueryKey::normalize_canonicalized_projection(_) =>
                "normalize_canonicalized_projection",
            TaggedQueryKey::normalize_canonicalized_free_alias(_) =>
                "normalize_canonicalized_free_alias",
            TaggedQueryKey::normalize_canonicalized_inherent_projection(_) =>
                "normalize_canonicalized_inherent_projection",
            TaggedQueryKey::try_normalize_generic_arg_after_erasing_regions(_)
                => "try_normalize_generic_arg_after_erasing_regions",
            TaggedQueryKey::implied_outlives_bounds(_) =>
                "implied_outlives_bounds",
            TaggedQueryKey::mir_borrowck_implied_outlives_bounds(_) =>
                "mir_borrowck_implied_outlives_bounds",
            TaggedQueryKey::dropck_outlives(_) => "dropck_outlives",
            TaggedQueryKey::evaluate_obligation(_) => "evaluate_obligation",
            TaggedQueryKey::type_op_ascribe_user_type(_) =>
                "type_op_ascribe_user_type",
            TaggedQueryKey::type_op_prove_predicate(_) =>
                "type_op_prove_predicate",
            TaggedQueryKey::type_op_normalize_ty(_) => "type_op_normalize_ty",
            TaggedQueryKey::type_op_normalize_clause(_) =>
                "type_op_normalize_clause",
            TaggedQueryKey::type_op_normalize_poly_fn_sig(_) =>
                "type_op_normalize_poly_fn_sig",
            TaggedQueryKey::type_op_normalize_fn_sig(_) =>
                "type_op_normalize_fn_sig",
            TaggedQueryKey::instantiate_and_check_impossible_clauses(_) =>
                "instantiate_and_check_impossible_clauses",
            TaggedQueryKey::is_impossible_associated_item(_) =>
                "is_impossible_associated_item",
            TaggedQueryKey::method_autoderef_steps(_) =>
                "method_autoderef_steps",
            TaggedQueryKey::evaluate_root_goal_for_proof_tree_raw(_) =>
                "evaluate_root_goal_for_proof_tree_raw",
            TaggedQueryKey::all_rust_target_features(_) =>
                "all_rust_target_features",
            TaggedQueryKey::implied_target_features(_) =>
                "implied_target_features",
            TaggedQueryKey::features_query(_) => "features_query",
            TaggedQueryKey::crate_for_resolver(_) => "crate_for_resolver",
            TaggedQueryKey::resolve_instance_raw(_) => "resolve_instance_raw",
            TaggedQueryKey::reveal_opaque_types_in_bounds(_) =>
                "reveal_opaque_types_in_bounds",
            TaggedQueryKey::limits(_) => "limits",
            TaggedQueryKey::diagnostic_hir_wf_check(_) =>
                "diagnostic_hir_wf_check",
            TaggedQueryKey::global_backend_features(_) =>
                "global_backend_features",
            TaggedQueryKey::check_validity_requirement(_) =>
                "check_validity_requirement",
            TaggedQueryKey::compare_impl_item(_) => "compare_impl_item",
            TaggedQueryKey::deduced_param_attrs(_) => "deduced_param_attrs",
            TaggedQueryKey::doc_link_resolutions(_) => "doc_link_resolutions",
            TaggedQueryKey::doc_link_traits_in_scope(_) =>
                "doc_link_traits_in_scope",
            TaggedQueryKey::stripped_cfg_items(_) => "stripped_cfg_items",
            TaggedQueryKey::generics_require_sized_self(_) =>
                "generics_require_sized_self",
            TaggedQueryKey::cross_crate_inlinable(_) =>
                "cross_crate_inlinable",
            TaggedQueryKey::check_mono_item(_) => "check_mono_item",
            TaggedQueryKey::items_of_instance(_) => "items_of_instance",
            TaggedQueryKey::size_estimate(_) => "size_estimate",
            TaggedQueryKey::anon_const_kind(_) => "anon_const_kind",
            TaggedQueryKey::trivial_const(_) => "trivial_const",
            TaggedQueryKey::sanitizer_settings_for(_) =>
                "sanitizer_settings_for",
            TaggedQueryKey::check_externally_implementable_items(_) =>
                "check_externally_implementable_items",
            TaggedQueryKey::externally_implementable_items(_) =>
                "externally_implementable_items",
        }
    }
    /// Formats a human-readable description of this query and its key, as
    /// specified by the `desc` query modifier.
    ///
    /// Used when reporting query cycle errors and similar problems.
    pub fn description(&self, tcx: TyCtxt<'tcx>) -> String {
        let (name, description) =
            {
                {
                    let _guard = ReducedQueriesGuard::new();
                    {
                        let _guard = ForcedImplGuard::new();
                        {
                            let _guard = NoTrimmedGuard::new();
                            {
                                let _guard = NoVisibleGuard::new();
                                match self {
                                    TaggedQueryKey::derive_macro_expansion(key) =>
                                        ("derive_macro_expansion",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: (LocalExpnId, &'tcx TokenStream)|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("expanding a derive (proc) macro"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::trigger_delayed_bug(key) =>
                                        ("trigger_delayed_bug",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("triggering a delayed bug for testing incremental"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::registered_attr_tools(key) =>
                                        ("registered_attr_tools",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("compute registered attribute tools for crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::registered_lint_tools(key) =>
                                        ("registered_lint_tools",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("compute registered lint tools for crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::early_lint_checks(key) =>
                                        ("early_lint_checks",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("perform lints prior to AST lowering"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::env_var_os(key) =>
                                        ("env_var_os",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: &'tcx OsStr|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("get the value of an environment variable"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::resolutions(key) =>
                                        ("resolutions",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting the resolver outputs"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::resolver_for_lowering_raw(key) =>
                                        ("resolver_for_lowering_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting the resolver for lowering"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::index_ast(key) =>
                                        ("index_ast",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting the AST for lowering"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::source_span(key) =>
                                        ("source_span",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting the source span"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::lower_to_hir(key) =>
                                        ("lower_to_hir",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("lowering HIR for `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::hir_owner(key) =>
                                        ("hir_owner",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting owner for `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::hir_crate_items(key) =>
                                        ("hir_crate_items",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting HIR crate items"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::hir_module_items(key) =>
                                        ("hir_module_items",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalModId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting HIR module items in `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::hir_owner_parent_q(key) =>
                                        ("hir_owner_parent_q",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: hir::OwnerId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting HIR parent of `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::hir_attr_map(key) =>
                                        ("hir_attr_map",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: hir::OwnerId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting HIR owner attributes in `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::const_param_default(key) =>
                                        ("const_param_default",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, param: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the default for const parameter `{0}`",
                                                                            tcx.def_path_str(param)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::const_of_item(key) =>
                                        ("const_of_item",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the type-level value for `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::type_of(key) =>
                                        ("type_of",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("{0} `{1}`",
                                                                            match tcx.def_kind(key) {
                                                                                DefKind::TyAlias => "expanding type alias",
                                                                                DefKind::TraitAlias => "expanding trait alias",
                                                                                _ => "computing type of",
                                                                            }, tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::type_of_opaque(key) =>
                                        ("type_of_opaque",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing type of opaque `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::type_of_opaque_hir_typeck(key) =>
                                        ("type_of_opaque_hir_typeck",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing type of opaque `{0}` via HIR typeck",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::type_alias_is_checked(key) =>
                                        ("type_alias_is_checked",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing whether the type alias `{0}` is checked",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::collect_return_position_impl_trait_in_trait_tys(key)
                                        =>
                                        ("collect_return_position_impl_trait_in_trait_tys",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("comparing an impl and trait method signature, inferring any hidden `impl Trait` types in the process"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::opaque_ty_origin(key) =>
                                        ("opaque_ty_origin",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("determine where the opaque originates from"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::unsizing_params_for_adt(key) =>
                                        ("unsizing_params_for_adt",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("determining what parameters of `{0}` can participate in unsizing",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::analysis(key) =>
                                        ("analysis",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("running analysis passes on crate `{0}`",
                                                                            tcx.crate_name(LOCAL_CRATE)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_expectations(key) =>
                                        ("check_expectations",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: Option<Symbol>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking lint expectations (RFC 2383)"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::generics_of(key) =>
                                        ("generics_of",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing generics of `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::clauses_of(key) =>
                                        ("clauses_of",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing clauses of `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::opaque_types_defined_by(key) =>
                                        ("opaque_types_defined_by",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the opaque types defined by `{0}`",
                                                                            tcx.def_path_str(key.to_def_id())))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::nested_bodies_within(key) =>
                                        ("nested_bodies_within",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the coroutines defined within `{0}`",
                                                                            tcx.def_path_str(key.to_def_id())))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::explicit_item_bounds(key) =>
                                        ("explicit_item_bounds",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("finding item bounds for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::explicit_item_self_bounds(key) =>
                                        ("explicit_item_self_bounds",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("finding item bounds for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::item_bounds(key) =>
                                        ("item_bounds",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("elaborating item bounds for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::item_self_bounds(key) =>
                                        ("item_self_bounds",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("elaborating item assumptions for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::item_non_self_bounds(key) =>
                                        ("item_non_self_bounds",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("elaborating item assumptions for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::impl_super_outlives(key) =>
                                        ("impl_super_outlives",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("elaborating supertrait outlives for trait of `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::native_libraries(key) =>
                                        ("native_libraries",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up the native libraries of a linked crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::shallow_lint_levels_on(key) =>
                                        ("shallow_lint_levels_on",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: hir::OwnerId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up lint levels for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::lint_expectations(key) =>
                                        ("lint_expectations",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing `#[expect]`ed lints in this crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::skippable_lints(key) =>
                                        ("skippable_lints",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("Computing all lints that are explicitly enabled or with a default level greater than Allow"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::expn_that_defined(key) =>
                                        ("expn_that_defined",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting the expansion that defined `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_panic_runtime(key) =>
                                        ("is_panic_runtime",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking if the crate is_panic_runtime"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_representability(key) =>
                                        ("check_representability",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking if `{0}` is representable",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_representability_adt_ty(key) =>
                                        ("check_representability_adt_ty",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: Ty<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking if `{0}` is representable",
                                                                            key))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::params_in_repr(key) =>
                                        ("params_in_repr",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("finding type parameters in the representation"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::thir_body(key) =>
                                        ("thir_body",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("building THIR for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::mir_keys(key) =>
                                        ("mir_keys",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting a list of all mir_keys"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::mir_const_qualif(key) =>
                                        ("mir_const_qualif",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("const checking `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::mir_built(key) =>
                                        ("mir_built",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("building MIR for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::thir_abstract_const(key) =>
                                        ("thir_abstract_const",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("building an abstract representation for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::mir_drops_elaborated_and_const_checked(key)
                                        =>
                                        ("mir_drops_elaborated_and_const_checked",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("elaborating drops for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::mir_for_ctfe(key) =>
                                        ("mir_for_ctfe",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("caching mir of `{0}` for CTFE",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::mir_promoted(key) =>
                                        ("mir_promoted",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("promoting constants in MIR for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::closure_typeinfo(key) =>
                                        ("closure_typeinfo",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("finding symbols for captures of closure `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::closure_saved_names_of_captured_variables(key)
                                        =>
                                        ("closure_saved_names_of_captured_variables",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing debuginfo for closure `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::mir_coroutine_witnesses(key) =>
                                        ("mir_coroutine_witnesses",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("coroutine witness types for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_coroutine_obligations(key) =>
                                        ("check_coroutine_obligations",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("verify auto trait bounds for coroutine interior type `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_potentially_region_dependent_goals(key)
                                        =>
                                        ("check_potentially_region_dependent_goals",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("reproving potentially region dependent HIR typeck goals for `{0}",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::optimized_mir(key) =>
                                        ("optimized_mir",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("optimizing MIR for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_eligible_for_coverage(key) =>
                                        ("is_eligible_for_coverage",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking whether `{0}` is eligible for coverage",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::coverage_attr_on(key) =>
                                        ("coverage_attr_on",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking for `#[coverage(..)]` on `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::coverage_codegen_info(key) =>
                                        ("coverage_codegen_info",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: ty::InstanceKind<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("retrieving coverage codegen info from MIR for `{0}`",
                                                                            tcx.def_path_str(key.def_id())))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::promoted_mir(key) =>
                                        ("promoted_mir",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("optimizing promoted MIR for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::erase_and_anonymize_regions_ty(key) =>
                                        ("erase_and_anonymize_regions_ty",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, ty: Ty<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("erasing regions from `{0}`",
                                                                            ty))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::wasm_import_module_map(key) =>
                                        ("wasm_import_module_map",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting wasm import module map"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::trait_explicit_clauses_and_bounds(key) =>
                                        ("trait_explicit_clauses_and_bounds",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing explicit clauses of trait `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::explicit_clauses_of(key) =>
                                        ("explicit_clauses_of",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing explicit predicates of `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::inferred_outlives_of(key) =>
                                        ("inferred_outlives_of",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing inferred outlives-clauses of `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::explicit_super_clauses_of(key) =>
                                        ("explicit_super_clauses_of",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the super clauses of `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::explicit_implied_clauses_of(key) =>
                                        ("explicit_implied_clauses_of",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the implied clauses of `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::explicit_supertraits_containing_assoc_item(key)
                                        =>
                                        ("explicit_supertraits_containing_assoc_item",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: (DefId, rustc_span::Ident)|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the super traits of `{0}` with associated type name `{1}`",
                                                                            tcx.def_path_str(key.0), key.1))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::const_conditions(key) =>
                                        ("const_conditions",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the conditions for `{0}` to be considered const",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::explicit_implied_const_bounds(key) =>
                                        ("explicit_implied_const_bounds",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the implied `[const]` bounds for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::type_param_clauses(key) =>
                                        ("type_param_clauses",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key: (LocalDefId, LocalDefId, rustc_span::Ident)|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the bounds for type parameter `{0}`",
                                                                            tcx.hir_ty_param_name(key.1)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::trait_def(key) =>
                                        ("trait_def",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing trait definition for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::adt_def(key) =>
                                        ("adt_def",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing ADT definition for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::adt_destructor(key) =>
                                        ("adt_destructor",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing `Drop` impl for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::adt_async_destructor(key) =>
                                        ("adt_async_destructor",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing `AsyncDrop` impl for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::adt_sizedness_constraint(key) =>
                                        ("adt_sizedness_constraint",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: (DefId, SizedTraitKind)|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the sizedness constraint for `{0}`",
                                                                            tcx.def_path_str(key.0)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::adt_dtorck_constraint(key) =>
                                        ("adt_dtorck_constraint",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing drop-check constraints for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::constness(key) =>
                                        ("constness",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking if item is const: `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::asyncness(key) =>
                                        ("asyncness",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking if the function is async: `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_promotable_const_fn(key) =>
                                        ("is_promotable_const_fn",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking if item is promotable: `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::coroutine_by_move_body_def_id(key) =>
                                        ("coroutine_by_move_body_def_id",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up the coroutine by-move body for `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::coroutine_kind(key) =>
                                        ("coroutine_kind",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up coroutine kind of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::coroutine_for_closure(key) =>
                                        ("coroutine_for_closure",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("Given a coroutine-closure def id, return the def id of the coroutine returned by it"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::coroutine_hidden_types(key) =>
                                        ("coroutine_hidden_types",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up the hidden types stored across await points in a coroutine"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::crate_variances(key) =>
                                        ("crate_variances",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the variances for items in this crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::variances_of(key) =>
                                        ("variances_of",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the variances of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::inferred_outlives_crate(key) =>
                                        ("inferred_outlives_crate",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the inferred outlives-clauses for items in this crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::associated_item_def_ids(key) =>
                                        ("associated_item_def_ids",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("collecting associated items or fields of `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::associated_item(key) =>
                                        ("associated_item",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing associated item data for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::associated_items(key) =>
                                        ("associated_items",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("collecting associated items of `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::impl_item_implementor_ids(key) =>
                                        ("impl_item_implementor_ids",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, impl_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("comparing impl items against trait for `{0}`",
                                                                            tcx.def_path_str(impl_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::associated_types_for_impl_traits_in_trait_or_impl(key)
                                        =>
                                        ("associated_types_for_impl_traits_in_trait_or_impl",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, item_def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("synthesizing RPITIT items for the opaque types for methods in `{0}`",
                                                                            tcx.def_path_str(item_def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::impl_trait_header(key) =>
                                        ("impl_trait_header",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, impl_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing trait implemented by `{0}`",
                                                                            tcx.def_path_str(impl_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::impl_is_fully_generic_for_reflection(key) =>
                                        ("impl_is_fully_generic_for_reflection",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, impl_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing trait implemented by `{0}`",
                                                                            tcx.def_path_str(impl_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::impl_self_is_guaranteed_unsized(key) =>
                                        ("impl_self_is_guaranteed_unsized",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, impl_def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing whether `{0}` has a guaranteed unsized self type",
                                                                            tcx.def_path_str(impl_def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::inherent_impls(key) =>
                                        ("inherent_impls",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("collecting inherent impls for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::incoherent_impls(key) =>
                                        ("incoherent_impls",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: SimplifiedType|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("collecting all inherent impls for `{0:?}`",
                                                                            key))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_transmutes(key) =>
                                        ("check_transmutes",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("check transmute calls inside `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_offloads(key) =>
                                        ("check_offloads",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("check offload calls inside `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_unsafety(key) =>
                                        ("check_unsafety",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("unsafety-checking `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_tail_calls(key) =>
                                        ("check_tail_calls",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("tail-call-checking `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::assumed_wf_types(key) =>
                                        ("assumed_wf_types",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the implied bounds of `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::assumed_wf_types_for_rpitit(key) =>
                                        ("assumed_wf_types_for_rpitit",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the implied bounds of `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::fn_sig(key) =>
                                        ("fn_sig",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing function signature of `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::lint_mod(key) =>
                                        ("lint_mod",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalModId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("linting {0}",
                                                                            describe_as_module(key, tcx)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_unused_traits(key) =>
                                        ("check_unused_traits",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking unused trait imports in crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_mod_attrs(key) =>
                                        ("check_mod_attrs",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalModId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking attributes in {0}",
                                                                            describe_as_module(key, tcx)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_mod_unstable_api_usage(key) =>
                                        ("check_mod_unstable_api_usage",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalModId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking for unstable API usage in {0}",
                                                                            describe_as_module(key, tcx)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_mod_privacy(key) =>
                                        ("check_mod_privacy",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalModId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking privacy in {0}",
                                                                            describe_as_module(key.to_local_def_id(), tcx)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_liveness(key) =>
                                        ("check_liveness",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking liveness of variables in `{0}`",
                                                                            tcx.def_path_str(key.to_def_id())))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::live_symbols_and_ignored_derived_traits(key)
                                        =>
                                        ("live_symbols_and_ignored_derived_traits",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("finding live symbols in crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_mod_deathness(key) =>
                                        ("check_mod_deathness",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalModId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking deathness of variables in {0}",
                                                                            describe_as_module(key, tcx)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_type_wf(key) =>
                                        ("check_type_wf",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking that types are well-formed"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::coerce_unsized_info(key) =>
                                        ("coerce_unsized_info",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing CoerceUnsized info for `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::typeck_root(key) =>
                                        ("typeck_root",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("type-checking `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::used_trait_imports(key) =>
                                        ("used_trait_imports",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("finding used_trait_imports `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::coherent_trait(key) =>
                                        ("coherent_trait",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("coherence checking all impls of trait `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::mir_borrowck(key) =>
                                        ("mir_borrowck",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("borrow-checking `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::crate_inherent_impls(key) =>
                                        ("crate_inherent_impls",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, k: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("finding all inherent impls defined in crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::crate_inherent_impls_validity_check(key) =>
                                        ("crate_inherent_impls_validity_check",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("check for inherent impls that should not be defined in crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::crate_inherent_impls_overlap_check(key) =>
                                        ("crate_inherent_impls_overlap_check",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("check for overlap between inherent impls defined in this crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::orphan_check_impl(key) =>
                                        ("orphan_check_impl",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking whether impl `{0}` follows the orphan rules",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::mir_callgraph_cyclic(key) =>
                                        ("mir_callgraph_cyclic",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing (transitive) callees of `{0}` that may recurse",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::mir_inliner_callees(key) =>
                                        ("mir_inliner_callees",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: ty::InstanceKind<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing all local function calls in `{0}`",
                                                                            tcx.def_path_str(key.def_id())))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::tag_for_variant(key) =>
                                        ("tag_for_variant",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key:
                                                                PseudoCanonicalInput<'tcx, (Ty<'tcx>, abi::VariantIdx)>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing variant tag for enum"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::eval_to_allocation_raw(key) =>
                                        ("eval_to_allocation_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("const-evaluating + checking `{0}`",
                                                                            key.value.display(tcx)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::eval_static_initializer(key) =>
                                        ("eval_static_initializer",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("evaluating initializer of static `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::eval_to_const_value_raw(key) =>
                                        ("eval_to_const_value_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("simplifying constant for the type system `{0}`",
                                                                            key.value.display(tcx)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::eval_to_valtree(key) =>
                                        ("eval_to_valtree",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("evaluating type-level constant"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::valtree_to_const_val(key) =>
                                        ("valtree_to_const_val",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: ty::Value<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("converting type-level constant value to MIR constant value"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::lit_to_const(key) =>
                                        ("lit_to_const",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LitToConstInput<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("converting literal to const"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_match(key) =>
                                        ("check_match",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("match-checking `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::effective_visibilities(key) =>
                                        ("effective_visibilities",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking effective visibilities"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_private_in_public(key) =>
                                        ("check_private_in_public",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, module_def_id: LocalModId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking for private elements in public interfaces for {0}",
                                                                            describe_as_module(module_def_id, tcx)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::reachable_set(key) =>
                                        ("reachable_set",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("reachability"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::region_scope_tree(key) =>
                                        ("region_scope_tree",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing drop scopes for `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::mir_shims(key) =>
                                        ("mir_shims",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: ty::ShimKind<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("generating MIR shim for `{0}`, kind={1:?}",
                                                                            tcx.def_path_str(key.def_id()), key))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::symbol_name(key) =>
                                        ("symbol_name",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: ty::Instance<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the symbol for `{0}`",
                                                                            key))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::def_kind(key) =>
                                        ("def_kind",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up definition kind of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::def_span(key) =>
                                        ("def_span",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up span for `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::def_ident_span(key) =>
                                        ("def_ident_span",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up span for `{0}`\'s identifier",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::ty_span(key) =>
                                        ("ty_span",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up span for `{0}`\'s type",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::lookup_stability(key) =>
                                        ("lookup_stability",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up stability of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::lookup_const_stability(key) =>
                                        ("lookup_const_stability",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up const stability of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::lookup_default_body_stability(key) =>
                                        ("lookup_default_body_stability",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up default body stability of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::should_inherit_track_caller(key) =>
                                        ("should_inherit_track_caller",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing should_inherit_track_caller of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::inherited_align(key) =>
                                        ("inherited_align",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing inherited_align of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::lookup_deprecation_entry(key) =>
                                        ("lookup_deprecation_entry",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking whether `{0}` is deprecated",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_doc_hidden(key) =>
                                        ("is_doc_hidden",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking whether `{0}` is `doc(hidden)`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_doc_notable_trait(key) =>
                                        ("is_doc_notable_trait",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking whether `{0}` is `doc(notable_trait)`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::attrs_for_def(key) =>
                                        ("attrs_for_def",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("collecting attributes of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::codegen_fn_attrs(key) =>
                                        ("codegen_fn_attrs",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing codegen attributes of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::asm_target_features(key) =>
                                        ("asm_target_features",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing target features for inline asm of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::fn_arg_idents(key) =>
                                        ("fn_arg_idents",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up function parameter identifiers for `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::rendered_const(key) =>
                                        ("rendered_const",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("rendering constant initializer of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::rendered_precise_capturing_args(key) =>
                                        ("rendered_precise_capturing_args",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("rendering precise capturing args for `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::impl_parent(key) =>
                                        ("impl_parent",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing specialization parent impl of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_mir_available(key) =>
                                        ("is_mir_available",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking if item has MIR available: `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::own_existential_vtable_entries(key) =>
                                        ("own_existential_vtable_entries",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("finding all existential vtable entries for trait `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::vtable_entries(key) =>
                                        ("vtable_entries",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: ty::TraitRef<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("finding all vtable entries for trait `{0}`",
                                                                            tcx.def_path_str(key.def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::first_method_vtable_slot(key) =>
                                        ("first_method_vtable_slot",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: ty::TraitRef<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("finding the slot within the vtable of `{0}` for the implementation of `{1}`",
                                                                            key.self_ty(), key.print_only_trait_name()))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::supertrait_vtable_slot(key) =>
                                        ("supertrait_vtable_slot",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: (Ty<'tcx>, Ty<'tcx>)|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("finding the slot within vtable for trait object `{0}` vtable ptr during trait upcasting coercion from `{1}` vtable",
                                                                            key.1, key.0))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::vtable_allocation(key) =>
                                        ("vtable_allocation",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key: (Ty<'tcx>, Option<ty::ExistentialTraitRef<'tcx>>)|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("vtable const allocation for <{0} as {1}>",
                                                                            key.0,
                                                                            key.1.map(|trait_ref|
                                                                                        ::alloc::__export::must_use({
                                                                                                ::alloc::fmt::format(format_args!("{0}", trait_ref))
                                                                                            })).unwrap_or_else(|| "_".to_owned())))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::codegen_select_candidate(key) =>
                                        ("codegen_select_candidate",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key: PseudoCanonicalInput<'tcx, ty::TraitRef<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing candidate for `{0}`",
                                                                            key.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::all_local_trait_impls(key) =>
                                        ("all_local_trait_impls",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("finding local trait impls"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::local_trait_impls(key) =>
                                        ("local_trait_impls",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, trait_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("finding local trait impls of `{0}`",
                                                                            tcx.def_path_str(trait_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::trait_impls_of(key) =>
                                        ("trait_impls_of",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, trait_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("finding trait impls of `{0}`",
                                                                            tcx.def_path_str(trait_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::specialization_graph_of(key) =>
                                        ("specialization_graph_of",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, trait_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("building specialization graph of trait `{0}`",
                                                                            tcx.def_path_str(trait_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::dyn_compatibility_violations(key) =>
                                        ("dyn_compatibility_violations",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, trait_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("determining dyn-compatibility of trait `{0}`",
                                                                            tcx.def_path_str(trait_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_dyn_compatible(key) =>
                                        ("is_dyn_compatible",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, trait_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking if trait `{0}` is dyn-compatible",
                                                                            tcx.def_path_str(trait_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::param_env(key) =>
                                        ("param_env",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing normalized predicates of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::param_env_normalized_for_post_analysis(key)
                                        =>
                                        ("param_env_normalized_for_post_analysis",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing revealed normalized predicates of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_copy_raw(key) =>
                                        ("is_copy_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing whether `{0}` is `Copy`",
                                                                            env.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_use_cloned_raw(key) =>
                                        ("is_use_cloned_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing whether `{0}` is `UseCloned`",
                                                                            env.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_sized_raw(key) =>
                                        ("is_sized_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing whether `{0}` is `Sized`",
                                                                            env.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_freeze_raw(key) =>
                                        ("is_freeze_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing whether `{0}` is freeze",
                                                                            env.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_unsafe_unpin_raw(key) =>
                                        ("is_unsafe_unpin_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing whether `{0}` is `UnsafeUnpin`",
                                                                            env.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_unpin_raw(key) =>
                                        ("is_unpin_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing whether `{0}` is `Unpin`",
                                                                            env.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_async_drop_raw(key) =>
                                        ("is_async_drop_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing whether `{0}` is `AsyncDrop`",
                                                                            env.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::needs_drop_raw(key) =>
                                        ("needs_drop_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing whether `{0}` needs drop",
                                                                            env.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::needs_async_drop_raw(key) =>
                                        ("needs_async_drop_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing whether `{0}` needs async drop",
                                                                            env.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::has_significant_drop_raw(key) =>
                                        ("has_significant_drop_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing whether `{0}` has a significant drop",
                                                                            env.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::has_structural_eq_impl(key) =>
                                        ("has_structural_eq_impl",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, ty: Ty<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing whether `{0}` implements `StructuralPartialEq`",
                                                                            ty))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::adt_drop_tys(key) =>
                                        ("adt_drop_tys",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing when `{0}` needs drop",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::adt_async_drop_tys(key) =>
                                        ("adt_async_drop_tys",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing when `{0}` needs async drop",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::adt_significant_drop_tys(key) =>
                                        ("adt_significant_drop_tys",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing when `{0}` has a significant destructor",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::list_significant_drop_tys(key) =>
                                        ("list_significant_drop_tys",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            ty: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing when `{0}` has a significant destructor",
                                                                            ty.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::layout_of(key) =>
                                        ("layout_of",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing layout of `{0}`",
                                                                            key.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::fn_abi_of_fn_ptr(key) =>
                                        ("fn_abi_of_fn_ptr",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key:
                                                                ty::PseudoCanonicalInput<'tcx,
                                                                (ty::PolyFnSig<'tcx>, &'tcx ty::List<Ty<'tcx>>)>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing call ABI of `{0}` function pointers",
                                                                            key.value.0))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::fn_abi_of_instance_no_deduced_attrs(key) =>
                                        ("fn_abi_of_instance_no_deduced_attrs",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key:
                                                                ty::PseudoCanonicalInput<'tcx,
                                                                (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing unadjusted call ABI of `{0}`",
                                                                            key.value.0))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::fn_abi_of_instance_raw(key) =>
                                        ("fn_abi_of_instance_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key:
                                                                ty::PseudoCanonicalInput<'tcx,
                                                                (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing call ABI of `{0}`",
                                                                            key.value.0))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::dylib_dependency_formats(key) =>
                                        ("dylib_dependency_formats",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting dylib dependency formats of crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::dependency_formats(key) =>
                                        ("dependency_formats",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting the linkage format of all dependencies"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_compiler_builtins(key) =>
                                        ("is_compiler_builtins",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking if the crate is_compiler_builtins"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::has_global_allocator(key) =>
                                        ("has_global_allocator",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking if the crate has_global_allocator"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::has_alloc_error_handler(key) =>
                                        ("has_alloc_error_handler",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking if the crate has_alloc_error_handler"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::has_panic_handler(key) =>
                                        ("has_panic_handler",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking if the crate has_panic_handler"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_profiler_runtime(key) =>
                                        ("is_profiler_runtime",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking if a crate is `#![profiler_runtime]`"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::has_ffi_unwind_calls(key) =>
                                        ("has_ffi_unwind_calls",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking if `{0}` contains FFI-unwind calls",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::required_panic_strategy(key) =>
                                        ("required_panic_strategy",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting a crate\'s required panic strategy"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::panic_in_drop_strategy(key) =>
                                        ("panic_in_drop_strategy",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting a crate\'s configured panic-in-drop strategy"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_no_builtins(key) =>
                                        ("is_no_builtins",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting whether a crate has `#![no_builtins]`"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::symbol_mangling_version(key) =>
                                        ("symbol_mangling_version",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting a crate\'s symbol mangling version"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::extern_crate(key) =>
                                        ("extern_crate",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting crate\'s ExternCrateData"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::specialization_enabled_in(key) =>
                                        ("specialization_enabled_in",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, cnum: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking whether the crate enabled `specialization`/`min_specialization`"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::specializes(key) =>
                                        ("specializes",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: (DefId, DefId)|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing whether impls specialize one another"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::defaultness(key) =>
                                        ("defaultness",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up whether `{0}` has `default`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::default_field(key) =>
                                        ("default_field",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up the `const` corresponding to the default for `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_well_formed(key) =>
                                        ("check_well_formed",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking that `{0}` is well-formed",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::enforce_impl_non_lifetime_params_are_constrained(key)
                                        =>
                                        ("enforce_impl_non_lifetime_params_are_constrained",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking that `{0}`\'s generics are constrained by the impl header",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::reachable_non_generics(key) =>
                                        ("reachable_non_generics",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up the exported symbols of a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_reachable_non_generic(key) =>
                                        ("is_reachable_non_generic",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking whether `{0}` is an exported symbol",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_unreachable_local_definition(key) =>
                                        ("is_unreachable_local_definition",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking whether `{0}` is reachable from outside the crate",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::upstream_monomorphizations(key) =>
                                        ("upstream_monomorphizations",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("collecting available upstream monomorphizations"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::upstream_monomorphizations_for(key) =>
                                        ("upstream_monomorphizations_for",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("collecting available upstream monomorphizations for `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::upstream_drop_glue_for(key) =>
                                        ("upstream_drop_glue_for",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, args: GenericArgsRef<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("available upstream drop-glue for `{0:?}`",
                                                                            args))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::upstream_async_drop_glue_for(key) =>
                                        ("upstream_async_drop_glue_for",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, args: GenericArgsRef<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("available upstream async-drop-glue for `{0:?}`",
                                                                            args))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::foreign_modules(key) =>
                                        ("foreign_modules",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up the foreign modules of a linked crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::clashing_extern_declarations(key) =>
                                        ("clashing_extern_declarations",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking `extern fn` declarations are compatible"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::entry_fn(key) =>
                                        ("entry_fn",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up the entry function of a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::proc_macro_decls_static(key) =>
                                        ("proc_macro_decls_static",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up the proc macro declarations for a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::crate_hash(key) =>
                                        ("crate_hash",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up the hash of a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::crate_host_hash(key) =>
                                        ("crate_host_hash",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up the hash of a host version of a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::extra_filename(key) =>
                                        ("extra_filename",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up the extra filename for a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::crate_extern_paths(key) =>
                                        ("crate_extern_paths",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up the paths for extern crates"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::implementations_of_trait(key) =>
                                        ("implementations_of_trait",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: (CrateNum, DefId)|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up implementations of a trait in a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::crate_incoherent_impls(key) =>
                                        ("crate_incoherent_impls",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: (CrateNum, SimplifiedType)|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("collecting all impls for a type in a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::native_library(key) =>
                                        ("native_library",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting the native library for `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::inherit_sig_for_delegation_item(key) =>
                                        ("inherit_sig_for_delegation_item",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("inheriting delegation signature"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::delegation_user_specified_args(key) =>
                                        ("delegation_user_specified_args",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting delegation user-specified args"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::resolve_bound_vars(key) =>
                                        ("resolve_bound_vars",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, owner_id: hir::OwnerId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("resolving lifetimes for `{0}`",
                                                                            tcx.def_path_str(owner_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::named_variable_map(key) =>
                                        ("named_variable_map",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, owner_id: hir::OwnerId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up a named region inside `{0}`",
                                                                            tcx.def_path_str(owner_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_late_bound_map(key) =>
                                        ("is_late_bound_map",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, owner_id: hir::OwnerId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("testing if a region is late bound inside `{0}`",
                                                                            tcx.def_path_str(owner_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::object_lifetime_default(key) =>
                                        ("object_lifetime_default",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up lifetime defaults for type parameter `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::late_bound_vars_map(key) =>
                                        ("late_bound_vars_map",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, owner_id: hir::OwnerId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up late bound vars inside `{0}`",
                                                                            tcx.def_path_str(owner_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::opaque_captured_lifetimes(key) =>
                                        ("opaque_captured_lifetimes",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("listing captured lifetimes for opaque `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::live_args_for_alias_from_outlives_bounds(key)
                                        =>
                                        ("live_args_for_alias_from_outlives_bounds",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, kind: ty::AliasTyKind<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("identifying live args for alias `{0:?}`",
                                                                            kind))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::args_known_to_outlive_alias_params(key) =>
                                        ("args_known_to_outlive_alias_params",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the args known to outlive each region param of alias `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::visibility(key) =>
                                        ("visibility",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing visibility of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::inhabited_predicate_adt(key) =>
                                        ("inhabited_predicate_adt",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the uninhabited predicate of `{0:?}`",
                                                                            key))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::inhabited_predicate_type(key) =>
                                        ("inhabited_predicate_type",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: Ty<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the uninhabited predicate of `{0}`",
                                                                            key))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_opsem_inhabited_raw(key) =>
                                        ("is_opsem_inhabited_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            env: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing whether `{0}` is inhabited on the opsem level",
                                                                            env.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::crate_dep_kind(key) =>
                                        ("crate_dep_kind",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("fetching what a dependency looks like"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::crate_name(key) =>
                                        ("crate_name",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("fetching what a crate is named"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::module_children(key) =>
                                        ("module_children",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("collecting child items of module `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::num_extern_def_ids(key) =>
                                        ("num_extern_def_ids",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("fetching the number of definitions in a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::lib_features(key) =>
                                        ("lib_features",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("calculating the lib features defined in a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::stability_implications(key) =>
                                        ("stability_implications",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("calculating the implications between `#[unstable]` features defined in a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::intrinsic_raw(key) =>
                                        ("intrinsic_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("fetch intrinsic name if `{0}` is an intrinsic",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::get_lang_items(key) =>
                                        ("get_lang_items",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("calculating the lang items map"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::all_diagnostic_items(key) =>
                                        ("all_diagnostic_items",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("calculating the diagnostic items map"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::all_canonical_symbols(key) =>
                                        ("all_canonical_symbols",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("calculating the canonical symbols map"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::defined_lang_items(key) =>
                                        ("defined_lang_items",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("calculating the lang items defined in a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::diagnostic_items(key) =>
                                        ("diagnostic_items",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("calculating the diagnostic items map in a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::canonical_symbols(key) =>
                                        ("canonical_symbols",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("calculating the canonical symbols map in a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::missing_lang_items(key) =>
                                        ("missing_lang_items",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("calculating the missing lang items in a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::visible_parent_map(key) =>
                                        ("visible_parent_map",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("calculating the visible parent map"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::trimmed_def_paths(key) =>
                                        ("trimmed_def_paths",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("calculating trimmed def paths"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::missing_extern_crate_item(key) =>
                                        ("missing_extern_crate_item",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("seeing if we\'re missing an `extern crate` item for this crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::used_crate_source(key) =>
                                        ("used_crate_source",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking at the source for a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::debugger_visualizers(key) =>
                                        ("debugger_visualizers",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up the debugger visualizers for this crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::postorder_cnums(key) =>
                                        ("postorder_cnums",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("generating a postorder list of CrateNums"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_private_dep(key) =>
                                        ("is_private_dep",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, c: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking whether crate `{0}` is a private dependency",
                                                                            c))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::allocator_kind(key) =>
                                        ("allocator_kind",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting the allocator kind for the current crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::alloc_error_handler_kind(key) =>
                                        ("alloc_error_handler_kind",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("alloc error handler kind for the current crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::upvars_mentioned(key) =>
                                        ("upvars_mentioned",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("collecting upvars mentioned in `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::crates(key) =>
                                        ("crates",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("fetching all foreign CrateNum instances"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::used_crates(key) =>
                                        ("used_crates",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("fetching `CrateNum`s for all crates loaded non-speculatively"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::duplicate_crate_names(key) =>
                                        ("duplicate_crate_names",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, c: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("fetching `CrateNum`s with same name as `{0:?}`",
                                                                            c))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::traits(key) =>
                                        ("traits",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("fetching all traits in a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::trait_impls_in_crate(key) =>
                                        ("trait_impls_in_crate",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("fetching all trait impls in a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::stable_order_of_exportable_impls(key) =>
                                        ("stable_order_of_exportable_impls",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("fetching the stable impl\'s order"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::exportable_items(key) =>
                                        ("exportable_items",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("fetching all exportable items in a crate"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::exported_non_generic_symbols(key) =>
                                        ("exported_non_generic_symbols",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, cnum: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("collecting exported non-generic symbols for crate `{0}`",
                                                                            cnum))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::exported_generic_symbols(key) =>
                                        ("exported_generic_symbols",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, cnum: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("collecting exported generic symbols for crate `{0}`",
                                                                            cnum))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::collect_and_partition_mono_items(key) =>
                                        ("collect_and_partition_mono_items",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("collect_and_partition_mono_items"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_codegened_item(key) =>
                                        ("is_codegened_item",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("determining whether `{0}` needs codegen",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::codegen_unit(key) =>
                                        ("codegen_unit",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, sym: Symbol|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting codegen unit `{0}`",
                                                                            sym))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::backend_optimization_level(key) =>
                                        ("backend_optimization_level",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("optimization level used by backend"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::output_filenames(key) =>
                                        ("output_filenames",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting output filenames"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::normalize_canonicalized_projection(key) =>
                                        ("normalize_canonicalized_projection",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, goal: CanonicalAliasGoal<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("normalizing `{0}`",
                                                                            goal.canonical.value.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::normalize_canonicalized_free_alias(key) =>
                                        ("normalize_canonicalized_free_alias",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, goal: CanonicalAliasGoal<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("normalizing `{0}`",
                                                                            goal.canonical.value.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::normalize_canonicalized_inherent_projection(key)
                                        =>
                                        ("normalize_canonicalized_inherent_projection",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, goal: CanonicalAliasGoal<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("normalizing `{0}`",
                                                                            goal.canonical.value.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::try_normalize_generic_arg_after_erasing_regions(key)
                                        =>
                                        ("try_normalize_generic_arg_after_erasing_regions",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            goal: PseudoCanonicalInput<'tcx, GenericArg<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("normalizing `{0}`",
                                                                            goal.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::implied_outlives_bounds(key) =>
                                        ("implied_outlives_bounds",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key: (CanonicalImpliedOutlivesBoundsGoal<'tcx>, bool)|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing implied outlives bounds for `{0}` (hack disabled = {1:?})",
                                                                            key.0.canonical.value.value.ty, key.1))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::mir_borrowck_implied_outlives_bounds(key) =>
                                        ("mir_borrowck_implied_outlives_bounds",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, mir_def: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing implied outlives bounds for borrowck for `{0}`",
                                                                            tcx.def_path_str(mir_def)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::dropck_outlives(key) =>
                                        ("dropck_outlives",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, goal: CanonicalDropckOutlivesGoal<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing dropck types for `{0}`",
                                                                            goal.canonical.value.value.dropped_ty))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::evaluate_obligation(key) =>
                                        ("evaluate_obligation",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, goal: CanonicalPredicateGoal<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("evaluating trait selection obligation `{0}`",
                                                                            goal.canonical.value.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::type_op_ascribe_user_type(key) =>
                                        ("type_op_ascribe_user_type",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            goal: CanonicalTypeOpAscribeUserTypeGoal<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("evaluating `type_op_ascribe_user_type` `{0:?}`",
                                                                            goal.canonical.value.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::type_op_prove_predicate(key) =>
                                        ("type_op_prove_predicate",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            goal: CanonicalTypeOpProvePredicateGoal<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("evaluating `type_op_prove_predicate` `{0:?}`",
                                                                            goal.canonical.value.value))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::type_op_normalize_ty(key) =>
                                        ("type_op_normalize_ty",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            goal: CanonicalTypeOpNormalizeGoal<'tcx, Ty<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("normalizing `{0}`",
                                                                            goal.canonical.value.value.value.skip_normalization()))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::type_op_normalize_clause(key) =>
                                        ("type_op_normalize_clause",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            goal: CanonicalTypeOpNormalizeGoal<'tcx, ty::Clause<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("normalizing `{0:?}`",
                                                                            goal.canonical.value.value.value.skip_normalization()))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::type_op_normalize_poly_fn_sig(key) =>
                                        ("type_op_normalize_poly_fn_sig",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            goal:
                                                                CanonicalTypeOpNormalizeGoal<'tcx, ty::PolyFnSig<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("normalizing `{0:?}`",
                                                                            goal.canonical.value.value.value.skip_normalization()))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::type_op_normalize_fn_sig(key) =>
                                        ("type_op_normalize_fn_sig",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            goal: CanonicalTypeOpNormalizeGoal<'tcx, ty::FnSig<'tcx>>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("normalizing `{0:?}`",
                                                                            goal.canonical.value.value.value.skip_normalization()))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::instantiate_and_check_impossible_clauses(key)
                                        =>
                                        ("instantiate_and_check_impossible_clauses",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: (DefId, GenericArgsRef<'tcx>)|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking impossible instantiated clauses: `{0}`",
                                                                            tcx.def_path_str(key.0)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::is_impossible_associated_item(key) =>
                                        ("is_impossible_associated_item",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: (DefId, DefId)|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking if `{0}` is impossible to reference within `{1}`",
                                                                            tcx.def_path_str(key.1), tcx.def_path_str(key.0)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::method_autoderef_steps(key) =>
                                        ("method_autoderef_steps",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            goal: CanonicalMethodAutoderefStepsGoal<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing autoderef types for `{0}`",
                                                                            goal.canonical.value.value.self_ty))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::evaluate_root_goal_for_proof_tree_raw(key)
                                        =>
                                        ("evaluate_root_goal_for_proof_tree_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key: (solve::CanonicalInput<'tcx>, usize)|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing proof tree for `{0}` with depth `{1}`",
                                                                            key.0.canonical.value.goal.predicate, key.1))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::all_rust_target_features(key) =>
                                        ("all_rust_target_features",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up Rust target features"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::implied_target_features(key) =>
                                        ("implied_target_features",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, feature: Symbol|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up implied target features"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::features_query(key) =>
                                        ("features_query",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up enabled feature gates"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::crate_for_resolver(key) =>
                                        ("crate_for_resolver",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, (): ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("the ast before macro expansion and name resolution"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::resolve_instance_raw(key) =>
                                        ("resolve_instance_raw",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key:
                                                                ty::PseudoCanonicalInput<'tcx,
                                                                (DefId, GenericArgsRef<'tcx>)>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("resolving instance `{0}`",
                                                                            ty::Instance::new_raw(key.value.0, key.value.1)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::reveal_opaque_types_in_bounds(key) =>
                                        ("reveal_opaque_types_in_bounds",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: ty::Clauses<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("revealing opaque types in `{0:?}`",
                                                                            key))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::limits(key) =>
                                        ("limits",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up limits"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::diagnostic_hir_wf_check(key) =>
                                        ("diagnostic_hir_wf_check",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key: (ty::Predicate<'tcx>, WellFormedLoc)|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("performing HIR wf-checking for predicate `{0:?}` at item `{1:?}`",
                                                                            key.0, key.1))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::global_backend_features(key) =>
                                        ("global_backend_features",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("computing the backend features for CLI flags"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_validity_requirement(key) =>
                                        ("check_validity_requirement",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key:
                                                                (ValidityRequirement,
                                                                ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking validity requirement for `{0}`: {1}",
                                                                            key.1.value, key.0))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::compare_impl_item(key) =>
                                        ("compare_impl_item",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking assoc item `{0}` is compatible with trait definition",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::deduced_param_attrs(key) =>
                                        ("deduced_param_attrs",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("deducing parameter attributes for {0}",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::doc_link_resolutions(key) =>
                                        ("doc_link_resolutions",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: ModId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("resolutions for documentation links for a module"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::doc_link_traits_in_scope(key) =>
                                        ("doc_link_traits_in_scope",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: ModId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("traits in scope for documentation links for a module"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::stripped_cfg_items(key) =>
                                        ("stripped_cfg_items",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, cnum: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("getting cfg-ed out item names"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::generics_require_sized_self(key) =>
                                        ("generics_require_sized_self",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("check whether the item has a `where Self: Sized` bound"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::cross_crate_inlinable(key) =>
                                        ("cross_crate_inlinable",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("whether the item should be made inlinable across crates"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_mono_item(key) =>
                                        ("check_mono_item",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: ty::Instance<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("monomorphization-time checking"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::items_of_instance(key) =>
                                        ("items_of_instance",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>,
                                                            key: (ty::Instance<'tcx>, CollectionMode)|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("collecting items used by `{0}`",
                                                                            key.0))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::size_estimate(key) =>
                                        ("size_estimate",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: ty::Instance<'tcx>|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("estimating codegen size of `{0}`",
                                                                            key))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::anon_const_kind(key) =>
                                        ("anon_const_kind",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up anon const kind of `{0}`",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::trivial_const(key) =>
                                        ("trivial_const",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, def_id: DefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking if `{0}` is a trivial const",
                                                                            tcx.def_path_str(def_id)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::sanitizer_settings_for(key) =>
                                        ("sanitizer_settings_for",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, key: LocalDefId|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("checking what set of sanitizers are enabled on `{0}`",
                                                                            tcx.def_path_str(key)))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::check_externally_implementable_items(key) =>
                                        ("check_externally_implementable_items",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, _: ()|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("check externally implementable items"))
                                                                })
                                                    })(tcx, *key)),
                                    TaggedQueryKey::externally_implementable_items(key) =>
                                        ("externally_implementable_items",
                                            ({

                                                        #[allow(unused_variables)]
                                                        |tcx: TyCtxt<'tcx>, cnum: CrateNum|
                                                            ::alloc::__export::must_use({
                                                                    ::alloc::fmt::format(format_args!("looking up the externally implementable items of a crate"))
                                                                })
                                                    })(tcx, *key)),
                                }
                            }
                        }
                    }
                }
            };
        if tcx.sess.verbose_internals() {
            ::alloc::__export::must_use({
                    ::alloc::fmt::format(format_args!("{0} [{1:?}]",
                            description, name))
                })
        } else { description }
    }
    /// Calls `self.description` or returns a fallback if there was a fatal error
    pub fn catch_description(&self, tcx: TyCtxt<'tcx>) -> String {
        catch_fatal_errors(||
                    self.description(tcx)).unwrap_or_else(|_|
                ::alloc::__export::must_use({
                        ::alloc::fmt::format(format_args!("<error describing {0}>",
                                self.query_name()))
                    }))
    }
    /// Returns the default span for this query if `span` is a dummy span.
    pub fn default_span(&self, tcx: TyCtxt<'tcx>, span: Span) -> Span {
        if !span.is_dummy() { return span }
        if let TaggedQueryKey::def_span(..) = self { return DUMMY_SP }
        match self {
            TaggedQueryKey::derive_macro_expansion(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::trigger_delayed_bug(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::registered_attr_tools(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::registered_lint_tools(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::early_lint_checks(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::env_var_os(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::resolutions(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::resolver_for_lowering_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::index_ast(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::source_span(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::lower_to_hir(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::hir_owner(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::hir_crate_items(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::hir_module_items(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::hir_owner_parent_q(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::hir_attr_map(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::const_param_default(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::const_of_item(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::type_of(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::type_of_opaque(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::type_of_opaque_hir_typeck(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::type_alias_is_checked(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::collect_return_position_impl_trait_in_trait_tys(key)
                => crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::opaque_ty_origin(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::unsizing_params_for_adt(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::analysis(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_expectations(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::generics_of(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::clauses_of(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::opaque_types_defined_by(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::nested_bodies_within(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::explicit_item_bounds(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::explicit_item_self_bounds(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::item_bounds(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::item_self_bounds(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::item_non_self_bounds(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::impl_super_outlives(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::native_libraries(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::shallow_lint_levels_on(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::lint_expectations(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::skippable_lints(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::expn_that_defined(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_panic_runtime(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_representability(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_representability_adt_ty(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::params_in_repr(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::thir_body(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::mir_keys(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::mir_const_qualif(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::mir_built(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::thir_abstract_const(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::mir_drops_elaborated_and_const_checked(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::mir_for_ctfe(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::mir_promoted(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::closure_typeinfo(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::closure_saved_names_of_captured_variables(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::mir_coroutine_witnesses(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_coroutine_obligations(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_potentially_region_dependent_goals(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::optimized_mir(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_eligible_for_coverage(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::coverage_attr_on(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::coverage_codegen_info(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::promoted_mir(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::erase_and_anonymize_regions_ty(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::wasm_import_module_map(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::trait_explicit_clauses_and_bounds(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::explicit_clauses_of(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::inferred_outlives_of(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::explicit_super_clauses_of(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::explicit_implied_clauses_of(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::explicit_supertraits_containing_assoc_item(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::const_conditions(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::explicit_implied_const_bounds(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::type_param_clauses(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::trait_def(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::adt_def(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::adt_destructor(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::adt_async_destructor(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::adt_sizedness_constraint(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::adt_dtorck_constraint(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::constness(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::asyncness(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_promotable_const_fn(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::coroutine_by_move_body_def_id(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::coroutine_kind(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::coroutine_for_closure(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::coroutine_hidden_types(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::crate_variances(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::variances_of(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::inferred_outlives_crate(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::associated_item_def_ids(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::associated_item(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::associated_items(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::impl_item_implementor_ids(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::associated_types_for_impl_traits_in_trait_or_impl(key)
                => crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::impl_trait_header(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::impl_is_fully_generic_for_reflection(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::impl_self_is_guaranteed_unsized(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::inherent_impls(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::incoherent_impls(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_transmutes(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_offloads(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_unsafety(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_tail_calls(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::assumed_wf_types(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::assumed_wf_types_for_rpitit(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::fn_sig(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::lint_mod(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_unused_traits(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_mod_attrs(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_mod_unstable_api_usage(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_mod_privacy(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_liveness(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::live_symbols_and_ignored_derived_traits(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_mod_deathness(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_type_wf(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::coerce_unsized_info(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::typeck_root(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::used_trait_imports(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::coherent_trait(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::mir_borrowck(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::crate_inherent_impls(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::crate_inherent_impls_validity_check(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::crate_inherent_impls_overlap_check(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::orphan_check_impl(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::mir_callgraph_cyclic(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::mir_inliner_callees(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::tag_for_variant(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::eval_to_allocation_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::eval_static_initializer(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::eval_to_const_value_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::eval_to_valtree(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::valtree_to_const_val(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::lit_to_const(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_match(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::effective_visibilities(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_private_in_public(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::reachable_set(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::region_scope_tree(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::mir_shims(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::symbol_name(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::def_kind(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::def_span(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::def_ident_span(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::ty_span(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::lookup_stability(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::lookup_const_stability(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::lookup_default_body_stability(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::should_inherit_track_caller(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::inherited_align(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::lookup_deprecation_entry(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_doc_hidden(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_doc_notable_trait(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::attrs_for_def(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::codegen_fn_attrs(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::asm_target_features(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::fn_arg_idents(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::rendered_const(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::rendered_precise_capturing_args(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::impl_parent(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_mir_available(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::own_existential_vtable_entries(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::vtable_entries(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::first_method_vtable_slot(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::supertrait_vtable_slot(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::vtable_allocation(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::codegen_select_candidate(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::all_local_trait_impls(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::local_trait_impls(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::trait_impls_of(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::specialization_graph_of(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::dyn_compatibility_violations(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_dyn_compatible(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::param_env(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::param_env_normalized_for_post_analysis(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_copy_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_use_cloned_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_sized_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_freeze_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_unsafe_unpin_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_unpin_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_async_drop_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::needs_drop_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::needs_async_drop_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::has_significant_drop_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::has_structural_eq_impl(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::adt_drop_tys(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::adt_async_drop_tys(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::adt_significant_drop_tys(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::list_significant_drop_tys(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::layout_of(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::fn_abi_of_fn_ptr(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::fn_abi_of_instance_no_deduced_attrs(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::fn_abi_of_instance_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::dylib_dependency_formats(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::dependency_formats(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_compiler_builtins(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::has_global_allocator(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::has_alloc_error_handler(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::has_panic_handler(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_profiler_runtime(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::has_ffi_unwind_calls(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::required_panic_strategy(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::panic_in_drop_strategy(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_no_builtins(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::symbol_mangling_version(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::extern_crate(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::specialization_enabled_in(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::specializes(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::defaultness(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::default_field(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_well_formed(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::enforce_impl_non_lifetime_params_are_constrained(key)
                => crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::reachable_non_generics(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_reachable_non_generic(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_unreachable_local_definition(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::upstream_monomorphizations(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::upstream_monomorphizations_for(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::upstream_drop_glue_for(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::upstream_async_drop_glue_for(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::foreign_modules(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::clashing_extern_declarations(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::entry_fn(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::proc_macro_decls_static(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::crate_hash(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::crate_host_hash(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::extra_filename(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::crate_extern_paths(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::implementations_of_trait(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::crate_incoherent_impls(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::native_library(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::inherit_sig_for_delegation_item(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::delegation_user_specified_args(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::resolve_bound_vars(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::named_variable_map(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_late_bound_map(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::object_lifetime_default(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::late_bound_vars_map(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::opaque_captured_lifetimes(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::live_args_for_alias_from_outlives_bounds(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::args_known_to_outlive_alias_params(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::visibility(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::inhabited_predicate_adt(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::inhabited_predicate_type(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_opsem_inhabited_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::crate_dep_kind(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::crate_name(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::module_children(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::num_extern_def_ids(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::lib_features(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::stability_implications(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::intrinsic_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::get_lang_items(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::all_diagnostic_items(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::all_canonical_symbols(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::defined_lang_items(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::diagnostic_items(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::canonical_symbols(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::missing_lang_items(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::visible_parent_map(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::trimmed_def_paths(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::missing_extern_crate_item(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::used_crate_source(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::debugger_visualizers(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::postorder_cnums(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_private_dep(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::allocator_kind(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::alloc_error_handler_kind(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::upvars_mentioned(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::crates(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::used_crates(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::duplicate_crate_names(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::traits(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::trait_impls_in_crate(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::stable_order_of_exportable_impls(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::exportable_items(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::exported_non_generic_symbols(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::exported_generic_symbols(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::collect_and_partition_mono_items(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_codegened_item(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::codegen_unit(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::backend_optimization_level(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::output_filenames(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::normalize_canonicalized_projection(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::normalize_canonicalized_free_alias(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::normalize_canonicalized_inherent_projection(key)
                => crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::try_normalize_generic_arg_after_erasing_regions(key)
                => crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::implied_outlives_bounds(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::mir_borrowck_implied_outlives_bounds(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::dropck_outlives(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::evaluate_obligation(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::type_op_ascribe_user_type(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::type_op_prove_predicate(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::type_op_normalize_ty(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::type_op_normalize_clause(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::type_op_normalize_poly_fn_sig(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::type_op_normalize_fn_sig(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::instantiate_and_check_impossible_clauses(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::is_impossible_associated_item(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::method_autoderef_steps(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::evaluate_root_goal_for_proof_tree_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::all_rust_target_features(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::implied_target_features(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::features_query(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::crate_for_resolver(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::resolve_instance_raw(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::reveal_opaque_types_in_bounds(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::limits(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::diagnostic_hir_wf_check(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::global_backend_features(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_validity_requirement(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::compare_impl_item(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::deduced_param_attrs(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::doc_link_resolutions(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::doc_link_traits_in_scope(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::stripped_cfg_items(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::generics_require_sized_self(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::cross_crate_inlinable(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_mono_item(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::items_of_instance(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::size_estimate(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::anon_const_kind(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::trivial_const(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::sanitizer_settings_for(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::check_externally_implementable_items(key) =>
                crate::query::QueryKey::default_span(key, tcx),
            TaggedQueryKey::externally_implementable_items(key) =>
                crate::query::QueryKey::default_span(key, tcx),
        }
    }
    /// Calls `self.default_span` or returns `DUMMY_SP` if there was a fatal error
    pub fn catch_default_span(&self, tcx: TyCtxt<'tcx>, span: Span) -> Span {
        catch_fatal_errors(||
                    self.default_span(tcx, span)).unwrap_or(DUMMY_SP)
    }
}
/// Holds a `QueryVTable` for each query.
pub struct QueryVTables<'tcx> {
    pub derive_macro_expansion: crate::query::QueryVTable<'tcx,
    derive_macro_expansion::Cache<'tcx>>,
    pub trigger_delayed_bug: crate::query::QueryVTable<'tcx,
    trigger_delayed_bug::Cache<'tcx>>,
    pub registered_attr_tools: crate::query::QueryVTable<'tcx,
    registered_attr_tools::Cache<'tcx>>,
    pub registered_lint_tools: crate::query::QueryVTable<'tcx,
    registered_lint_tools::Cache<'tcx>>,
    pub early_lint_checks: crate::query::QueryVTable<'tcx,
    early_lint_checks::Cache<'tcx>>,
    pub env_var_os: crate::query::QueryVTable<'tcx, env_var_os::Cache<'tcx>>,
    pub resolutions: crate::query::QueryVTable<'tcx,
    resolutions::Cache<'tcx>>,
    pub resolver_for_lowering_raw: crate::query::QueryVTable<'tcx,
    resolver_for_lowering_raw::Cache<'tcx>>,
    pub index_ast: crate::query::QueryVTable<'tcx, index_ast::Cache<'tcx>>,
    pub source_span: crate::query::QueryVTable<'tcx,
    source_span::Cache<'tcx>>,
    pub lower_to_hir: crate::query::QueryVTable<'tcx,
    lower_to_hir::Cache<'tcx>>,
    pub hir_owner: crate::query::QueryVTable<'tcx, hir_owner::Cache<'tcx>>,
    pub hir_crate_items: crate::query::QueryVTable<'tcx,
    hir_crate_items::Cache<'tcx>>,
    pub hir_module_items: crate::query::QueryVTable<'tcx,
    hir_module_items::Cache<'tcx>>,
    pub hir_owner_parent_q: crate::query::QueryVTable<'tcx,
    hir_owner_parent_q::Cache<'tcx>>,
    pub hir_attr_map: crate::query::QueryVTable<'tcx,
    hir_attr_map::Cache<'tcx>>,
    pub const_param_default: crate::query::QueryVTable<'tcx,
    const_param_default::Cache<'tcx>>,
    pub const_of_item: crate::query::QueryVTable<'tcx,
    const_of_item::Cache<'tcx>>,
    pub type_of: crate::query::QueryVTable<'tcx, type_of::Cache<'tcx>>,
    pub type_of_opaque: crate::query::QueryVTable<'tcx,
    type_of_opaque::Cache<'tcx>>,
    pub type_of_opaque_hir_typeck: crate::query::QueryVTable<'tcx,
    type_of_opaque_hir_typeck::Cache<'tcx>>,
    pub type_alias_is_checked: crate::query::QueryVTable<'tcx,
    type_alias_is_checked::Cache<'tcx>>,
    pub collect_return_position_impl_trait_in_trait_tys: crate::query::QueryVTable<'tcx,
    collect_return_position_impl_trait_in_trait_tys::Cache<'tcx>>,
    pub opaque_ty_origin: crate::query::QueryVTable<'tcx,
    opaque_ty_origin::Cache<'tcx>>,
    pub unsizing_params_for_adt: crate::query::QueryVTable<'tcx,
    unsizing_params_for_adt::Cache<'tcx>>,
    pub analysis: crate::query::QueryVTable<'tcx, analysis::Cache<'tcx>>,
    pub check_expectations: crate::query::QueryVTable<'tcx,
    check_expectations::Cache<'tcx>>,
    pub generics_of: crate::query::QueryVTable<'tcx,
    generics_of::Cache<'tcx>>,
    pub clauses_of: crate::query::QueryVTable<'tcx, clauses_of::Cache<'tcx>>,
    pub opaque_types_defined_by: crate::query::QueryVTable<'tcx,
    opaque_types_defined_by::Cache<'tcx>>,
    pub nested_bodies_within: crate::query::QueryVTable<'tcx,
    nested_bodies_within::Cache<'tcx>>,
    pub explicit_item_bounds: crate::query::QueryVTable<'tcx,
    explicit_item_bounds::Cache<'tcx>>,
    pub explicit_item_self_bounds: crate::query::QueryVTable<'tcx,
    explicit_item_self_bounds::Cache<'tcx>>,
    pub item_bounds: crate::query::QueryVTable<'tcx,
    item_bounds::Cache<'tcx>>,
    pub item_self_bounds: crate::query::QueryVTable<'tcx,
    item_self_bounds::Cache<'tcx>>,
    pub item_non_self_bounds: crate::query::QueryVTable<'tcx,
    item_non_self_bounds::Cache<'tcx>>,
    pub impl_super_outlives: crate::query::QueryVTable<'tcx,
    impl_super_outlives::Cache<'tcx>>,
    pub native_libraries: crate::query::QueryVTable<'tcx,
    native_libraries::Cache<'tcx>>,
    pub shallow_lint_levels_on: crate::query::QueryVTable<'tcx,
    shallow_lint_levels_on::Cache<'tcx>>,
    pub lint_expectations: crate::query::QueryVTable<'tcx,
    lint_expectations::Cache<'tcx>>,
    pub skippable_lints: crate::query::QueryVTable<'tcx,
    skippable_lints::Cache<'tcx>>,
    pub expn_that_defined: crate::query::QueryVTable<'tcx,
    expn_that_defined::Cache<'tcx>>,
    pub is_panic_runtime: crate::query::QueryVTable<'tcx,
    is_panic_runtime::Cache<'tcx>>,
    pub check_representability: crate::query::QueryVTable<'tcx,
    check_representability::Cache<'tcx>>,
    pub check_representability_adt_ty: crate::query::QueryVTable<'tcx,
    check_representability_adt_ty::Cache<'tcx>>,
    pub params_in_repr: crate::query::QueryVTable<'tcx,
    params_in_repr::Cache<'tcx>>,
    pub thir_body: crate::query::QueryVTable<'tcx, thir_body::Cache<'tcx>>,
    pub mir_keys: crate::query::QueryVTable<'tcx, mir_keys::Cache<'tcx>>,
    pub mir_const_qualif: crate::query::QueryVTable<'tcx,
    mir_const_qualif::Cache<'tcx>>,
    pub mir_built: crate::query::QueryVTable<'tcx, mir_built::Cache<'tcx>>,
    pub thir_abstract_const: crate::query::QueryVTable<'tcx,
    thir_abstract_const::Cache<'tcx>>,
    pub mir_drops_elaborated_and_const_checked: crate::query::QueryVTable<'tcx,
    mir_drops_elaborated_and_const_checked::Cache<'tcx>>,
    pub mir_for_ctfe: crate::query::QueryVTable<'tcx,
    mir_for_ctfe::Cache<'tcx>>,
    pub mir_promoted: crate::query::QueryVTable<'tcx,
    mir_promoted::Cache<'tcx>>,
    pub closure_typeinfo: crate::query::QueryVTable<'tcx,
    closure_typeinfo::Cache<'tcx>>,
    pub closure_saved_names_of_captured_variables: crate::query::QueryVTable<'tcx,
    closure_saved_names_of_captured_variables::Cache<'tcx>>,
    pub mir_coroutine_witnesses: crate::query::QueryVTable<'tcx,
    mir_coroutine_witnesses::Cache<'tcx>>,
    pub check_coroutine_obligations: crate::query::QueryVTable<'tcx,
    check_coroutine_obligations::Cache<'tcx>>,
    pub check_potentially_region_dependent_goals: crate::query::QueryVTable<'tcx,
    check_potentially_region_dependent_goals::Cache<'tcx>>,
    pub optimized_mir: crate::query::QueryVTable<'tcx,
    optimized_mir::Cache<'tcx>>,
    pub is_eligible_for_coverage: crate::query::QueryVTable<'tcx,
    is_eligible_for_coverage::Cache<'tcx>>,
    pub coverage_attr_on: crate::query::QueryVTable<'tcx,
    coverage_attr_on::Cache<'tcx>>,
    pub coverage_codegen_info: crate::query::QueryVTable<'tcx,
    coverage_codegen_info::Cache<'tcx>>,
    pub promoted_mir: crate::query::QueryVTable<'tcx,
    promoted_mir::Cache<'tcx>>,
    pub erase_and_anonymize_regions_ty: crate::query::QueryVTable<'tcx,
    erase_and_anonymize_regions_ty::Cache<'tcx>>,
    pub wasm_import_module_map: crate::query::QueryVTable<'tcx,
    wasm_import_module_map::Cache<'tcx>>,
    pub trait_explicit_clauses_and_bounds: crate::query::QueryVTable<'tcx,
    trait_explicit_clauses_and_bounds::Cache<'tcx>>,
    pub explicit_clauses_of: crate::query::QueryVTable<'tcx,
    explicit_clauses_of::Cache<'tcx>>,
    pub inferred_outlives_of: crate::query::QueryVTable<'tcx,
    inferred_outlives_of::Cache<'tcx>>,
    pub explicit_super_clauses_of: crate::query::QueryVTable<'tcx,
    explicit_super_clauses_of::Cache<'tcx>>,
    pub explicit_implied_clauses_of: crate::query::QueryVTable<'tcx,
    explicit_implied_clauses_of::Cache<'tcx>>,
    pub explicit_supertraits_containing_assoc_item: crate::query::QueryVTable<'tcx,
    explicit_supertraits_containing_assoc_item::Cache<'tcx>>,
    pub const_conditions: crate::query::QueryVTable<'tcx,
    const_conditions::Cache<'tcx>>,
    pub explicit_implied_const_bounds: crate::query::QueryVTable<'tcx,
    explicit_implied_const_bounds::Cache<'tcx>>,
    pub type_param_clauses: crate::query::QueryVTable<'tcx,
    type_param_clauses::Cache<'tcx>>,
    pub trait_def: crate::query::QueryVTable<'tcx, trait_def::Cache<'tcx>>,
    pub adt_def: crate::query::QueryVTable<'tcx, adt_def::Cache<'tcx>>,
    pub adt_destructor: crate::query::QueryVTable<'tcx,
    adt_destructor::Cache<'tcx>>,
    pub adt_async_destructor: crate::query::QueryVTable<'tcx,
    adt_async_destructor::Cache<'tcx>>,
    pub adt_sizedness_constraint: crate::query::QueryVTable<'tcx,
    adt_sizedness_constraint::Cache<'tcx>>,
    pub adt_dtorck_constraint: crate::query::QueryVTable<'tcx,
    adt_dtorck_constraint::Cache<'tcx>>,
    pub constness: crate::query::QueryVTable<'tcx, constness::Cache<'tcx>>,
    pub asyncness: crate::query::QueryVTable<'tcx, asyncness::Cache<'tcx>>,
    pub is_promotable_const_fn: crate::query::QueryVTable<'tcx,
    is_promotable_const_fn::Cache<'tcx>>,
    pub coroutine_by_move_body_def_id: crate::query::QueryVTable<'tcx,
    coroutine_by_move_body_def_id::Cache<'tcx>>,
    pub coroutine_kind: crate::query::QueryVTable<'tcx,
    coroutine_kind::Cache<'tcx>>,
    pub coroutine_for_closure: crate::query::QueryVTable<'tcx,
    coroutine_for_closure::Cache<'tcx>>,
    pub coroutine_hidden_types: crate::query::QueryVTable<'tcx,
    coroutine_hidden_types::Cache<'tcx>>,
    pub crate_variances: crate::query::QueryVTable<'tcx,
    crate_variances::Cache<'tcx>>,
    pub variances_of: crate::query::QueryVTable<'tcx,
    variances_of::Cache<'tcx>>,
    pub inferred_outlives_crate: crate::query::QueryVTable<'tcx,
    inferred_outlives_crate::Cache<'tcx>>,
    pub associated_item_def_ids: crate::query::QueryVTable<'tcx,
    associated_item_def_ids::Cache<'tcx>>,
    pub associated_item: crate::query::QueryVTable<'tcx,
    associated_item::Cache<'tcx>>,
    pub associated_items: crate::query::QueryVTable<'tcx,
    associated_items::Cache<'tcx>>,
    pub impl_item_implementor_ids: crate::query::QueryVTable<'tcx,
    impl_item_implementor_ids::Cache<'tcx>>,
    pub associated_types_for_impl_traits_in_trait_or_impl: crate::query::QueryVTable<'tcx,
    associated_types_for_impl_traits_in_trait_or_impl::Cache<'tcx>>,
    pub impl_trait_header: crate::query::QueryVTable<'tcx,
    impl_trait_header::Cache<'tcx>>,
    pub impl_is_fully_generic_for_reflection: crate::query::QueryVTable<'tcx,
    impl_is_fully_generic_for_reflection::Cache<'tcx>>,
    pub impl_self_is_guaranteed_unsized: crate::query::QueryVTable<'tcx,
    impl_self_is_guaranteed_unsized::Cache<'tcx>>,
    pub inherent_impls: crate::query::QueryVTable<'tcx,
    inherent_impls::Cache<'tcx>>,
    pub incoherent_impls: crate::query::QueryVTable<'tcx,
    incoherent_impls::Cache<'tcx>>,
    pub check_transmutes: crate::query::QueryVTable<'tcx,
    check_transmutes::Cache<'tcx>>,
    pub check_offloads: crate::query::QueryVTable<'tcx,
    check_offloads::Cache<'tcx>>,
    pub check_unsafety: crate::query::QueryVTable<'tcx,
    check_unsafety::Cache<'tcx>>,
    pub check_tail_calls: crate::query::QueryVTable<'tcx,
    check_tail_calls::Cache<'tcx>>,
    pub assumed_wf_types: crate::query::QueryVTable<'tcx,
    assumed_wf_types::Cache<'tcx>>,
    pub assumed_wf_types_for_rpitit: crate::query::QueryVTable<'tcx,
    assumed_wf_types_for_rpitit::Cache<'tcx>>,
    pub fn_sig: crate::query::QueryVTable<'tcx, fn_sig::Cache<'tcx>>,
    pub lint_mod: crate::query::QueryVTable<'tcx, lint_mod::Cache<'tcx>>,
    pub check_unused_traits: crate::query::QueryVTable<'tcx,
    check_unused_traits::Cache<'tcx>>,
    pub check_mod_attrs: crate::query::QueryVTable<'tcx,
    check_mod_attrs::Cache<'tcx>>,
    pub check_mod_unstable_api_usage: crate::query::QueryVTable<'tcx,
    check_mod_unstable_api_usage::Cache<'tcx>>,
    pub check_mod_privacy: crate::query::QueryVTable<'tcx,
    check_mod_privacy::Cache<'tcx>>,
    pub check_liveness: crate::query::QueryVTable<'tcx,
    check_liveness::Cache<'tcx>>,
    pub live_symbols_and_ignored_derived_traits: crate::query::QueryVTable<'tcx,
    live_symbols_and_ignored_derived_traits::Cache<'tcx>>,
    pub check_mod_deathness: crate::query::QueryVTable<'tcx,
    check_mod_deathness::Cache<'tcx>>,
    pub check_type_wf: crate::query::QueryVTable<'tcx,
    check_type_wf::Cache<'tcx>>,
    pub coerce_unsized_info: crate::query::QueryVTable<'tcx,
    coerce_unsized_info::Cache<'tcx>>,
    pub typeck_root: crate::query::QueryVTable<'tcx,
    typeck_root::Cache<'tcx>>,
    pub used_trait_imports: crate::query::QueryVTable<'tcx,
    used_trait_imports::Cache<'tcx>>,
    pub coherent_trait: crate::query::QueryVTable<'tcx,
    coherent_trait::Cache<'tcx>>,
    pub mir_borrowck: crate::query::QueryVTable<'tcx,
    mir_borrowck::Cache<'tcx>>,
    pub crate_inherent_impls: crate::query::QueryVTable<'tcx,
    crate_inherent_impls::Cache<'tcx>>,
    pub crate_inherent_impls_validity_check: crate::query::QueryVTable<'tcx,
    crate_inherent_impls_validity_check::Cache<'tcx>>,
    pub crate_inherent_impls_overlap_check: crate::query::QueryVTable<'tcx,
    crate_inherent_impls_overlap_check::Cache<'tcx>>,
    pub orphan_check_impl: crate::query::QueryVTable<'tcx,
    orphan_check_impl::Cache<'tcx>>,
    pub mir_callgraph_cyclic: crate::query::QueryVTable<'tcx,
    mir_callgraph_cyclic::Cache<'tcx>>,
    pub mir_inliner_callees: crate::query::QueryVTable<'tcx,
    mir_inliner_callees::Cache<'tcx>>,
    pub tag_for_variant: crate::query::QueryVTable<'tcx,
    tag_for_variant::Cache<'tcx>>,
    pub eval_to_allocation_raw: crate::query::QueryVTable<'tcx,
    eval_to_allocation_raw::Cache<'tcx>>,
    pub eval_static_initializer: crate::query::QueryVTable<'tcx,
    eval_static_initializer::Cache<'tcx>>,
    pub eval_to_const_value_raw: crate::query::QueryVTable<'tcx,
    eval_to_const_value_raw::Cache<'tcx>>,
    pub eval_to_valtree: crate::query::QueryVTable<'tcx,
    eval_to_valtree::Cache<'tcx>>,
    pub valtree_to_const_val: crate::query::QueryVTable<'tcx,
    valtree_to_const_val::Cache<'tcx>>,
    pub lit_to_const: crate::query::QueryVTable<'tcx,
    lit_to_const::Cache<'tcx>>,
    pub check_match: crate::query::QueryVTable<'tcx,
    check_match::Cache<'tcx>>,
    pub effective_visibilities: crate::query::QueryVTable<'tcx,
    effective_visibilities::Cache<'tcx>>,
    pub check_private_in_public: crate::query::QueryVTable<'tcx,
    check_private_in_public::Cache<'tcx>>,
    pub reachable_set: crate::query::QueryVTable<'tcx,
    reachable_set::Cache<'tcx>>,
    pub region_scope_tree: crate::query::QueryVTable<'tcx,
    region_scope_tree::Cache<'tcx>>,
    pub mir_shims: crate::query::QueryVTable<'tcx, mir_shims::Cache<'tcx>>,
    pub symbol_name: crate::query::QueryVTable<'tcx,
    symbol_name::Cache<'tcx>>,
    pub def_kind: crate::query::QueryVTable<'tcx, def_kind::Cache<'tcx>>,
    pub def_span: crate::query::QueryVTable<'tcx, def_span::Cache<'tcx>>,
    pub def_ident_span: crate::query::QueryVTable<'tcx,
    def_ident_span::Cache<'tcx>>,
    pub ty_span: crate::query::QueryVTable<'tcx, ty_span::Cache<'tcx>>,
    pub lookup_stability: crate::query::QueryVTable<'tcx,
    lookup_stability::Cache<'tcx>>,
    pub lookup_const_stability: crate::query::QueryVTable<'tcx,
    lookup_const_stability::Cache<'tcx>>,
    pub lookup_default_body_stability: crate::query::QueryVTable<'tcx,
    lookup_default_body_stability::Cache<'tcx>>,
    pub should_inherit_track_caller: crate::query::QueryVTable<'tcx,
    should_inherit_track_caller::Cache<'tcx>>,
    pub inherited_align: crate::query::QueryVTable<'tcx,
    inherited_align::Cache<'tcx>>,
    pub lookup_deprecation_entry: crate::query::QueryVTable<'tcx,
    lookup_deprecation_entry::Cache<'tcx>>,
    pub is_doc_hidden: crate::query::QueryVTable<'tcx,
    is_doc_hidden::Cache<'tcx>>,
    pub is_doc_notable_trait: crate::query::QueryVTable<'tcx,
    is_doc_notable_trait::Cache<'tcx>>,
    pub attrs_for_def: crate::query::QueryVTable<'tcx,
    attrs_for_def::Cache<'tcx>>,
    pub codegen_fn_attrs: crate::query::QueryVTable<'tcx,
    codegen_fn_attrs::Cache<'tcx>>,
    pub asm_target_features: crate::query::QueryVTable<'tcx,
    asm_target_features::Cache<'tcx>>,
    pub fn_arg_idents: crate::query::QueryVTable<'tcx,
    fn_arg_idents::Cache<'tcx>>,
    pub rendered_const: crate::query::QueryVTable<'tcx,
    rendered_const::Cache<'tcx>>,
    pub rendered_precise_capturing_args: crate::query::QueryVTable<'tcx,
    rendered_precise_capturing_args::Cache<'tcx>>,
    pub impl_parent: crate::query::QueryVTable<'tcx,
    impl_parent::Cache<'tcx>>,
    pub is_mir_available: crate::query::QueryVTable<'tcx,
    is_mir_available::Cache<'tcx>>,
    pub own_existential_vtable_entries: crate::query::QueryVTable<'tcx,
    own_existential_vtable_entries::Cache<'tcx>>,
    pub vtable_entries: crate::query::QueryVTable<'tcx,
    vtable_entries::Cache<'tcx>>,
    pub first_method_vtable_slot: crate::query::QueryVTable<'tcx,
    first_method_vtable_slot::Cache<'tcx>>,
    pub supertrait_vtable_slot: crate::query::QueryVTable<'tcx,
    supertrait_vtable_slot::Cache<'tcx>>,
    pub vtable_allocation: crate::query::QueryVTable<'tcx,
    vtable_allocation::Cache<'tcx>>,
    pub codegen_select_candidate: crate::query::QueryVTable<'tcx,
    codegen_select_candidate::Cache<'tcx>>,
    pub all_local_trait_impls: crate::query::QueryVTable<'tcx,
    all_local_trait_impls::Cache<'tcx>>,
    pub local_trait_impls: crate::query::QueryVTable<'tcx,
    local_trait_impls::Cache<'tcx>>,
    pub trait_impls_of: crate::query::QueryVTable<'tcx,
    trait_impls_of::Cache<'tcx>>,
    pub specialization_graph_of: crate::query::QueryVTable<'tcx,
    specialization_graph_of::Cache<'tcx>>,
    pub dyn_compatibility_violations: crate::query::QueryVTable<'tcx,
    dyn_compatibility_violations::Cache<'tcx>>,
    pub is_dyn_compatible: crate::query::QueryVTable<'tcx,
    is_dyn_compatible::Cache<'tcx>>,
    pub param_env: crate::query::QueryVTable<'tcx, param_env::Cache<'tcx>>,
    pub param_env_normalized_for_post_analysis: crate::query::QueryVTable<'tcx,
    param_env_normalized_for_post_analysis::Cache<'tcx>>,
    pub is_copy_raw: crate::query::QueryVTable<'tcx,
    is_copy_raw::Cache<'tcx>>,
    pub is_use_cloned_raw: crate::query::QueryVTable<'tcx,
    is_use_cloned_raw::Cache<'tcx>>,
    pub is_sized_raw: crate::query::QueryVTable<'tcx,
    is_sized_raw::Cache<'tcx>>,
    pub is_freeze_raw: crate::query::QueryVTable<'tcx,
    is_freeze_raw::Cache<'tcx>>,
    pub is_unsafe_unpin_raw: crate::query::QueryVTable<'tcx,
    is_unsafe_unpin_raw::Cache<'tcx>>,
    pub is_unpin_raw: crate::query::QueryVTable<'tcx,
    is_unpin_raw::Cache<'tcx>>,
    pub is_async_drop_raw: crate::query::QueryVTable<'tcx,
    is_async_drop_raw::Cache<'tcx>>,
    pub needs_drop_raw: crate::query::QueryVTable<'tcx,
    needs_drop_raw::Cache<'tcx>>,
    pub needs_async_drop_raw: crate::query::QueryVTable<'tcx,
    needs_async_drop_raw::Cache<'tcx>>,
    pub has_significant_drop_raw: crate::query::QueryVTable<'tcx,
    has_significant_drop_raw::Cache<'tcx>>,
    pub has_structural_eq_impl: crate::query::QueryVTable<'tcx,
    has_structural_eq_impl::Cache<'tcx>>,
    pub adt_drop_tys: crate::query::QueryVTable<'tcx,
    adt_drop_tys::Cache<'tcx>>,
    pub adt_async_drop_tys: crate::query::QueryVTable<'tcx,
    adt_async_drop_tys::Cache<'tcx>>,
    pub adt_significant_drop_tys: crate::query::QueryVTable<'tcx,
    adt_significant_drop_tys::Cache<'tcx>>,
    pub list_significant_drop_tys: crate::query::QueryVTable<'tcx,
    list_significant_drop_tys::Cache<'tcx>>,
    pub layout_of: crate::query::QueryVTable<'tcx, layout_of::Cache<'tcx>>,
    pub fn_abi_of_fn_ptr: crate::query::QueryVTable<'tcx,
    fn_abi_of_fn_ptr::Cache<'tcx>>,
    pub fn_abi_of_instance_no_deduced_attrs: crate::query::QueryVTable<'tcx,
    fn_abi_of_instance_no_deduced_attrs::Cache<'tcx>>,
    pub fn_abi_of_instance_raw: crate::query::QueryVTable<'tcx,
    fn_abi_of_instance_raw::Cache<'tcx>>,
    pub dylib_dependency_formats: crate::query::QueryVTable<'tcx,
    dylib_dependency_formats::Cache<'tcx>>,
    pub dependency_formats: crate::query::QueryVTable<'tcx,
    dependency_formats::Cache<'tcx>>,
    pub is_compiler_builtins: crate::query::QueryVTable<'tcx,
    is_compiler_builtins::Cache<'tcx>>,
    pub has_global_allocator: crate::query::QueryVTable<'tcx,
    has_global_allocator::Cache<'tcx>>,
    pub has_alloc_error_handler: crate::query::QueryVTable<'tcx,
    has_alloc_error_handler::Cache<'tcx>>,
    pub has_panic_handler: crate::query::QueryVTable<'tcx,
    has_panic_handler::Cache<'tcx>>,
    pub is_profiler_runtime: crate::query::QueryVTable<'tcx,
    is_profiler_runtime::Cache<'tcx>>,
    pub has_ffi_unwind_calls: crate::query::QueryVTable<'tcx,
    has_ffi_unwind_calls::Cache<'tcx>>,
    pub required_panic_strategy: crate::query::QueryVTable<'tcx,
    required_panic_strategy::Cache<'tcx>>,
    pub panic_in_drop_strategy: crate::query::QueryVTable<'tcx,
    panic_in_drop_strategy::Cache<'tcx>>,
    pub is_no_builtins: crate::query::QueryVTable<'tcx,
    is_no_builtins::Cache<'tcx>>,
    pub symbol_mangling_version: crate::query::QueryVTable<'tcx,
    symbol_mangling_version::Cache<'tcx>>,
    pub extern_crate: crate::query::QueryVTable<'tcx,
    extern_crate::Cache<'tcx>>,
    pub specialization_enabled_in: crate::query::QueryVTable<'tcx,
    specialization_enabled_in::Cache<'tcx>>,
    pub specializes: crate::query::QueryVTable<'tcx,
    specializes::Cache<'tcx>>,
    pub defaultness: crate::query::QueryVTable<'tcx,
    defaultness::Cache<'tcx>>,
    pub default_field: crate::query::QueryVTable<'tcx,
    default_field::Cache<'tcx>>,
    pub check_well_formed: crate::query::QueryVTable<'tcx,
    check_well_formed::Cache<'tcx>>,
    pub enforce_impl_non_lifetime_params_are_constrained: crate::query::QueryVTable<'tcx,
    enforce_impl_non_lifetime_params_are_constrained::Cache<'tcx>>,
    pub reachable_non_generics: crate::query::QueryVTable<'tcx,
    reachable_non_generics::Cache<'tcx>>,
    pub is_reachable_non_generic: crate::query::QueryVTable<'tcx,
    is_reachable_non_generic::Cache<'tcx>>,
    pub is_unreachable_local_definition: crate::query::QueryVTable<'tcx,
    is_unreachable_local_definition::Cache<'tcx>>,
    pub upstream_monomorphizations: crate::query::QueryVTable<'tcx,
    upstream_monomorphizations::Cache<'tcx>>,
    pub upstream_monomorphizations_for: crate::query::QueryVTable<'tcx,
    upstream_monomorphizations_for::Cache<'tcx>>,
    pub upstream_drop_glue_for: crate::query::QueryVTable<'tcx,
    upstream_drop_glue_for::Cache<'tcx>>,
    pub upstream_async_drop_glue_for: crate::query::QueryVTable<'tcx,
    upstream_async_drop_glue_for::Cache<'tcx>>,
    pub foreign_modules: crate::query::QueryVTable<'tcx,
    foreign_modules::Cache<'tcx>>,
    pub clashing_extern_declarations: crate::query::QueryVTable<'tcx,
    clashing_extern_declarations::Cache<'tcx>>,
    pub entry_fn: crate::query::QueryVTable<'tcx, entry_fn::Cache<'tcx>>,
    pub proc_macro_decls_static: crate::query::QueryVTable<'tcx,
    proc_macro_decls_static::Cache<'tcx>>,
    pub crate_hash: crate::query::QueryVTable<'tcx, crate_hash::Cache<'tcx>>,
    pub crate_host_hash: crate::query::QueryVTable<'tcx,
    crate_host_hash::Cache<'tcx>>,
    pub extra_filename: crate::query::QueryVTable<'tcx,
    extra_filename::Cache<'tcx>>,
    pub crate_extern_paths: crate::query::QueryVTable<'tcx,
    crate_extern_paths::Cache<'tcx>>,
    pub implementations_of_trait: crate::query::QueryVTable<'tcx,
    implementations_of_trait::Cache<'tcx>>,
    pub crate_incoherent_impls: crate::query::QueryVTable<'tcx,
    crate_incoherent_impls::Cache<'tcx>>,
    pub native_library: crate::query::QueryVTable<'tcx,
    native_library::Cache<'tcx>>,
    pub inherit_sig_for_delegation_item: crate::query::QueryVTable<'tcx,
    inherit_sig_for_delegation_item::Cache<'tcx>>,
    pub delegation_user_specified_args: crate::query::QueryVTable<'tcx,
    delegation_user_specified_args::Cache<'tcx>>,
    pub resolve_bound_vars: crate::query::QueryVTable<'tcx,
    resolve_bound_vars::Cache<'tcx>>,
    pub named_variable_map: crate::query::QueryVTable<'tcx,
    named_variable_map::Cache<'tcx>>,
    pub is_late_bound_map: crate::query::QueryVTable<'tcx,
    is_late_bound_map::Cache<'tcx>>,
    pub object_lifetime_default: crate::query::QueryVTable<'tcx,
    object_lifetime_default::Cache<'tcx>>,
    pub late_bound_vars_map: crate::query::QueryVTable<'tcx,
    late_bound_vars_map::Cache<'tcx>>,
    pub opaque_captured_lifetimes: crate::query::QueryVTable<'tcx,
    opaque_captured_lifetimes::Cache<'tcx>>,
    pub live_args_for_alias_from_outlives_bounds: crate::query::QueryVTable<'tcx,
    live_args_for_alias_from_outlives_bounds::Cache<'tcx>>,
    pub args_known_to_outlive_alias_params: crate::query::QueryVTable<'tcx,
    args_known_to_outlive_alias_params::Cache<'tcx>>,
    pub visibility: crate::query::QueryVTable<'tcx, visibility::Cache<'tcx>>,
    pub inhabited_predicate_adt: crate::query::QueryVTable<'tcx,
    inhabited_predicate_adt::Cache<'tcx>>,
    pub inhabited_predicate_type: crate::query::QueryVTable<'tcx,
    inhabited_predicate_type::Cache<'tcx>>,
    pub is_opsem_inhabited_raw: crate::query::QueryVTable<'tcx,
    is_opsem_inhabited_raw::Cache<'tcx>>,
    pub crate_dep_kind: crate::query::QueryVTable<'tcx,
    crate_dep_kind::Cache<'tcx>>,
    pub crate_name: crate::query::QueryVTable<'tcx, crate_name::Cache<'tcx>>,
    pub module_children: crate::query::QueryVTable<'tcx,
    module_children::Cache<'tcx>>,
    pub num_extern_def_ids: crate::query::QueryVTable<'tcx,
    num_extern_def_ids::Cache<'tcx>>,
    pub lib_features: crate::query::QueryVTable<'tcx,
    lib_features::Cache<'tcx>>,
    pub stability_implications: crate::query::QueryVTable<'tcx,
    stability_implications::Cache<'tcx>>,
    pub intrinsic_raw: crate::query::QueryVTable<'tcx,
    intrinsic_raw::Cache<'tcx>>,
    pub get_lang_items: crate::query::QueryVTable<'tcx,
    get_lang_items::Cache<'tcx>>,
    pub all_diagnostic_items: crate::query::QueryVTable<'tcx,
    all_diagnostic_items::Cache<'tcx>>,
    pub all_canonical_symbols: crate::query::QueryVTable<'tcx,
    all_canonical_symbols::Cache<'tcx>>,
    pub defined_lang_items: crate::query::QueryVTable<'tcx,
    defined_lang_items::Cache<'tcx>>,
    pub diagnostic_items: crate::query::QueryVTable<'tcx,
    diagnostic_items::Cache<'tcx>>,
    pub canonical_symbols: crate::query::QueryVTable<'tcx,
    canonical_symbols::Cache<'tcx>>,
    pub missing_lang_items: crate::query::QueryVTable<'tcx,
    missing_lang_items::Cache<'tcx>>,
    pub visible_parent_map: crate::query::QueryVTable<'tcx,
    visible_parent_map::Cache<'tcx>>,
    pub trimmed_def_paths: crate::query::QueryVTable<'tcx,
    trimmed_def_paths::Cache<'tcx>>,
    pub missing_extern_crate_item: crate::query::QueryVTable<'tcx,
    missing_extern_crate_item::Cache<'tcx>>,
    pub used_crate_source: crate::query::QueryVTable<'tcx,
    used_crate_source::Cache<'tcx>>,
    pub debugger_visualizers: crate::query::QueryVTable<'tcx,
    debugger_visualizers::Cache<'tcx>>,
    pub postorder_cnums: crate::query::QueryVTable<'tcx,
    postorder_cnums::Cache<'tcx>>,
    pub is_private_dep: crate::query::QueryVTable<'tcx,
    is_private_dep::Cache<'tcx>>,
    pub allocator_kind: crate::query::QueryVTable<'tcx,
    allocator_kind::Cache<'tcx>>,
    pub alloc_error_handler_kind: crate::query::QueryVTable<'tcx,
    alloc_error_handler_kind::Cache<'tcx>>,
    pub upvars_mentioned: crate::query::QueryVTable<'tcx,
    upvars_mentioned::Cache<'tcx>>,
    pub crates: crate::query::QueryVTable<'tcx, crates::Cache<'tcx>>,
    pub used_crates: crate::query::QueryVTable<'tcx,
    used_crates::Cache<'tcx>>,
    pub duplicate_crate_names: crate::query::QueryVTable<'tcx,
    duplicate_crate_names::Cache<'tcx>>,
    pub traits: crate::query::QueryVTable<'tcx, traits::Cache<'tcx>>,
    pub trait_impls_in_crate: crate::query::QueryVTable<'tcx,
    trait_impls_in_crate::Cache<'tcx>>,
    pub stable_order_of_exportable_impls: crate::query::QueryVTable<'tcx,
    stable_order_of_exportable_impls::Cache<'tcx>>,
    pub exportable_items: crate::query::QueryVTable<'tcx,
    exportable_items::Cache<'tcx>>,
    pub exported_non_generic_symbols: crate::query::QueryVTable<'tcx,
    exported_non_generic_symbols::Cache<'tcx>>,
    pub exported_generic_symbols: crate::query::QueryVTable<'tcx,
    exported_generic_symbols::Cache<'tcx>>,
    pub collect_and_partition_mono_items: crate::query::QueryVTable<'tcx,
    collect_and_partition_mono_items::Cache<'tcx>>,
    pub is_codegened_item: crate::query::QueryVTable<'tcx,
    is_codegened_item::Cache<'tcx>>,
    pub codegen_unit: crate::query::QueryVTable<'tcx,
    codegen_unit::Cache<'tcx>>,
    pub backend_optimization_level: crate::query::QueryVTable<'tcx,
    backend_optimization_level::Cache<'tcx>>,
    pub output_filenames: crate::query::QueryVTable<'tcx,
    output_filenames::Cache<'tcx>>,
    pub normalize_canonicalized_projection: crate::query::QueryVTable<'tcx,
    normalize_canonicalized_projection::Cache<'tcx>>,
    pub normalize_canonicalized_free_alias: crate::query::QueryVTable<'tcx,
    normalize_canonicalized_free_alias::Cache<'tcx>>,
    pub normalize_canonicalized_inherent_projection: crate::query::QueryVTable<'tcx,
    normalize_canonicalized_inherent_projection::Cache<'tcx>>,
    pub try_normalize_generic_arg_after_erasing_regions: crate::query::QueryVTable<'tcx,
    try_normalize_generic_arg_after_erasing_regions::Cache<'tcx>>,
    pub implied_outlives_bounds: crate::query::QueryVTable<'tcx,
    implied_outlives_bounds::Cache<'tcx>>,
    pub mir_borrowck_implied_outlives_bounds: crate::query::QueryVTable<'tcx,
    mir_borrowck_implied_outlives_bounds::Cache<'tcx>>,
    pub dropck_outlives: crate::query::QueryVTable<'tcx,
    dropck_outlives::Cache<'tcx>>,
    pub evaluate_obligation: crate::query::QueryVTable<'tcx,
    evaluate_obligation::Cache<'tcx>>,
    pub type_op_ascribe_user_type: crate::query::QueryVTable<'tcx,
    type_op_ascribe_user_type::Cache<'tcx>>,
    pub type_op_prove_predicate: crate::query::QueryVTable<'tcx,
    type_op_prove_predicate::Cache<'tcx>>,
    pub type_op_normalize_ty: crate::query::QueryVTable<'tcx,
    type_op_normalize_ty::Cache<'tcx>>,
    pub type_op_normalize_clause: crate::query::QueryVTable<'tcx,
    type_op_normalize_clause::Cache<'tcx>>,
    pub type_op_normalize_poly_fn_sig: crate::query::QueryVTable<'tcx,
    type_op_normalize_poly_fn_sig::Cache<'tcx>>,
    pub type_op_normalize_fn_sig: crate::query::QueryVTable<'tcx,
    type_op_normalize_fn_sig::Cache<'tcx>>,
    pub instantiate_and_check_impossible_clauses: crate::query::QueryVTable<'tcx,
    instantiate_and_check_impossible_clauses::Cache<'tcx>>,
    pub is_impossible_associated_item: crate::query::QueryVTable<'tcx,
    is_impossible_associated_item::Cache<'tcx>>,
    pub method_autoderef_steps: crate::query::QueryVTable<'tcx,
    method_autoderef_steps::Cache<'tcx>>,
    pub evaluate_root_goal_for_proof_tree_raw: crate::query::QueryVTable<'tcx,
    evaluate_root_goal_for_proof_tree_raw::Cache<'tcx>>,
    pub all_rust_target_features: crate::query::QueryVTable<'tcx,
    all_rust_target_features::Cache<'tcx>>,
    pub implied_target_features: crate::query::QueryVTable<'tcx,
    implied_target_features::Cache<'tcx>>,
    pub features_query: crate::query::QueryVTable<'tcx,
    features_query::Cache<'tcx>>,
    pub crate_for_resolver: crate::query::QueryVTable<'tcx,
    crate_for_resolver::Cache<'tcx>>,
    pub resolve_instance_raw: crate::query::QueryVTable<'tcx,
    resolve_instance_raw::Cache<'tcx>>,
    pub reveal_opaque_types_in_bounds: crate::query::QueryVTable<'tcx,
    reveal_opaque_types_in_bounds::Cache<'tcx>>,
    pub limits: crate::query::QueryVTable<'tcx, limits::Cache<'tcx>>,
    pub diagnostic_hir_wf_check: crate::query::QueryVTable<'tcx,
    diagnostic_hir_wf_check::Cache<'tcx>>,
    pub global_backend_features: crate::query::QueryVTable<'tcx,
    global_backend_features::Cache<'tcx>>,
    pub check_validity_requirement: crate::query::QueryVTable<'tcx,
    check_validity_requirement::Cache<'tcx>>,
    pub compare_impl_item: crate::query::QueryVTable<'tcx,
    compare_impl_item::Cache<'tcx>>,
    pub deduced_param_attrs: crate::query::QueryVTable<'tcx,
    deduced_param_attrs::Cache<'tcx>>,
    pub doc_link_resolutions: crate::query::QueryVTable<'tcx,
    doc_link_resolutions::Cache<'tcx>>,
    pub doc_link_traits_in_scope: crate::query::QueryVTable<'tcx,
    doc_link_traits_in_scope::Cache<'tcx>>,
    pub stripped_cfg_items: crate::query::QueryVTable<'tcx,
    stripped_cfg_items::Cache<'tcx>>,
    pub generics_require_sized_self: crate::query::QueryVTable<'tcx,
    generics_require_sized_self::Cache<'tcx>>,
    pub cross_crate_inlinable: crate::query::QueryVTable<'tcx,
    cross_crate_inlinable::Cache<'tcx>>,
    pub check_mono_item: crate::query::QueryVTable<'tcx,
    check_mono_item::Cache<'tcx>>,
    pub items_of_instance: crate::query::QueryVTable<'tcx,
    items_of_instance::Cache<'tcx>>,
    pub size_estimate: crate::query::QueryVTable<'tcx,
    size_estimate::Cache<'tcx>>,
    pub anon_const_kind: crate::query::QueryVTable<'tcx,
    anon_const_kind::Cache<'tcx>>,
    pub trivial_const: crate::query::QueryVTable<'tcx,
    trivial_const::Cache<'tcx>>,
    pub sanitizer_settings_for: crate::query::QueryVTable<'tcx,
    sanitizer_settings_for::Cache<'tcx>>,
    pub check_externally_implementable_items: crate::query::QueryVTable<'tcx,
    check_externally_implementable_items::Cache<'tcx>>,
    pub externally_implementable_items: crate::query::QueryVTable<'tcx,
    externally_implementable_items::Cache<'tcx>>,
}
/// Holds per-query arenas for queries with the `arena_cache` modifier.
pub struct QueryArenas<'tcx> {
    pub registered_attr_tools: TypedArena<<&'tcx ty::RegisteredTools as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub registered_lint_tools: TypedArena<<&'tcx ty::RegisteredTools as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub index_ast: TypedArena<<&'tcx IndexVec<LocalDefId,
    Steal<(Arc<ty::ResolverAstLowering<'tcx>>, ast::AstOwner)>> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub hir_crate_items: TypedArena<<&'tcx rustc_middle::hir::ModuleItems as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub hir_module_items: TypedArena<<&'tcx rustc_middle::hir::ModuleItems as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub unsizing_params_for_adt: TypedArena<<&'tcx rustc_index::bit_set::DenseBitSet<u32>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub generics_of: TypedArena<<&'tcx ty::Generics as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub native_libraries: TypedArena<<&'tcx Vec<NativeLib> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub shallow_lint_levels_on: TypedArena<<&'tcx rustc_middle::lint::ShallowLintLevelMap
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub lint_expectations: TypedArena<<&'tcx Vec<(StableLintExpectationId,
    LintExpectation)> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub skippable_lints: TypedArena<<&'tcx UnordSet<LintId> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub params_in_repr: TypedArena<<&'tcx rustc_index::bit_set::DenseBitSet<u32>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub mir_keys: TypedArena<<&'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub closure_saved_names_of_captured_variables: TypedArena<<&'tcx IndexVec<abi::FieldIdx,
    Symbol> as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub mir_coroutine_witnesses: TypedArena<<Option<&'tcx mir::CoroutineLayout<'tcx>>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub coverage_codegen_info: TypedArena<<Option<&'tcx mir::coverage::CoverageCodegenInfo>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub wasm_import_module_map: TypedArena<<&'tcx DefIdMap<String> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub trait_def: TypedArena<<&'tcx ty::TraitDef as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub crate_variances: TypedArena<<&'tcx ty::CrateVariancesMap<'tcx> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub inferred_outlives_crate: TypedArena<<&'tcx ty::CrateClausesMap<'tcx>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub associated_items: TypedArena<<&'tcx ty::AssocItems as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub impl_item_implementor_ids: TypedArena<<&'tcx DefIdMap<DefId> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub associated_types_for_impl_traits_in_trait_or_impl: TypedArena<<&'tcx DefIdMap<Vec<DefId>>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub check_liveness: TypedArena<<&'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub live_symbols_and_ignored_derived_traits: TypedArena<<Result<&'tcx DeadCodeLivenessSummary,
    ErrorGuaranteed> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub mir_callgraph_cyclic: TypedArena<<Option<&'tcx UnordSet<LocalDefId>>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub reachable_set: TypedArena<<&'tcx LocalDefIdSet as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub mir_shims: TypedArena<<&'tcx mir::Body<'tcx> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub codegen_fn_attrs: TypedArena<<&'tcx CodegenFnAttrs as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub rendered_const: TypedArena<<&'tcx String as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub trait_impls_of: TypedArena<<&'tcx ty::trait_def::TraitImpls as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub dependency_formats: TypedArena<<&'tcx Arc<crate::middle::dependency_format::Dependencies>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub reachable_non_generics: TypedArena<<&'tcx DefIdMap<SymbolExportInfo>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub upstream_monomorphizations: TypedArena<<&'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>,
    CrateNum>> as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub foreign_modules: TypedArena<<&'tcx FxIndexMap<DefId, ForeignModule> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub extra_filename: TypedArena<<&'tcx String as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub crate_extern_paths: TypedArena<<&'tcx Vec<PathBuf> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub resolve_bound_vars: TypedArena<<&'tcx ResolveBoundVars<'tcx> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub live_args_for_alias_from_outlives_bounds: TypedArena<<&'tcx Option<ty::EarlyBinder<'tcx,
    Vec<ty::GenericArg<'tcx>>>> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub args_known_to_outlive_alias_params: TypedArena<<&'tcx ty::EarlyBinder<'tcx,
    Vec<(ty::Region<'tcx>, Vec<ty::GenericArg<'tcx>>)>> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub lib_features: TypedArena<<&'tcx LibFeatures as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub stability_implications: TypedArena<<&'tcx UnordMap<Symbol, Symbol> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub get_lang_items: TypedArena<<&'tcx LanguageItems as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub all_diagnostic_items: TypedArena<<&'tcx rustc_hir::attrs::diagnostic_items::DiagnosticItems
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub all_canonical_symbols: TypedArena<<&'tcx CanonicalSymbols as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub diagnostic_items: TypedArena<<&'tcx rustc_hir::attrs::diagnostic_items::DiagnosticItems
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub canonical_symbols: TypedArena<<&'tcx CanonicalSymbols as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub visible_parent_map: TypedArena<<&'tcx DefIdMap<DefId> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub trimmed_def_paths: TypedArena<<&'tcx DefIdMap<Symbol> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub used_crate_source: TypedArena<<&'tcx Arc<CrateSource> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub debugger_visualizers: TypedArena<<&'tcx Vec<DebuggerVisualizerFile> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub output_filenames: TypedArena<<&'tcx Arc<OutputFilenames> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub all_rust_target_features: TypedArena<<&'tcx UnordMap<String,
    rustc_target::target_features::Stability> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub implied_target_features: TypedArena<<&'tcx Vec<Symbol> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub diagnostic_hir_wf_check: TypedArena<<Option<&'tcx ObligationCause<'tcx>>
    as crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub global_backend_features: TypedArena<<&'tcx Vec<String> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
    pub externally_implementable_items: TypedArena<<&'tcx FxIndexMap<DefId,
    (EiiDecl, FxIndexMap<DefId, EiiImpl>)> as
    crate::query::arena_cached::ArenaCached<'tcx>>::Allocated>,
}
#[automatically_derived]
impl<'tcx> ::core::default::Default for QueryArenas<'tcx> {
    #[inline]
    fn default() -> QueryArenas<'tcx> {
        QueryArenas {
            registered_attr_tools: ::core::default::Default::default(),
            registered_lint_tools: ::core::default::Default::default(),
            index_ast: ::core::default::Default::default(),
            hir_crate_items: ::core::default::Default::default(),
            hir_module_items: ::core::default::Default::default(),
            unsizing_params_for_adt: ::core::default::Default::default(),
            generics_of: ::core::default::Default::default(),
            native_libraries: ::core::default::Default::default(),
            shallow_lint_levels_on: ::core::default::Default::default(),
            lint_expectations: ::core::default::Default::default(),
            skippable_lints: ::core::default::Default::default(),
            params_in_repr: ::core::default::Default::default(),
            mir_keys: ::core::default::Default::default(),
            closure_saved_names_of_captured_variables: ::core::default::Default::default(),
            mir_coroutine_witnesses: ::core::default::Default::default(),
            coverage_codegen_info: ::core::default::Default::default(),
            wasm_import_module_map: ::core::default::Default::default(),
            trait_def: ::core::default::Default::default(),
            crate_variances: ::core::default::Default::default(),
            inferred_outlives_crate: ::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(),
            check_liveness: ::core::default::Default::default(),
            live_symbols_and_ignored_derived_traits: ::core::default::Default::default(),
            mir_callgraph_cyclic: ::core::default::Default::default(),
            reachable_set: ::core::default::Default::default(),
            mir_shims: ::core::default::Default::default(),
            codegen_fn_attrs: ::core::default::Default::default(),
            rendered_const: ::core::default::Default::default(),
            trait_impls_of: ::core::default::Default::default(),
            dependency_formats: ::core::default::Default::default(),
            reachable_non_generics: ::core::default::Default::default(),
            upstream_monomorphizations: ::core::default::Default::default(),
            foreign_modules: ::core::default::Default::default(),
            extra_filename: ::core::default::Default::default(),
            crate_extern_paths: ::core::default::Default::default(),
            resolve_bound_vars: ::core::default::Default::default(),
            live_args_for_alias_from_outlives_bounds: ::core::default::Default::default(),
            args_known_to_outlive_alias_params: ::core::default::Default::default(),
            lib_features: ::core::default::Default::default(),
            stability_implications: ::core::default::Default::default(),
            get_lang_items: ::core::default::Default::default(),
            all_diagnostic_items: ::core::default::Default::default(),
            all_canonical_symbols: ::core::default::Default::default(),
            diagnostic_items: ::core::default::Default::default(),
            canonical_symbols: ::core::default::Default::default(),
            visible_parent_map: ::core::default::Default::default(),
            trimmed_def_paths: ::core::default::Default::default(),
            used_crate_source: ::core::default::Default::default(),
            debugger_visualizers: ::core::default::Default::default(),
            output_filenames: ::core::default::Default::default(),
            all_rust_target_features: ::core::default::Default::default(),
            implied_target_features: ::core::default::Default::default(),
            diagnostic_hir_wf_check: ::core::default::Default::default(),
            global_backend_features: ::core::default::Default::default(),
            externally_implementable_items: ::core::default::Default::default(),
        }
    }
}
pub struct Providers {
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub derive_macro_expansion: for<'tcx> fn(TyCtxt<'tcx>,
        derive_macro_expansion::LocalKey<'tcx>)
        -> derive_macro_expansion::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub trigger_delayed_bug: for<'tcx> fn(TyCtxt<'tcx>,
        trigger_delayed_bug::LocalKey<'tcx>)
        -> trigger_delayed_bug::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub registered_attr_tools: for<'tcx> fn(TyCtxt<'tcx>,
        registered_attr_tools::LocalKey<'tcx>)
        -> registered_attr_tools::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub registered_lint_tools: for<'tcx> fn(TyCtxt<'tcx>,
        registered_lint_tools::LocalKey<'tcx>)
        -> registered_lint_tools::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub early_lint_checks: for<'tcx> fn(TyCtxt<'tcx>,
        early_lint_checks::LocalKey<'tcx>)
        -> early_lint_checks::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub env_var_os: for<'tcx> fn(TyCtxt<'tcx>, env_var_os::LocalKey<'tcx>)
        -> env_var_os::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub resolutions: for<'tcx> fn(TyCtxt<'tcx>, resolutions::LocalKey<'tcx>)
        -> resolutions::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub resolver_for_lowering_raw: for<'tcx> fn(TyCtxt<'tcx>,
        resolver_for_lowering_raw::LocalKey<'tcx>)
        -> resolver_for_lowering_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub index_ast: for<'tcx> fn(TyCtxt<'tcx>, index_ast::LocalKey<'tcx>)
        -> index_ast::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub source_span: for<'tcx> fn(TyCtxt<'tcx>, source_span::LocalKey<'tcx>)
        -> source_span::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub lower_to_hir: for<'tcx> fn(TyCtxt<'tcx>, lower_to_hir::LocalKey<'tcx>)
        -> lower_to_hir::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub hir_owner: for<'tcx> fn(TyCtxt<'tcx>, hir_owner::LocalKey<'tcx>)
        -> hir_owner::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub hir_crate_items: for<'tcx> fn(TyCtxt<'tcx>,
        hir_crate_items::LocalKey<'tcx>)
        -> hir_crate_items::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub hir_module_items: for<'tcx> fn(TyCtxt<'tcx>,
        hir_module_items::LocalKey<'tcx>)
        -> hir_module_items::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub hir_owner_parent_q: for<'tcx> fn(TyCtxt<'tcx>,
        hir_owner_parent_q::LocalKey<'tcx>)
        -> hir_owner_parent_q::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub hir_attr_map: for<'tcx> fn(TyCtxt<'tcx>, hir_attr_map::LocalKey<'tcx>)
        -> hir_attr_map::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub const_param_default: for<'tcx> fn(TyCtxt<'tcx>,
        const_param_default::LocalKey<'tcx>)
        -> const_param_default::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub const_of_item: for<'tcx> fn(TyCtxt<'tcx>,
        const_of_item::LocalKey<'tcx>) -> const_of_item::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub type_of: for<'tcx> fn(TyCtxt<'tcx>, type_of::LocalKey<'tcx>)
        -> type_of::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub type_of_opaque: for<'tcx> fn(TyCtxt<'tcx>,
        type_of_opaque::LocalKey<'tcx>)
        -> type_of_opaque::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub type_of_opaque_hir_typeck: for<'tcx> fn(TyCtxt<'tcx>,
        type_of_opaque_hir_typeck::LocalKey<'tcx>)
        -> type_of_opaque_hir_typeck::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub type_alias_is_checked: for<'tcx> fn(TyCtxt<'tcx>,
        type_alias_is_checked::LocalKey<'tcx>)
        -> type_alias_is_checked::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub collect_return_position_impl_trait_in_trait_tys: for<'tcx> fn(TyCtxt<'tcx>,
        collect_return_position_impl_trait_in_trait_tys::LocalKey<'tcx>)
        ->
            collect_return_position_impl_trait_in_trait_tys::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub opaque_ty_origin: for<'tcx> fn(TyCtxt<'tcx>,
        opaque_ty_origin::LocalKey<'tcx>)
        -> opaque_ty_origin::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub unsizing_params_for_adt: for<'tcx> fn(TyCtxt<'tcx>,
        unsizing_params_for_adt::LocalKey<'tcx>)
        -> unsizing_params_for_adt::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub analysis: for<'tcx> fn(TyCtxt<'tcx>, analysis::LocalKey<'tcx>)
        -> analysis::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_expectations: for<'tcx> fn(TyCtxt<'tcx>,
        check_expectations::LocalKey<'tcx>)
        -> check_expectations::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub generics_of: for<'tcx> fn(TyCtxt<'tcx>, generics_of::LocalKey<'tcx>)
        -> generics_of::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub clauses_of: for<'tcx> fn(TyCtxt<'tcx>, clauses_of::LocalKey<'tcx>)
        -> clauses_of::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub opaque_types_defined_by: for<'tcx> fn(TyCtxt<'tcx>,
        opaque_types_defined_by::LocalKey<'tcx>)
        -> opaque_types_defined_by::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub nested_bodies_within: for<'tcx> fn(TyCtxt<'tcx>,
        nested_bodies_within::LocalKey<'tcx>)
        -> nested_bodies_within::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub explicit_item_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        explicit_item_bounds::LocalKey<'tcx>)
        -> explicit_item_bounds::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub explicit_item_self_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        explicit_item_self_bounds::LocalKey<'tcx>)
        -> explicit_item_self_bounds::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub item_bounds: for<'tcx> fn(TyCtxt<'tcx>, item_bounds::LocalKey<'tcx>)
        -> item_bounds::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub item_self_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        item_self_bounds::LocalKey<'tcx>)
        -> item_self_bounds::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub item_non_self_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        item_non_self_bounds::LocalKey<'tcx>)
        -> item_non_self_bounds::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub impl_super_outlives: for<'tcx> fn(TyCtxt<'tcx>,
        impl_super_outlives::LocalKey<'tcx>)
        -> impl_super_outlives::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub native_libraries: for<'tcx> fn(TyCtxt<'tcx>,
        native_libraries::LocalKey<'tcx>)
        -> native_libraries::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub shallow_lint_levels_on: for<'tcx> fn(TyCtxt<'tcx>,
        shallow_lint_levels_on::LocalKey<'tcx>)
        -> shallow_lint_levels_on::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub lint_expectations: for<'tcx> fn(TyCtxt<'tcx>,
        lint_expectations::LocalKey<'tcx>)
        -> lint_expectations::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub skippable_lints: for<'tcx> fn(TyCtxt<'tcx>,
        skippable_lints::LocalKey<'tcx>)
        -> skippable_lints::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub expn_that_defined: for<'tcx> fn(TyCtxt<'tcx>,
        expn_that_defined::LocalKey<'tcx>)
        -> expn_that_defined::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_panic_runtime: for<'tcx> fn(TyCtxt<'tcx>,
        is_panic_runtime::LocalKey<'tcx>)
        -> is_panic_runtime::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_representability: for<'tcx> fn(TyCtxt<'tcx>,
        check_representability::LocalKey<'tcx>)
        -> check_representability::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_representability_adt_ty: for<'tcx> fn(TyCtxt<'tcx>,
        check_representability_adt_ty::LocalKey<'tcx>)
        -> check_representability_adt_ty::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub params_in_repr: for<'tcx> fn(TyCtxt<'tcx>,
        params_in_repr::LocalKey<'tcx>)
        -> params_in_repr::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub thir_body: for<'tcx> fn(TyCtxt<'tcx>, thir_body::LocalKey<'tcx>)
        -> thir_body::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub mir_keys: for<'tcx> fn(TyCtxt<'tcx>, mir_keys::LocalKey<'tcx>)
        -> mir_keys::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub mir_const_qualif: for<'tcx> fn(TyCtxt<'tcx>,
        mir_const_qualif::LocalKey<'tcx>)
        -> mir_const_qualif::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub mir_built: for<'tcx> fn(TyCtxt<'tcx>, mir_built::LocalKey<'tcx>)
        -> mir_built::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub thir_abstract_const: for<'tcx> fn(TyCtxt<'tcx>,
        thir_abstract_const::LocalKey<'tcx>)
        -> thir_abstract_const::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub mir_drops_elaborated_and_const_checked: for<'tcx> fn(TyCtxt<'tcx>,
        mir_drops_elaborated_and_const_checked::LocalKey<'tcx>)
        -> mir_drops_elaborated_and_const_checked::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub mir_for_ctfe: for<'tcx> fn(TyCtxt<'tcx>, mir_for_ctfe::LocalKey<'tcx>)
        -> mir_for_ctfe::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub mir_promoted: for<'tcx> fn(TyCtxt<'tcx>, mir_promoted::LocalKey<'tcx>)
        -> mir_promoted::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub closure_typeinfo: for<'tcx> fn(TyCtxt<'tcx>,
        closure_typeinfo::LocalKey<'tcx>)
        -> closure_typeinfo::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub closure_saved_names_of_captured_variables: for<'tcx> fn(TyCtxt<'tcx>,
        closure_saved_names_of_captured_variables::LocalKey<'tcx>)
        -> closure_saved_names_of_captured_variables::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub mir_coroutine_witnesses: for<'tcx> fn(TyCtxt<'tcx>,
        mir_coroutine_witnesses::LocalKey<'tcx>)
        -> mir_coroutine_witnesses::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_coroutine_obligations: for<'tcx> fn(TyCtxt<'tcx>,
        check_coroutine_obligations::LocalKey<'tcx>)
        -> check_coroutine_obligations::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_potentially_region_dependent_goals: for<'tcx> fn(TyCtxt<'tcx>,
        check_potentially_region_dependent_goals::LocalKey<'tcx>)
        -> check_potentially_region_dependent_goals::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub optimized_mir: for<'tcx> fn(TyCtxt<'tcx>,
        optimized_mir::LocalKey<'tcx>) -> optimized_mir::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_eligible_for_coverage: for<'tcx> fn(TyCtxt<'tcx>,
        is_eligible_for_coverage::LocalKey<'tcx>)
        -> is_eligible_for_coverage::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub coverage_attr_on: for<'tcx> fn(TyCtxt<'tcx>,
        coverage_attr_on::LocalKey<'tcx>)
        -> coverage_attr_on::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub coverage_codegen_info: for<'tcx> fn(TyCtxt<'tcx>,
        coverage_codegen_info::LocalKey<'tcx>)
        -> coverage_codegen_info::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub promoted_mir: for<'tcx> fn(TyCtxt<'tcx>, promoted_mir::LocalKey<'tcx>)
        -> promoted_mir::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub erase_and_anonymize_regions_ty: for<'tcx> fn(TyCtxt<'tcx>,
        erase_and_anonymize_regions_ty::LocalKey<'tcx>)
        -> erase_and_anonymize_regions_ty::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub wasm_import_module_map: for<'tcx> fn(TyCtxt<'tcx>,
        wasm_import_module_map::LocalKey<'tcx>)
        -> wasm_import_module_map::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub trait_explicit_clauses_and_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        trait_explicit_clauses_and_bounds::LocalKey<'tcx>)
        -> trait_explicit_clauses_and_bounds::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub explicit_clauses_of: for<'tcx> fn(TyCtxt<'tcx>,
        explicit_clauses_of::LocalKey<'tcx>)
        -> explicit_clauses_of::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub inferred_outlives_of: for<'tcx> fn(TyCtxt<'tcx>,
        inferred_outlives_of::LocalKey<'tcx>)
        -> inferred_outlives_of::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub explicit_super_clauses_of: for<'tcx> fn(TyCtxt<'tcx>,
        explicit_super_clauses_of::LocalKey<'tcx>)
        -> explicit_super_clauses_of::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub explicit_implied_clauses_of: for<'tcx> fn(TyCtxt<'tcx>,
        explicit_implied_clauses_of::LocalKey<'tcx>)
        -> explicit_implied_clauses_of::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub explicit_supertraits_containing_assoc_item: for<'tcx> fn(TyCtxt<'tcx>,
        explicit_supertraits_containing_assoc_item::LocalKey<'tcx>)
        -> explicit_supertraits_containing_assoc_item::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub const_conditions: for<'tcx> fn(TyCtxt<'tcx>,
        const_conditions::LocalKey<'tcx>)
        -> const_conditions::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub explicit_implied_const_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        explicit_implied_const_bounds::LocalKey<'tcx>)
        -> explicit_implied_const_bounds::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub type_param_clauses: for<'tcx> fn(TyCtxt<'tcx>,
        type_param_clauses::LocalKey<'tcx>)
        -> type_param_clauses::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub trait_def: for<'tcx> fn(TyCtxt<'tcx>, trait_def::LocalKey<'tcx>)
        -> trait_def::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub adt_def: for<'tcx> fn(TyCtxt<'tcx>, adt_def::LocalKey<'tcx>)
        -> adt_def::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub adt_destructor: for<'tcx> fn(TyCtxt<'tcx>,
        adt_destructor::LocalKey<'tcx>)
        -> adt_destructor::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub adt_async_destructor: for<'tcx> fn(TyCtxt<'tcx>,
        adt_async_destructor::LocalKey<'tcx>)
        -> adt_async_destructor::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub adt_sizedness_constraint: for<'tcx> fn(TyCtxt<'tcx>,
        adt_sizedness_constraint::LocalKey<'tcx>)
        -> adt_sizedness_constraint::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub adt_dtorck_constraint: for<'tcx> fn(TyCtxt<'tcx>,
        adt_dtorck_constraint::LocalKey<'tcx>)
        -> adt_dtorck_constraint::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub constness: for<'tcx> fn(TyCtxt<'tcx>, constness::LocalKey<'tcx>)
        -> constness::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub asyncness: for<'tcx> fn(TyCtxt<'tcx>, asyncness::LocalKey<'tcx>)
        -> asyncness::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_promotable_const_fn: for<'tcx> fn(TyCtxt<'tcx>,
        is_promotable_const_fn::LocalKey<'tcx>)
        -> is_promotable_const_fn::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub coroutine_by_move_body_def_id: for<'tcx> fn(TyCtxt<'tcx>,
        coroutine_by_move_body_def_id::LocalKey<'tcx>)
        -> coroutine_by_move_body_def_id::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub coroutine_kind: for<'tcx> fn(TyCtxt<'tcx>,
        coroutine_kind::LocalKey<'tcx>)
        -> coroutine_kind::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub coroutine_for_closure: for<'tcx> fn(TyCtxt<'tcx>,
        coroutine_for_closure::LocalKey<'tcx>)
        -> coroutine_for_closure::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub coroutine_hidden_types: for<'tcx> fn(TyCtxt<'tcx>,
        coroutine_hidden_types::LocalKey<'tcx>)
        -> coroutine_hidden_types::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub crate_variances: for<'tcx> fn(TyCtxt<'tcx>,
        crate_variances::LocalKey<'tcx>)
        -> crate_variances::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub variances_of: for<'tcx> fn(TyCtxt<'tcx>, variances_of::LocalKey<'tcx>)
        -> variances_of::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub inferred_outlives_crate: for<'tcx> fn(TyCtxt<'tcx>,
        inferred_outlives_crate::LocalKey<'tcx>)
        -> inferred_outlives_crate::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub associated_item_def_ids: for<'tcx> fn(TyCtxt<'tcx>,
        associated_item_def_ids::LocalKey<'tcx>)
        -> associated_item_def_ids::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub associated_item: for<'tcx> fn(TyCtxt<'tcx>,
        associated_item::LocalKey<'tcx>)
        -> associated_item::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub associated_items: for<'tcx> fn(TyCtxt<'tcx>,
        associated_items::LocalKey<'tcx>)
        -> associated_items::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub impl_item_implementor_ids: for<'tcx> fn(TyCtxt<'tcx>,
        impl_item_implementor_ids::LocalKey<'tcx>)
        -> impl_item_implementor_ids::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub associated_types_for_impl_traits_in_trait_or_impl: for<'tcx> fn(TyCtxt<'tcx>,
        associated_types_for_impl_traits_in_trait_or_impl::LocalKey<'tcx>)
        ->
            associated_types_for_impl_traits_in_trait_or_impl::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub impl_trait_header: for<'tcx> fn(TyCtxt<'tcx>,
        impl_trait_header::LocalKey<'tcx>)
        -> impl_trait_header::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub impl_is_fully_generic_for_reflection: for<'tcx> fn(TyCtxt<'tcx>,
        impl_is_fully_generic_for_reflection::LocalKey<'tcx>)
        -> impl_is_fully_generic_for_reflection::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub impl_self_is_guaranteed_unsized: for<'tcx> fn(TyCtxt<'tcx>,
        impl_self_is_guaranteed_unsized::LocalKey<'tcx>)
        -> impl_self_is_guaranteed_unsized::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub inherent_impls: for<'tcx> fn(TyCtxt<'tcx>,
        inherent_impls::LocalKey<'tcx>)
        -> inherent_impls::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub incoherent_impls: for<'tcx> fn(TyCtxt<'tcx>,
        incoherent_impls::LocalKey<'tcx>)
        -> incoherent_impls::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_transmutes: for<'tcx> fn(TyCtxt<'tcx>,
        check_transmutes::LocalKey<'tcx>)
        -> check_transmutes::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_offloads: for<'tcx> fn(TyCtxt<'tcx>,
        check_offloads::LocalKey<'tcx>)
        -> check_offloads::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_unsafety: for<'tcx> fn(TyCtxt<'tcx>,
        check_unsafety::LocalKey<'tcx>)
        -> check_unsafety::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_tail_calls: for<'tcx> fn(TyCtxt<'tcx>,
        check_tail_calls::LocalKey<'tcx>)
        -> check_tail_calls::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub assumed_wf_types: for<'tcx> fn(TyCtxt<'tcx>,
        assumed_wf_types::LocalKey<'tcx>)
        -> assumed_wf_types::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub assumed_wf_types_for_rpitit: for<'tcx> fn(TyCtxt<'tcx>,
        assumed_wf_types_for_rpitit::LocalKey<'tcx>)
        -> assumed_wf_types_for_rpitit::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub fn_sig: for<'tcx> fn(TyCtxt<'tcx>, fn_sig::LocalKey<'tcx>)
        -> fn_sig::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub lint_mod: for<'tcx> fn(TyCtxt<'tcx>, lint_mod::LocalKey<'tcx>)
        -> lint_mod::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_unused_traits: for<'tcx> fn(TyCtxt<'tcx>,
        check_unused_traits::LocalKey<'tcx>)
        -> check_unused_traits::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_mod_attrs: for<'tcx> fn(TyCtxt<'tcx>,
        check_mod_attrs::LocalKey<'tcx>)
        -> check_mod_attrs::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_mod_unstable_api_usage: for<'tcx> fn(TyCtxt<'tcx>,
        check_mod_unstable_api_usage::LocalKey<'tcx>)
        -> check_mod_unstable_api_usage::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_mod_privacy: for<'tcx> fn(TyCtxt<'tcx>,
        check_mod_privacy::LocalKey<'tcx>)
        -> check_mod_privacy::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_liveness: for<'tcx> fn(TyCtxt<'tcx>,
        check_liveness::LocalKey<'tcx>)
        -> check_liveness::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub live_symbols_and_ignored_derived_traits: for<'tcx> fn(TyCtxt<'tcx>,
        live_symbols_and_ignored_derived_traits::LocalKey<'tcx>)
        -> live_symbols_and_ignored_derived_traits::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_mod_deathness: for<'tcx> fn(TyCtxt<'tcx>,
        check_mod_deathness::LocalKey<'tcx>)
        -> check_mod_deathness::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_type_wf: for<'tcx> fn(TyCtxt<'tcx>,
        check_type_wf::LocalKey<'tcx>) -> check_type_wf::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub coerce_unsized_info: for<'tcx> fn(TyCtxt<'tcx>,
        coerce_unsized_info::LocalKey<'tcx>)
        -> coerce_unsized_info::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub typeck_root: for<'tcx> fn(TyCtxt<'tcx>, typeck_root::LocalKey<'tcx>)
        -> typeck_root::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub used_trait_imports: for<'tcx> fn(TyCtxt<'tcx>,
        used_trait_imports::LocalKey<'tcx>)
        -> used_trait_imports::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub coherent_trait: for<'tcx> fn(TyCtxt<'tcx>,
        coherent_trait::LocalKey<'tcx>)
        -> coherent_trait::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub mir_borrowck: for<'tcx> fn(TyCtxt<'tcx>, mir_borrowck::LocalKey<'tcx>)
        -> mir_borrowck::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub crate_inherent_impls: for<'tcx> fn(TyCtxt<'tcx>,
        crate_inherent_impls::LocalKey<'tcx>)
        -> crate_inherent_impls::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub crate_inherent_impls_validity_check: for<'tcx> fn(TyCtxt<'tcx>,
        crate_inherent_impls_validity_check::LocalKey<'tcx>)
        -> crate_inherent_impls_validity_check::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub crate_inherent_impls_overlap_check: for<'tcx> fn(TyCtxt<'tcx>,
        crate_inherent_impls_overlap_check::LocalKey<'tcx>)
        -> crate_inherent_impls_overlap_check::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub orphan_check_impl: for<'tcx> fn(TyCtxt<'tcx>,
        orphan_check_impl::LocalKey<'tcx>)
        -> orphan_check_impl::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub mir_callgraph_cyclic: for<'tcx> fn(TyCtxt<'tcx>,
        mir_callgraph_cyclic::LocalKey<'tcx>)
        -> mir_callgraph_cyclic::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub mir_inliner_callees: for<'tcx> fn(TyCtxt<'tcx>,
        mir_inliner_callees::LocalKey<'tcx>)
        -> mir_inliner_callees::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub tag_for_variant: for<'tcx> fn(TyCtxt<'tcx>,
        tag_for_variant::LocalKey<'tcx>)
        -> tag_for_variant::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub eval_to_allocation_raw: for<'tcx> fn(TyCtxt<'tcx>,
        eval_to_allocation_raw::LocalKey<'tcx>)
        -> eval_to_allocation_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub eval_static_initializer: for<'tcx> fn(TyCtxt<'tcx>,
        eval_static_initializer::LocalKey<'tcx>)
        -> eval_static_initializer::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub eval_to_const_value_raw: for<'tcx> fn(TyCtxt<'tcx>,
        eval_to_const_value_raw::LocalKey<'tcx>)
        -> eval_to_const_value_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub eval_to_valtree: for<'tcx> fn(TyCtxt<'tcx>,
        eval_to_valtree::LocalKey<'tcx>)
        -> eval_to_valtree::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub valtree_to_const_val: for<'tcx> fn(TyCtxt<'tcx>,
        valtree_to_const_val::LocalKey<'tcx>)
        -> valtree_to_const_val::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub lit_to_const: for<'tcx> fn(TyCtxt<'tcx>, lit_to_const::LocalKey<'tcx>)
        -> lit_to_const::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_match: for<'tcx> fn(TyCtxt<'tcx>, check_match::LocalKey<'tcx>)
        -> check_match::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub effective_visibilities: for<'tcx> fn(TyCtxt<'tcx>,
        effective_visibilities::LocalKey<'tcx>)
        -> effective_visibilities::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_private_in_public: for<'tcx> fn(TyCtxt<'tcx>,
        check_private_in_public::LocalKey<'tcx>)
        -> check_private_in_public::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub reachable_set: for<'tcx> fn(TyCtxt<'tcx>,
        reachable_set::LocalKey<'tcx>) -> reachable_set::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub region_scope_tree: for<'tcx> fn(TyCtxt<'tcx>,
        region_scope_tree::LocalKey<'tcx>)
        -> region_scope_tree::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub mir_shims: for<'tcx> fn(TyCtxt<'tcx>, mir_shims::LocalKey<'tcx>)
        -> mir_shims::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub symbol_name: for<'tcx> fn(TyCtxt<'tcx>, symbol_name::LocalKey<'tcx>)
        -> symbol_name::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub def_kind: for<'tcx> fn(TyCtxt<'tcx>, def_kind::LocalKey<'tcx>)
        -> def_kind::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub def_span: for<'tcx> fn(TyCtxt<'tcx>, def_span::LocalKey<'tcx>)
        -> def_span::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub def_ident_span: for<'tcx> fn(TyCtxt<'tcx>,
        def_ident_span::LocalKey<'tcx>)
        -> def_ident_span::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub ty_span: for<'tcx> fn(TyCtxt<'tcx>, ty_span::LocalKey<'tcx>)
        -> ty_span::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub lookup_stability: for<'tcx> fn(TyCtxt<'tcx>,
        lookup_stability::LocalKey<'tcx>)
        -> lookup_stability::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub lookup_const_stability: for<'tcx> fn(TyCtxt<'tcx>,
        lookup_const_stability::LocalKey<'tcx>)
        -> lookup_const_stability::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub lookup_default_body_stability: for<'tcx> fn(TyCtxt<'tcx>,
        lookup_default_body_stability::LocalKey<'tcx>)
        -> lookup_default_body_stability::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub should_inherit_track_caller: for<'tcx> fn(TyCtxt<'tcx>,
        should_inherit_track_caller::LocalKey<'tcx>)
        -> should_inherit_track_caller::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub inherited_align: for<'tcx> fn(TyCtxt<'tcx>,
        inherited_align::LocalKey<'tcx>)
        -> inherited_align::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub lookup_deprecation_entry: for<'tcx> fn(TyCtxt<'tcx>,
        lookup_deprecation_entry::LocalKey<'tcx>)
        -> lookup_deprecation_entry::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_doc_hidden: for<'tcx> fn(TyCtxt<'tcx>,
        is_doc_hidden::LocalKey<'tcx>) -> is_doc_hidden::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_doc_notable_trait: for<'tcx> fn(TyCtxt<'tcx>,
        is_doc_notable_trait::LocalKey<'tcx>)
        -> is_doc_notable_trait::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub attrs_for_def: for<'tcx> fn(TyCtxt<'tcx>,
        attrs_for_def::LocalKey<'tcx>) -> attrs_for_def::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub codegen_fn_attrs: for<'tcx> fn(TyCtxt<'tcx>,
        codegen_fn_attrs::LocalKey<'tcx>)
        -> codegen_fn_attrs::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub asm_target_features: for<'tcx> fn(TyCtxt<'tcx>,
        asm_target_features::LocalKey<'tcx>)
        -> asm_target_features::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub fn_arg_idents: for<'tcx> fn(TyCtxt<'tcx>,
        fn_arg_idents::LocalKey<'tcx>) -> fn_arg_idents::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub rendered_const: for<'tcx> fn(TyCtxt<'tcx>,
        rendered_const::LocalKey<'tcx>)
        -> rendered_const::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub rendered_precise_capturing_args: for<'tcx> fn(TyCtxt<'tcx>,
        rendered_precise_capturing_args::LocalKey<'tcx>)
        -> rendered_precise_capturing_args::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub impl_parent: for<'tcx> fn(TyCtxt<'tcx>, impl_parent::LocalKey<'tcx>)
        -> impl_parent::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_mir_available: for<'tcx> fn(TyCtxt<'tcx>,
        is_mir_available::LocalKey<'tcx>)
        -> is_mir_available::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub own_existential_vtable_entries: for<'tcx> fn(TyCtxt<'tcx>,
        own_existential_vtable_entries::LocalKey<'tcx>)
        -> own_existential_vtable_entries::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub vtable_entries: for<'tcx> fn(TyCtxt<'tcx>,
        vtable_entries::LocalKey<'tcx>)
        -> vtable_entries::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub first_method_vtable_slot: for<'tcx> fn(TyCtxt<'tcx>,
        first_method_vtable_slot::LocalKey<'tcx>)
        -> first_method_vtable_slot::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub supertrait_vtable_slot: for<'tcx> fn(TyCtxt<'tcx>,
        supertrait_vtable_slot::LocalKey<'tcx>)
        -> supertrait_vtable_slot::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub vtable_allocation: for<'tcx> fn(TyCtxt<'tcx>,
        vtable_allocation::LocalKey<'tcx>)
        -> vtable_allocation::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub codegen_select_candidate: for<'tcx> fn(TyCtxt<'tcx>,
        codegen_select_candidate::LocalKey<'tcx>)
        -> codegen_select_candidate::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub all_local_trait_impls: for<'tcx> fn(TyCtxt<'tcx>,
        all_local_trait_impls::LocalKey<'tcx>)
        -> all_local_trait_impls::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub local_trait_impls: for<'tcx> fn(TyCtxt<'tcx>,
        local_trait_impls::LocalKey<'tcx>)
        -> local_trait_impls::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub trait_impls_of: for<'tcx> fn(TyCtxt<'tcx>,
        trait_impls_of::LocalKey<'tcx>)
        -> trait_impls_of::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub specialization_graph_of: for<'tcx> fn(TyCtxt<'tcx>,
        specialization_graph_of::LocalKey<'tcx>)
        -> specialization_graph_of::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub dyn_compatibility_violations: for<'tcx> fn(TyCtxt<'tcx>,
        dyn_compatibility_violations::LocalKey<'tcx>)
        -> dyn_compatibility_violations::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_dyn_compatible: for<'tcx> fn(TyCtxt<'tcx>,
        is_dyn_compatible::LocalKey<'tcx>)
        -> is_dyn_compatible::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub param_env: for<'tcx> fn(TyCtxt<'tcx>, param_env::LocalKey<'tcx>)
        -> param_env::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub param_env_normalized_for_post_analysis: for<'tcx> fn(TyCtxt<'tcx>,
        param_env_normalized_for_post_analysis::LocalKey<'tcx>)
        -> param_env_normalized_for_post_analysis::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_copy_raw: for<'tcx> fn(TyCtxt<'tcx>, is_copy_raw::LocalKey<'tcx>)
        -> is_copy_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_use_cloned_raw: for<'tcx> fn(TyCtxt<'tcx>,
        is_use_cloned_raw::LocalKey<'tcx>)
        -> is_use_cloned_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_sized_raw: for<'tcx> fn(TyCtxt<'tcx>, is_sized_raw::LocalKey<'tcx>)
        -> is_sized_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_freeze_raw: for<'tcx> fn(TyCtxt<'tcx>,
        is_freeze_raw::LocalKey<'tcx>) -> is_freeze_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_unsafe_unpin_raw: for<'tcx> fn(TyCtxt<'tcx>,
        is_unsafe_unpin_raw::LocalKey<'tcx>)
        -> is_unsafe_unpin_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_unpin_raw: for<'tcx> fn(TyCtxt<'tcx>, is_unpin_raw::LocalKey<'tcx>)
        -> is_unpin_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_async_drop_raw: for<'tcx> fn(TyCtxt<'tcx>,
        is_async_drop_raw::LocalKey<'tcx>)
        -> is_async_drop_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub needs_drop_raw: for<'tcx> fn(TyCtxt<'tcx>,
        needs_drop_raw::LocalKey<'tcx>)
        -> needs_drop_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub needs_async_drop_raw: for<'tcx> fn(TyCtxt<'tcx>,
        needs_async_drop_raw::LocalKey<'tcx>)
        -> needs_async_drop_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub has_significant_drop_raw: for<'tcx> fn(TyCtxt<'tcx>,
        has_significant_drop_raw::LocalKey<'tcx>)
        -> has_significant_drop_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub has_structural_eq_impl: for<'tcx> fn(TyCtxt<'tcx>,
        has_structural_eq_impl::LocalKey<'tcx>)
        -> has_structural_eq_impl::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub adt_drop_tys: for<'tcx> fn(TyCtxt<'tcx>, adt_drop_tys::LocalKey<'tcx>)
        -> adt_drop_tys::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub adt_async_drop_tys: for<'tcx> fn(TyCtxt<'tcx>,
        adt_async_drop_tys::LocalKey<'tcx>)
        -> adt_async_drop_tys::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub adt_significant_drop_tys: for<'tcx> fn(TyCtxt<'tcx>,
        adt_significant_drop_tys::LocalKey<'tcx>)
        -> adt_significant_drop_tys::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub list_significant_drop_tys: for<'tcx> fn(TyCtxt<'tcx>,
        list_significant_drop_tys::LocalKey<'tcx>)
        -> list_significant_drop_tys::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub layout_of: for<'tcx> fn(TyCtxt<'tcx>, layout_of::LocalKey<'tcx>)
        -> layout_of::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub fn_abi_of_fn_ptr: for<'tcx> fn(TyCtxt<'tcx>,
        fn_abi_of_fn_ptr::LocalKey<'tcx>)
        -> fn_abi_of_fn_ptr::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub fn_abi_of_instance_no_deduced_attrs: for<'tcx> fn(TyCtxt<'tcx>,
        fn_abi_of_instance_no_deduced_attrs::LocalKey<'tcx>)
        -> fn_abi_of_instance_no_deduced_attrs::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub fn_abi_of_instance_raw: for<'tcx> fn(TyCtxt<'tcx>,
        fn_abi_of_instance_raw::LocalKey<'tcx>)
        -> fn_abi_of_instance_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub dylib_dependency_formats: for<'tcx> fn(TyCtxt<'tcx>,
        dylib_dependency_formats::LocalKey<'tcx>)
        -> dylib_dependency_formats::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub dependency_formats: for<'tcx> fn(TyCtxt<'tcx>,
        dependency_formats::LocalKey<'tcx>)
        -> dependency_formats::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_compiler_builtins: for<'tcx> fn(TyCtxt<'tcx>,
        is_compiler_builtins::LocalKey<'tcx>)
        -> is_compiler_builtins::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub has_global_allocator: for<'tcx> fn(TyCtxt<'tcx>,
        has_global_allocator::LocalKey<'tcx>)
        -> has_global_allocator::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub has_alloc_error_handler: for<'tcx> fn(TyCtxt<'tcx>,
        has_alloc_error_handler::LocalKey<'tcx>)
        -> has_alloc_error_handler::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub has_panic_handler: for<'tcx> fn(TyCtxt<'tcx>,
        has_panic_handler::LocalKey<'tcx>)
        -> has_panic_handler::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_profiler_runtime: for<'tcx> fn(TyCtxt<'tcx>,
        is_profiler_runtime::LocalKey<'tcx>)
        -> is_profiler_runtime::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub has_ffi_unwind_calls: for<'tcx> fn(TyCtxt<'tcx>,
        has_ffi_unwind_calls::LocalKey<'tcx>)
        -> has_ffi_unwind_calls::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub required_panic_strategy: for<'tcx> fn(TyCtxt<'tcx>,
        required_panic_strategy::LocalKey<'tcx>)
        -> required_panic_strategy::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub panic_in_drop_strategy: for<'tcx> fn(TyCtxt<'tcx>,
        panic_in_drop_strategy::LocalKey<'tcx>)
        -> panic_in_drop_strategy::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_no_builtins: for<'tcx> fn(TyCtxt<'tcx>,
        is_no_builtins::LocalKey<'tcx>)
        -> is_no_builtins::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub symbol_mangling_version: for<'tcx> fn(TyCtxt<'tcx>,
        symbol_mangling_version::LocalKey<'tcx>)
        -> symbol_mangling_version::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub extern_crate: for<'tcx> fn(TyCtxt<'tcx>, extern_crate::LocalKey<'tcx>)
        -> extern_crate::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub specialization_enabled_in: for<'tcx> fn(TyCtxt<'tcx>,
        specialization_enabled_in::LocalKey<'tcx>)
        -> specialization_enabled_in::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub specializes: for<'tcx> fn(TyCtxt<'tcx>, specializes::LocalKey<'tcx>)
        -> specializes::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub defaultness: for<'tcx> fn(TyCtxt<'tcx>, defaultness::LocalKey<'tcx>)
        -> defaultness::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub default_field: for<'tcx> fn(TyCtxt<'tcx>,
        default_field::LocalKey<'tcx>) -> default_field::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_well_formed: for<'tcx> fn(TyCtxt<'tcx>,
        check_well_formed::LocalKey<'tcx>)
        -> check_well_formed::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub enforce_impl_non_lifetime_params_are_constrained: for<'tcx> fn(TyCtxt<'tcx>,
        enforce_impl_non_lifetime_params_are_constrained::LocalKey<'tcx>)
        ->
            enforce_impl_non_lifetime_params_are_constrained::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub reachable_non_generics: for<'tcx> fn(TyCtxt<'tcx>,
        reachable_non_generics::LocalKey<'tcx>)
        -> reachable_non_generics::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_reachable_non_generic: for<'tcx> fn(TyCtxt<'tcx>,
        is_reachable_non_generic::LocalKey<'tcx>)
        -> is_reachable_non_generic::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_unreachable_local_definition: for<'tcx> fn(TyCtxt<'tcx>,
        is_unreachable_local_definition::LocalKey<'tcx>)
        -> is_unreachable_local_definition::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub upstream_monomorphizations: for<'tcx> fn(TyCtxt<'tcx>,
        upstream_monomorphizations::LocalKey<'tcx>)
        -> upstream_monomorphizations::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub upstream_monomorphizations_for: for<'tcx> fn(TyCtxt<'tcx>,
        upstream_monomorphizations_for::LocalKey<'tcx>)
        -> upstream_monomorphizations_for::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub upstream_drop_glue_for: for<'tcx> fn(TyCtxt<'tcx>,
        upstream_drop_glue_for::LocalKey<'tcx>)
        -> upstream_drop_glue_for::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub upstream_async_drop_glue_for: for<'tcx> fn(TyCtxt<'tcx>,
        upstream_async_drop_glue_for::LocalKey<'tcx>)
        -> upstream_async_drop_glue_for::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub foreign_modules: for<'tcx> fn(TyCtxt<'tcx>,
        foreign_modules::LocalKey<'tcx>)
        -> foreign_modules::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub clashing_extern_declarations: for<'tcx> fn(TyCtxt<'tcx>,
        clashing_extern_declarations::LocalKey<'tcx>)
        -> clashing_extern_declarations::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub entry_fn: for<'tcx> fn(TyCtxt<'tcx>, entry_fn::LocalKey<'tcx>)
        -> entry_fn::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub proc_macro_decls_static: for<'tcx> fn(TyCtxt<'tcx>,
        proc_macro_decls_static::LocalKey<'tcx>)
        -> proc_macro_decls_static::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub crate_hash: for<'tcx> fn(TyCtxt<'tcx>, crate_hash::LocalKey<'tcx>)
        -> crate_hash::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub crate_host_hash: for<'tcx> fn(TyCtxt<'tcx>,
        crate_host_hash::LocalKey<'tcx>)
        -> crate_host_hash::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub extra_filename: for<'tcx> fn(TyCtxt<'tcx>,
        extra_filename::LocalKey<'tcx>)
        -> extra_filename::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub crate_extern_paths: for<'tcx> fn(TyCtxt<'tcx>,
        crate_extern_paths::LocalKey<'tcx>)
        -> crate_extern_paths::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub implementations_of_trait: for<'tcx> fn(TyCtxt<'tcx>,
        implementations_of_trait::LocalKey<'tcx>)
        -> implementations_of_trait::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub crate_incoherent_impls: for<'tcx> fn(TyCtxt<'tcx>,
        crate_incoherent_impls::LocalKey<'tcx>)
        -> crate_incoherent_impls::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub native_library: for<'tcx> fn(TyCtxt<'tcx>,
        native_library::LocalKey<'tcx>)
        -> native_library::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub inherit_sig_for_delegation_item: for<'tcx> fn(TyCtxt<'tcx>,
        inherit_sig_for_delegation_item::LocalKey<'tcx>)
        -> inherit_sig_for_delegation_item::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub delegation_user_specified_args: for<'tcx> fn(TyCtxt<'tcx>,
        delegation_user_specified_args::LocalKey<'tcx>)
        -> delegation_user_specified_args::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub resolve_bound_vars: for<'tcx> fn(TyCtxt<'tcx>,
        resolve_bound_vars::LocalKey<'tcx>)
        -> resolve_bound_vars::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub named_variable_map: for<'tcx> fn(TyCtxt<'tcx>,
        named_variable_map::LocalKey<'tcx>)
        -> named_variable_map::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_late_bound_map: for<'tcx> fn(TyCtxt<'tcx>,
        is_late_bound_map::LocalKey<'tcx>)
        -> is_late_bound_map::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub object_lifetime_default: for<'tcx> fn(TyCtxt<'tcx>,
        object_lifetime_default::LocalKey<'tcx>)
        -> object_lifetime_default::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub late_bound_vars_map: for<'tcx> fn(TyCtxt<'tcx>,
        late_bound_vars_map::LocalKey<'tcx>)
        -> late_bound_vars_map::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub opaque_captured_lifetimes: for<'tcx> fn(TyCtxt<'tcx>,
        opaque_captured_lifetimes::LocalKey<'tcx>)
        -> opaque_captured_lifetimes::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub live_args_for_alias_from_outlives_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        live_args_for_alias_from_outlives_bounds::LocalKey<'tcx>)
        -> live_args_for_alias_from_outlives_bounds::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub args_known_to_outlive_alias_params: for<'tcx> fn(TyCtxt<'tcx>,
        args_known_to_outlive_alias_params::LocalKey<'tcx>)
        -> args_known_to_outlive_alias_params::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub visibility: for<'tcx> fn(TyCtxt<'tcx>, visibility::LocalKey<'tcx>)
        -> visibility::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub inhabited_predicate_adt: for<'tcx> fn(TyCtxt<'tcx>,
        inhabited_predicate_adt::LocalKey<'tcx>)
        -> inhabited_predicate_adt::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub inhabited_predicate_type: for<'tcx> fn(TyCtxt<'tcx>,
        inhabited_predicate_type::LocalKey<'tcx>)
        -> inhabited_predicate_type::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_opsem_inhabited_raw: for<'tcx> fn(TyCtxt<'tcx>,
        is_opsem_inhabited_raw::LocalKey<'tcx>)
        -> is_opsem_inhabited_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub crate_dep_kind: for<'tcx> fn(TyCtxt<'tcx>,
        crate_dep_kind::LocalKey<'tcx>)
        -> crate_dep_kind::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub crate_name: for<'tcx> fn(TyCtxt<'tcx>, crate_name::LocalKey<'tcx>)
        -> crate_name::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub module_children: for<'tcx> fn(TyCtxt<'tcx>,
        module_children::LocalKey<'tcx>)
        -> module_children::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub num_extern_def_ids: for<'tcx> fn(TyCtxt<'tcx>,
        num_extern_def_ids::LocalKey<'tcx>)
        -> num_extern_def_ids::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub lib_features: for<'tcx> fn(TyCtxt<'tcx>, lib_features::LocalKey<'tcx>)
        -> lib_features::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub stability_implications: for<'tcx> fn(TyCtxt<'tcx>,
        stability_implications::LocalKey<'tcx>)
        -> stability_implications::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub intrinsic_raw: for<'tcx> fn(TyCtxt<'tcx>,
        intrinsic_raw::LocalKey<'tcx>) -> intrinsic_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub get_lang_items: for<'tcx> fn(TyCtxt<'tcx>,
        get_lang_items::LocalKey<'tcx>)
        -> get_lang_items::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub all_diagnostic_items: for<'tcx> fn(TyCtxt<'tcx>,
        all_diagnostic_items::LocalKey<'tcx>)
        -> all_diagnostic_items::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub all_canonical_symbols: for<'tcx> fn(TyCtxt<'tcx>,
        all_canonical_symbols::LocalKey<'tcx>)
        -> all_canonical_symbols::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub defined_lang_items: for<'tcx> fn(TyCtxt<'tcx>,
        defined_lang_items::LocalKey<'tcx>)
        -> defined_lang_items::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub diagnostic_items: for<'tcx> fn(TyCtxt<'tcx>,
        diagnostic_items::LocalKey<'tcx>)
        -> diagnostic_items::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub canonical_symbols: for<'tcx> fn(TyCtxt<'tcx>,
        canonical_symbols::LocalKey<'tcx>)
        -> canonical_symbols::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub missing_lang_items: for<'tcx> fn(TyCtxt<'tcx>,
        missing_lang_items::LocalKey<'tcx>)
        -> missing_lang_items::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub visible_parent_map: for<'tcx> fn(TyCtxt<'tcx>,
        visible_parent_map::LocalKey<'tcx>)
        -> visible_parent_map::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub trimmed_def_paths: for<'tcx> fn(TyCtxt<'tcx>,
        trimmed_def_paths::LocalKey<'tcx>)
        -> trimmed_def_paths::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub missing_extern_crate_item: for<'tcx> fn(TyCtxt<'tcx>,
        missing_extern_crate_item::LocalKey<'tcx>)
        -> missing_extern_crate_item::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub used_crate_source: for<'tcx> fn(TyCtxt<'tcx>,
        used_crate_source::LocalKey<'tcx>)
        -> used_crate_source::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub debugger_visualizers: for<'tcx> fn(TyCtxt<'tcx>,
        debugger_visualizers::LocalKey<'tcx>)
        -> debugger_visualizers::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub postorder_cnums: for<'tcx> fn(TyCtxt<'tcx>,
        postorder_cnums::LocalKey<'tcx>)
        -> postorder_cnums::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_private_dep: for<'tcx> fn(TyCtxt<'tcx>,
        is_private_dep::LocalKey<'tcx>)
        -> is_private_dep::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub allocator_kind: for<'tcx> fn(TyCtxt<'tcx>,
        allocator_kind::LocalKey<'tcx>)
        -> allocator_kind::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub alloc_error_handler_kind: for<'tcx> fn(TyCtxt<'tcx>,
        alloc_error_handler_kind::LocalKey<'tcx>)
        -> alloc_error_handler_kind::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub upvars_mentioned: for<'tcx> fn(TyCtxt<'tcx>,
        upvars_mentioned::LocalKey<'tcx>)
        -> upvars_mentioned::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub crates: for<'tcx> fn(TyCtxt<'tcx>, crates::LocalKey<'tcx>)
        -> crates::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub used_crates: for<'tcx> fn(TyCtxt<'tcx>, used_crates::LocalKey<'tcx>)
        -> used_crates::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub duplicate_crate_names: for<'tcx> fn(TyCtxt<'tcx>,
        duplicate_crate_names::LocalKey<'tcx>)
        -> duplicate_crate_names::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub traits: for<'tcx> fn(TyCtxt<'tcx>, traits::LocalKey<'tcx>)
        -> traits::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub trait_impls_in_crate: for<'tcx> fn(TyCtxt<'tcx>,
        trait_impls_in_crate::LocalKey<'tcx>)
        -> trait_impls_in_crate::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub stable_order_of_exportable_impls: for<'tcx> fn(TyCtxt<'tcx>,
        stable_order_of_exportable_impls::LocalKey<'tcx>)
        -> stable_order_of_exportable_impls::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub exportable_items: for<'tcx> fn(TyCtxt<'tcx>,
        exportable_items::LocalKey<'tcx>)
        -> exportable_items::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub exported_non_generic_symbols: for<'tcx> fn(TyCtxt<'tcx>,
        exported_non_generic_symbols::LocalKey<'tcx>)
        -> exported_non_generic_symbols::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub exported_generic_symbols: for<'tcx> fn(TyCtxt<'tcx>,
        exported_generic_symbols::LocalKey<'tcx>)
        -> exported_generic_symbols::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub collect_and_partition_mono_items: for<'tcx> fn(TyCtxt<'tcx>,
        collect_and_partition_mono_items::LocalKey<'tcx>)
        -> collect_and_partition_mono_items::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_codegened_item: for<'tcx> fn(TyCtxt<'tcx>,
        is_codegened_item::LocalKey<'tcx>)
        -> is_codegened_item::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub codegen_unit: for<'tcx> fn(TyCtxt<'tcx>, codegen_unit::LocalKey<'tcx>)
        -> codegen_unit::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub backend_optimization_level: for<'tcx> fn(TyCtxt<'tcx>,
        backend_optimization_level::LocalKey<'tcx>)
        -> backend_optimization_level::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub output_filenames: for<'tcx> fn(TyCtxt<'tcx>,
        output_filenames::LocalKey<'tcx>)
        -> output_filenames::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub normalize_canonicalized_projection: for<'tcx> fn(TyCtxt<'tcx>,
        normalize_canonicalized_projection::LocalKey<'tcx>)
        -> normalize_canonicalized_projection::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub normalize_canonicalized_free_alias: for<'tcx> fn(TyCtxt<'tcx>,
        normalize_canonicalized_free_alias::LocalKey<'tcx>)
        -> normalize_canonicalized_free_alias::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub normalize_canonicalized_inherent_projection: for<'tcx> fn(TyCtxt<'tcx>,
        normalize_canonicalized_inherent_projection::LocalKey<'tcx>)
        -> normalize_canonicalized_inherent_projection::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub try_normalize_generic_arg_after_erasing_regions: for<'tcx> fn(TyCtxt<'tcx>,
        try_normalize_generic_arg_after_erasing_regions::LocalKey<'tcx>)
        ->
            try_normalize_generic_arg_after_erasing_regions::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub implied_outlives_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        implied_outlives_bounds::LocalKey<'tcx>)
        -> implied_outlives_bounds::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub mir_borrowck_implied_outlives_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        mir_borrowck_implied_outlives_bounds::LocalKey<'tcx>)
        -> mir_borrowck_implied_outlives_bounds::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub dropck_outlives: for<'tcx> fn(TyCtxt<'tcx>,
        dropck_outlives::LocalKey<'tcx>)
        -> dropck_outlives::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub evaluate_obligation: for<'tcx> fn(TyCtxt<'tcx>,
        evaluate_obligation::LocalKey<'tcx>)
        -> evaluate_obligation::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub type_op_ascribe_user_type: for<'tcx> fn(TyCtxt<'tcx>,
        type_op_ascribe_user_type::LocalKey<'tcx>)
        -> type_op_ascribe_user_type::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub type_op_prove_predicate: for<'tcx> fn(TyCtxt<'tcx>,
        type_op_prove_predicate::LocalKey<'tcx>)
        -> type_op_prove_predicate::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub type_op_normalize_ty: for<'tcx> fn(TyCtxt<'tcx>,
        type_op_normalize_ty::LocalKey<'tcx>)
        -> type_op_normalize_ty::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub type_op_normalize_clause: for<'tcx> fn(TyCtxt<'tcx>,
        type_op_normalize_clause::LocalKey<'tcx>)
        -> type_op_normalize_clause::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub type_op_normalize_poly_fn_sig: for<'tcx> fn(TyCtxt<'tcx>,
        type_op_normalize_poly_fn_sig::LocalKey<'tcx>)
        -> type_op_normalize_poly_fn_sig::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub type_op_normalize_fn_sig: for<'tcx> fn(TyCtxt<'tcx>,
        type_op_normalize_fn_sig::LocalKey<'tcx>)
        -> type_op_normalize_fn_sig::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub instantiate_and_check_impossible_clauses: for<'tcx> fn(TyCtxt<'tcx>,
        instantiate_and_check_impossible_clauses::LocalKey<'tcx>)
        -> instantiate_and_check_impossible_clauses::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub is_impossible_associated_item: for<'tcx> fn(TyCtxt<'tcx>,
        is_impossible_associated_item::LocalKey<'tcx>)
        -> is_impossible_associated_item::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub method_autoderef_steps: for<'tcx> fn(TyCtxt<'tcx>,
        method_autoderef_steps::LocalKey<'tcx>)
        -> method_autoderef_steps::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub evaluate_root_goal_for_proof_tree_raw: for<'tcx> fn(TyCtxt<'tcx>,
        evaluate_root_goal_for_proof_tree_raw::LocalKey<'tcx>)
        -> evaluate_root_goal_for_proof_tree_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub all_rust_target_features: for<'tcx> fn(TyCtxt<'tcx>,
        all_rust_target_features::LocalKey<'tcx>)
        -> all_rust_target_features::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub implied_target_features: for<'tcx> fn(TyCtxt<'tcx>,
        implied_target_features::LocalKey<'tcx>)
        -> implied_target_features::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub features_query: for<'tcx> fn(TyCtxt<'tcx>,
        features_query::LocalKey<'tcx>)
        -> features_query::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub crate_for_resolver: for<'tcx> fn(TyCtxt<'tcx>,
        crate_for_resolver::LocalKey<'tcx>)
        -> crate_for_resolver::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub resolve_instance_raw: for<'tcx> fn(TyCtxt<'tcx>,
        resolve_instance_raw::LocalKey<'tcx>)
        -> resolve_instance_raw::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub reveal_opaque_types_in_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        reveal_opaque_types_in_bounds::LocalKey<'tcx>)
        -> reveal_opaque_types_in_bounds::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub limits: for<'tcx> fn(TyCtxt<'tcx>, limits::LocalKey<'tcx>)
        -> limits::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub diagnostic_hir_wf_check: for<'tcx> fn(TyCtxt<'tcx>,
        diagnostic_hir_wf_check::LocalKey<'tcx>)
        -> diagnostic_hir_wf_check::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub global_backend_features: for<'tcx> fn(TyCtxt<'tcx>,
        global_backend_features::LocalKey<'tcx>)
        -> global_backend_features::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_validity_requirement: for<'tcx> fn(TyCtxt<'tcx>,
        check_validity_requirement::LocalKey<'tcx>)
        -> check_validity_requirement::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub compare_impl_item: for<'tcx> fn(TyCtxt<'tcx>,
        compare_impl_item::LocalKey<'tcx>)
        -> compare_impl_item::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub deduced_param_attrs: for<'tcx> fn(TyCtxt<'tcx>,
        deduced_param_attrs::LocalKey<'tcx>)
        -> deduced_param_attrs::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub doc_link_resolutions: for<'tcx> fn(TyCtxt<'tcx>,
        doc_link_resolutions::LocalKey<'tcx>)
        -> doc_link_resolutions::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub doc_link_traits_in_scope: for<'tcx> fn(TyCtxt<'tcx>,
        doc_link_traits_in_scope::LocalKey<'tcx>)
        -> doc_link_traits_in_scope::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub stripped_cfg_items: for<'tcx> fn(TyCtxt<'tcx>,
        stripped_cfg_items::LocalKey<'tcx>)
        -> stripped_cfg_items::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub generics_require_sized_self: for<'tcx> fn(TyCtxt<'tcx>,
        generics_require_sized_self::LocalKey<'tcx>)
        -> generics_require_sized_self::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub cross_crate_inlinable: for<'tcx> fn(TyCtxt<'tcx>,
        cross_crate_inlinable::LocalKey<'tcx>)
        -> cross_crate_inlinable::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_mono_item: for<'tcx> fn(TyCtxt<'tcx>,
        check_mono_item::LocalKey<'tcx>)
        -> check_mono_item::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub items_of_instance: for<'tcx> fn(TyCtxt<'tcx>,
        items_of_instance::LocalKey<'tcx>)
        -> items_of_instance::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub size_estimate: for<'tcx> fn(TyCtxt<'tcx>,
        size_estimate::LocalKey<'tcx>) -> size_estimate::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub anon_const_kind: for<'tcx> fn(TyCtxt<'tcx>,
        anon_const_kind::LocalKey<'tcx>)
        -> anon_const_kind::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub trivial_const: for<'tcx> fn(TyCtxt<'tcx>,
        trivial_const::LocalKey<'tcx>) -> trivial_const::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub sanitizer_settings_for: for<'tcx> fn(TyCtxt<'tcx>,
        sanitizer_settings_for::LocalKey<'tcx>)
        -> sanitizer_settings_for::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub check_externally_implementable_items: for<'tcx> fn(TyCtxt<'tcx>,
        check_externally_implementable_items::LocalKey<'tcx>)
        -> check_externally_implementable_items::ProvidedValue<'tcx>,
    /// This is the provider for the query. Use `Find references` on this to
    /// navigate between the provider assignment and the query definition.
    pub externally_implementable_items: for<'tcx> fn(TyCtxt<'tcx>,
        externally_implementable_items::LocalKey<'tcx>)
        -> externally_implementable_items::ProvidedValue<'tcx>,
}
pub struct ExternProviders {
    pub const_param_default: for<'tcx> fn(TyCtxt<'tcx>,
        const_param_default::Key<'tcx>)
        -> const_param_default::ProvidedValue<'tcx>,
    pub const_of_item: for<'tcx> fn(TyCtxt<'tcx>, const_of_item::Key<'tcx>)
        -> const_of_item::ProvidedValue<'tcx>,
    pub type_of: for<'tcx> fn(TyCtxt<'tcx>, type_of::Key<'tcx>)
        -> type_of::ProvidedValue<'tcx>,
    pub type_alias_is_checked: for<'tcx> fn(TyCtxt<'tcx>,
        type_alias_is_checked::Key<'tcx>)
        -> type_alias_is_checked::ProvidedValue<'tcx>,
    pub collect_return_position_impl_trait_in_trait_tys: for<'tcx> fn(TyCtxt<'tcx>,
        collect_return_position_impl_trait_in_trait_tys::Key<'tcx>)
        ->
            collect_return_position_impl_trait_in_trait_tys::ProvidedValue<'tcx>,
    pub opaque_ty_origin: for<'tcx> fn(TyCtxt<'tcx>,
        opaque_ty_origin::Key<'tcx>) -> opaque_ty_origin::ProvidedValue<'tcx>,
    pub generics_of: for<'tcx> fn(TyCtxt<'tcx>, generics_of::Key<'tcx>)
        -> generics_of::ProvidedValue<'tcx>,
    pub explicit_item_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        explicit_item_bounds::Key<'tcx>)
        -> explicit_item_bounds::ProvidedValue<'tcx>,
    pub explicit_item_self_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        explicit_item_self_bounds::Key<'tcx>)
        -> explicit_item_self_bounds::ProvidedValue<'tcx>,
    pub native_libraries: for<'tcx> fn(TyCtxt<'tcx>,
        native_libraries::Key<'tcx>) -> native_libraries::ProvidedValue<'tcx>,
    pub expn_that_defined: for<'tcx> fn(TyCtxt<'tcx>,
        expn_that_defined::Key<'tcx>)
        -> expn_that_defined::ProvidedValue<'tcx>,
    pub is_panic_runtime: for<'tcx> fn(TyCtxt<'tcx>,
        is_panic_runtime::Key<'tcx>) -> is_panic_runtime::ProvidedValue<'tcx>,
    pub params_in_repr: for<'tcx> fn(TyCtxt<'tcx>, params_in_repr::Key<'tcx>)
        -> params_in_repr::ProvidedValue<'tcx>,
    pub mir_const_qualif: for<'tcx> fn(TyCtxt<'tcx>,
        mir_const_qualif::Key<'tcx>) -> mir_const_qualif::ProvidedValue<'tcx>,
    pub thir_abstract_const: for<'tcx> fn(TyCtxt<'tcx>,
        thir_abstract_const::Key<'tcx>)
        -> thir_abstract_const::ProvidedValue<'tcx>,
    pub mir_for_ctfe: for<'tcx> fn(TyCtxt<'tcx>, mir_for_ctfe::Key<'tcx>)
        -> mir_for_ctfe::ProvidedValue<'tcx>,
    pub closure_saved_names_of_captured_variables: for<'tcx> fn(TyCtxt<'tcx>,
        closure_saved_names_of_captured_variables::Key<'tcx>)
        -> closure_saved_names_of_captured_variables::ProvidedValue<'tcx>,
    pub mir_coroutine_witnesses: for<'tcx> fn(TyCtxt<'tcx>,
        mir_coroutine_witnesses::Key<'tcx>)
        -> mir_coroutine_witnesses::ProvidedValue<'tcx>,
    pub optimized_mir: for<'tcx> fn(TyCtxt<'tcx>, optimized_mir::Key<'tcx>)
        -> optimized_mir::ProvidedValue<'tcx>,
    pub promoted_mir: for<'tcx> fn(TyCtxt<'tcx>, promoted_mir::Key<'tcx>)
        -> promoted_mir::ProvidedValue<'tcx>,
    pub explicit_clauses_of: for<'tcx> fn(TyCtxt<'tcx>,
        explicit_clauses_of::Key<'tcx>)
        -> explicit_clauses_of::ProvidedValue<'tcx>,
    pub inferred_outlives_of: for<'tcx> fn(TyCtxt<'tcx>,
        inferred_outlives_of::Key<'tcx>)
        -> inferred_outlives_of::ProvidedValue<'tcx>,
    pub explicit_super_clauses_of: for<'tcx> fn(TyCtxt<'tcx>,
        explicit_super_clauses_of::Key<'tcx>)
        -> explicit_super_clauses_of::ProvidedValue<'tcx>,
    pub explicit_implied_clauses_of: for<'tcx> fn(TyCtxt<'tcx>,
        explicit_implied_clauses_of::Key<'tcx>)
        -> explicit_implied_clauses_of::ProvidedValue<'tcx>,
    pub const_conditions: for<'tcx> fn(TyCtxt<'tcx>,
        const_conditions::Key<'tcx>) -> const_conditions::ProvidedValue<'tcx>,
    pub explicit_implied_const_bounds: for<'tcx> fn(TyCtxt<'tcx>,
        explicit_implied_const_bounds::Key<'tcx>)
        -> explicit_implied_const_bounds::ProvidedValue<'tcx>,
    pub trait_def: for<'tcx> fn(TyCtxt<'tcx>, trait_def::Key<'tcx>)
        -> trait_def::ProvidedValue<'tcx>,
    pub adt_def: for<'tcx> fn(TyCtxt<'tcx>, adt_def::Key<'tcx>)
        -> adt_def::ProvidedValue<'tcx>,
    pub adt_destructor: for<'tcx> fn(TyCtxt<'tcx>, adt_destructor::Key<'tcx>)
        -> adt_destructor::ProvidedValue<'tcx>,
    pub adt_async_destructor: for<'tcx> fn(TyCtxt<'tcx>,
        adt_async_destructor::Key<'tcx>)
        -> adt_async_destructor::ProvidedValue<'tcx>,
    pub constness: for<'tcx> fn(TyCtxt<'tcx>, constness::Key<'tcx>)
        -> constness::ProvidedValue<'tcx>,
    pub asyncness: for<'tcx> fn(TyCtxt<'tcx>, asyncness::Key<'tcx>)
        -> asyncness::ProvidedValue<'tcx>,
    pub coroutine_by_move_body_def_id: for<'tcx> fn(TyCtxt<'tcx>,
        coroutine_by_move_body_def_id::Key<'tcx>)
        -> coroutine_by_move_body_def_id::ProvidedValue<'tcx>,
    pub coroutine_kind: for<'tcx> fn(TyCtxt<'tcx>, coroutine_kind::Key<'tcx>)
        -> coroutine_kind::ProvidedValue<'tcx>,
    pub coroutine_for_closure: for<'tcx> fn(TyCtxt<'tcx>,
        coroutine_for_closure::Key<'tcx>)
        -> coroutine_for_closure::ProvidedValue<'tcx>,
    pub variances_of: for<'tcx> fn(TyCtxt<'tcx>, variances_of::Key<'tcx>)
        -> variances_of::ProvidedValue<'tcx>,
    pub associated_item_def_ids: for<'tcx> fn(TyCtxt<'tcx>,
        associated_item_def_ids::Key<'tcx>)
        -> associated_item_def_ids::ProvidedValue<'tcx>,
    pub associated_item: for<'tcx> fn(TyCtxt<'tcx>,
        associated_item::Key<'tcx>) -> associated_item::ProvidedValue<'tcx>,
    pub associated_types_for_impl_traits_in_trait_or_impl: for<'tcx> fn(TyCtxt<'tcx>,
        associated_types_for_impl_traits_in_trait_or_impl::Key<'tcx>)
        ->
            associated_types_for_impl_traits_in_trait_or_impl::ProvidedValue<'tcx>,
    pub impl_trait_header: for<'tcx> fn(TyCtxt<'tcx>,
        impl_trait_header::Key<'tcx>)
        -> impl_trait_header::ProvidedValue<'tcx>,
    pub impl_is_fully_generic_for_reflection: for<'tcx> fn(TyCtxt<'tcx>,
        impl_is_fully_generic_for_reflection::Key<'tcx>)
        -> impl_is_fully_generic_for_reflection::ProvidedValue<'tcx>,
    pub inherent_impls: for<'tcx> fn(TyCtxt<'tcx>, inherent_impls::Key<'tcx>)
        -> inherent_impls::ProvidedValue<'tcx>,
    pub assumed_wf_types_for_rpitit: for<'tcx> fn(TyCtxt<'tcx>,
        assumed_wf_types_for_rpitit::Key<'tcx>)
        -> assumed_wf_types_for_rpitit::ProvidedValue<'tcx>,
    pub fn_sig: for<'tcx> fn(TyCtxt<'tcx>, fn_sig::Key<'tcx>)
        -> fn_sig::ProvidedValue<'tcx>,
    pub coerce_unsized_info: for<'tcx> fn(TyCtxt<'tcx>,
        coerce_unsized_info::Key<'tcx>)
        -> coerce_unsized_info::ProvidedValue<'tcx>,
    pub eval_static_initializer: for<'tcx> fn(TyCtxt<'tcx>,
        eval_static_initializer::Key<'tcx>)
        -> eval_static_initializer::ProvidedValue<'tcx>,
    pub def_kind: for<'tcx> fn(TyCtxt<'tcx>, def_kind::Key<'tcx>)
        -> def_kind::ProvidedValue<'tcx>,
    pub def_span: for<'tcx> fn(TyCtxt<'tcx>, def_span::Key<'tcx>)
        -> def_span::ProvidedValue<'tcx>,
    pub def_ident_span: for<'tcx> fn(TyCtxt<'tcx>, def_ident_span::Key<'tcx>)
        -> def_ident_span::ProvidedValue<'tcx>,
    pub lookup_stability: for<'tcx> fn(TyCtxt<'tcx>,
        lookup_stability::Key<'tcx>) -> lookup_stability::ProvidedValue<'tcx>,
    pub lookup_const_stability: for<'tcx> fn(TyCtxt<'tcx>,
        lookup_const_stability::Key<'tcx>)
        -> lookup_const_stability::ProvidedValue<'tcx>,
    pub lookup_default_body_stability: for<'tcx> fn(TyCtxt<'tcx>,
        lookup_default_body_stability::Key<'tcx>)
        -> lookup_default_body_stability::ProvidedValue<'tcx>,
    pub lookup_deprecation_entry: for<'tcx> fn(TyCtxt<'tcx>,
        lookup_deprecation_entry::Key<'tcx>)
        -> lookup_deprecation_entry::ProvidedValue<'tcx>,
    pub is_doc_hidden: for<'tcx> fn(TyCtxt<'tcx>, is_doc_hidden::Key<'tcx>)
        -> is_doc_hidden::ProvidedValue<'tcx>,
    pub attrs_for_def: for<'tcx> fn(TyCtxt<'tcx>, attrs_for_def::Key<'tcx>)
        -> attrs_for_def::ProvidedValue<'tcx>,
    pub codegen_fn_attrs: for<'tcx> fn(TyCtxt<'tcx>,
        codegen_fn_attrs::Key<'tcx>) -> codegen_fn_attrs::ProvidedValue<'tcx>,
    pub fn_arg_idents: for<'tcx> fn(TyCtxt<'tcx>, fn_arg_idents::Key<'tcx>)
        -> fn_arg_idents::ProvidedValue<'tcx>,
    pub rendered_const: for<'tcx> fn(TyCtxt<'tcx>, rendered_const::Key<'tcx>)
        -> rendered_const::ProvidedValue<'tcx>,
    pub rendered_precise_capturing_args: for<'tcx> fn(TyCtxt<'tcx>,
        rendered_precise_capturing_args::Key<'tcx>)
        -> rendered_precise_capturing_args::ProvidedValue<'tcx>,
    pub impl_parent: for<'tcx> fn(TyCtxt<'tcx>, impl_parent::Key<'tcx>)
        -> impl_parent::ProvidedValue<'tcx>,
    pub is_mir_available: for<'tcx> fn(TyCtxt<'tcx>,
        is_mir_available::Key<'tcx>) -> is_mir_available::ProvidedValue<'tcx>,
    pub dylib_dependency_formats: for<'tcx> fn(TyCtxt<'tcx>,
        dylib_dependency_formats::Key<'tcx>)
        -> dylib_dependency_formats::ProvidedValue<'tcx>,
    pub is_compiler_builtins: for<'tcx> fn(TyCtxt<'tcx>,
        is_compiler_builtins::Key<'tcx>)
        -> is_compiler_builtins::ProvidedValue<'tcx>,
    pub has_global_allocator: for<'tcx> fn(TyCtxt<'tcx>,
        has_global_allocator::Key<'tcx>)
        -> has_global_allocator::ProvidedValue<'tcx>,
    pub has_alloc_error_handler: for<'tcx> fn(TyCtxt<'tcx>,
        has_alloc_error_handler::Key<'tcx>)
        -> has_alloc_error_handler::ProvidedValue<'tcx>,
    pub has_panic_handler: for<'tcx> fn(TyCtxt<'tcx>,
        has_panic_handler::Key<'tcx>)
        -> has_panic_handler::ProvidedValue<'tcx>,
    pub is_profiler_runtime: for<'tcx> fn(TyCtxt<'tcx>,
        is_profiler_runtime::Key<'tcx>)
        -> is_profiler_runtime::ProvidedValue<'tcx>,
    pub required_panic_strategy: for<'tcx> fn(TyCtxt<'tcx>,
        required_panic_strategy::Key<'tcx>)
        -> required_panic_strategy::ProvidedValue<'tcx>,
    pub panic_in_drop_strategy: for<'tcx> fn(TyCtxt<'tcx>,
        panic_in_drop_strategy::Key<'tcx>)
        -> panic_in_drop_strategy::ProvidedValue<'tcx>,
    pub is_no_builtins: for<'tcx> fn(TyCtxt<'tcx>, is_no_builtins::Key<'tcx>)
        -> is_no_builtins::ProvidedValue<'tcx>,
    pub symbol_mangling_version: for<'tcx> fn(TyCtxt<'tcx>,
        symbol_mangling_version::Key<'tcx>)
        -> symbol_mangling_version::ProvidedValue<'tcx>,
    pub extern_crate: for<'tcx> fn(TyCtxt<'tcx>, extern_crate::Key<'tcx>)
        -> extern_crate::ProvidedValue<'tcx>,
    pub specialization_enabled_in: for<'tcx> fn(TyCtxt<'tcx>,
        specialization_enabled_in::Key<'tcx>)
        -> specialization_enabled_in::ProvidedValue<'tcx>,
    pub defaultness: for<'tcx> fn(TyCtxt<'tcx>, defaultness::Key<'tcx>)
        -> defaultness::ProvidedValue<'tcx>,
    pub default_field: for<'tcx> fn(TyCtxt<'tcx>, default_field::Key<'tcx>)
        -> default_field::ProvidedValue<'tcx>,
    pub reachable_non_generics: for<'tcx> fn(TyCtxt<'tcx>,
        reachable_non_generics::Key<'tcx>)
        -> reachable_non_generics::ProvidedValue<'tcx>,
    pub is_reachable_non_generic: for<'tcx> fn(TyCtxt<'tcx>,
        is_reachable_non_generic::Key<'tcx>)
        -> is_reachable_non_generic::ProvidedValue<'tcx>,
    pub upstream_monomorphizations_for: for<'tcx> fn(TyCtxt<'tcx>,
        upstream_monomorphizations_for::Key<'tcx>)
        -> upstream_monomorphizations_for::ProvidedValue<'tcx>,
    pub foreign_modules: for<'tcx> fn(TyCtxt<'tcx>,
        foreign_modules::Key<'tcx>) -> foreign_modules::ProvidedValue<'tcx>,
    pub crate_hash: for<'tcx> fn(TyCtxt<'tcx>, crate_hash::Key<'tcx>)
        -> crate_hash::ProvidedValue<'tcx>,
    pub crate_host_hash: for<'tcx> fn(TyCtxt<'tcx>,
        crate_host_hash::Key<'tcx>) -> crate_host_hash::ProvidedValue<'tcx>,
    pub extra_filename: for<'tcx> fn(TyCtxt<'tcx>, extra_filename::Key<'tcx>)
        -> extra_filename::ProvidedValue<'tcx>,
    pub crate_extern_paths: for<'tcx> fn(TyCtxt<'tcx>,
        crate_extern_paths::Key<'tcx>)
        -> crate_extern_paths::ProvidedValue<'tcx>,
    pub implementations_of_trait: for<'tcx> fn(TyCtxt<'tcx>,
        implementations_of_trait::Key<'tcx>)
        -> implementations_of_trait::ProvidedValue<'tcx>,
    pub crate_incoherent_impls: for<'tcx> fn(TyCtxt<'tcx>,
        crate_incoherent_impls::Key<'tcx>)
        -> crate_incoherent_impls::ProvidedValue<'tcx>,
    pub object_lifetime_default: for<'tcx> fn(TyCtxt<'tcx>,
        object_lifetime_default::Key<'tcx>)
        -> object_lifetime_default::ProvidedValue<'tcx>,
    pub args_known_to_outlive_alias_params: for<'tcx> fn(TyCtxt<'tcx>,
        args_known_to_outlive_alias_params::Key<'tcx>)
        -> args_known_to_outlive_alias_params::ProvidedValue<'tcx>,
    pub visibility: for<'tcx> fn(TyCtxt<'tcx>, visibility::Key<'tcx>)
        -> visibility::ProvidedValue<'tcx>,
    pub crate_dep_kind: for<'tcx> fn(TyCtxt<'tcx>, crate_dep_kind::Key<'tcx>)
        -> crate_dep_kind::ProvidedValue<'tcx>,
    pub crate_name: for<'tcx> fn(TyCtxt<'tcx>, crate_name::Key<'tcx>)
        -> crate_name::ProvidedValue<'tcx>,
    pub module_children: for<'tcx> fn(TyCtxt<'tcx>,
        module_children::Key<'tcx>) -> module_children::ProvidedValue<'tcx>,
    pub num_extern_def_ids: for<'tcx> fn(TyCtxt<'tcx>,
        num_extern_def_ids::Key<'tcx>)
        -> num_extern_def_ids::ProvidedValue<'tcx>,
    pub lib_features: for<'tcx> fn(TyCtxt<'tcx>, lib_features::Key<'tcx>)
        -> lib_features::ProvidedValue<'tcx>,
    pub stability_implications: for<'tcx> fn(TyCtxt<'tcx>,
        stability_implications::Key<'tcx>)
        -> stability_implications::ProvidedValue<'tcx>,
    pub intrinsic_raw: for<'tcx> fn(TyCtxt<'tcx>, intrinsic_raw::Key<'tcx>)
        -> intrinsic_raw::ProvidedValue<'tcx>,
    pub defined_lang_items: for<'tcx> fn(TyCtxt<'tcx>,
        defined_lang_items::Key<'tcx>)
        -> defined_lang_items::ProvidedValue<'tcx>,
    pub diagnostic_items: for<'tcx> fn(TyCtxt<'tcx>,
        diagnostic_items::Key<'tcx>) -> diagnostic_items::ProvidedValue<'tcx>,
    pub canonical_symbols: for<'tcx> fn(TyCtxt<'tcx>,
        canonical_symbols::Key<'tcx>)
        -> canonical_symbols::ProvidedValue<'tcx>,
    pub missing_lang_items: for<'tcx> fn(TyCtxt<'tcx>,
        missing_lang_items::Key<'tcx>)
        -> missing_lang_items::ProvidedValue<'tcx>,
    pub missing_extern_crate_item: for<'tcx> fn(TyCtxt<'tcx>,
        missing_extern_crate_item::Key<'tcx>)
        -> missing_extern_crate_item::ProvidedValue<'tcx>,
    pub used_crate_source: for<'tcx> fn(TyCtxt<'tcx>,
        used_crate_source::Key<'tcx>)
        -> used_crate_source::ProvidedValue<'tcx>,
    pub debugger_visualizers: for<'tcx> fn(TyCtxt<'tcx>,
        debugger_visualizers::Key<'tcx>)
        -> debugger_visualizers::ProvidedValue<'tcx>,
    pub is_private_dep: for<'tcx> fn(TyCtxt<'tcx>, is_private_dep::Key<'tcx>)
        -> is_private_dep::ProvidedValue<'tcx>,
    pub traits: for<'tcx> fn(TyCtxt<'tcx>, traits::Key<'tcx>)
        -> traits::ProvidedValue<'tcx>,
    pub trait_impls_in_crate: for<'tcx> fn(TyCtxt<'tcx>,
        trait_impls_in_crate::Key<'tcx>)
        -> trait_impls_in_crate::ProvidedValue<'tcx>,
    pub stable_order_of_exportable_impls: for<'tcx> fn(TyCtxt<'tcx>,
        stable_order_of_exportable_impls::Key<'tcx>)
        -> stable_order_of_exportable_impls::ProvidedValue<'tcx>,
    pub exportable_items: for<'tcx> fn(TyCtxt<'tcx>,
        exportable_items::Key<'tcx>) -> exportable_items::ProvidedValue<'tcx>,
    pub exported_non_generic_symbols: for<'tcx> fn(TyCtxt<'tcx>,
        exported_non_generic_symbols::Key<'tcx>)
        -> exported_non_generic_symbols::ProvidedValue<'tcx>,
    pub exported_generic_symbols: for<'tcx> fn(TyCtxt<'tcx>,
        exported_generic_symbols::Key<'tcx>)
        -> exported_generic_symbols::ProvidedValue<'tcx>,
    pub deduced_param_attrs: for<'tcx> fn(TyCtxt<'tcx>,
        deduced_param_attrs::Key<'tcx>)
        -> deduced_param_attrs::ProvidedValue<'tcx>,
    pub doc_link_resolutions: for<'tcx> fn(TyCtxt<'tcx>,
        doc_link_resolutions::Key<'tcx>)
        -> doc_link_resolutions::ProvidedValue<'tcx>,
    pub doc_link_traits_in_scope: for<'tcx> fn(TyCtxt<'tcx>,
        doc_link_traits_in_scope::Key<'tcx>)
        -> doc_link_traits_in_scope::ProvidedValue<'tcx>,
    pub stripped_cfg_items: for<'tcx> fn(TyCtxt<'tcx>,
        stripped_cfg_items::Key<'tcx>)
        -> stripped_cfg_items::ProvidedValue<'tcx>,
    pub cross_crate_inlinable: for<'tcx> fn(TyCtxt<'tcx>,
        cross_crate_inlinable::Key<'tcx>)
        -> cross_crate_inlinable::ProvidedValue<'tcx>,
    pub anon_const_kind: for<'tcx> fn(TyCtxt<'tcx>,
        anon_const_kind::Key<'tcx>) -> anon_const_kind::ProvidedValue<'tcx>,
    pub trivial_const: for<'tcx> fn(TyCtxt<'tcx>, trivial_const::Key<'tcx>)
        -> trivial_const::ProvidedValue<'tcx>,
    pub externally_implementable_items: for<'tcx> fn(TyCtxt<'tcx>,
        externally_implementable_items::Key<'tcx>)
        -> externally_implementable_items::ProvidedValue<'tcx>,
}
impl Default for Providers {
    fn default() -> Self {
        Providers {
            derive_macro_expansion: |_, key|
                {
                    crate::query::query_api::default_query("derive_macro_expansion",
                        &key)
                },
            trigger_delayed_bug: |_, key|
                {
                    crate::query::query_api::default_query("trigger_delayed_bug",
                        &key)
                },
            registered_attr_tools: |_, key|
                {
                    crate::query::query_api::default_query("registered_attr_tools",
                        &key)
                },
            registered_lint_tools: |_, key|
                {
                    crate::query::query_api::default_query("registered_lint_tools",
                        &key)
                },
            early_lint_checks: |_, key|
                {
                    crate::query::query_api::default_query("early_lint_checks",
                        &key)
                },
            env_var_os: |_, key|
                {
                    crate::query::query_api::default_query("env_var_os", &key)
                },
            resolutions: |_, key|
                {
                    crate::query::query_api::default_query("resolutions", &key)
                },
            resolver_for_lowering_raw: |_, key|
                {
                    crate::query::query_api::default_query("resolver_for_lowering_raw",
                        &key)
                },
            index_ast: |_, key|
                { crate::query::query_api::default_query("index_ast", &key) },
            source_span: |_, key|
                {
                    crate::query::query_api::default_query("source_span", &key)
                },
            lower_to_hir: |_, key|
                {
                    crate::query::query_api::default_query("lower_to_hir", &key)
                },
            hir_owner: |_, key|
                { crate::query::query_api::default_query("hir_owner", &key) },
            hir_crate_items: |_, key|
                {
                    crate::query::query_api::default_query("hir_crate_items",
                        &key)
                },
            hir_module_items: |_, key|
                {
                    crate::query::query_api::default_query("hir_module_items",
                        &key)
                },
            hir_owner_parent_q: |_, key|
                {
                    crate::query::query_api::default_query("hir_owner_parent_q",
                        &key)
                },
            hir_attr_map: |_, key|
                {
                    crate::query::query_api::default_query("hir_attr_map", &key)
                },
            const_param_default: |_, key|
                {
                    crate::query::query_api::default_query("const_param_default",
                        &key)
                },
            const_of_item: |_, key|
                {
                    crate::query::query_api::default_query("const_of_item",
                        &key)
                },
            type_of: |_, key|
                { crate::query::query_api::default_query("type_of", &key) },
            type_of_opaque: |_, key|
                {
                    crate::query::query_api::default_query("type_of_opaque",
                        &key)
                },
            type_of_opaque_hir_typeck: |_, key|
                {
                    crate::query::query_api::default_query("type_of_opaque_hir_typeck",
                        &key)
                },
            type_alias_is_checked: |_, key|
                {
                    crate::query::query_api::default_query("type_alias_is_checked",
                        &key)
                },
            collect_return_position_impl_trait_in_trait_tys: |_, key|
                {
                    crate::query::query_api::default_query("collect_return_position_impl_trait_in_trait_tys",
                        &key)
                },
            opaque_ty_origin: |_, key|
                {
                    crate::query::query_api::default_query("opaque_ty_origin",
                        &key)
                },
            unsizing_params_for_adt: |_, key|
                {
                    crate::query::query_api::default_query("unsizing_params_for_adt",
                        &key)
                },
            analysis: |_, key|
                { crate::query::query_api::default_query("analysis", &key) },
            check_expectations: |_, key|
                {
                    crate::query::query_api::default_query("check_expectations",
                        &key)
                },
            generics_of: |_, key|
                {
                    crate::query::query_api::default_query("generics_of", &key)
                },
            clauses_of: |_, key|
                {
                    crate::query::query_api::default_query("clauses_of", &key)
                },
            opaque_types_defined_by: |_, key|
                {
                    crate::query::query_api::default_query("opaque_types_defined_by",
                        &key)
                },
            nested_bodies_within: |_, key|
                {
                    crate::query::query_api::default_query("nested_bodies_within",
                        &key)
                },
            explicit_item_bounds: |_, key|
                {
                    crate::query::query_api::default_query("explicit_item_bounds",
                        &key)
                },
            explicit_item_self_bounds: |_, key|
                {
                    crate::query::query_api::default_query("explicit_item_self_bounds",
                        &key)
                },
            item_bounds: |_, key|
                {
                    crate::query::query_api::default_query("item_bounds", &key)
                },
            item_self_bounds: |_, key|
                {
                    crate::query::query_api::default_query("item_self_bounds",
                        &key)
                },
            item_non_self_bounds: |_, key|
                {
                    crate::query::query_api::default_query("item_non_self_bounds",
                        &key)
                },
            impl_super_outlives: |_, key|
                {
                    crate::query::query_api::default_query("impl_super_outlives",
                        &key)
                },
            native_libraries: |_, key|
                {
                    crate::query::query_api::default_query("native_libraries",
                        &key)
                },
            shallow_lint_levels_on: |_, key|
                {
                    crate::query::query_api::default_query("shallow_lint_levels_on",
                        &key)
                },
            lint_expectations: |_, key|
                {
                    crate::query::query_api::default_query("lint_expectations",
                        &key)
                },
            skippable_lints: |_, key|
                {
                    crate::query::query_api::default_query("skippable_lints",
                        &key)
                },
            expn_that_defined: |_, key|
                {
                    crate::query::query_api::default_query("expn_that_defined",
                        &key)
                },
            is_panic_runtime: |_, key|
                {
                    crate::query::query_api::default_query("is_panic_runtime",
                        &key)
                },
            check_representability: |_, key|
                {
                    crate::query::query_api::default_query("check_representability",
                        &key)
                },
            check_representability_adt_ty: |_, key|
                {
                    crate::query::query_api::default_query("check_representability_adt_ty",
                        &key)
                },
            params_in_repr: |_, key|
                {
                    crate::query::query_api::default_query("params_in_repr",
                        &key)
                },
            thir_body: |_, key|
                { crate::query::query_api::default_query("thir_body", &key) },
            mir_keys: |_, key|
                { crate::query::query_api::default_query("mir_keys", &key) },
            mir_const_qualif: |_, key|
                {
                    crate::query::query_api::default_query("mir_const_qualif",
                        &key)
                },
            mir_built: |_, key|
                { crate::query::query_api::default_query("mir_built", &key) },
            thir_abstract_const: |_, key|
                {
                    crate::query::query_api::default_query("thir_abstract_const",
                        &key)
                },
            mir_drops_elaborated_and_const_checked: |_, key|
                {
                    crate::query::query_api::default_query("mir_drops_elaborated_and_const_checked",
                        &key)
                },
            mir_for_ctfe: |_, key|
                {
                    crate::query::query_api::default_query("mir_for_ctfe", &key)
                },
            mir_promoted: |_, key|
                {
                    crate::query::query_api::default_query("mir_promoted", &key)
                },
            closure_typeinfo: |_, key|
                {
                    crate::query::query_api::default_query("closure_typeinfo",
                        &key)
                },
            closure_saved_names_of_captured_variables: |_, key|
                {
                    crate::query::query_api::default_query("closure_saved_names_of_captured_variables",
                        &key)
                },
            mir_coroutine_witnesses: |_, key|
                {
                    crate::query::query_api::default_query("mir_coroutine_witnesses",
                        &key)
                },
            check_coroutine_obligations: |_, key|
                {
                    crate::query::query_api::default_query("check_coroutine_obligations",
                        &key)
                },
            check_potentially_region_dependent_goals: |_, key|
                {
                    crate::query::query_api::default_query("check_potentially_region_dependent_goals",
                        &key)
                },
            optimized_mir: |_, key|
                {
                    crate::query::query_api::default_query("optimized_mir",
                        &key)
                },
            is_eligible_for_coverage: |_, key|
                {
                    crate::query::query_api::default_query("is_eligible_for_coverage",
                        &key)
                },
            coverage_attr_on: |_, key|
                {
                    crate::query::query_api::default_query("coverage_attr_on",
                        &key)
                },
            coverage_codegen_info: |_, key|
                {
                    crate::query::query_api::default_query("coverage_codegen_info",
                        &key)
                },
            promoted_mir: |_, key|
                {
                    crate::query::query_api::default_query("promoted_mir", &key)
                },
            erase_and_anonymize_regions_ty: |_, key|
                {
                    crate::query::query_api::default_query("erase_and_anonymize_regions_ty",
                        &key)
                },
            wasm_import_module_map: |_, key|
                {
                    crate::query::query_api::default_query("wasm_import_module_map",
                        &key)
                },
            trait_explicit_clauses_and_bounds: |_, key|
                {
                    crate::query::query_api::default_query("trait_explicit_clauses_and_bounds",
                        &key)
                },
            explicit_clauses_of: |_, key|
                {
                    crate::query::query_api::default_query("explicit_clauses_of",
                        &key)
                },
            inferred_outlives_of: |_, key|
                {
                    crate::query::query_api::default_query("inferred_outlives_of",
                        &key)
                },
            explicit_super_clauses_of: |_, key|
                {
                    crate::query::query_api::default_query("explicit_super_clauses_of",
                        &key)
                },
            explicit_implied_clauses_of: |_, key|
                {
                    crate::query::query_api::default_query("explicit_implied_clauses_of",
                        &key)
                },
            explicit_supertraits_containing_assoc_item: |_, key|
                {
                    crate::query::query_api::default_query("explicit_supertraits_containing_assoc_item",
                        &key)
                },
            const_conditions: |_, key|
                {
                    crate::query::query_api::default_query("const_conditions",
                        &key)
                },
            explicit_implied_const_bounds: |_, key|
                {
                    crate::query::query_api::default_query("explicit_implied_const_bounds",
                        &key)
                },
            type_param_clauses: |_, key|
                {
                    crate::query::query_api::default_query("type_param_clauses",
                        &key)
                },
            trait_def: |_, key|
                { crate::query::query_api::default_query("trait_def", &key) },
            adt_def: |_, key|
                { crate::query::query_api::default_query("adt_def", &key) },
            adt_destructor: |_, key|
                {
                    crate::query::query_api::default_query("adt_destructor",
                        &key)
                },
            adt_async_destructor: |_, key|
                {
                    crate::query::query_api::default_query("adt_async_destructor",
                        &key)
                },
            adt_sizedness_constraint: |_, key|
                {
                    crate::query::query_api::default_query("adt_sizedness_constraint",
                        &key)
                },
            adt_dtorck_constraint: |_, key|
                {
                    crate::query::query_api::default_query("adt_dtorck_constraint",
                        &key)
                },
            constness: |_, key|
                { crate::query::query_api::default_query("constness", &key) },
            asyncness: |_, key|
                { crate::query::query_api::default_query("asyncness", &key) },
            is_promotable_const_fn: |_, key|
                {
                    crate::query::query_api::default_query("is_promotable_const_fn",
                        &key)
                },
            coroutine_by_move_body_def_id: |_, key|
                {
                    crate::query::query_api::default_query("coroutine_by_move_body_def_id",
                        &key)
                },
            coroutine_kind: |_, key|
                {
                    crate::query::query_api::default_query("coroutine_kind",
                        &key)
                },
            coroutine_for_closure: |_, key|
                {
                    crate::query::query_api::default_query("coroutine_for_closure",
                        &key)
                },
            coroutine_hidden_types: |_, key|
                {
                    crate::query::query_api::default_query("coroutine_hidden_types",
                        &key)
                },
            crate_variances: |_, key|
                {
                    crate::query::query_api::default_query("crate_variances",
                        &key)
                },
            variances_of: |_, key|
                {
                    crate::query::query_api::default_query("variances_of", &key)
                },
            inferred_outlives_crate: |_, key|
                {
                    crate::query::query_api::default_query("inferred_outlives_crate",
                        &key)
                },
            associated_item_def_ids: |_, key|
                {
                    crate::query::query_api::default_query("associated_item_def_ids",
                        &key)
                },
            associated_item: |_, key|
                {
                    crate::query::query_api::default_query("associated_item",
                        &key)
                },
            associated_items: |_, key|
                {
                    crate::query::query_api::default_query("associated_items",
                        &key)
                },
            impl_item_implementor_ids: |_, key|
                {
                    crate::query::query_api::default_query("impl_item_implementor_ids",
                        &key)
                },
            associated_types_for_impl_traits_in_trait_or_impl: |_, key|
                {
                    crate::query::query_api::default_query("associated_types_for_impl_traits_in_trait_or_impl",
                        &key)
                },
            impl_trait_header: |_, key|
                {
                    crate::query::query_api::default_query("impl_trait_header",
                        &key)
                },
            impl_is_fully_generic_for_reflection: |_, key|
                {
                    crate::query::query_api::default_query("impl_is_fully_generic_for_reflection",
                        &key)
                },
            impl_self_is_guaranteed_unsized: |_, key|
                {
                    crate::query::query_api::default_query("impl_self_is_guaranteed_unsized",
                        &key)
                },
            inherent_impls: |_, key|
                {
                    crate::query::query_api::default_query("inherent_impls",
                        &key)
                },
            incoherent_impls: |_, key|
                {
                    crate::query::query_api::default_query("incoherent_impls",
                        &key)
                },
            check_transmutes: |_, key|
                {
                    crate::query::query_api::default_query("check_transmutes",
                        &key)
                },
            check_offloads: |_, key|
                {
                    crate::query::query_api::default_query("check_offloads",
                        &key)
                },
            check_unsafety: |_, key|
                {
                    crate::query::query_api::default_query("check_unsafety",
                        &key)
                },
            check_tail_calls: |_, key|
                {
                    crate::query::query_api::default_query("check_tail_calls",
                        &key)
                },
            assumed_wf_types: |_, key|
                {
                    crate::query::query_api::default_query("assumed_wf_types",
                        &key)
                },
            assumed_wf_types_for_rpitit: |_, key|
                {
                    crate::query::query_api::default_query("assumed_wf_types_for_rpitit",
                        &key)
                },
            fn_sig: |_, key|
                { crate::query::query_api::default_query("fn_sig", &key) },
            lint_mod: |_, key|
                { crate::query::query_api::default_query("lint_mod", &key) },
            check_unused_traits: |_, key|
                {
                    crate::query::query_api::default_query("check_unused_traits",
                        &key)
                },
            check_mod_attrs: |_, key|
                {
                    crate::query::query_api::default_query("check_mod_attrs",
                        &key)
                },
            check_mod_unstable_api_usage: |_, key|
                {
                    crate::query::query_api::default_query("check_mod_unstable_api_usage",
                        &key)
                },
            check_mod_privacy: |_, key|
                {
                    crate::query::query_api::default_query("check_mod_privacy",
                        &key)
                },
            check_liveness: |_, key|
                {
                    crate::query::query_api::default_query("check_liveness",
                        &key)
                },
            live_symbols_and_ignored_derived_traits: |_, key|
                {
                    crate::query::query_api::default_query("live_symbols_and_ignored_derived_traits",
                        &key)
                },
            check_mod_deathness: |_, key|
                {
                    crate::query::query_api::default_query("check_mod_deathness",
                        &key)
                },
            check_type_wf: |_, key|
                {
                    crate::query::query_api::default_query("check_type_wf",
                        &key)
                },
            coerce_unsized_info: |_, key|
                {
                    crate::query::query_api::default_query("coerce_unsized_info",
                        &key)
                },
            typeck_root: |_, key|
                {
                    crate::query::query_api::default_query("typeck_root", &key)
                },
            used_trait_imports: |_, key|
                {
                    crate::query::query_api::default_query("used_trait_imports",
                        &key)
                },
            coherent_trait: |_, key|
                {
                    crate::query::query_api::default_query("coherent_trait",
                        &key)
                },
            mir_borrowck: |_, key|
                {
                    crate::query::query_api::default_query("mir_borrowck", &key)
                },
            crate_inherent_impls: |_, key|
                {
                    crate::query::query_api::default_query("crate_inherent_impls",
                        &key)
                },
            crate_inherent_impls_validity_check: |_, key|
                {
                    crate::query::query_api::default_query("crate_inherent_impls_validity_check",
                        &key)
                },
            crate_inherent_impls_overlap_check: |_, key|
                {
                    crate::query::query_api::default_query("crate_inherent_impls_overlap_check",
                        &key)
                },
            orphan_check_impl: |_, key|
                {
                    crate::query::query_api::default_query("orphan_check_impl",
                        &key)
                },
            mir_callgraph_cyclic: |_, key|
                {
                    crate::query::query_api::default_query("mir_callgraph_cyclic",
                        &key)
                },
            mir_inliner_callees: |_, key|
                {
                    crate::query::query_api::default_query("mir_inliner_callees",
                        &key)
                },
            tag_for_variant: |_, key|
                {
                    crate::query::query_api::default_query("tag_for_variant",
                        &key)
                },
            eval_to_allocation_raw: |_, key|
                {
                    crate::query::query_api::default_query("eval_to_allocation_raw",
                        &key)
                },
            eval_static_initializer: |_, key|
                {
                    crate::query::query_api::default_query("eval_static_initializer",
                        &key)
                },
            eval_to_const_value_raw: |_, key|
                {
                    crate::query::query_api::default_query("eval_to_const_value_raw",
                        &key)
                },
            eval_to_valtree: |_, key|
                {
                    crate::query::query_api::default_query("eval_to_valtree",
                        &key)
                },
            valtree_to_const_val: |_, key|
                {
                    crate::query::query_api::default_query("valtree_to_const_val",
                        &key)
                },
            lit_to_const: |_, key|
                {
                    crate::query::query_api::default_query("lit_to_const", &key)
                },
            check_match: |_, key|
                {
                    crate::query::query_api::default_query("check_match", &key)
                },
            effective_visibilities: |_, key|
                {
                    crate::query::query_api::default_query("effective_visibilities",
                        &key)
                },
            check_private_in_public: |_, key|
                {
                    crate::query::query_api::default_query("check_private_in_public",
                        &key)
                },
            reachable_set: |_, key|
                {
                    crate::query::query_api::default_query("reachable_set",
                        &key)
                },
            region_scope_tree: |_, key|
                {
                    crate::query::query_api::default_query("region_scope_tree",
                        &key)
                },
            mir_shims: |_, key|
                { crate::query::query_api::default_query("mir_shims", &key) },
            symbol_name: |_, key|
                {
                    crate::query::query_api::default_query("symbol_name", &key)
                },
            def_kind: |_, key|
                { crate::query::query_api::default_query("def_kind", &key) },
            def_span: |_, key|
                { crate::query::query_api::default_query("def_span", &key) },
            def_ident_span: |_, key|
                {
                    crate::query::query_api::default_query("def_ident_span",
                        &key)
                },
            ty_span: |_, key|
                { crate::query::query_api::default_query("ty_span", &key) },
            lookup_stability: |_, key|
                {
                    crate::query::query_api::default_query("lookup_stability",
                        &key)
                },
            lookup_const_stability: |_, key|
                {
                    crate::query::query_api::default_query("lookup_const_stability",
                        &key)
                },
            lookup_default_body_stability: |_, key|
                {
                    crate::query::query_api::default_query("lookup_default_body_stability",
                        &key)
                },
            should_inherit_track_caller: |_, key|
                {
                    crate::query::query_api::default_query("should_inherit_track_caller",
                        &key)
                },
            inherited_align: |_, key|
                {
                    crate::query::query_api::default_query("inherited_align",
                        &key)
                },
            lookup_deprecation_entry: |_, key|
                {
                    crate::query::query_api::default_query("lookup_deprecation_entry",
                        &key)
                },
            is_doc_hidden: |_, key|
                {
                    crate::query::query_api::default_query("is_doc_hidden",
                        &key)
                },
            is_doc_notable_trait: |_, key|
                {
                    crate::query::query_api::default_query("is_doc_notable_trait",
                        &key)
                },
            attrs_for_def: |_, key|
                {
                    crate::query::query_api::default_query("attrs_for_def",
                        &key)
                },
            codegen_fn_attrs: |_, key|
                {
                    crate::query::query_api::default_query("codegen_fn_attrs",
                        &key)
                },
            asm_target_features: |_, key|
                {
                    crate::query::query_api::default_query("asm_target_features",
                        &key)
                },
            fn_arg_idents: |_, key|
                {
                    crate::query::query_api::default_query("fn_arg_idents",
                        &key)
                },
            rendered_const: |_, key|
                {
                    crate::query::query_api::default_query("rendered_const",
                        &key)
                },
            rendered_precise_capturing_args: |_, key|
                {
                    crate::query::query_api::default_query("rendered_precise_capturing_args",
                        &key)
                },
            impl_parent: |_, key|
                {
                    crate::query::query_api::default_query("impl_parent", &key)
                },
            is_mir_available: |_, key|
                {
                    crate::query::query_api::default_query("is_mir_available",
                        &key)
                },
            own_existential_vtable_entries: |_, key|
                {
                    crate::query::query_api::default_query("own_existential_vtable_entries",
                        &key)
                },
            vtable_entries: |_, key|
                {
                    crate::query::query_api::default_query("vtable_entries",
                        &key)
                },
            first_method_vtable_slot: |_, key|
                {
                    crate::query::query_api::default_query("first_method_vtable_slot",
                        &key)
                },
            supertrait_vtable_slot: |_, key|
                {
                    crate::query::query_api::default_query("supertrait_vtable_slot",
                        &key)
                },
            vtable_allocation: |_, key|
                {
                    crate::query::query_api::default_query("vtable_allocation",
                        &key)
                },
            codegen_select_candidate: |_, key|
                {
                    crate::query::query_api::default_query("codegen_select_candidate",
                        &key)
                },
            all_local_trait_impls: |_, key|
                {
                    crate::query::query_api::default_query("all_local_trait_impls",
                        &key)
                },
            local_trait_impls: |_, key|
                {
                    crate::query::query_api::default_query("local_trait_impls",
                        &key)
                },
            trait_impls_of: |_, key|
                {
                    crate::query::query_api::default_query("trait_impls_of",
                        &key)
                },
            specialization_graph_of: |_, key|
                {
                    crate::query::query_api::default_query("specialization_graph_of",
                        &key)
                },
            dyn_compatibility_violations: |_, key|
                {
                    crate::query::query_api::default_query("dyn_compatibility_violations",
                        &key)
                },
            is_dyn_compatible: |_, key|
                {
                    crate::query::query_api::default_query("is_dyn_compatible",
                        &key)
                },
            param_env: |_, key|
                { crate::query::query_api::default_query("param_env", &key) },
            param_env_normalized_for_post_analysis: |_, key|
                {
                    crate::query::query_api::default_query("param_env_normalized_for_post_analysis",
                        &key)
                },
            is_copy_raw: |_, key|
                {
                    crate::query::query_api::default_query("is_copy_raw", &key)
                },
            is_use_cloned_raw: |_, key|
                {
                    crate::query::query_api::default_query("is_use_cloned_raw",
                        &key)
                },
            is_sized_raw: |_, key|
                {
                    crate::query::query_api::default_query("is_sized_raw", &key)
                },
            is_freeze_raw: |_, key|
                {
                    crate::query::query_api::default_query("is_freeze_raw",
                        &key)
                },
            is_unsafe_unpin_raw: |_, key|
                {
                    crate::query::query_api::default_query("is_unsafe_unpin_raw",
                        &key)
                },
            is_unpin_raw: |_, key|
                {
                    crate::query::query_api::default_query("is_unpin_raw", &key)
                },
            is_async_drop_raw: |_, key|
                {
                    crate::query::query_api::default_query("is_async_drop_raw",
                        &key)
                },
            needs_drop_raw: |_, key|
                {
                    crate::query::query_api::default_query("needs_drop_raw",
                        &key)
                },
            needs_async_drop_raw: |_, key|
                {
                    crate::query::query_api::default_query("needs_async_drop_raw",
                        &key)
                },
            has_significant_drop_raw: |_, key|
                {
                    crate::query::query_api::default_query("has_significant_drop_raw",
                        &key)
                },
            has_structural_eq_impl: |_, key|
                {
                    crate::query::query_api::default_query("has_structural_eq_impl",
                        &key)
                },
            adt_drop_tys: |_, key|
                {
                    crate::query::query_api::default_query("adt_drop_tys", &key)
                },
            adt_async_drop_tys: |_, key|
                {
                    crate::query::query_api::default_query("adt_async_drop_tys",
                        &key)
                },
            adt_significant_drop_tys: |_, key|
                {
                    crate::query::query_api::default_query("adt_significant_drop_tys",
                        &key)
                },
            list_significant_drop_tys: |_, key|
                {
                    crate::query::query_api::default_query("list_significant_drop_tys",
                        &key)
                },
            layout_of: |_, key|
                { crate::query::query_api::default_query("layout_of", &key) },
            fn_abi_of_fn_ptr: |_, key|
                {
                    crate::query::query_api::default_query("fn_abi_of_fn_ptr",
                        &key)
                },
            fn_abi_of_instance_no_deduced_attrs: |_, key|
                {
                    crate::query::query_api::default_query("fn_abi_of_instance_no_deduced_attrs",
                        &key)
                },
            fn_abi_of_instance_raw: |_, key|
                {
                    crate::query::query_api::default_query("fn_abi_of_instance_raw",
                        &key)
                },
            dylib_dependency_formats: |_, key|
                {
                    crate::query::query_api::default_query("dylib_dependency_formats",
                        &key)
                },
            dependency_formats: |_, key|
                {
                    crate::query::query_api::default_query("dependency_formats",
                        &key)
                },
            is_compiler_builtins: |_, key|
                {
                    crate::query::query_api::default_query("is_compiler_builtins",
                        &key)
                },
            has_global_allocator: |_, key|
                {
                    crate::query::query_api::default_query("has_global_allocator",
                        &key)
                },
            has_alloc_error_handler: |_, key|
                {
                    crate::query::query_api::default_query("has_alloc_error_handler",
                        &key)
                },
            has_panic_handler: |_, key|
                {
                    crate::query::query_api::default_query("has_panic_handler",
                        &key)
                },
            is_profiler_runtime: |_, key|
                {
                    crate::query::query_api::default_query("is_profiler_runtime",
                        &key)
                },
            has_ffi_unwind_calls: |_, key|
                {
                    crate::query::query_api::default_query("has_ffi_unwind_calls",
                        &key)
                },
            required_panic_strategy: |_, key|
                {
                    crate::query::query_api::default_query("required_panic_strategy",
                        &key)
                },
            panic_in_drop_strategy: |_, key|
                {
                    crate::query::query_api::default_query("panic_in_drop_strategy",
                        &key)
                },
            is_no_builtins: |_, key|
                {
                    crate::query::query_api::default_query("is_no_builtins",
                        &key)
                },
            symbol_mangling_version: |_, key|
                {
                    crate::query::query_api::default_query("symbol_mangling_version",
                        &key)
                },
            extern_crate: |_, key|
                {
                    crate::query::query_api::default_query("extern_crate", &key)
                },
            specialization_enabled_in: |_, key|
                {
                    crate::query::query_api::default_query("specialization_enabled_in",
                        &key)
                },
            specializes: |_, key|
                {
                    crate::query::query_api::default_query("specializes", &key)
                },
            defaultness: |_, key|
                {
                    crate::query::query_api::default_query("defaultness", &key)
                },
            default_field: |_, key|
                {
                    crate::query::query_api::default_query("default_field",
                        &key)
                },
            check_well_formed: |_, key|
                {
                    crate::query::query_api::default_query("check_well_formed",
                        &key)
                },
            enforce_impl_non_lifetime_params_are_constrained: |_, key|
                {
                    crate::query::query_api::default_query("enforce_impl_non_lifetime_params_are_constrained",
                        &key)
                },
            reachable_non_generics: |_, key|
                {
                    crate::query::query_api::default_query("reachable_non_generics",
                        &key)
                },
            is_reachable_non_generic: |_, key|
                {
                    crate::query::query_api::default_query("is_reachable_non_generic",
                        &key)
                },
            is_unreachable_local_definition: |_, key|
                {
                    crate::query::query_api::default_query("is_unreachable_local_definition",
                        &key)
                },
            upstream_monomorphizations: |_, key|
                {
                    crate::query::query_api::default_query("upstream_monomorphizations",
                        &key)
                },
            upstream_monomorphizations_for: |_, key|
                {
                    crate::query::query_api::default_query("upstream_monomorphizations_for",
                        &key)
                },
            upstream_drop_glue_for: |_, key|
                {
                    crate::query::query_api::default_query("upstream_drop_glue_for",
                        &key)
                },
            upstream_async_drop_glue_for: |_, key|
                {
                    crate::query::query_api::default_query("upstream_async_drop_glue_for",
                        &key)
                },
            foreign_modules: |_, key|
                {
                    crate::query::query_api::default_query("foreign_modules",
                        &key)
                },
            clashing_extern_declarations: |_, key|
                {
                    crate::query::query_api::default_query("clashing_extern_declarations",
                        &key)
                },
            entry_fn: |_, key|
                { crate::query::query_api::default_query("entry_fn", &key) },
            proc_macro_decls_static: |_, key|
                {
                    crate::query::query_api::default_query("proc_macro_decls_static",
                        &key)
                },
            crate_hash: |_, key|
                {
                    crate::query::query_api::default_query("crate_hash", &key)
                },
            crate_host_hash: |_, key|
                {
                    crate::query::query_api::default_query("crate_host_hash",
                        &key)
                },
            extra_filename: |_, key|
                {
                    crate::query::query_api::default_query("extra_filename",
                        &key)
                },
            crate_extern_paths: |_, key|
                {
                    crate::query::query_api::default_query("crate_extern_paths",
                        &key)
                },
            implementations_of_trait: |_, key|
                {
                    crate::query::query_api::default_query("implementations_of_trait",
                        &key)
                },
            crate_incoherent_impls: |_, key|
                {
                    crate::query::query_api::default_query("crate_incoherent_impls",
                        &key)
                },
            native_library: |_, key|
                {
                    crate::query::query_api::default_query("native_library",
                        &key)
                },
            inherit_sig_for_delegation_item: |_, key|
                {
                    crate::query::query_api::default_query("inherit_sig_for_delegation_item",
                        &key)
                },
            delegation_user_specified_args: |_, key|
                {
                    crate::query::query_api::default_query("delegation_user_specified_args",
                        &key)
                },
            resolve_bound_vars: |_, key|
                {
                    crate::query::query_api::default_query("resolve_bound_vars",
                        &key)
                },
            named_variable_map: |_, key|
                {
                    crate::query::query_api::default_query("named_variable_map",
                        &key)
                },
            is_late_bound_map: |_, key|
                {
                    crate::query::query_api::default_query("is_late_bound_map",
                        &key)
                },
            object_lifetime_default: |_, key|
                {
                    crate::query::query_api::default_query("object_lifetime_default",
                        &key)
                },
            late_bound_vars_map: |_, key|
                {
                    crate::query::query_api::default_query("late_bound_vars_map",
                        &key)
                },
            opaque_captured_lifetimes: |_, key|
                {
                    crate::query::query_api::default_query("opaque_captured_lifetimes",
                        &key)
                },
            live_args_for_alias_from_outlives_bounds: |_, key|
                {
                    crate::query::query_api::default_query("live_args_for_alias_from_outlives_bounds",
                        &key)
                },
            args_known_to_outlive_alias_params: |_, key|
                {
                    crate::query::query_api::default_query("args_known_to_outlive_alias_params",
                        &key)
                },
            visibility: |_, key|
                {
                    crate::query::query_api::default_query("visibility", &key)
                },
            inhabited_predicate_adt: |_, key|
                {
                    crate::query::query_api::default_query("inhabited_predicate_adt",
                        &key)
                },
            inhabited_predicate_type: |_, key|
                {
                    crate::query::query_api::default_query("inhabited_predicate_type",
                        &key)
                },
            is_opsem_inhabited_raw: |_, key|
                {
                    crate::query::query_api::default_query("is_opsem_inhabited_raw",
                        &key)
                },
            crate_dep_kind: |_, key|
                {
                    crate::query::query_api::default_query("crate_dep_kind",
                        &key)
                },
            crate_name: |_, key|
                {
                    crate::query::query_api::default_query("crate_name", &key)
                },
            module_children: |_, key|
                {
                    crate::query::query_api::default_query("module_children",
                        &key)
                },
            num_extern_def_ids: |_, key|
                {
                    crate::query::query_api::default_query("num_extern_def_ids",
                        &key)
                },
            lib_features: |_, key|
                {
                    crate::query::query_api::default_query("lib_features", &key)
                },
            stability_implications: |_, key|
                {
                    crate::query::query_api::default_query("stability_implications",
                        &key)
                },
            intrinsic_raw: |_, key|
                {
                    crate::query::query_api::default_query("intrinsic_raw",
                        &key)
                },
            get_lang_items: |_, key|
                {
                    crate::query::query_api::default_query("get_lang_items",
                        &key)
                },
            all_diagnostic_items: |_, key|
                {
                    crate::query::query_api::default_query("all_diagnostic_items",
                        &key)
                },
            all_canonical_symbols: |_, key|
                {
                    crate::query::query_api::default_query("all_canonical_symbols",
                        &key)
                },
            defined_lang_items: |_, key|
                {
                    crate::query::query_api::default_query("defined_lang_items",
                        &key)
                },
            diagnostic_items: |_, key|
                {
                    crate::query::query_api::default_query("diagnostic_items",
                        &key)
                },
            canonical_symbols: |_, key|
                {
                    crate::query::query_api::default_query("canonical_symbols",
                        &key)
                },
            missing_lang_items: |_, key|
                {
                    crate::query::query_api::default_query("missing_lang_items",
                        &key)
                },
            visible_parent_map: |_, key|
                {
                    crate::query::query_api::default_query("visible_parent_map",
                        &key)
                },
            trimmed_def_paths: |_, key|
                {
                    crate::query::query_api::default_query("trimmed_def_paths",
                        &key)
                },
            missing_extern_crate_item: |_, key|
                {
                    crate::query::query_api::default_query("missing_extern_crate_item",
                        &key)
                },
            used_crate_source: |_, key|
                {
                    crate::query::query_api::default_query("used_crate_source",
                        &key)
                },
            debugger_visualizers: |_, key|
                {
                    crate::query::query_api::default_query("debugger_visualizers",
                        &key)
                },
            postorder_cnums: |_, key|
                {
                    crate::query::query_api::default_query("postorder_cnums",
                        &key)
                },
            is_private_dep: |_, key|
                {
                    crate::query::query_api::default_query("is_private_dep",
                        &key)
                },
            allocator_kind: |_, key|
                {
                    crate::query::query_api::default_query("allocator_kind",
                        &key)
                },
            alloc_error_handler_kind: |_, key|
                {
                    crate::query::query_api::default_query("alloc_error_handler_kind",
                        &key)
                },
            upvars_mentioned: |_, key|
                {
                    crate::query::query_api::default_query("upvars_mentioned",
                        &key)
                },
            crates: |_, key|
                { crate::query::query_api::default_query("crates", &key) },
            used_crates: |_, key|
                {
                    crate::query::query_api::default_query("used_crates", &key)
                },
            duplicate_crate_names: |_, key|
                {
                    crate::query::query_api::default_query("duplicate_crate_names",
                        &key)
                },
            traits: |_, key|
                { crate::query::query_api::default_query("traits", &key) },
            trait_impls_in_crate: |_, key|
                {
                    crate::query::query_api::default_query("trait_impls_in_crate",
                        &key)
                },
            stable_order_of_exportable_impls: |_, key|
                {
                    crate::query::query_api::default_query("stable_order_of_exportable_impls",
                        &key)
                },
            exportable_items: |_, key|
                {
                    crate::query::query_api::default_query("exportable_items",
                        &key)
                },
            exported_non_generic_symbols: |_, key|
                {
                    crate::query::query_api::default_query("exported_non_generic_symbols",
                        &key)
                },
            exported_generic_symbols: |_, key|
                {
                    crate::query::query_api::default_query("exported_generic_symbols",
                        &key)
                },
            collect_and_partition_mono_items: |_, key|
                {
                    crate::query::query_api::default_query("collect_and_partition_mono_items",
                        &key)
                },
            is_codegened_item: |_, key|
                {
                    crate::query::query_api::default_query("is_codegened_item",
                        &key)
                },
            codegen_unit: |_, key|
                {
                    crate::query::query_api::default_query("codegen_unit", &key)
                },
            backend_optimization_level: |_, key|
                {
                    crate::query::query_api::default_query("backend_optimization_level",
                        &key)
                },
            output_filenames: |_, key|
                {
                    crate::query::query_api::default_query("output_filenames",
                        &key)
                },
            normalize_canonicalized_projection: |_, key|
                {
                    crate::query::query_api::default_query("normalize_canonicalized_projection",
                        &key)
                },
            normalize_canonicalized_free_alias: |_, key|
                {
                    crate::query::query_api::default_query("normalize_canonicalized_free_alias",
                        &key)
                },
            normalize_canonicalized_inherent_projection: |_, key|
                {
                    crate::query::query_api::default_query("normalize_canonicalized_inherent_projection",
                        &key)
                },
            try_normalize_generic_arg_after_erasing_regions: |_, key|
                {
                    crate::query::query_api::default_query("try_normalize_generic_arg_after_erasing_regions",
                        &key)
                },
            implied_outlives_bounds: |_, key|
                {
                    crate::query::query_api::default_query("implied_outlives_bounds",
                        &key)
                },
            mir_borrowck_implied_outlives_bounds: |_, key|
                {
                    crate::query::query_api::default_query("mir_borrowck_implied_outlives_bounds",
                        &key)
                },
            dropck_outlives: |_, key|
                {
                    crate::query::query_api::default_query("dropck_outlives",
                        &key)
                },
            evaluate_obligation: |_, key|
                {
                    crate::query::query_api::default_query("evaluate_obligation",
                        &key)
                },
            type_op_ascribe_user_type: |_, key|
                {
                    crate::query::query_api::default_query("type_op_ascribe_user_type",
                        &key)
                },
            type_op_prove_predicate: |_, key|
                {
                    crate::query::query_api::default_query("type_op_prove_predicate",
                        &key)
                },
            type_op_normalize_ty: |_, key|
                {
                    crate::query::query_api::default_query("type_op_normalize_ty",
                        &key)
                },
            type_op_normalize_clause: |_, key|
                {
                    crate::query::query_api::default_query("type_op_normalize_clause",
                        &key)
                },
            type_op_normalize_poly_fn_sig: |_, key|
                {
                    crate::query::query_api::default_query("type_op_normalize_poly_fn_sig",
                        &key)
                },
            type_op_normalize_fn_sig: |_, key|
                {
                    crate::query::query_api::default_query("type_op_normalize_fn_sig",
                        &key)
                },
            instantiate_and_check_impossible_clauses: |_, key|
                {
                    crate::query::query_api::default_query("instantiate_and_check_impossible_clauses",
                        &key)
                },
            is_impossible_associated_item: |_, key|
                {
                    crate::query::query_api::default_query("is_impossible_associated_item",
                        &key)
                },
            method_autoderef_steps: |_, key|
                {
                    crate::query::query_api::default_query("method_autoderef_steps",
                        &key)
                },
            evaluate_root_goal_for_proof_tree_raw: |_, key|
                {
                    crate::query::query_api::default_query("evaluate_root_goal_for_proof_tree_raw",
                        &key)
                },
            all_rust_target_features: |_, key|
                {
                    crate::query::query_api::default_query("all_rust_target_features",
                        &key)
                },
            implied_target_features: |_, key|
                {
                    crate::query::query_api::default_query("implied_target_features",
                        &key)
                },
            features_query: |_, key|
                {
                    crate::query::query_api::default_query("features_query",
                        &key)
                },
            crate_for_resolver: |_, key|
                {
                    crate::query::query_api::default_query("crate_for_resolver",
                        &key)
                },
            resolve_instance_raw: |_, key|
                {
                    crate::query::query_api::default_query("resolve_instance_raw",
                        &key)
                },
            reveal_opaque_types_in_bounds: |_, key|
                {
                    crate::query::query_api::default_query("reveal_opaque_types_in_bounds",
                        &key)
                },
            limits: |_, key|
                { crate::query::query_api::default_query("limits", &key) },
            diagnostic_hir_wf_check: |_, key|
                {
                    crate::query::query_api::default_query("diagnostic_hir_wf_check",
                        &key)
                },
            global_backend_features: |_, key|
                {
                    crate::query::query_api::default_query("global_backend_features",
                        &key)
                },
            check_validity_requirement: |_, key|
                {
                    crate::query::query_api::default_query("check_validity_requirement",
                        &key)
                },
            compare_impl_item: |_, key|
                {
                    crate::query::query_api::default_query("compare_impl_item",
                        &key)
                },
            deduced_param_attrs: |_, key|
                {
                    crate::query::query_api::default_query("deduced_param_attrs",
                        &key)
                },
            doc_link_resolutions: |_, key|
                {
                    crate::query::query_api::default_query("doc_link_resolutions",
                        &key)
                },
            doc_link_traits_in_scope: |_, key|
                {
                    crate::query::query_api::default_query("doc_link_traits_in_scope",
                        &key)
                },
            stripped_cfg_items: |_, key|
                {
                    crate::query::query_api::default_query("stripped_cfg_items",
                        &key)
                },
            generics_require_sized_self: |_, key|
                {
                    crate::query::query_api::default_query("generics_require_sized_self",
                        &key)
                },
            cross_crate_inlinable: |_, key|
                {
                    crate::query::query_api::default_query("cross_crate_inlinable",
                        &key)
                },
            check_mono_item: |_, key|
                {
                    crate::query::query_api::default_query("check_mono_item",
                        &key)
                },
            items_of_instance: |_, key|
                {
                    crate::query::query_api::default_query("items_of_instance",
                        &key)
                },
            size_estimate: |_, key|
                {
                    crate::query::query_api::default_query("size_estimate",
                        &key)
                },
            anon_const_kind: |_, key|
                {
                    crate::query::query_api::default_query("anon_const_kind",
                        &key)
                },
            trivial_const: |_, key|
                {
                    crate::query::query_api::default_query("trivial_const",
                        &key)
                },
            sanitizer_settings_for: |_, key|
                {
                    crate::query::query_api::default_query("sanitizer_settings_for",
                        &key)
                },
            check_externally_implementable_items: |_, key|
                {
                    crate::query::query_api::default_query("check_externally_implementable_items",
                        &key)
                },
            externally_implementable_items: |_, key|
                {
                    crate::query::query_api::default_query("externally_implementable_items",
                        &key)
                },
        }
    }
}
impl Default for ExternProviders {
    fn default() -> Self {
        ExternProviders {
            const_param_default: |_, key|
                crate::query::query_api::default_extern_query("const_param_default",
                    &key),
            const_of_item: |_, key|
                crate::query::query_api::default_extern_query("const_of_item",
                    &key),
            type_of: |_, key|
                crate::query::query_api::default_extern_query("type_of",
                    &key),
            type_alias_is_checked: |_, key|
                crate::query::query_api::default_extern_query("type_alias_is_checked",
                    &key),
            collect_return_position_impl_trait_in_trait_tys: |_, key|
                crate::query::query_api::default_extern_query("collect_return_position_impl_trait_in_trait_tys",
                    &key),
            opaque_ty_origin: |_, key|
                crate::query::query_api::default_extern_query("opaque_ty_origin",
                    &key),
            generics_of: |_, key|
                crate::query::query_api::default_extern_query("generics_of",
                    &key),
            explicit_item_bounds: |_, key|
                crate::query::query_api::default_extern_query("explicit_item_bounds",
                    &key),
            explicit_item_self_bounds: |_, key|
                crate::query::query_api::default_extern_query("explicit_item_self_bounds",
                    &key),
            native_libraries: |_, key|
                crate::query::query_api::default_extern_query("native_libraries",
                    &key),
            expn_that_defined: |_, key|
                crate::query::query_api::default_extern_query("expn_that_defined",
                    &key),
            is_panic_runtime: |_, key|
                crate::query::query_api::default_extern_query("is_panic_runtime",
                    &key),
            params_in_repr: |_, key|
                crate::query::query_api::default_extern_query("params_in_repr",
                    &key),
            mir_const_qualif: |_, key|
                crate::query::query_api::default_extern_query("mir_const_qualif",
                    &key),
            thir_abstract_const: |_, key|
                crate::query::query_api::default_extern_query("thir_abstract_const",
                    &key),
            mir_for_ctfe: |_, key|
                crate::query::query_api::default_extern_query("mir_for_ctfe",
                    &key),
            closure_saved_names_of_captured_variables: |_, key|
                crate::query::query_api::default_extern_query("closure_saved_names_of_captured_variables",
                    &key),
            mir_coroutine_witnesses: |_, key|
                crate::query::query_api::default_extern_query("mir_coroutine_witnesses",
                    &key),
            optimized_mir: |_, key|
                crate::query::query_api::default_extern_query("optimized_mir",
                    &key),
            promoted_mir: |_, key|
                crate::query::query_api::default_extern_query("promoted_mir",
                    &key),
            explicit_clauses_of: |_, key|
                crate::query::query_api::default_extern_query("explicit_clauses_of",
                    &key),
            inferred_outlives_of: |_, key|
                crate::query::query_api::default_extern_query("inferred_outlives_of",
                    &key),
            explicit_super_clauses_of: |_, key|
                crate::query::query_api::default_extern_query("explicit_super_clauses_of",
                    &key),
            explicit_implied_clauses_of: |_, key|
                crate::query::query_api::default_extern_query("explicit_implied_clauses_of",
                    &key),
            const_conditions: |_, key|
                crate::query::query_api::default_extern_query("const_conditions",
                    &key),
            explicit_implied_const_bounds: |_, key|
                crate::query::query_api::default_extern_query("explicit_implied_const_bounds",
                    &key),
            trait_def: |_, key|
                crate::query::query_api::default_extern_query("trait_def",
                    &key),
            adt_def: |_, key|
                crate::query::query_api::default_extern_query("adt_def",
                    &key),
            adt_destructor: |_, key|
                crate::query::query_api::default_extern_query("adt_destructor",
                    &key),
            adt_async_destructor: |_, key|
                crate::query::query_api::default_extern_query("adt_async_destructor",
                    &key),
            constness: |_, key|
                crate::query::query_api::default_extern_query("constness",
                    &key),
            asyncness: |_, key|
                crate::query::query_api::default_extern_query("asyncness",
                    &key),
            coroutine_by_move_body_def_id: |_, key|
                crate::query::query_api::default_extern_query("coroutine_by_move_body_def_id",
                    &key),
            coroutine_kind: |_, key|
                crate::query::query_api::default_extern_query("coroutine_kind",
                    &key),
            coroutine_for_closure: |_, key|
                crate::query::query_api::default_extern_query("coroutine_for_closure",
                    &key),
            variances_of: |_, key|
                crate::query::query_api::default_extern_query("variances_of",
                    &key),
            associated_item_def_ids: |_, key|
                crate::query::query_api::default_extern_query("associated_item_def_ids",
                    &key),
            associated_item: |_, key|
                crate::query::query_api::default_extern_query("associated_item",
                    &key),
            associated_types_for_impl_traits_in_trait_or_impl: |_, key|
                crate::query::query_api::default_extern_query("associated_types_for_impl_traits_in_trait_or_impl",
                    &key),
            impl_trait_header: |_, key|
                crate::query::query_api::default_extern_query("impl_trait_header",
                    &key),
            impl_is_fully_generic_for_reflection: |_, key|
                crate::query::query_api::default_extern_query("impl_is_fully_generic_for_reflection",
                    &key),
            inherent_impls: |_, key|
                crate::query::query_api::default_extern_query("inherent_impls",
                    &key),
            assumed_wf_types_for_rpitit: |_, key|
                crate::query::query_api::default_extern_query("assumed_wf_types_for_rpitit",
                    &key),
            fn_sig: |_, key|
                crate::query::query_api::default_extern_query("fn_sig", &key),
            coerce_unsized_info: |_, key|
                crate::query::query_api::default_extern_query("coerce_unsized_info",
                    &key),
            eval_static_initializer: |_, key|
                crate::query::query_api::default_extern_query("eval_static_initializer",
                    &key),
            def_kind: |_, key|
                crate::query::query_api::default_extern_query("def_kind",
                    &key),
            def_span: |_, key|
                crate::query::query_api::default_extern_query("def_span",
                    &key),
            def_ident_span: |_, key|
                crate::query::query_api::default_extern_query("def_ident_span",
                    &key),
            lookup_stability: |_, key|
                crate::query::query_api::default_extern_query("lookup_stability",
                    &key),
            lookup_const_stability: |_, key|
                crate::query::query_api::default_extern_query("lookup_const_stability",
                    &key),
            lookup_default_body_stability: |_, key|
                crate::query::query_api::default_extern_query("lookup_default_body_stability",
                    &key),
            lookup_deprecation_entry: |_, key|
                crate::query::query_api::default_extern_query("lookup_deprecation_entry",
                    &key),
            is_doc_hidden: |_, key|
                crate::query::query_api::default_extern_query("is_doc_hidden",
                    &key),
            attrs_for_def: |_, key|
                crate::query::query_api::default_extern_query("attrs_for_def",
                    &key),
            codegen_fn_attrs: |_, key|
                crate::query::query_api::default_extern_query("codegen_fn_attrs",
                    &key),
            fn_arg_idents: |_, key|
                crate::query::query_api::default_extern_query("fn_arg_idents",
                    &key),
            rendered_const: |_, key|
                crate::query::query_api::default_extern_query("rendered_const",
                    &key),
            rendered_precise_capturing_args: |_, key|
                crate::query::query_api::default_extern_query("rendered_precise_capturing_args",
                    &key),
            impl_parent: |_, key|
                crate::query::query_api::default_extern_query("impl_parent",
                    &key),
            is_mir_available: |_, key|
                crate::query::query_api::default_extern_query("is_mir_available",
                    &key),
            dylib_dependency_formats: |_, key|
                crate::query::query_api::default_extern_query("dylib_dependency_formats",
                    &key),
            is_compiler_builtins: |_, key|
                crate::query::query_api::default_extern_query("is_compiler_builtins",
                    &key),
            has_global_allocator: |_, key|
                crate::query::query_api::default_extern_query("has_global_allocator",
                    &key),
            has_alloc_error_handler: |_, key|
                crate::query::query_api::default_extern_query("has_alloc_error_handler",
                    &key),
            has_panic_handler: |_, key|
                crate::query::query_api::default_extern_query("has_panic_handler",
                    &key),
            is_profiler_runtime: |_, key|
                crate::query::query_api::default_extern_query("is_profiler_runtime",
                    &key),
            required_panic_strategy: |_, key|
                crate::query::query_api::default_extern_query("required_panic_strategy",
                    &key),
            panic_in_drop_strategy: |_, key|
                crate::query::query_api::default_extern_query("panic_in_drop_strategy",
                    &key),
            is_no_builtins: |_, key|
                crate::query::query_api::default_extern_query("is_no_builtins",
                    &key),
            symbol_mangling_version: |_, key|
                crate::query::query_api::default_extern_query("symbol_mangling_version",
                    &key),
            extern_crate: |_, key|
                crate::query::query_api::default_extern_query("extern_crate",
                    &key),
            specialization_enabled_in: |_, key|
                crate::query::query_api::default_extern_query("specialization_enabled_in",
                    &key),
            defaultness: |_, key|
                crate::query::query_api::default_extern_query("defaultness",
                    &key),
            default_field: |_, key|
                crate::query::query_api::default_extern_query("default_field",
                    &key),
            reachable_non_generics: |_, key|
                crate::query::query_api::default_extern_query("reachable_non_generics",
                    &key),
            is_reachable_non_generic: |_, key|
                crate::query::query_api::default_extern_query("is_reachable_non_generic",
                    &key),
            upstream_monomorphizations_for: |_, key|
                crate::query::query_api::default_extern_query("upstream_monomorphizations_for",
                    &key),
            foreign_modules: |_, key|
                crate::query::query_api::default_extern_query("foreign_modules",
                    &key),
            crate_hash: |_, key|
                crate::query::query_api::default_extern_query("crate_hash",
                    &key),
            crate_host_hash: |_, key|
                crate::query::query_api::default_extern_query("crate_host_hash",
                    &key),
            extra_filename: |_, key|
                crate::query::query_api::default_extern_query("extra_filename",
                    &key),
            crate_extern_paths: |_, key|
                crate::query::query_api::default_extern_query("crate_extern_paths",
                    &key),
            implementations_of_trait: |_, key|
                crate::query::query_api::default_extern_query("implementations_of_trait",
                    &key),
            crate_incoherent_impls: |_, key|
                crate::query::query_api::default_extern_query("crate_incoherent_impls",
                    &key),
            object_lifetime_default: |_, key|
                crate::query::query_api::default_extern_query("object_lifetime_default",
                    &key),
            args_known_to_outlive_alias_params: |_, key|
                crate::query::query_api::default_extern_query("args_known_to_outlive_alias_params",
                    &key),
            visibility: |_, key|
                crate::query::query_api::default_extern_query("visibility",
                    &key),
            crate_dep_kind: |_, key|
                crate::query::query_api::default_extern_query("crate_dep_kind",
                    &key),
            crate_name: |_, key|
                crate::query::query_api::default_extern_query("crate_name",
                    &key),
            module_children: |_, key|
                crate::query::query_api::default_extern_query("module_children",
                    &key),
            num_extern_def_ids: |_, key|
                crate::query::query_api::default_extern_query("num_extern_def_ids",
                    &key),
            lib_features: |_, key|
                crate::query::query_api::default_extern_query("lib_features",
                    &key),
            stability_implications: |_, key|
                crate::query::query_api::default_extern_query("stability_implications",
                    &key),
            intrinsic_raw: |_, key|
                crate::query::query_api::default_extern_query("intrinsic_raw",
                    &key),
            defined_lang_items: |_, key|
                crate::query::query_api::default_extern_query("defined_lang_items",
                    &key),
            diagnostic_items: |_, key|
                crate::query::query_api::default_extern_query("diagnostic_items",
                    &key),
            canonical_symbols: |_, key|
                crate::query::query_api::default_extern_query("canonical_symbols",
                    &key),
            missing_lang_items: |_, key|
                crate::query::query_api::default_extern_query("missing_lang_items",
                    &key),
            missing_extern_crate_item: |_, key|
                crate::query::query_api::default_extern_query("missing_extern_crate_item",
                    &key),
            used_crate_source: |_, key|
                crate::query::query_api::default_extern_query("used_crate_source",
                    &key),
            debugger_visualizers: |_, key|
                crate::query::query_api::default_extern_query("debugger_visualizers",
                    &key),
            is_private_dep: |_, key|
                crate::query::query_api::default_extern_query("is_private_dep",
                    &key),
            traits: |_, key|
                crate::query::query_api::default_extern_query("traits", &key),
            trait_impls_in_crate: |_, key|
                crate::query::query_api::default_extern_query("trait_impls_in_crate",
                    &key),
            stable_order_of_exportable_impls: |_, key|
                crate::query::query_api::default_extern_query("stable_order_of_exportable_impls",
                    &key),
            exportable_items: |_, key|
                crate::query::query_api::default_extern_query("exportable_items",
                    &key),
            exported_non_generic_symbols: |_, key|
                crate::query::query_api::default_extern_query("exported_non_generic_symbols",
                    &key),
            exported_generic_symbols: |_, key|
                crate::query::query_api::default_extern_query("exported_generic_symbols",
                    &key),
            deduced_param_attrs: |_, key|
                crate::query::query_api::default_extern_query("deduced_param_attrs",
                    &key),
            doc_link_resolutions: |_, key|
                crate::query::query_api::default_extern_query("doc_link_resolutions",
                    &key),
            doc_link_traits_in_scope: |_, key|
                crate::query::query_api::default_extern_query("doc_link_traits_in_scope",
                    &key),
            stripped_cfg_items: |_, key|
                crate::query::query_api::default_extern_query("stripped_cfg_items",
                    &key),
            cross_crate_inlinable: |_, key|
                crate::query::query_api::default_extern_query("cross_crate_inlinable",
                    &key),
            anon_const_kind: |_, key|
                crate::query::query_api::default_extern_query("anon_const_kind",
                    &key),
            trivial_const: |_, key|
                crate::query::query_api::default_extern_query("trivial_const",
                    &key),
            externally_implementable_items: |_, key|
                crate::query::query_api::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 }
}
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 crate::query::IntoQueryKey<DefId>) -> () {
        self.at(DUMMY_SP).trigger_delayed_bug(key)
    }
    #[doc =
    " Collects the list of all tools registered using `#![register_tool]` or `#![register_attribute_tool]`."]
    #[inline(always)]
    #[must_use]
    pub fn registered_attr_tools(self, key: ()) -> &'tcx ty::RegisteredTools {
        self.at(DUMMY_SP).registered_attr_tools(key)
    }
    #[doc =
    " Collects the list of all tools registered using `#![register_tool]` or `#![register_lint_tool]`."]
    #[inline(always)]
    #[must_use]
    pub fn registered_lint_tools(self, key: ()) -> &'tcx ty::RegisteredTools {
        self.at(DUMMY_SP).registered_lint_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<'tcx>>,
            &'tcx Steal<ast::Crate>, &'tcx ty::ResolverGlobalCtxt) {
        self.at(DUMMY_SP).resolver_for_lowering_raw(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the AST for lowering"]
    #[inline(always)]
    #[must_use]
    pub fn index_ast(self, key: ())
        ->
            &'tcx IndexVec<LocalDefId,
            Steal<(Arc<ty::ResolverAstLowering<'tcx>>, ast::AstOwner)>> {
        self.at(DUMMY_SP).index_ast(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 crate::query::IntoQueryKey<LocalDefId>)
        -> Span {
        self.at(DUMMY_SP).source_span(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] lowering HIR for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn lower_to_hir(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> hir::MaybeOwner<'tcx> {
        self.at(DUMMY_SP).lower_to_hir(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting owner for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    #[must_use]
    pub fn hir_owner(self, key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> rustc_middle::hir::ProjectedMaybeOwner<'tcx> {
        self.at(DUMMY_SP).hir_owner(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: LocalModId)
        -> &'tcx rustc_middle::hir::ModuleItems {
        self.at(DUMMY_SP).hir_module_items(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_q(self, key: hir::OwnerId) -> hir::HirId {
        self.at(DUMMY_SP).hir_owner_parent_q(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 =
    " 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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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`."]
    #[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 crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, Ty<'tcx>> {
        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 crate::query::IntoQueryKey<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 checked."]
    #[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 `checked_type_aliases` 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_checked(self,
        key: impl crate::query::IntoQueryKey<DefId>) -> bool {
        self.at(DUMMY_SP).type_alias_is_checked(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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<DefId>)
        -> &'tcx ty::Generics {
        self.at(DUMMY_SP).generics_of(key)
    }
    #[doc =
    " Returns the (elaborated) *clauses* 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/clauses query that you want."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_dump_clauses]` 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 clauses_of(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::GenericClauses<'tcx> {
        self.at(DUMMY_SP).clauses_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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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<(StableLintExpectationId, 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 skippable_lints(self, key: ()) -> &'tcx UnordSet<LintId> {
        self.at(DUMMY_SP).skippable_lints(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 crate::query::IntoQueryKey<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 check_representability(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) -> () {
        self.at(DUMMY_SP).check_representability(key)
    }
    #[doc =
    " An implementation detail for the `check_representability` query. See that query for more"]
    #[doc = " details, particularly on the modifiers."]
    #[inline(always)]
    #[must_use]
    pub fn check_representability_adt_ty(self, key: Ty<'tcx>) -> () {
        self.at(DUMMY_SP).check_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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<DefId>)
        -> &'tcx mir::Body<'tcx> {
        self.at(DUMMY_SP).optimized_mir(key)
    }
    #[doc =
    " Returns `true` if this def is a function-like thing that is eligible for"]
    #[doc = " coverage instrumentation under `-Cinstrument-coverage`."]
    #[doc = ""]
    #[doc =
    " (Eligible functions might nevertheless be skipped for other reasons.)"]
    #[inline(always)]
    #[must_use]
    pub fn is_eligible_for_coverage(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) -> bool {
        self.at(DUMMY_SP).is_eligible_for_coverage(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 crate::query::IntoQueryKey<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 = " Returns `None` for functions that were not instrumented."]
    #[inline(always)]
    #[must_use]
    pub fn coverage_codegen_info(self, key: ty::InstanceKind<'tcx>)
        -> Option<&'tcx mir::coverage::CoverageCodegenInfo> {
        self.at(DUMMY_SP).coverage_codegen_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 crate::query::IntoQueryKey<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 *clauses and bounds* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc = " Traits are unusual, because clauses 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_clauses_of`] and [`Self::explicit_item_bounds`] will"]
    #[doc = " then take the appropriate subsets of the clauses 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_clauses_and_bounds(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> ty::GenericClauses<'tcx> {
        self.at(DUMMY_SP).trait_explicit_clauses_and_bounds(key)
    }
    #[doc =
    " Returns the explicitly user-written *clauses* 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 [`TyCtxt::clauses_of`] unless you\'re looking for"]
    #[doc = " clauses with explicit spans for diagnostics purposes."]
    #[inline(always)]
    #[must_use]
    pub fn explicit_clauses_of(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::GenericClauses<'tcx> {
        self.at(DUMMY_SP).explicit_clauses_of(key)
    }
    #[doc =
    " Returns the *inferred outlives-clauses* 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_dump_inferred_outlives]` on an item to basically"]
    #[doc =
    " print the 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 crate::query::IntoQueryKey<DefId>)
        -> &'tcx [(ty::Clause<'tcx>, Span)] {
        self.at(DUMMY_SP).inferred_outlives_of(key)
    }
    #[doc =
    " Returns the explicitly user-written *super-clauses* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc =
    " These clauses are unelaborated and consequently don\'t contain transitive super-clauses."]
    #[doc = ""]
    #[doc =
    " This is a subset of the full list of clauses. We store these in a separate map"]
    #[doc =
    " because we must evaluate them even during type conversion, often before the full"]
    #[doc =
    " clauses are available (note that super-clauses must not be cyclic)."]
    #[inline(always)]
    #[must_use]
    pub fn explicit_super_clauses_of(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        self.at(DUMMY_SP).explicit_super_clauses_of(key)
    }
    #[doc = " The clauses of the trait that are implied during elaboration."]
    #[doc = ""]
    #[doc =
    " This is a superset of the super-clauses of the trait, but a subset of the clauses"]
    #[doc =
    " of the trait. For regular traits, this includes all super-clauses and their"]
    #[doc =
    " associated type bounds. For trait aliases, currently, this includes all of the"]
    #[doc = " clauses of the trait alias."]
    #[inline(always)]
    #[must_use]
    pub fn explicit_implied_clauses_of(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        self.at(DUMMY_SP).explicit_implied_clauses_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 `clauses_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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::PolyTraitRef<'tcx>, Span)]> {
        self.at(DUMMY_SP).explicit_implied_const_bounds(key)
    }
    #[doc = " To avoid cycles within the clauses of a single item we compute"]
    #[doc = " per-type-parameter clauses for resolving `T::AssocTy`."]
    #[inline(always)]
    #[must_use]
    pub fn type_param_clauses(self,
        key: (LocalDefId, LocalDefId, rustc_span::Ident))
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        self.at(DUMMY_SP).type_param_clauses(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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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_dump_variances]` 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 variances_of(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx [ty::Variance] {
        self.at(DUMMY_SP).variances_of(key)
    }
    #[doc =
    " Gets a map with the inferred outlives-clauses 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::CrateClausesMap<'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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<DefId>)
        -> ty::ImplTraitHeader<'tcx> {
        self.at(DUMMY_SP).impl_trait_header(key)
    }
    #[doc =
    " Whether all generic parameters of the type are unique unconstrained generic parameters"]
    #[doc =
    " of the impl. `Bar<\'static>` or `Foo<\'a, \'a>` or outlives bounds on the lifetimes cause"]
    #[doc = " this boolean to be false and `try_as_dyn` to return `None`."]
    #[inline(always)]
    #[must_use]
    pub fn impl_is_fully_generic_for_reflection(self,
        key: impl crate::query::IntoQueryKey<DefId>) -> bool {
        self.at(DUMMY_SP).impl_is_fully_generic_for_reflection(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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        self.at(DUMMY_SP).check_transmutes(key)
    }
    #[doc = " Type-check offloads calls given a typeck root"]
    #[inline(always)]
    #[must_use]
    pub fn check_offloads(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        self.at(DUMMY_SP).check_offloads(key)
    }
    #[doc = " Unsafety-check this `LocalDefId`."]
    #[inline(always)]
    #[must_use]
    pub fn check_unsafety(self,
        key: impl crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), 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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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: LocalModId) -> () {
        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: LocalModId) -> () {
        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: LocalModId) -> () {
        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: LocalModId) -> () {
        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 crate::query::IntoQueryKey<LocalDefId>)
        -> &'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx> {
        self.at(DUMMY_SP).check_liveness(key)
    }
    #[doc = " Return dead-code liveness summary for the crate."]
    #[inline(always)]
    #[must_use]
    pub fn live_symbols_and_ignored_derived_traits(self, key: ())
        -> Result<&'tcx DeadCodeLivenessSummary, 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: LocalModId) -> () {
        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 crate::query::IntoQueryKey<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_root(self, key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> &'tcx ty::TypeckResults<'tcx> {
        self.at(DUMMY_SP).typeck_root(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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<LocalDefId>)
        -> Option<&'tcx 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 crate::query::IntoQueryKey<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>)
        -> Option<ty::Value<'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 crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), 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: LocalModId) -> () {
        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 crate::query::IntoQueryKey<LocalDefId>)
        -> &'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::ShimKind<'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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<DefId>) -> bool {
        self.at(DUMMY_SP).is_doc_notable_trait(key)
    }
    #[doc = " Returns the attributes on the item at `def_id`."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " Do not use this directly, use [`rustc_attr_ir::find_attr`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    #[must_use]
    pub fn attrs_for_def(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx [rustc_attr_ir::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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<DefId>)
        -> Option<DefId> {
        self.at(DUMMY_SP).impl_parent(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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 param_env_normalized_for_post_analysis(self,
        key: impl crate::query::IntoQueryKey<DefId>) -> ty::ParamEnv<'tcx> {
        self.at(DUMMY_SP).param_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_unsafe_unpin`."]
    #[inline(always)]
    #[must_use]
    pub fn is_unsafe_unpin_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
        self.at(DUMMY_SP).is_unsafe_unpin_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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 direct calls*"]
    #[doc =
    " to an `fn`. Indirectly-passed parameters in the returned ABI might not include all possible"]
    #[doc =
    " codegen optimization attributes (such as `ReadOnly` or `CapturesNone`), as deducing these"]
    #[doc =
    " requires inspection of function bodies that can lead to cycles when performed during typeck."]
    #[doc =
    " Post typeck, you should prefer the optimized ABI returned by `TyCtxt::fn_abi_of_instance`."]
    #[doc = ""]
    #[doc =
    " NB: the ABI returned by this query must not differ from that returned by"]
    #[doc = "     `fn_abi_of_instance_raw` in any other way."]
    #[doc = ""]
    #[doc =
    " * that includes virtual calls, which are represented by \"direct calls\" to an"]
    #[doc =
    "   `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`)."]
    #[inline(always)]
    #[must_use]
    pub fn fn_abi_of_instance_no_deduced_attrs(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_no_deduced_attrs(key)
    }
    #[doc =
    " Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for direct calls*"]
    #[doc =
    " to an `fn`. Indirectly-passed parameters in the returned ABI will include applicable"]
    #[doc =
    " codegen optimization attributes, including `ReadOnly` and `CapturesNone` -- deduction of"]
    #[doc =
    " which requires inspection of function bodies that can lead to cycles when performed during"]
    #[doc =
    " typeck. During typeck, you should therefore use instead the unoptimized ABI returned by"]
    #[doc = " `fn_abi_of_instance_no_deduced_attrs`."]
    #[doc = ""]
    #[doc =
    " For performance reasons, you should prefer to call the inherent `TyCtxt::fn_abi_of_instance`"]
    #[doc =
    " method rather than invoke this query: it delegates to this query if necessary, but where"]
    #[doc =
    " possible delegates instead to the `fn_abi_of_instance_no_deduced_attrs` query (thus avoiding"]
    #[doc = " unnecessary query system overhead)."]
    #[doc = ""]
    #[doc =
    " * that includes virtual calls, which are represented by \"direct calls\" to an"]
    #[doc =
    "   `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`)."]
    #[inline(always)]
    #[must_use]
    pub fn fn_abi_of_instance_raw(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_raw(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 crate::query::IntoQueryKey<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 =
    " 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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 of 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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<LocalDefId>)
        -> &'tcx [Ty<'tcx>] {
        self.at(DUMMY_SP).inherit_sig_for_delegation_item(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting delegation user-specified args"]
    #[inline(always)]
    #[must_use]
    pub fn delegation_user_specified_args(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> (&'tcx [GenericArg<'tcx>], &'tcx [GenericArg<'tcx>]) {
        self.at(DUMMY_SP).delegation_user_specified_args(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<'tcx> {
        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_dump_object_lifetime_defaults]` 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 crate::query::IntoQueryKey<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<'tcx>>> {
        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 crate::query::IntoQueryKey<LocalDefId>)
        -> &'tcx [(ResolvedArg, LocalDefId)] {
        self.at(DUMMY_SP).opaque_captured_lifetimes(key)
    }
    #[doc =
    " For an opaque type or trait associated type, return the list of potentially live"]
    #[doc =
    " (identity) generic args from the set of outlives bounds on that alias. Callers should"]
    #[doc =
    " instantiate the returned args with the concrete args of the alias."]
    #[doc = " ```ignore (illustrative)"]
    #[doc = " // Edition 2024: all args are captured"]
    #[doc =
    " fn foo<\'a, \'b, T: \'static>(&\'a &\'b T) -> impl Sized + \'a {}"]
    #[doc =
    " fn bar<\'a, \'b, T: \'static>(&\'a &\'b T) -> impl Sized + \'static {}"]
    #[doc = " fn baz<\'a, \'b, T: \'static>(&\'a &\'b T) -> impl Sized {}"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc = " In the above:"]
    #[doc =
    "   - `foo` outlives `\'a`, but we know that `\'b: \'a` holds, so `\'b` is *also* potentially live"]
    #[doc = "     (and so is `T`, since `T: \'static` implies `T: \'a`)"]
    #[doc =
    "   - `bar` outlives `\'static`, so we know that no args are potentially live and we can return an empty set"]
    #[doc =
    "   - `baz` has no outlives bound, so return `None` and let the caller decide what to do"]
    #[inline(always)]
    #[must_use]
    pub fn live_args_for_alias_from_outlives_bounds(self,
        key: ty::AliasTyKind<'tcx>)
        -> &'tcx Option<ty::EarlyBinder<'tcx, Vec<ty::GenericArg<'tcx>>>> {
        self.at(DUMMY_SP).live_args_for_alias_from_outlives_bounds(key)
    }
    #[doc =
    " For each region param of an alias, the identity args that are known to"]
    #[doc =
    " outlive it given only the alias\'s declared where-clauses. Used for liveness:"]
    #[doc =
    " these are the only args whose regions the underlying type of the alias"]
    #[doc =
    " could capture while satisfying an outlives bound on that param."]
    #[inline(always)]
    #[must_use]
    pub fn args_known_to_outlive_alias_params(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        ->
            &'tcx ty::EarlyBinder<'tcx,
            Vec<(ty::Region<'tcx>, Vec<ty::GenericArg<'tcx>>)>> {
        self.at(DUMMY_SP).args_known_to_outlive_alias_params(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 crate::query::IntoQueryKey<DefId>)
        -> ty::Visibility<ModId> {
        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 crate::query::IntoQueryKey<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 =
    " Do not call this query directly: invoke `Ty::is_opsem_inhabited` instead."]
    #[inline(always)]
    #[must_use]
    pub fn is_opsem_inhabited_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
        self.at(DUMMY_SP).is_opsem_inhabited_raw(key)
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching what a dependency looks like"]
    #[inline(always)]
    #[must_use]
    pub fn crate_dep_kind(self, key: CrateNum) -> CrateDepKind {
        self.at(DUMMY_SP).crate_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 = " Iterates over all named children of the given module,"]
    #[doc = " including both proper items and reexports."]
    #[doc =
    " Module here is understood in name resolution sense - it can be a `mod` item,"]
    #[doc = " or a crate root, or an enum, or a trait."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc = " May panic if the provided `id` does not refer to a module."]
    #[inline(always)]
    #[must_use]
    pub fn module_children(self, key: impl crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<DefId>)
        -> Option<rustc_middle::ty::IntrinsicDef> {
        self.at(DUMMY_SP).intrinsic_raw(key)
    }
    #[doc =
    " Returns the lang items defined in all crates by loading them from metadata of dependencies"]
    #[doc = " and collecting the ones from the current crate."]
    #[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::attrs::diagnostic_items::DiagnosticItems {
        self.at(DUMMY_SP).all_diagnostic_items(key)
    }
    #[doc = " Returns all the canonical symbols defined in all crates."]
    #[inline(always)]
    #[must_use]
    pub fn all_canonical_symbols(self, key: ()) -> &'tcx CanonicalSymbols {
        self.at(DUMMY_SP).all_canonical_symbols(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::attrs::diagnostic_items::DiagnosticItems {
        self.at(DUMMY_SP).diagnostic_items(key)
    }
    #[doc = " Returns the canonical symbols defined in a crate."]
    #[inline(always)]
    #[must_use]
    pub fn canonical_symbols(self, key: CrateNum) -> &'tcx CanonicalSymbols {
        self.at(DUMMY_SP).canonical_symbols(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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 =
    "[query description - consider adding a doc-comment!] computing implied outlives bounds for borrowck for  `tcx.def_path_str(mir_def)` "]
    #[inline(always)]
    #[must_use]
    pub fn mir_borrowck_implied_outlives_bounds(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx,
            MirBorrowckImpliedOutlivesBounds<'tcx>>>, NoSolution> {
        self.at(DUMMY_SP).mir_borrowck_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 clauses:  `tcx.def_path_str(key.0)` "]
    #[inline(always)]
    #[must_use]
    pub fn instantiate_and_check_impossible_clauses(self,
        key: (DefId, GenericArgsRef<'tcx>)) -> bool {
        self.at(DUMMY_SP).instantiate_and_check_impossible_clauses(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>, usize))
        ->
            (solve::QueryResult<'tcx>,
            &'tcx solve::inspect::Probe<TyCtxt<'tcx>>, RequiredDepth) {
        self.at(DUMMY_SP).evaluate_root_goal_for_proof_tree_raw(key)
    }
    #[doc =
    " Returns a list of all Rust target features for the current target (not just the ones that"]
    #[doc =
    " are enabled). These are not always the same as LLVM target features!"]
    #[inline(always)]
    #[must_use]
    pub fn all_rust_target_features(self, key: CrateNum)
        -> &'tcx UnordMap<String, rustc_target::target_features::Stability> {
        self.at(DUMMY_SP).all_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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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: ModId) -> &'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: ModId) -> &'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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 =
    "[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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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 crate::query::IntoQueryKey<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> crate::query::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, ()> {
        crate::query::erase::restore_val::<Result<&'tcx TokenStream,
                ()>>(crate::query::calls::query_get_at(self.tcx, self.span,
                &self.tcx.query_system.query_vtables.derive_macro_expansion,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " This exists purely for testing the interactions between delayed bugs and incremental."]
    #[inline(always)]
    pub fn trigger_delayed_bug(self,
        key: impl crate::query::IntoQueryKey<DefId>) -> () {
        crate::query::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.trigger_delayed_bug,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Collects the list of all tools registered using `#![register_tool]` or `#![register_attribute_tool]`."]
    #[inline(always)]
    pub fn registered_attr_tools(self, key: ()) -> &'tcx ty::RegisteredTools {
        crate::query::erase::restore_val::<&'tcx ty::RegisteredTools>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.registered_attr_tools,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Collects the list of all tools registered using `#![register_tool]` or `#![register_lint_tool]`."]
    #[inline(always)]
    pub fn registered_lint_tools(self, key: ()) -> &'tcx ty::RegisteredTools {
        crate::query::erase::restore_val::<&'tcx ty::RegisteredTools>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.registered_lint_tools,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.early_lint_checks,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn env_var_os(self, key: &'tcx OsStr) -> Option<&'tcx OsStr> {
        crate::query::erase::restore_val::<Option<&'tcx OsStr>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.env_var_os,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the resolver outputs"]
    #[inline(always)]
    pub fn resolutions(self, key: ()) -> &'tcx ty::ResolverGlobalCtxt {
        crate::query::erase::restore_val::<&'tcx ty::ResolverGlobalCtxt>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.resolutions,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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<'tcx>>,
            &'tcx Steal<ast::Crate>, &'tcx ty::ResolverGlobalCtxt) {
        crate::query::erase::restore_val::<(&'tcx Steal<ty::ResolverAstLowering<'tcx>>,
                &'tcx Steal<ast::Crate>,
                &'tcx ty::ResolverGlobalCtxt)>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.resolver_for_lowering_raw,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the AST for lowering"]
    #[inline(always)]
    pub fn index_ast(self, key: ())
        ->
            &'tcx IndexVec<LocalDefId,
            Steal<(Arc<ty::ResolverAstLowering<'tcx>>, ast::AstOwner)>> {
        crate::query::erase::restore_val::<&'tcx IndexVec<LocalDefId,
                Steal<(Arc<ty::ResolverAstLowering<'tcx>>,
                ast::AstOwner)>>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.index_ast,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn source_span(self, key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Span {
        crate::query::erase::restore_val::<Span>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.source_span,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] lowering HIR for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn lower_to_hir(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> hir::MaybeOwner<'tcx> {
        crate::query::erase::restore_val::<hir::MaybeOwner<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.lower_to_hir,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting owner for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn hir_owner(self, key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> rustc_middle::hir::ProjectedMaybeOwner<'tcx> {
        crate::query::erase::restore_val::<rustc_middle::hir::ProjectedMaybeOwner<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.hir_owner,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " All items in the crate."]
    #[inline(always)]
    pub fn hir_crate_items(self, key: ())
        -> &'tcx rustc_middle::hir::ModuleItems {
        crate::query::erase::restore_val::<&'tcx rustc_middle::hir::ModuleItems>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.hir_crate_items,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn hir_module_items(self, key: LocalModId)
        -> &'tcx rustc_middle::hir::ModuleItems {
        crate::query::erase::restore_val::<&'tcx rustc_middle::hir::ModuleItems>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.hir_module_items,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn hir_owner_parent_q(self, key: hir::OwnerId) -> hir::HirId {
        crate::query::erase::restore_val::<hir::HirId>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.hir_owner_parent_q,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn hir_attr_map(self, key: hir::OwnerId)
        -> &'tcx hir::AttributeMap<'tcx> {
        crate::query::erase::restore_val::<&'tcx hir::AttributeMap<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.hir_attr_map,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn const_param_default(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Const<'tcx>> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                ty::Const<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.const_param_default,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn const_of_item(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Const<'tcx>> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                ty::Const<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.const_of_item,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn type_of(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, Ty<'tcx>> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                Ty<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.type_of,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Returns the *hidden type* of the opaque type given by `DefId`."]
    #[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 crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, Ty<'tcx>> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                Ty<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.type_of_opaque,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>)
        -> ty::EarlyBinder<'tcx, Ty<'tcx>> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                Ty<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.type_of_opaque_hir_typeck,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Returns whether the type alias given by `DefId` is checked."]
    #[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 `checked_type_aliases` 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_checked(self,
        key: impl crate::query::IntoQueryKey<DefId>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.type_alias_is_checked,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn collect_return_position_impl_trait_in_trait_tys(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        ->
            Result<&'tcx DefIdMap<ty::EarlyBinder<'tcx, Ty<'tcx>>>,
            ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<&'tcx DefIdMap<ty::EarlyBinder<'tcx,
                Ty<'tcx>>>,
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.collect_return_position_impl_trait_in_trait_tys,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determine where the opaque originates from"]
    #[inline(always)]
    pub fn opaque_ty_origin(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> hir::OpaqueTyOrigin<DefId> {
        crate::query::erase::restore_val::<hir::OpaqueTyOrigin<DefId>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.opaque_ty_origin,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> &'tcx rustc_index::bit_set::DenseBitSet<u32> {
        crate::query::erase::restore_val::<&'tcx rustc_index::bit_set::DenseBitSet<u32>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.unsizing_params_for_adt,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " The root query triggering all analysis passes like typeck or borrowck."]
    #[inline(always)]
    pub fn analysis(self, key: ()) -> () {
        crate::query::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.analysis,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn check_expectations(self, key: Option<Symbol>) -> () {
        crate::query::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_expectations,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Returns the *generics* of the definition given by `DefId`."]
    #[inline(always)]
    pub fn generics_of(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx ty::Generics {
        crate::query::erase::restore_val::<&'tcx ty::Generics>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.generics_of,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Returns the (elaborated) *clauses* 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/clauses query that you want."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_dump_clauses]` 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 clauses_of(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::GenericClauses<'tcx> {
        crate::query::erase::restore_val::<ty::GenericClauses<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.clauses_of,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn opaque_types_defined_by(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> &'tcx ty::List<LocalDefId> {
        crate::query::erase::restore_val::<&'tcx ty::List<LocalDefId>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.opaque_types_defined_by,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>)
        -> &'tcx ty::List<LocalDefId> {
        crate::query::erase::restore_val::<&'tcx ty::List<LocalDefId>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.nested_bodies_within,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn explicit_item_bounds(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                &'tcx [(ty::Clause<'tcx>,
                Span)]>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.explicit_item_bounds,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn explicit_item_self_bounds(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                &'tcx [(ty::Clause<'tcx>,
                Span)]>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.explicit_item_self_bounds,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn item_bounds(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                ty::Clauses<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.item_bounds,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                ty::Clauses<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.item_self_bounds,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                ty::Clauses<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.item_non_self_bounds,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, ty::Clauses<'tcx>> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                ty::Clauses<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.impl_super_outlives,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn native_libraries(self, key: CrateNum) -> &'tcx Vec<NativeLib> {
        crate::query::erase::restore_val::<&'tcx Vec<NativeLib>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.native_libraries,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<&'tcx rustc_middle::lint::ShallowLintLevelMap>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.shallow_lint_levels_on,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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<(StableLintExpectationId, LintExpectation)> {
        crate::query::erase::restore_val::<&'tcx Vec<(StableLintExpectationId,
                LintExpectation)>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.lint_expectations,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn skippable_lints(self, key: ()) -> &'tcx UnordSet<LintId> {
        crate::query::erase::restore_val::<&'tcx UnordSet<LintId>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.skippable_lints,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>) -> rustc_span::ExpnId {
        crate::query::erase::restore_val::<rustc_span::ExpnId>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.expn_that_defined,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_panic_runtime,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Checks whether a type is representable or infinitely sized"]
    #[inline(always)]
    pub fn check_representability(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) -> () {
        crate::query::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_representability,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " An implementation detail for the `check_representability` query. See that query for more"]
    #[doc = " details, particularly on the modifiers."]
    #[inline(always)]
    pub fn check_representability_adt_ty(self, key: Ty<'tcx>) -> () {
        crate::query::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_representability_adt_ty,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> &'tcx rustc_index::bit_set::DenseBitSet<u32> {
        crate::query::erase::restore_val::<&'tcx rustc_index::bit_set::DenseBitSet<u32>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.params_in_repr,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn thir_body(self, key: impl crate::query::IntoQueryKey<LocalDefId>)
        ->
            Result<(&'tcx Steal<thir::Thir<'tcx>>, thir::ExprId),
            ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<(&'tcx Steal<thir::Thir<'tcx>>,
                thir::ExprId),
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.thir_body,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn mir_keys(self, key: ())
        -> &'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId> {
        crate::query::erase::restore_val::<&'tcx rustc_data_structures::fx::FxIndexSet<LocalDefId>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.mir_keys,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn mir_const_qualif(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> mir::ConstQualifs {
        crate::query::erase::restore_val::<mir::ConstQualifs>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.mir_const_qualif,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn mir_built(self, key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> &'tcx Steal<mir::Body<'tcx>> {
        crate::query::erase::restore_val::<&'tcx Steal<mir::Body<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.mir_built,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Try to build an abstract representation of the given constant."]
    #[inline(always)]
    pub fn thir_abstract_const(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        ->
            Result<Option<ty::EarlyBinder<'tcx, ty::Const<'tcx>>>,
            ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<Option<ty::EarlyBinder<'tcx,
                ty::Const<'tcx>>>,
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.thir_abstract_const,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>)
        -> &'tcx Steal<mir::Body<'tcx>> {
        crate::query::erase::restore_val::<&'tcx Steal<mir::Body<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.mir_drops_elaborated_and_const_checked,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> &'tcx mir::Body<'tcx> {
        crate::query::erase::restore_val::<&'tcx mir::Body<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.mir_for_ctfe,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>)
        ->
            (&'tcx Steal<mir::Body<'tcx>>,
            &'tcx Steal<IndexVec<mir::Promoted, mir::Body<'tcx>>>) {
        crate::query::erase::restore_val::<(&'tcx Steal<mir::Body<'tcx>>,
                &'tcx Steal<IndexVec<mir::Promoted,
                mir::Body<'tcx>>>)>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.mir_promoted,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>)
        -> ty::ClosureTypeInfo<'tcx> {
        crate::query::erase::restore_val::<ty::ClosureTypeInfo<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.closure_typeinfo,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn closure_saved_names_of_captured_variables(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx IndexVec<abi::FieldIdx, Symbol> {
        crate::query::erase::restore_val::<&'tcx IndexVec<abi::FieldIdx,
                Symbol>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.closure_saved_names_of_captured_variables,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Option<&'tcx mir::CoroutineLayout<'tcx>> {
        crate::query::erase::restore_val::<Option<&'tcx mir::CoroutineLayout<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.mir_coroutine_witnesses,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<(),
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_coroutine_obligations,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn check_potentially_region_dependent_goals(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<(),
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_potentially_region_dependent_goals,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn optimized_mir(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx mir::Body<'tcx> {
        crate::query::erase::restore_val::<&'tcx mir::Body<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.optimized_mir,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Returns `true` if this def is a function-like thing that is eligible for"]
    #[doc = " coverage instrumentation under `-Cinstrument-coverage`."]
    #[doc = ""]
    #[doc =
    " (Eligible functions might nevertheless be skipped for other reasons.)"]
    #[inline(always)]
    pub fn is_eligible_for_coverage(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_eligible_for_coverage,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn coverage_attr_on(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.coverage_attr_on,
                crate::query::IntoQueryKey::into_query_key(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 = " Returns `None` for functions that were not instrumented."]
    #[inline(always)]
    pub fn coverage_codegen_info(self, key: ty::InstanceKind<'tcx>)
        -> Option<&'tcx mir::coverage::CoverageCodegenInfo> {
        crate::query::erase::restore_val::<Option<&'tcx mir::coverage::CoverageCodegenInfo>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.coverage_codegen_info,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn promoted_mir(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx IndexVec<mir::Promoted, mir::Body<'tcx>> {
        crate::query::erase::restore_val::<&'tcx IndexVec<mir::Promoted,
                mir::Body<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.promoted_mir,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn erase_and_anonymize_regions_ty(self, key: Ty<'tcx>) -> Ty<'tcx> {
        crate::query::erase::restore_val::<Ty<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.erase_and_anonymize_regions_ty,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<&'tcx DefIdMap<String>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.wasm_import_module_map,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Returns the explicitly user-written *clauses and bounds* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc = " Traits are unusual, because clauses 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_clauses_of`] and [`Self::explicit_item_bounds`] will"]
    #[doc = " then take the appropriate subsets of the clauses here."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc = " This query will panic if the given definition is not a trait."]
    #[inline(always)]
    pub fn trait_explicit_clauses_and_bounds(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> ty::GenericClauses<'tcx> {
        crate::query::erase::restore_val::<ty::GenericClauses<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.trait_explicit_clauses_and_bounds,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Returns the explicitly user-written *clauses* 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 [`TyCtxt::clauses_of`] unless you\'re looking for"]
    #[doc = " clauses with explicit spans for diagnostics purposes."]
    #[inline(always)]
    pub fn explicit_clauses_of(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::GenericClauses<'tcx> {
        crate::query::erase::restore_val::<ty::GenericClauses<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.explicit_clauses_of,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Returns the *inferred outlives-clauses* 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_dump_inferred_outlives]` on an item to basically"]
    #[doc =
    " print the result of this query for use in UI tests or for debugging purposes."]
    #[inline(always)]
    pub fn inferred_outlives_of(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx [(ty::Clause<'tcx>, Span)] {
        crate::query::erase::restore_val::<&'tcx [(ty::Clause<'tcx>,
                Span)]>(crate::query::calls::query_get_at(self.tcx, self.span,
                &self.tcx.query_system.query_vtables.inferred_outlives_of,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Returns the explicitly user-written *super-clauses* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc =
    " These clauses are unelaborated and consequently don\'t contain transitive super-clauses."]
    #[doc = ""]
    #[doc =
    " This is a subset of the full list of clauses. We store these in a separate map"]
    #[doc =
    " because we must evaluate them even during type conversion, often before the full"]
    #[doc =
    " clauses are available (note that super-clauses must not be cyclic)."]
    #[inline(always)]
    pub fn explicit_super_clauses_of(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                &'tcx [(ty::Clause<'tcx>,
                Span)]>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.explicit_super_clauses_of,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " The clauses of the trait that are implied during elaboration."]
    #[doc = ""]
    #[doc =
    " This is a superset of the super-clauses of the trait, but a subset of the clauses"]
    #[doc =
    " of the trait. For regular traits, this includes all super-clauses and their"]
    #[doc =
    " associated type bounds. For trait aliases, currently, this includes all of the"]
    #[doc = " clauses of the trait alias."]
    #[inline(always)]
    pub fn explicit_implied_clauses_of(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                &'tcx [(ty::Clause<'tcx>,
                Span)]>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.explicit_implied_clauses_of,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn explicit_supertraits_containing_assoc_item(self,
        key: (DefId, rustc_span::Ident))
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                &'tcx [(ty::Clause<'tcx>,
                Span)]>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.explicit_supertraits_containing_assoc_item,
                crate::query::IntoQueryKey::into_query_key(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 `clauses_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 crate::query::IntoQueryKey<DefId>)
        -> ty::ConstConditions<'tcx> {
        crate::query::erase::restore_val::<ty::ConstConditions<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.const_conditions,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn explicit_implied_const_bounds(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::PolyTraitRef<'tcx>, Span)]> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                &'tcx [(ty::PolyTraitRef<'tcx>,
                Span)]>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.explicit_implied_const_bounds,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " To avoid cycles within the clauses of a single item we compute"]
    #[doc = " per-type-parameter clauses for resolving `T::AssocTy`."]
    #[inline(always)]
    pub fn type_param_clauses(self,
        key: (LocalDefId, LocalDefId, rustc_span::Ident))
        -> ty::EarlyBinder<'tcx, &'tcx [(ty::Clause<'tcx>, Span)]> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                &'tcx [(ty::Clause<'tcx>,
                Span)]>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.type_param_clauses,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> &'tcx ty::TraitDef {
        crate::query::erase::restore_val::<&'tcx ty::TraitDef>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.trait_def,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> ty::AdtDef<'tcx> {
        crate::query::erase::restore_val::<ty::AdtDef<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.adt_def,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Option<ty::Destructor> {
        crate::query::erase::restore_val::<Option<ty::Destructor>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.adt_destructor,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Option<ty::AsyncDestructor> {
        crate::query::erase::restore_val::<Option<ty::AsyncDestructor>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.adt_async_destructor,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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>>> {
        crate::query::erase::restore_val::<Option<ty::EarlyBinder<'tcx,
                Ty<'tcx>>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.adt_sizedness_constraint,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> &'tcx DropckConstraint<'tcx> {
        crate::query::erase::restore_val::<&'tcx DropckConstraint<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.adt_dtorck_constraint,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn constness(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> hir::Constness {
        crate::query::erase::restore_val::<hir::Constness>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.constness,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> ty::Asyncness {
        crate::query::erase::restore_val::<ty::Asyncness>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.asyncness,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn is_promotable_const_fn(self,
        key: impl crate::query::IntoQueryKey<DefId>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_promotable_const_fn,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn coroutine_by_move_body_def_id(self,
        key: impl crate::query::IntoQueryKey<DefId>) -> DefId {
        crate::query::erase::restore_val::<DefId>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.coroutine_by_move_body_def_id,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Option<hir::CoroutineKind> {
        crate::query::erase::restore_val::<Option<hir::CoroutineKind>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.coroutine_kind,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn coroutine_for_closure(self,
        key: impl crate::query::IntoQueryKey<DefId>) -> DefId {
        crate::query::erase::restore_val::<DefId>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.coroutine_for_closure,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        ->
            ty::EarlyBinder<'tcx,
            ty::Binder<'tcx, ty::CoroutineWitnessTypes<TyCtxt<'tcx>>>> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                ty::Binder<'tcx,
                ty::CoroutineWitnessTypes<TyCtxt<'tcx>>>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.coroutine_hidden_types,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn crate_variances(self, key: ())
        -> &'tcx ty::CrateVariancesMap<'tcx> {
        crate::query::erase::restore_val::<&'tcx ty::CrateVariancesMap<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.crate_variances,
                crate::query::IntoQueryKey::into_query_key(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_dump_variances]` 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 variances_of(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx [ty::Variance] {
        crate::query::erase::restore_val::<&'tcx [ty::Variance]>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.variances_of,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Gets a map with the inferred outlives-clauses 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::CrateClausesMap<'tcx> {
        crate::query::erase::restore_val::<&'tcx ty::CrateClausesMap<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.inferred_outlives_crate,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn associated_item_def_ids(self,
        key: impl crate::query::IntoQueryKey<DefId>) -> &'tcx [DefId] {
        crate::query::erase::restore_val::<&'tcx [DefId]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.associated_item_def_ids,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Maps from a trait/impl item to the trait/impl item \"descriptor\"."]
    #[inline(always)]
    pub fn associated_item(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::AssocItem {
        crate::query::erase::restore_val::<ty::AssocItem>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.associated_item,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Collects the associated items defined on a trait or impl."]
    #[inline(always)]
    pub fn associated_items(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx ty::AssocItems {
        crate::query::erase::restore_val::<&'tcx ty::AssocItems>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.associated_items,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn impl_item_implementor_ids(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx DefIdMap<DefId> {
        crate::query::erase::restore_val::<&'tcx DefIdMap<DefId>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.impl_item_implementor_ids,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn associated_types_for_impl_traits_in_trait_or_impl(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx DefIdMap<Vec<DefId>> {
        crate::query::erase::restore_val::<&'tcx DefIdMap<Vec<DefId>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.associated_types_for_impl_traits_in_trait_or_impl,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> ty::ImplTraitHeader<'tcx> {
        crate::query::erase::restore_val::<ty::ImplTraitHeader<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.impl_trait_header,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Whether all generic parameters of the type are unique unconstrained generic parameters"]
    #[doc =
    " of the impl. `Bar<\'static>` or `Foo<\'a, \'a>` or outlives bounds on the lifetimes cause"]
    #[doc = " this boolean to be false and `try_as_dyn` to return `None`."]
    #[inline(always)]
    pub fn impl_is_fully_generic_for_reflection(self,
        key: impl crate::query::IntoQueryKey<DefId>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.impl_is_fully_generic_for_reflection,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn impl_self_is_guaranteed_unsized(self,
        key: impl crate::query::IntoQueryKey<DefId>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.impl_self_is_guaranteed_unsized,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn inherent_impls(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx [DefId] {
        crate::query::erase::restore_val::<&'tcx [DefId]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.inherent_impls,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting all inherent impls for `{:?}`"]
    #[inline(always)]
    pub fn incoherent_impls(self, key: SimplifiedType) -> &'tcx [DefId] {
        crate::query::erase::restore_val::<&'tcx [DefId]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.incoherent_impls,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Unsafety-check this `LocalDefId`."]
    #[inline(always)]
    pub fn check_transmutes(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<(),
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_transmutes,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Type-check offloads calls given a typeck root"]
    #[inline(always)]
    pub fn check_offloads(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<(),
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_offloads,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Unsafety-check this `LocalDefId`."]
    #[inline(always)]
    pub fn check_unsafety(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) -> () {
        crate::query::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_unsafety,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Checks well-formedness of tail calls (`become f()`)."]
    #[inline(always)]
    pub fn check_tail_calls(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<(),
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_tail_calls,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn assumed_wf_types(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> &'tcx [(Ty<'tcx>, Span)] {
        crate::query::erase::restore_val::<&'tcx [(Ty<'tcx>,
                Span)]>(crate::query::calls::query_get_at(self.tcx, self.span,
                &self.tcx.query_system.query_vtables.assumed_wf_types,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn assumed_wf_types_for_rpitit(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx [(Ty<'tcx>, Span)] {
        crate::query::erase::restore_val::<&'tcx [(Ty<'tcx>,
                Span)]>(crate::query::calls::query_get_at(self.tcx, self.span,
                &self.tcx.query_system.query_vtables.assumed_wf_types_for_rpitit,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Computes the signature of the function."]
    #[inline(always)]
    pub fn fn_sig(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::EarlyBinder<'tcx, ty::PolyFnSig<'tcx>> {
        crate::query::erase::restore_val::<ty::EarlyBinder<'tcx,
                ty::PolyFnSig<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.fn_sig,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Performs lint checking for the module."]
    #[inline(always)]
    pub fn lint_mod(self, key: LocalModId) -> () {
        crate::query::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.lint_mod,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_unused_traits,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Checks the attributes in the module."]
    #[inline(always)]
    pub fn check_mod_attrs(self, key: LocalModId) -> () {
        crate::query::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_mod_attrs,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Checks for uses of unstable APIs in the module."]
    #[inline(always)]
    pub fn check_mod_unstable_api_usage(self, key: LocalModId) -> () {
        crate::query::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_mod_unstable_api_usage,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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: LocalModId) -> () {
        crate::query::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_mod_privacy,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>)
        -> &'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx> {
        crate::query::erase::restore_val::<&'tcx rustc_index::bit_set::DenseBitSet<abi::FieldIdx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_liveness,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Return dead-code liveness summary for the crate."]
    #[inline(always)]
    pub fn live_symbols_and_ignored_derived_traits(self, key: ())
        -> Result<&'tcx DeadCodeLivenessSummary, ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<&'tcx DeadCodeLivenessSummary,
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.live_symbols_and_ignored_derived_traits,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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: LocalModId) -> () {
        crate::query::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_mod_deathness,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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::erase::restore_val::<Result<(),
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.check_type_wf,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Caches `CoerceUnsized` kinds for impls on custom types."]
    #[inline(always)]
    pub fn coerce_unsized_info(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> Result<ty::adjustment::CoerceUnsizedInfo, ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<ty::adjustment::CoerceUnsizedInfo,
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.coerce_unsized_info,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] type-checking  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn typeck_root(self, key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> &'tcx ty::TypeckResults<'tcx> {
        crate::query::erase::restore_val::<&'tcx ty::TypeckResults<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.typeck_root,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>)
        -> &'tcx UnordSet<LocalDefId> {
        crate::query::erase::restore_val::<&'tcx UnordSet<LocalDefId>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.used_trait_imports,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<(),
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.coherent_trait,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn mir_borrowck(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        ->
            Result<&'tcx FxIndexMap<LocalDefId,
            ty::DefinitionSiteHiddenType<'tcx>>, ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<&'tcx FxIndexMap<LocalDefId,
                ty::DefinitionSiteHiddenType<'tcx>>,
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.mir_borrowck,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn crate_inherent_impls(self, key: ())
        -> (&'tcx CrateInherentImpls, Result<(), ErrorGuaranteed>) {
        crate::query::erase::restore_val::<(&'tcx CrateInherentImpls,
                Result<(),
                ErrorGuaranteed>)>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.crate_inherent_impls,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn crate_inherent_impls_validity_check(self, key: ())
        -> Result<(), ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<(),
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.crate_inherent_impls_validity_check,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn crate_inherent_impls_overlap_check(self, key: ())
        -> Result<(), ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<(),
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.crate_inherent_impls_overlap_check,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn orphan_check_impl(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<(),
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.orphan_check_impl,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn mir_callgraph_cyclic(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Option<&'tcx UnordSet<LocalDefId>> {
        crate::query::erase::restore_val::<Option<&'tcx UnordSet<LocalDefId>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.mir_callgraph_cyclic,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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>)] {
        crate::query::erase::restore_val::<&'tcx [(DefId,
                GenericArgsRef<'tcx>)]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.mir_inliner_callees,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn tag_for_variant(self,
        key: PseudoCanonicalInput<'tcx, (Ty<'tcx>, abi::VariantIdx)>)
        -> Option<ty::ScalarInt> {
        crate::query::erase::restore_val::<Option<ty::ScalarInt>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.tag_for_variant,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn eval_to_allocation_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>)
        -> EvalToAllocationRawResult<'tcx> {
        crate::query::erase::restore_val::<EvalToAllocationRawResult<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.eval_to_allocation_raw,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Evaluate a static\'s initializer, returning the allocation of the initializer\'s memory."]
    #[inline(always)]
    pub fn eval_static_initializer(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> EvalStaticInitializerRawResult<'tcx> {
        crate::query::erase::restore_val::<EvalStaticInitializerRawResult<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.eval_static_initializer,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn eval_to_const_value_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>)
        -> EvalToConstValueResult<'tcx> {
        crate::query::erase::restore_val::<EvalToConstValueResult<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.eval_to_const_value_raw,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<EvalToValTreeResult<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.eval_to_valtree,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<mir::ConstValue>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.valtree_to_const_val,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] converting literal to const"]
    #[inline(always)]
    pub fn lit_to_const(self, key: LitToConstInput<'tcx>)
        -> Option<ty::Value<'tcx>> {
        crate::query::erase::restore_val::<Option<ty::Value<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.lit_to_const,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] match-checking  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn check_match(self, key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<(),
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.check_match,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Performs part of the privacy check and computes effective visibilities."]
    #[inline(always)]
    pub fn effective_visibilities(self, key: ())
        -> &'tcx EffectiveVisibilities {
        crate::query::erase::restore_val::<&'tcx EffectiveVisibilities>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.effective_visibilities,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn check_private_in_public(self, key: LocalModId) -> () {
        crate::query::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_private_in_public,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] reachability"]
    #[inline(always)]
    pub fn reachable_set(self, key: ()) -> &'tcx LocalDefIdSet {
        crate::query::erase::restore_val::<&'tcx LocalDefIdSet>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.reachable_set,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn region_scope_tree(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> &'tcx crate::middle::region::ScopeTree {
        crate::query::erase::restore_val::<&'tcx crate::middle::region::ScopeTree>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.region_scope_tree,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Generates a MIR body for the shim."]
    #[inline(always)]
    pub fn mir_shims(self, key: ty::ShimKind<'tcx>) -> &'tcx mir::Body<'tcx> {
        crate::query::erase::restore_val::<&'tcx mir::Body<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.mir_shims,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn symbol_name(self, key: ty::Instance<'tcx>)
        -> ty::SymbolName<'tcx> {
        crate::query::erase::restore_val::<ty::SymbolName<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.symbol_name,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> DefKind {
        crate::query::erase::restore_val::<DefKind>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.def_kind,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Gets the span for the definition."]
    #[inline(always)]
    pub fn def_span(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> Span {
        crate::query::erase::restore_val::<Span>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.def_span,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Gets the span for the identifier of the definition."]
    #[inline(always)]
    pub fn def_ident_span(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> Option<Span> {
        crate::query::erase::restore_val::<Option<Span>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.def_ident_span,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn ty_span(self, key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Span {
        crate::query::erase::restore_val::<Span>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.ty_span,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Option<hir::Stability> {
        crate::query::erase::restore_val::<Option<hir::Stability>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.lookup_stability,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Option<hir::ConstStability> {
        crate::query::erase::restore_val::<Option<hir::ConstStability>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.lookup_const_stability,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Option<hir::DefaultBodyStability> {
        crate::query::erase::restore_val::<Option<hir::DefaultBodyStability>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.lookup_default_body_stability,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.should_inherit_track_caller,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Option<Align> {
        crate::query::erase::restore_val::<Option<Align>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.inherited_align,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Option<DeprecationEntry> {
        crate::query::erase::restore_val::<Option<DeprecationEntry>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.lookup_deprecation_entry,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Determines whether an item is annotated with `#[doc(hidden)]`."]
    #[inline(always)]
    pub fn is_doc_hidden(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.is_doc_hidden,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Determines whether an item is annotated with `#[doc(notable_trait)]`."]
    #[inline(always)]
    pub fn is_doc_notable_trait(self,
        key: impl crate::query::IntoQueryKey<DefId>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_doc_notable_trait,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Returns the attributes on the item at `def_id`."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " Do not use this directly, use [`rustc_attr_ir::find_attr`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn attrs_for_def(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx [rustc_attr_ir::Attribute] {
        crate::query::erase::restore_val::<&'tcx [rustc_attr_ir::Attribute]>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.attrs_for_def,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn codegen_fn_attrs(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx CodegenFnAttrs {
        crate::query::erase::restore_val::<&'tcx CodegenFnAttrs>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.codegen_fn_attrs,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> &'tcx FxIndexSet<Symbol> {
        crate::query::erase::restore_val::<&'tcx FxIndexSet<Symbol>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.asm_target_features,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> &'tcx [Option<rustc_span::Ident>] {
        crate::query::erase::restore_val::<&'tcx [Option<rustc_span::Ident>]>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.fn_arg_idents,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> &'tcx String {
        crate::query::erase::restore_val::<&'tcx String>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.rendered_const,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Option<&'tcx [PreciseCapturingArgKind<Symbol, Symbol>]> {
        crate::query::erase::restore_val::<Option<&'tcx [PreciseCapturingArgKind<Symbol,
                Symbol>]>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.rendered_precise_capturing_args,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Option<DefId> {
        crate::query::erase::restore_val::<Option<DefId>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.impl_parent,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_mir_available,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>) -> &'tcx [DefId] {
        crate::query::erase::restore_val::<&'tcx [DefId]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.own_existential_vtable_entries,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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>] {
        crate::query::erase::restore_val::<&'tcx [ty::VtblEntry<'tcx>]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.vtable_entries,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn first_method_vtable_slot(self, key: ty::TraitRef<'tcx>) -> usize {
        crate::query::erase::restore_val::<usize>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.first_method_vtable_slot,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn supertrait_vtable_slot(self, key: (Ty<'tcx>, Ty<'tcx>))
        -> Option<usize> {
        crate::query::erase::restore_val::<Option<usize>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.supertrait_vtable_slot,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn vtable_allocation(self,
        key: (Ty<'tcx>, Option<ty::ExistentialTraitRef<'tcx>>))
        -> mir::interpret::AllocId {
        crate::query::erase::restore_val::<mir::interpret::AllocId>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.vtable_allocation,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Result<&'tcx ImplSource<'tcx, ()>,
                CodegenObligationError>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.codegen_select_candidate,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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>> {
        crate::query::erase::restore_val::<&'tcx rustc_data_structures::fx::FxIndexMap<DefId,
                Vec<LocalDefId>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.all_local_trait_impls,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Return all `impl` blocks of the given trait in the current crate."]
    #[inline(always)]
    pub fn local_trait_impls(self,
        key: impl crate::query::IntoQueryKey<DefId>) -> &'tcx [LocalDefId] {
        crate::query::erase::restore_val::<&'tcx [LocalDefId]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.local_trait_impls,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Given a trait `trait_id`, return all known `impl` blocks."]
    #[inline(always)]
    pub fn trait_impls_of(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx ty::trait_def::TraitImpls {
        crate::query::erase::restore_val::<&'tcx ty::trait_def::TraitImpls>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.trait_impls_of,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Result<&'tcx specialization_graph::Graph, ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<&'tcx specialization_graph::Graph,
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.specialization_graph_of,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> &'tcx [DynCompatibilityViolation] {
        crate::query::erase::restore_val::<&'tcx [DynCompatibilityViolation]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.dyn_compatibility_violations,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_dyn_compatible,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn param_env(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::ParamEnv<'tcx> {
        crate::query::erase::restore_val::<ty::ParamEnv<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.param_env,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn param_env_normalized_for_post_analysis(self,
        key: impl crate::query::IntoQueryKey<DefId>) -> ty::ParamEnv<'tcx> {
        crate::query::erase::restore_val::<ty::ParamEnv<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.param_env_normalized_for_post_analysis,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn is_copy_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.is_copy_raw,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn is_use_cloned_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_use_cloned_raw,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Query backing `Ty::is_sized`."]
    #[inline(always)]
    pub fn is_sized_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.is_sized_raw,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Query backing `Ty::is_freeze`."]
    #[inline(always)]
    pub fn is_freeze_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.is_freeze_raw,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Query backing `Ty::is_unsafe_unpin`."]
    #[inline(always)]
    pub fn is_unsafe_unpin_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_unsafe_unpin_raw,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Query backing `Ty::is_unpin`."]
    #[inline(always)]
    pub fn is_unpin_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.is_unpin_raw,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Query backing `Ty::is_async_drop`."]
    #[inline(always)]
    pub fn is_async_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_async_drop_raw,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Query backing `Ty::needs_drop`."]
    #[inline(always)]
    pub fn needs_drop_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.needs_drop_raw,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Query backing `Ty::needs_async_drop`."]
    #[inline(always)]
    pub fn needs_async_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.needs_async_drop_raw,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Query backing `Ty::has_significant_drop_raw`."]
    #[inline(always)]
    pub fn has_significant_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.has_significant_drop_raw,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn has_structural_eq_impl(self, key: Ty<'tcx>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.has_structural_eq_impl,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn adt_drop_tys(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
        crate::query::erase::restore_val::<Result<&'tcx ty::List<Ty<'tcx>>,
                AlwaysRequiresDrop>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.adt_drop_tys,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn adt_async_drop_tys(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
        crate::query::erase::restore_val::<Result<&'tcx ty::List<Ty<'tcx>>,
                AlwaysRequiresDrop>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.adt_async_drop_tys,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn adt_significant_drop_tys(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> Result<&'tcx ty::List<Ty<'tcx>>, AlwaysRequiresDrop> {
        crate::query::erase::restore_val::<Result<&'tcx ty::List<Ty<'tcx>>,
                AlwaysRequiresDrop>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.adt_significant_drop_tys,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn list_significant_drop_tys(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        -> &'tcx ty::List<Ty<'tcx>> {
        crate::query::erase::restore_val::<&'tcx ty::List<Ty<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.list_significant_drop_tys,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn layout_of(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>)
        ->
            Result<ty::layout::TyAndLayout<'tcx>,
            &'tcx ty::layout::LayoutError<'tcx>> {
        crate::query::erase::restore_val::<Result<ty::layout::TyAndLayout<'tcx>,
                &'tcx ty::layout::LayoutError<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.layout_of,
                crate::query::IntoQueryKey::into_query_key(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)]
    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>> {
        crate::query::erase::restore_val::<Result<&'tcx rustc_target::callconv::FnAbi<'tcx,
                Ty<'tcx>>,
                &'tcx ty::layout::FnAbiError<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.fn_abi_of_fn_ptr,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for direct calls*"]
    #[doc =
    " to an `fn`. Indirectly-passed parameters in the returned ABI might not include all possible"]
    #[doc =
    " codegen optimization attributes (such as `ReadOnly` or `CapturesNone`), as deducing these"]
    #[doc =
    " requires inspection of function bodies that can lead to cycles when performed during typeck."]
    #[doc =
    " Post typeck, you should prefer the optimized ABI returned by `TyCtxt::fn_abi_of_instance`."]
    #[doc = ""]
    #[doc =
    " NB: the ABI returned by this query must not differ from that returned by"]
    #[doc = "     `fn_abi_of_instance_raw` in any other way."]
    #[doc = ""]
    #[doc =
    " * that includes virtual calls, which are represented by \"direct calls\" to an"]
    #[doc =
    "   `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`)."]
    #[inline(always)]
    pub fn fn_abi_of_instance_no_deduced_attrs(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>> {
        crate::query::erase::restore_val::<Result<&'tcx rustc_target::callconv::FnAbi<'tcx,
                Ty<'tcx>>,
                &'tcx ty::layout::FnAbiError<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.fn_abi_of_instance_no_deduced_attrs,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for direct calls*"]
    #[doc =
    " to an `fn`. Indirectly-passed parameters in the returned ABI will include applicable"]
    #[doc =
    " codegen optimization attributes, including `ReadOnly` and `CapturesNone` -- deduction of"]
    #[doc =
    " which requires inspection of function bodies that can lead to cycles when performed during"]
    #[doc =
    " typeck. During typeck, you should therefore use instead the unoptimized ABI returned by"]
    #[doc = " `fn_abi_of_instance_no_deduced_attrs`."]
    #[doc = ""]
    #[doc =
    " For performance reasons, you should prefer to call the inherent `TyCtxt::fn_abi_of_instance`"]
    #[doc =
    " method rather than invoke this query: it delegates to this query if necessary, but where"]
    #[doc =
    " possible delegates instead to the `fn_abi_of_instance_no_deduced_attrs` query (thus avoiding"]
    #[doc = " unnecessary query system overhead)."]
    #[doc = ""]
    #[doc =
    " * that includes virtual calls, which are represented by \"direct calls\" to an"]
    #[doc =
    "   `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`)."]
    #[inline(always)]
    pub fn fn_abi_of_instance_raw(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>> {
        crate::query::erase::restore_val::<Result<&'tcx rustc_target::callconv::FnAbi<'tcx,
                Ty<'tcx>>,
                &'tcx ty::layout::FnAbiError<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.fn_abi_of_instance_raw,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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)] {
        crate::query::erase::restore_val::<&'tcx [(CrateNum,
                LinkagePreference)]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.dylib_dependency_formats,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<&'tcx Arc<crate::middle::dependency_format::Dependencies>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.dependency_formats,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_compiler_builtins,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.has_global_allocator,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.has_alloc_error_handler,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.has_panic_handler,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_profiler_runtime,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.has_ffi_unwind_calls,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Option<PanicStrategy>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.required_panic_strategy,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<PanicStrategy>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.panic_in_drop_strategy,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_no_builtins,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<SymbolManglingVersion>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.symbol_mangling_version,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting crate's ExternCrateData"]
    #[inline(always)]
    pub fn extern_crate(self, key: CrateNum) -> Option<&'tcx ExternCrate> {
        crate::query::erase::restore_val::<Option<&'tcx ExternCrate>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.extern_crate,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.specialization_enabled_in,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing whether impls specialize one another"]
    #[inline(always)]
    pub fn specializes(self, key: (DefId, DefId)) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.specializes,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn defaultness(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> hir::Defaultness {
        crate::query::erase::restore_val::<hir::Defaultness>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.defaultness,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Returns whether the field corresponding to the `DefId` has a default field value."]
    #[inline(always)]
    pub fn default_field(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> Option<DefId> {
        crate::query::erase::restore_val::<Option<DefId>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.default_field,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<(),
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_well_formed,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn enforce_impl_non_lifetime_params_are_constrained(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<(),
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.enforce_impl_non_lifetime_params_are_constrained,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<&'tcx DefIdMap<SymbolExportInfo>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.reachable_non_generics,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_reachable_non_generic,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn is_unreachable_local_definition(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_unreachable_local_definition,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn upstream_monomorphizations(self, key: ())
        -> &'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>, CrateNum>> {
        crate::query::erase::restore_val::<&'tcx DefIdMap<UnordMap<GenericArgsRef<'tcx>,
                CrateNum>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.upstream_monomorphizations,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn upstream_monomorphizations_for(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> Option<&'tcx UnordMap<GenericArgsRef<'tcx>, CrateNum>> {
        crate::query::erase::restore_val::<Option<&'tcx UnordMap<GenericArgsRef<'tcx>,
                CrateNum>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.upstream_monomorphizations_for,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn upstream_drop_glue_for(self, key: GenericArgsRef<'tcx>)
        -> Option<CrateNum> {
        crate::query::erase::restore_val::<Option<CrateNum>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.upstream_drop_glue_for,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn upstream_async_drop_glue_for(self, key: GenericArgsRef<'tcx>)
        -> Option<CrateNum> {
        crate::query::erase::restore_val::<Option<CrateNum>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.upstream_async_drop_glue_for,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Returns a list of all `extern` blocks of a crate."]
    #[inline(always)]
    pub fn foreign_modules(self, key: CrateNum)
        -> &'tcx FxIndexMap<DefId, ForeignModule> {
        crate::query::erase::restore_val::<&'tcx FxIndexMap<DefId,
                ForeignModule>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.foreign_modules,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Lint against `extern fn` declarations having incompatible types."]
    #[inline(always)]
    pub fn clashing_extern_declarations(self, key: ()) -> () {
        crate::query::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.clashing_extern_declarations,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn entry_fn(self, key: ()) -> Option<(DefId, EntryFnType)> {
        crate::query::erase::restore_val::<Option<(DefId,
                EntryFnType)>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.entry_fn,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Finds the `rustc_proc_macro_decls` item of a crate."]
    #[inline(always)]
    pub fn proc_macro_decls_static(self, key: ()) -> Option<LocalDefId> {
        crate::query::erase::restore_val::<Option<LocalDefId>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.proc_macro_decls_static,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the hash of a crate"]
    #[inline(always)]
    pub fn crate_hash(self, key: CrateNum) -> Svh {
        crate::query::erase::restore_val::<Svh>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.crate_hash,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Option<Svh>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.crate_host_hash,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn extra_filename(self, key: CrateNum) -> &'tcx String {
        crate::query::erase::restore_val::<&'tcx String>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.extra_filename,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<&'tcx Vec<PathBuf>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.crate_extern_paths,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn implementations_of_trait(self, key: (CrateNum, DefId))
        -> &'tcx [(DefId, Option<SimplifiedType>)] {
        crate::query::erase::restore_val::<&'tcx [(DefId,
                Option<SimplifiedType>)]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.implementations_of_trait,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn crate_incoherent_impls(self, key: (CrateNum, SimplifiedType))
        -> &'tcx [DefId] {
        crate::query::erase::restore_val::<&'tcx [DefId]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.crate_incoherent_impls,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Get the corresponding native library from the `native_libraries` query"]
    #[inline(always)]
    pub fn native_library(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> Option<&'tcx NativeLib> {
        crate::query::erase::restore_val::<Option<&'tcx NativeLib>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.native_library,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] inheriting delegation signature"]
    #[inline(always)]
    pub fn inherit_sig_for_delegation_item(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> &'tcx [Ty<'tcx>] {
        crate::query::erase::restore_val::<&'tcx [Ty<'tcx>]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.inherit_sig_for_delegation_item,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting delegation user-specified args"]
    #[inline(always)]
    pub fn delegation_user_specified_args(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> (&'tcx [GenericArg<'tcx>], &'tcx [GenericArg<'tcx>]) {
        crate::query::erase::restore_val::<(&'tcx [GenericArg<'tcx>],
                &'tcx [GenericArg<'tcx>])>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.delegation_user_specified_args,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn resolve_bound_vars(self, key: hir::OwnerId)
        -> &'tcx ResolveBoundVars<'tcx> {
        crate::query::erase::restore_val::<&'tcx ResolveBoundVars<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.resolve_bound_vars,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<&'tcx SortedMap<ItemLocalId,
                ResolvedArg>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.named_variable_map,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn is_late_bound_map(self, key: hir::OwnerId)
        -> Option<&'tcx FxIndexSet<ItemLocalId>> {
        crate::query::erase::restore_val::<Option<&'tcx FxIndexSet<ItemLocalId>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_late_bound_map,
                crate::query::IntoQueryKey::into_query_key(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_dump_object_lifetime_defaults]` 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 crate::query::IntoQueryKey<DefId>)
        -> ObjectLifetimeDefault {
        crate::query::erase::restore_val::<ObjectLifetimeDefault>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.object_lifetime_default,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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<'tcx>>> {
        crate::query::erase::restore_val::<&'tcx SortedMap<ItemLocalId,
                Vec<ty::BoundVariableKind<'tcx>>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.late_bound_vars_map,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn opaque_captured_lifetimes(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> &'tcx [(ResolvedArg, LocalDefId)] {
        crate::query::erase::restore_val::<&'tcx [(ResolvedArg,
                LocalDefId)]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.opaque_captured_lifetimes,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " For an opaque type or trait associated type, return the list of potentially live"]
    #[doc =
    " (identity) generic args from the set of outlives bounds on that alias. Callers should"]
    #[doc =
    " instantiate the returned args with the concrete args of the alias."]
    #[doc = " ```ignore (illustrative)"]
    #[doc = " // Edition 2024: all args are captured"]
    #[doc =
    " fn foo<\'a, \'b, T: \'static>(&\'a &\'b T) -> impl Sized + \'a {}"]
    #[doc =
    " fn bar<\'a, \'b, T: \'static>(&\'a &\'b T) -> impl Sized + \'static {}"]
    #[doc = " fn baz<\'a, \'b, T: \'static>(&\'a &\'b T) -> impl Sized {}"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc = " In the above:"]
    #[doc =
    "   - `foo` outlives `\'a`, but we know that `\'b: \'a` holds, so `\'b` is *also* potentially live"]
    #[doc = "     (and so is `T`, since `T: \'static` implies `T: \'a`)"]
    #[doc =
    "   - `bar` outlives `\'static`, so we know that no args are potentially live and we can return an empty set"]
    #[doc =
    "   - `baz` has no outlives bound, so return `None` and let the caller decide what to do"]
    #[inline(always)]
    pub fn live_args_for_alias_from_outlives_bounds(self,
        key: ty::AliasTyKind<'tcx>)
        -> &'tcx Option<ty::EarlyBinder<'tcx, Vec<ty::GenericArg<'tcx>>>> {
        crate::query::erase::restore_val::<&'tcx Option<ty::EarlyBinder<'tcx,
                Vec<ty::GenericArg<'tcx>>>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.live_args_for_alias_from_outlives_bounds,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " For each region param of an alias, the identity args that are known to"]
    #[doc =
    " outlive it given only the alias\'s declared where-clauses. Used for liveness:"]
    #[doc =
    " these are the only args whose regions the underlying type of the alias"]
    #[doc =
    " could capture while satisfying an outlives bound on that param."]
    #[inline(always)]
    pub fn args_known_to_outlive_alias_params(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        ->
            &'tcx ty::EarlyBinder<'tcx,
            Vec<(ty::Region<'tcx>, Vec<ty::GenericArg<'tcx>>)>> {
        crate::query::erase::restore_val::<&'tcx ty::EarlyBinder<'tcx,
                Vec<(ty::Region<'tcx>,
                Vec<ty::GenericArg<'tcx>>)>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.args_known_to_outlive_alias_params,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn visibility(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::Visibility<ModId> {
        crate::query::erase::restore_val::<ty::Visibility<ModId>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.visibility,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing the uninhabited predicate of `{:?}`"]
    #[inline(always)]
    pub fn inhabited_predicate_adt(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> ty::inhabitedness::InhabitedPredicate<'tcx> {
        crate::query::erase::restore_val::<ty::inhabitedness::InhabitedPredicate<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.inhabited_predicate_adt,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<ty::inhabitedness::InhabitedPredicate<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.inhabited_predicate_type,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Do not call this query directly: invoke `Ty::is_opsem_inhabited` instead."]
    #[inline(always)]
    pub fn is_opsem_inhabited_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_opsem_inhabited_raw,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching what a dependency looks like"]
    #[inline(always)]
    pub fn crate_dep_kind(self, key: CrateNum) -> CrateDepKind {
        crate::query::erase::restore_val::<CrateDepKind>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.crate_dep_kind,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Gets the name of the crate."]
    #[inline(always)]
    pub fn crate_name(self, key: CrateNum) -> Symbol {
        crate::query::erase::restore_val::<Symbol>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.crate_name,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Iterates over all named children of the given module,"]
    #[doc = " including both proper items and reexports."]
    #[doc =
    " Module here is understood in name resolution sense - it can be a `mod` item,"]
    #[doc = " or a crate root, or an enum, or a trait."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc = " May panic if the provided `id` does not refer to a module."]
    #[inline(always)]
    pub fn module_children(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> &'tcx [ModChild] {
        crate::query::erase::restore_val::<&'tcx [ModChild]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.module_children,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn num_extern_def_ids(self, key: CrateNum) -> usize {
        crate::query::erase::restore_val::<usize>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.num_extern_def_ids,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<&'tcx LibFeatures>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.lib_features,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn stability_implications(self, key: CrateNum)
        -> &'tcx UnordMap<Symbol, Symbol> {
        crate::query::erase::restore_val::<&'tcx UnordMap<Symbol,
                Symbol>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.stability_implications,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Whether the function is an intrinsic"]
    #[inline(always)]
    pub fn intrinsic_raw(self, key: impl crate::query::IntoQueryKey<DefId>)
        -> Option<rustc_middle::ty::IntrinsicDef> {
        crate::query::erase::restore_val::<Option<rustc_middle::ty::IntrinsicDef>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.intrinsic_raw,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Returns the lang items defined in all crates by loading them from metadata of dependencies"]
    #[doc = " and collecting the ones from the current crate."]
    #[inline(always)]
    pub fn get_lang_items(self, key: ()) -> &'tcx LanguageItems {
        crate::query::erase::restore_val::<&'tcx LanguageItems>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.get_lang_items,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Returns all diagnostic items defined in all crates."]
    #[inline(always)]
    pub fn all_diagnostic_items(self, key: ())
        -> &'tcx rustc_hir::attrs::diagnostic_items::DiagnosticItems {
        crate::query::erase::restore_val::<&'tcx rustc_hir::attrs::diagnostic_items::DiagnosticItems>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.all_diagnostic_items,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Returns all the canonical symbols defined in all crates."]
    #[inline(always)]
    pub fn all_canonical_symbols(self, key: ()) -> &'tcx CanonicalSymbols {
        crate::query::erase::restore_val::<&'tcx CanonicalSymbols>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.all_canonical_symbols,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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)] {
        crate::query::erase::restore_val::<&'tcx [(DefId,
                LangItem)]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.defined_lang_items,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Returns the diagnostic items defined in a crate."]
    #[inline(always)]
    pub fn diagnostic_items(self, key: CrateNum)
        -> &'tcx rustc_hir::attrs::diagnostic_items::DiagnosticItems {
        crate::query::erase::restore_val::<&'tcx rustc_hir::attrs::diagnostic_items::DiagnosticItems>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.diagnostic_items,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc = " Returns the canonical symbols defined in a crate."]
    #[inline(always)]
    pub fn canonical_symbols(self, key: CrateNum) -> &'tcx CanonicalSymbols {
        crate::query::erase::restore_val::<&'tcx CanonicalSymbols>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.canonical_symbols,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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] {
        crate::query::erase::restore_val::<&'tcx [LangItem]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.missing_lang_items,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn visible_parent_map(self, key: ()) -> &'tcx DefIdMap<DefId> {
        crate::query::erase::restore_val::<&'tcx DefIdMap<DefId>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.visible_parent_map,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn trimmed_def_paths(self, key: ()) -> &'tcx DefIdMap<Symbol> {
        crate::query::erase::restore_val::<&'tcx DefIdMap<Symbol>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.trimmed_def_paths,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.missing_extern_crate_item,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<&'tcx Arc<CrateSource>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.used_crate_source,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn debugger_visualizers(self, key: CrateNum)
        -> &'tcx Vec<DebuggerVisualizerFile> {
        crate::query::erase::restore_val::<&'tcx Vec<DebuggerVisualizerFile>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.debugger_visualizers,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] generating a postorder list of CrateNums"]
    #[inline(always)]
    pub fn postorder_cnums(self, key: ()) -> &'tcx [CrateNum] {
        crate::query::erase::restore_val::<&'tcx [CrateNum]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.postorder_cnums,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_private_dep,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Option<AllocatorKind>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.allocator_kind,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Option<AllocatorKind>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.alloc_error_handler_kind,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Option<&'tcx FxIndexMap<hir::HirId, hir::Upvar>> {
        crate::query::erase::restore_val::<Option<&'tcx FxIndexMap<hir::HirId,
                hir::Upvar>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.upvars_mentioned,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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] {
        crate::query::erase::restore_val::<&'tcx [CrateNum]>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.crates,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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] {
        crate::query::erase::restore_val::<&'tcx [CrateNum]>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.used_crates,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn duplicate_crate_names(self, key: CrateNum) -> &'tcx [CrateNum] {
        crate::query::erase::restore_val::<&'tcx [CrateNum]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.duplicate_crate_names,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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] {
        crate::query::erase::restore_val::<&'tcx [DefId]>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.traits,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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] {
        crate::query::erase::restore_val::<&'tcx [DefId]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.trait_impls_in_crate,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<&'tcx FxIndexMap<DefId,
                usize>>(crate::query::calls::query_get_at(self.tcx, self.span,
                &self.tcx.query_system.query_vtables.stable_order_of_exportable_impls,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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] {
        crate::query::erase::restore_val::<&'tcx [DefId]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.exportable_items,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn exported_non_generic_symbols(self, key: CrateNum)
        -> &'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)] {
        crate::query::erase::restore_val::<&'tcx [(ExportedSymbol<'tcx>,
                SymbolExportInfo)]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.exported_non_generic_symbols,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn exported_generic_symbols(self, key: CrateNum)
        -> &'tcx [(ExportedSymbol<'tcx>, SymbolExportInfo)] {
        crate::query::erase::restore_val::<&'tcx [(ExportedSymbol<'tcx>,
                SymbolExportInfo)]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.exported_generic_symbols,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<MonoItemPartitions<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.collect_and_partition_mono_items,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_codegened_item,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting codegen unit `{sym}`"]
    #[inline(always)]
    pub fn codegen_unit(self, key: Symbol) -> &'tcx CodegenUnit<'tcx> {
        crate::query::erase::restore_val::<&'tcx CodegenUnit<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.codegen_unit,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] optimization level used by backend"]
    #[inline(always)]
    pub fn backend_optimization_level(self, key: ()) -> OptLevel {
        crate::query::erase::restore_val::<OptLevel>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.backend_optimization_level,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn output_filenames(self, key: ()) -> &'tcx Arc<OutputFilenames> {
        crate::query::erase::restore_val::<&'tcx Arc<OutputFilenames>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.output_filenames,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
                NoSolution>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.normalize_canonicalized_projection,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
                NoSolution>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.normalize_canonicalized_free_alias,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, NormalizationResult<'tcx>>>,
                NoSolution>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.normalize_canonicalized_inherent_projection,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Result<GenericArg<'tcx>,
                NoSolution>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.try_normalize_generic_arg_after_erasing_regions,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, Vec<OutlivesBound<'tcx>>>>,
                NoSolution>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.implied_outlives_bounds,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing implied outlives bounds for borrowck for  `tcx.def_path_str(mir_def)` "]
    #[inline(always)]
    pub fn mir_borrowck_implied_outlives_bounds(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        ->
            Result<&'tcx Canonical<'tcx,
            canonical::QueryResponse<'tcx,
            MirBorrowckImpliedOutlivesBounds<'tcx>>>, NoSolution> {
        crate::query::erase::restore_val::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx,
                MirBorrowckImpliedOutlivesBounds<'tcx>>>,
                NoSolution>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.mir_borrowck_implied_outlives_bounds,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, DropckOutlivesResult<'tcx>>>,
                NoSolution>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.dropck_outlives,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Result<EvaluationResult,
                OverflowError>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.evaluate_obligation,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, ()>>,
                NoSolution>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.type_op_ascribe_user_type,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, ()>>,
                NoSolution>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.type_op_prove_predicate,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, Ty<'tcx>>>,
                NoSolution>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.type_op_normalize_ty,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, ty::Clause<'tcx>>>,
                NoSolution>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.type_op_normalize_clause,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, ty::PolyFnSig<'tcx>>>,
                NoSolution>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.type_op_normalize_poly_fn_sig,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Result<&'tcx Canonical<'tcx,
                canonical::QueryResponse<'tcx, ty::FnSig<'tcx>>>,
                NoSolution>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.type_op_normalize_fn_sig,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking impossible instantiated clauses:  `tcx.def_path_str(key.0)` "]
    #[inline(always)]
    pub fn instantiate_and_check_impossible_clauses(self,
        key: (DefId, GenericArgsRef<'tcx>)) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.instantiate_and_check_impossible_clauses,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn is_impossible_associated_item(self, key: (DefId, DefId)) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.is_impossible_associated_item,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<MethodAutoderefStepsResult<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.method_autoderef_steps,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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>, usize))
        ->
            (solve::QueryResult<'tcx>,
            &'tcx solve::inspect::Probe<TyCtxt<'tcx>>, RequiredDepth) {
        crate::query::erase::restore_val::<(solve::QueryResult<'tcx>,
                &'tcx solve::inspect::Probe<TyCtxt<'tcx>>,
                RequiredDepth)>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.evaluate_root_goal_for_proof_tree_raw,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    " Returns a list of all Rust target features for the current target (not just the ones that"]
    #[doc =
    " are enabled). These are not always the same as LLVM target features!"]
    #[inline(always)]
    pub fn all_rust_target_features(self, key: CrateNum)
        -> &'tcx UnordMap<String, rustc_target::target_features::Stability> {
        crate::query::erase::restore_val::<&'tcx UnordMap<String,
                rustc_target::target_features::Stability>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.all_rust_target_features,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<&'tcx Vec<Symbol>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.implied_target_features,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<&'tcx rustc_feature::Features>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.features_query,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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)> {
        crate::query::erase::restore_val::<&'tcx Steal<(rustc_ast::Crate,
                rustc_ast::AttrVec)>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.crate_for_resolver,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn resolve_instance_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, (DefId, GenericArgsRef<'tcx>)>)
        -> Result<Option<ty::Instance<'tcx>>, ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<Option<ty::Instance<'tcx>>,
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.resolve_instance_raw,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<ty::Clauses<'tcx>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.reveal_opaque_types_in_bounds,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up limits"]
    #[inline(always)]
    pub fn limits(self, key: ()) -> Limits {
        crate::query::erase::restore_val::<Limits>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.limits,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn diagnostic_hir_wf_check(self,
        key: (ty::Predicate<'tcx>, WellFormedLoc))
        -> Option<&'tcx ObligationCause<'tcx>> {
        crate::query::erase::restore_val::<Option<&'tcx ObligationCause<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.diagnostic_hir_wf_check,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<&'tcx Vec<String>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.global_backend_features,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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>> {
        crate::query::erase::restore_val::<Result<bool,
                &'tcx ty::layout::LayoutError<'tcx>>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_validity_requirement,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn compare_impl_item(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), ErrorGuaranteed> {
        crate::query::erase::restore_val::<Result<(),
                ErrorGuaranteed>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.compare_impl_item,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> &'tcx [DeducedParamAttrs] {
        crate::query::erase::restore_val::<&'tcx [DeducedParamAttrs]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.deduced_param_attrs,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] resolutions for documentation links for a module"]
    #[inline(always)]
    pub fn doc_link_resolutions(self, key: ModId) -> &'tcx DocLinkResMap {
        crate::query::erase::restore_val::<&'tcx DocLinkResMap>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.doc_link_resolutions,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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: ModId) -> &'tcx [DefId] {
        crate::query::erase::restore_val::<&'tcx [DefId]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.doc_link_traits_in_scope,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn stripped_cfg_items(self, key: CrateNum)
        -> &'tcx [StrippedCfgItem] {
        crate::query::erase::restore_val::<&'tcx [StrippedCfgItem]>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.stripped_cfg_items,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.generics_require_sized_self,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>) -> bool {
        crate::query::erase::restore_val::<bool>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.cross_crate_inlinable,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn check_mono_item(self, key: ty::Instance<'tcx>) -> () {
        crate::query::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_mono_item,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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> {
        crate::query::erase::restore_val::<Result<(&'tcx [Spanned<MonoItem<'tcx>>],
                &'tcx [Spanned<MonoItem<'tcx>>]),
                NormalizationErrorInMono>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.items_of_instance,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 {
        crate::query::erase::restore_val::<usize>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.size_estimate,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> ty::AnonConstKind {
        crate::query::erase::restore_val::<ty::AnonConstKind>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.anon_const_kind,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Option<(mir::ConstValue, Ty<'tcx>)> {
        crate::query::erase::restore_val::<Option<(mir::ConstValue,
                Ty<'tcx>)>>(crate::query::calls::query_get_at(self.tcx,
                self.span, &self.tcx.query_system.query_vtables.trivial_const,
                crate::query::IntoQueryKey::into_query_key(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)]
    pub fn sanitizer_settings_for(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> SanitizerFnAttrs {
        crate::query::erase::restore_val::<SanitizerFnAttrs>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.sanitizer_settings_for,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] check externally implementable items"]
    #[inline(always)]
    pub fn check_externally_implementable_items(self, key: ()) -> () {
        crate::query::erase::restore_val::<()>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.check_externally_implementable_items,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
    #[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>)> {
        crate::query::erase::restore_val::<&'tcx FxIndexMap<DefId,
                (EiiDecl,
                FxIndexMap<DefId,
                EiiImpl>)>>(crate::query::calls::query_get_at(self.tcx,
                self.span,
                &self.tcx.query_system.query_vtables.externally_implementable_items,
                crate::query::IntoQueryKey::into_query_key(key)))
    }
}
impl<'tcx> crate::query::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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.derive_macro_expansion,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " This exists purely for testing the interactions between delayed bugs and incremental."]
    #[inline(always)]
    pub fn trigger_delayed_bug(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.trigger_delayed_bug,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Collects the list of all tools registered using `#![register_tool]` or `#![register_attribute_tool]`."]
    #[inline(always)]
    pub fn registered_attr_tools(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.registered_attr_tools,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Collects the list of all tools registered using `#![register_tool]` or `#![register_lint_tool]`."]
    #[inline(always)]
    pub fn registered_lint_tools(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.registered_lint_tools,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.early_lint_checks,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn env_var_os(self, key: &'tcx OsStr) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.env_var_os,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the resolver outputs"]
    #[inline(always)]
    pub fn resolutions(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.resolutions,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.resolver_for_lowering_raw,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the AST for lowering"]
    #[inline(always)]
    pub fn index_ast(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.index_ast,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn source_span(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.source_span,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] lowering HIR for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn lower_to_hir(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.lower_to_hir,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting owner for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn hir_owner(self, key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.hir_owner,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " All items in the crate."]
    #[inline(always)]
    pub fn hir_crate_items(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.hir_crate_items,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn hir_module_items(self, key: LocalModId) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.hir_module_items,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn hir_owner_parent_q(self, key: hir::OwnerId) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.hir_owner_parent_q,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn hir_attr_map(self, key: hir::OwnerId) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.hir_attr_map,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn const_param_default(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.const_param_default,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn const_of_item(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.const_of_item,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn type_of(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.type_of,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Returns the *hidden type* of the opaque type given by `DefId`."]
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.type_of_opaque,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.type_of_opaque_hir_typeck,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Returns whether the type alias given by `DefId` is checked."]
    #[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 `checked_type_aliases` 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_checked(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.type_alias_is_checked,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn collect_return_position_impl_trait_in_trait_tys(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.collect_return_position_impl_trait_in_trait_tys,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] determine where the opaque originates from"]
    #[inline(always)]
    pub fn opaque_ty_origin(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.opaque_ty_origin,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.unsizing_params_for_adt,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " The root query triggering all analysis passes like typeck or borrowck."]
    #[inline(always)]
    pub fn analysis(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.analysis,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn check_expectations(self, key: Option<Symbol>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_expectations,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Returns the *generics* of the definition given by `DefId`."]
    #[inline(always)]
    pub fn generics_of(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.generics_of,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Returns the (elaborated) *clauses* 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/clauses query that you want."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_dump_clauses]` 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 clauses_of(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.clauses_of,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn opaque_types_defined_by(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.opaque_types_defined_by,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.nested_bodies_within,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn explicit_item_bounds(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.explicit_item_bounds,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn explicit_item_self_bounds(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.explicit_item_self_bounds,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn item_bounds(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.item_bounds,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.item_self_bounds,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.item_non_self_bounds,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.impl_super_outlives,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn native_libraries(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.native_libraries,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.shallow_lint_levels_on,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.lint_expectations,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn skippable_lints(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.skippable_lints,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.expn_that_defined,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_panic_runtime,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Checks whether a type is representable or infinitely sized"]
    #[inline(always)]
    pub fn check_representability(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_representability,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " An implementation detail for the `check_representability` query. See that query for more"]
    #[doc = " details, particularly on the modifiers."]
    #[inline(always)]
    pub fn check_representability_adt_ty(self, key: Ty<'tcx>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_representability_adt_ty,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.params_in_repr,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn thir_body(self, key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.thir_body,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn mir_keys(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.mir_keys,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn mir_const_qualif(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.mir_const_qualif,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn mir_built(self, key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.mir_built,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Try to build an abstract representation of the given constant."]
    #[inline(always)]
    pub fn thir_abstract_const(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.thir_abstract_const,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.mir_drops_elaborated_and_const_checked,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.mir_for_ctfe,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.mir_promoted,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.closure_typeinfo,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn closure_saved_names_of_captured_variables(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.closure_saved_names_of_captured_variables,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.mir_coroutine_witnesses,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_coroutine_obligations,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn check_potentially_region_dependent_goals(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_potentially_region_dependent_goals,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn optimized_mir(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.optimized_mir,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Returns `true` if this def is a function-like thing that is eligible for"]
    #[doc = " coverage instrumentation under `-Cinstrument-coverage`."]
    #[doc = ""]
    #[doc =
    " (Eligible functions might nevertheless be skipped for other reasons.)"]
    #[inline(always)]
    pub fn is_eligible_for_coverage(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_eligible_for_coverage,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn coverage_attr_on(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.coverage_attr_on,
            crate::query::IntoQueryKey::into_query_key(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 = " Returns `None` for functions that were not instrumented."]
    #[inline(always)]
    pub fn coverage_codegen_info(self, key: ty::InstanceKind<'tcx>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.coverage_codegen_info,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn promoted_mir(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.promoted_mir,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn erase_and_anonymize_regions_ty(self, key: Ty<'tcx>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.erase_and_anonymize_regions_ty,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.wasm_import_module_map,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Returns the explicitly user-written *clauses and bounds* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc = " Traits are unusual, because clauses 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_clauses_of`] and [`Self::explicit_item_bounds`] will"]
    #[doc = " then take the appropriate subsets of the clauses here."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc = " This query will panic if the given definition is not a trait."]
    #[inline(always)]
    pub fn trait_explicit_clauses_and_bounds(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.trait_explicit_clauses_and_bounds,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Returns the explicitly user-written *clauses* 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 [`TyCtxt::clauses_of`] unless you\'re looking for"]
    #[doc = " clauses with explicit spans for diagnostics purposes."]
    #[inline(always)]
    pub fn explicit_clauses_of(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.explicit_clauses_of,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Returns the *inferred outlives-clauses* 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_dump_inferred_outlives]` on an item to basically"]
    #[doc =
    " print the result of this query for use in UI tests or for debugging purposes."]
    #[inline(always)]
    pub fn inferred_outlives_of(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.inferred_outlives_of,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Returns the explicitly user-written *super-clauses* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc =
    " These clauses are unelaborated and consequently don\'t contain transitive super-clauses."]
    #[doc = ""]
    #[doc =
    " This is a subset of the full list of clauses. We store these in a separate map"]
    #[doc =
    " because we must evaluate them even during type conversion, often before the full"]
    #[doc =
    " clauses are available (note that super-clauses must not be cyclic)."]
    #[inline(always)]
    pub fn explicit_super_clauses_of(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.explicit_super_clauses_of,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " The clauses of the trait that are implied during elaboration."]
    #[doc = ""]
    #[doc =
    " This is a superset of the super-clauses of the trait, but a subset of the clauses"]
    #[doc =
    " of the trait. For regular traits, this includes all super-clauses and their"]
    #[doc =
    " associated type bounds. For trait aliases, currently, this includes all of the"]
    #[doc = " clauses of the trait alias."]
    #[inline(always)]
    pub fn explicit_implied_clauses_of(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.explicit_implied_clauses_of,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn explicit_supertraits_containing_assoc_item(self,
        key: (DefId, rustc_span::Ident)) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.explicit_supertraits_containing_assoc_item,
            crate::query::IntoQueryKey::into_query_key(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 `clauses_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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.const_conditions,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn explicit_implied_const_bounds(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.explicit_implied_const_bounds,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " To avoid cycles within the clauses of a single item we compute"]
    #[doc = " per-type-parameter clauses for resolving `T::AssocTy`."]
    #[inline(always)]
    pub fn type_param_clauses(self,
        key: (LocalDefId, LocalDefId, rustc_span::Ident)) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.type_param_clauses,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.trait_def,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.adt_def,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.adt_destructor,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.adt_async_destructor,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.adt_sizedness_constraint,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.adt_dtorck_constraint,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn constness(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.constness,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.asyncness,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn is_promotable_const_fn(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_promotable_const_fn,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn coroutine_by_move_body_def_id(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.coroutine_by_move_body_def_id,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.coroutine_kind,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn coroutine_for_closure(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.coroutine_for_closure,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.coroutine_hidden_types,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn crate_variances(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.crate_variances,
            crate::query::IntoQueryKey::into_query_key(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_dump_variances]` 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 variances_of(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.variances_of,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Gets a map with the inferred outlives-clauses 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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.inferred_outlives_crate,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn associated_item_def_ids(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.associated_item_def_ids,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Maps from a trait/impl item to the trait/impl item \"descriptor\"."]
    #[inline(always)]
    pub fn associated_item(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.associated_item,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Collects the associated items defined on a trait or impl."]
    #[inline(always)]
    pub fn associated_items(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.associated_items,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn impl_item_implementor_ids(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.impl_item_implementor_ids,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn associated_types_for_impl_traits_in_trait_or_impl(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.associated_types_for_impl_traits_in_trait_or_impl,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.impl_trait_header,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Whether all generic parameters of the type are unique unconstrained generic parameters"]
    #[doc =
    " of the impl. `Bar<\'static>` or `Foo<\'a, \'a>` or outlives bounds on the lifetimes cause"]
    #[doc = " this boolean to be false and `try_as_dyn` to return `None`."]
    #[inline(always)]
    pub fn impl_is_fully_generic_for_reflection(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.impl_is_fully_generic_for_reflection,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn impl_self_is_guaranteed_unsized(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.impl_self_is_guaranteed_unsized,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn inherent_impls(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.inherent_impls,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting all inherent impls for `{:?}`"]
    #[inline(always)]
    pub fn incoherent_impls(self, key: SimplifiedType) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.incoherent_impls,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Unsafety-check this `LocalDefId`."]
    #[inline(always)]
    pub fn check_transmutes(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_transmutes,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Type-check offloads calls given a typeck root"]
    #[inline(always)]
    pub fn check_offloads(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_offloads,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Unsafety-check this `LocalDefId`."]
    #[inline(always)]
    pub fn check_unsafety(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_unsafety,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Checks well-formedness of tail calls (`become f()`)."]
    #[inline(always)]
    pub fn check_tail_calls(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_tail_calls,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn assumed_wf_types(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.assumed_wf_types,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn assumed_wf_types_for_rpitit(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.assumed_wf_types_for_rpitit,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Computes the signature of the function."]
    #[inline(always)]
    pub fn fn_sig(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.fn_sig,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Performs lint checking for the module."]
    #[inline(always)]
    pub fn lint_mod(self, key: LocalModId) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.lint_mod,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_unused_traits,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Checks the attributes in the module."]
    #[inline(always)]
    pub fn check_mod_attrs(self, key: LocalModId) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_mod_attrs,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Checks for uses of unstable APIs in the module."]
    #[inline(always)]
    pub fn check_mod_unstable_api_usage(self, key: LocalModId) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_mod_unstable_api_usage,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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: LocalModId) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_mod_privacy,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_liveness,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Return dead-code liveness summary for the crate."]
    #[inline(always)]
    pub fn live_symbols_and_ignored_derived_traits(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.live_symbols_and_ignored_derived_traits,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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: LocalModId) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_mod_deathness,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_type_wf,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Caches `CoerceUnsized` kinds for impls on custom types."]
    #[inline(always)]
    pub fn coerce_unsized_info(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.coerce_unsized_info,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] type-checking  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn typeck_root(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.typeck_root,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.used_trait_imports,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.coherent_trait,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn mir_borrowck(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.mir_borrowck,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn crate_inherent_impls(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.crate_inherent_impls,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn crate_inherent_impls_validity_check(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.crate_inherent_impls_validity_check,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn crate_inherent_impls_overlap_check(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.crate_inherent_impls_overlap_check,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn orphan_check_impl(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.orphan_check_impl,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn mir_callgraph_cyclic(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.mir_callgraph_cyclic,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Obtain all the calls into other local functions"]
    #[inline(always)]
    pub fn mir_inliner_callees(self, key: ty::InstanceKind<'tcx>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.mir_inliner_callees,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn tag_for_variant(self,
        key: PseudoCanonicalInput<'tcx, (Ty<'tcx>, abi::VariantIdx)>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.tag_for_variant,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn eval_to_allocation_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.eval_to_allocation_raw,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Evaluate a static\'s initializer, returning the allocation of the initializer\'s memory."]
    #[inline(always)]
    pub fn eval_static_initializer(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.eval_static_initializer,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn eval_to_const_value_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.eval_to_const_value_raw,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.eval_to_valtree,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.valtree_to_const_val,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.lit_to_const,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] match-checking  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn check_match(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_match,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Performs part of the privacy check and computes effective visibilities."]
    #[inline(always)]
    pub fn effective_visibilities(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.effective_visibilities,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn check_private_in_public(self, key: LocalModId) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_private_in_public,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] reachability"]
    #[inline(always)]
    pub fn reachable_set(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.reachable_set,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn region_scope_tree(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.region_scope_tree,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Generates a MIR body for the shim."]
    #[inline(always)]
    pub fn mir_shims(self, key: ty::ShimKind<'tcx>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.mir_shims,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn symbol_name(self, key: ty::Instance<'tcx>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.symbol_name,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.def_kind,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Gets the span for the definition."]
    #[inline(always)]
    pub fn def_span(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.def_span,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Gets the span for the identifier of the definition."]
    #[inline(always)]
    pub fn def_ident_span(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.def_ident_span,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn ty_span(self, key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.ty_span,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.lookup_stability,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.lookup_const_stability,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.lookup_default_body_stability,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.should_inherit_track_caller,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.inherited_align,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.lookup_deprecation_entry,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Determines whether an item is annotated with `#[doc(hidden)]`."]
    #[inline(always)]
    pub fn is_doc_hidden(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_doc_hidden,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Determines whether an item is annotated with `#[doc(notable_trait)]`."]
    #[inline(always)]
    pub fn is_doc_notable_trait(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_doc_notable_trait,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Returns the attributes on the item at `def_id`."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " Do not use this directly, use [`rustc_attr_ir::find_attr`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn attrs_for_def(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.attrs_for_def,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn codegen_fn_attrs(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.codegen_fn_attrs,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.asm_target_features,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.fn_arg_idents,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.rendered_const,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.rendered_precise_capturing_args,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.impl_parent,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_mir_available,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.own_existential_vtable_entries,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.vtable_entries,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn first_method_vtable_slot(self, key: ty::TraitRef<'tcx>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.first_method_vtable_slot,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn supertrait_vtable_slot(self, key: (Ty<'tcx>, Ty<'tcx>)) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.supertrait_vtable_slot,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn vtable_allocation(self,
        key: (Ty<'tcx>, Option<ty::ExistentialTraitRef<'tcx>>)) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.vtable_allocation,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.codegen_select_candidate,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Return all `impl` blocks in the current crate."]
    #[inline(always)]
    pub fn all_local_trait_impls(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.all_local_trait_impls,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Return all `impl` blocks of the given trait in the current crate."]
    #[inline(always)]
    pub fn local_trait_impls(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.local_trait_impls,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Given a trait `trait_id`, return all known `impl` blocks."]
    #[inline(always)]
    pub fn trait_impls_of(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.trait_impls_of,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.specialization_graph_of,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.dyn_compatibility_violations,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_dyn_compatible,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn param_env(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.param_env,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn param_env_normalized_for_post_analysis(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.param_env_normalized_for_post_analysis,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn is_copy_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_copy_raw,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn is_use_cloned_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_use_cloned_raw,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Query backing `Ty::is_sized`."]
    #[inline(always)]
    pub fn is_sized_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_sized_raw,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Query backing `Ty::is_freeze`."]
    #[inline(always)]
    pub fn is_freeze_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_freeze_raw,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Query backing `Ty::is_unsafe_unpin`."]
    #[inline(always)]
    pub fn is_unsafe_unpin_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_unsafe_unpin_raw,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Query backing `Ty::is_unpin`."]
    #[inline(always)]
    pub fn is_unpin_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_unpin_raw,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Query backing `Ty::is_async_drop`."]
    #[inline(always)]
    pub fn is_async_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_async_drop_raw,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Query backing `Ty::needs_drop`."]
    #[inline(always)]
    pub fn needs_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.needs_drop_raw,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Query backing `Ty::needs_async_drop`."]
    #[inline(always)]
    pub fn needs_async_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.needs_async_drop_raw,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.has_significant_drop_raw,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn has_structural_eq_impl(self, key: Ty<'tcx>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.has_structural_eq_impl,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn adt_drop_tys(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.adt_drop_tys,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn adt_async_drop_tys(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.adt_async_drop_tys,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn adt_significant_drop_tys(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.adt_significant_drop_tys,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn list_significant_drop_tys(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.list_significant_drop_tys,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn layout_of(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.layout_of,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn fn_abi_of_fn_ptr(self,
        key:
            ty::PseudoCanonicalInput<'tcx,
            (ty::PolyFnSig<'tcx>, &'tcx ty::List<Ty<'tcx>>)>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.fn_abi_of_fn_ptr,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for direct calls*"]
    #[doc =
    " to an `fn`. Indirectly-passed parameters in the returned ABI might not include all possible"]
    #[doc =
    " codegen optimization attributes (such as `ReadOnly` or `CapturesNone`), as deducing these"]
    #[doc =
    " requires inspection of function bodies that can lead to cycles when performed during typeck."]
    #[doc =
    " Post typeck, you should prefer the optimized ABI returned by `TyCtxt::fn_abi_of_instance`."]
    #[doc = ""]
    #[doc =
    " NB: the ABI returned by this query must not differ from that returned by"]
    #[doc = "     `fn_abi_of_instance_raw` in any other way."]
    #[doc = ""]
    #[doc =
    " * that includes virtual calls, which are represented by \"direct calls\" to an"]
    #[doc =
    "   `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`)."]
    #[inline(always)]
    pub fn fn_abi_of_instance_no_deduced_attrs(self,
        key:
            ty::PseudoCanonicalInput<'tcx,
            (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.fn_abi_of_instance_no_deduced_attrs,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for direct calls*"]
    #[doc =
    " to an `fn`. Indirectly-passed parameters in the returned ABI will include applicable"]
    #[doc =
    " codegen optimization attributes, including `ReadOnly` and `CapturesNone` -- deduction of"]
    #[doc =
    " which requires inspection of function bodies that can lead to cycles when performed during"]
    #[doc =
    " typeck. During typeck, you should therefore use instead the unoptimized ABI returned by"]
    #[doc = " `fn_abi_of_instance_no_deduced_attrs`."]
    #[doc = ""]
    #[doc =
    " For performance reasons, you should prefer to call the inherent `TyCtxt::fn_abi_of_instance`"]
    #[doc =
    " method rather than invoke this query: it delegates to this query if necessary, but where"]
    #[doc =
    " possible delegates instead to the `fn_abi_of_instance_no_deduced_attrs` query (thus avoiding"]
    #[doc = " unnecessary query system overhead)."]
    #[doc = ""]
    #[doc =
    " * that includes virtual calls, which are represented by \"direct calls\" to an"]
    #[doc =
    "   `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`)."]
    #[inline(always)]
    pub fn fn_abi_of_instance_raw(self,
        key:
            ty::PseudoCanonicalInput<'tcx,
            (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.fn_abi_of_instance_raw,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.dylib_dependency_formats,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.dependency_formats,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_compiler_builtins,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.has_global_allocator,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.has_alloc_error_handler,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.has_panic_handler,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_profiler_runtime,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.has_ffi_unwind_calls,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.required_panic_strategy,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.panic_in_drop_strategy,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_no_builtins,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.symbol_mangling_version,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting crate's ExternCrateData"]
    #[inline(always)]
    pub fn extern_crate(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.extern_crate,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.specialization_enabled_in,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.specializes,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn defaultness(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.defaultness,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Returns whether the field corresponding to the `DefId` has a default field value."]
    #[inline(always)]
    pub fn default_field(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.default_field,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_well_formed,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn enforce_impl_non_lifetime_params_are_constrained(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.enforce_impl_non_lifetime_params_are_constrained,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.reachable_non_generics,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_reachable_non_generic,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn is_unreachable_local_definition(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_unreachable_local_definition,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn upstream_monomorphizations(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.upstream_monomorphizations,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn upstream_monomorphizations_for(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.upstream_monomorphizations_for,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn upstream_drop_glue_for(self, key: GenericArgsRef<'tcx>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.upstream_drop_glue_for,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn upstream_async_drop_glue_for(self, key: GenericArgsRef<'tcx>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.upstream_async_drop_glue_for,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Returns a list of all `extern` blocks of a crate."]
    #[inline(always)]
    pub fn foreign_modules(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.foreign_modules,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Lint against `extern fn` declarations having incompatible types."]
    #[inline(always)]
    pub fn clashing_extern_declarations(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.clashing_extern_declarations,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn entry_fn(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.entry_fn,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Finds the `rustc_proc_macro_decls` item of a crate."]
    #[inline(always)]
    pub fn proc_macro_decls_static(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.proc_macro_decls_static,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the hash of a crate"]
    #[inline(always)]
    pub fn crate_hash(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.crate_hash,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.crate_host_hash,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn extra_filename(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.extra_filename,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.crate_extern_paths,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn implementations_of_trait(self, key: (CrateNum, DefId)) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.implementations_of_trait,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn crate_incoherent_impls(self, key: (CrateNum, SimplifiedType)) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.crate_incoherent_impls,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Get the corresponding native library from the `native_libraries` query"]
    #[inline(always)]
    pub fn native_library(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.native_library,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] inheriting delegation signature"]
    #[inline(always)]
    pub fn inherit_sig_for_delegation_item(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.inherit_sig_for_delegation_item,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting delegation user-specified args"]
    #[inline(always)]
    pub fn delegation_user_specified_args(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.delegation_user_specified_args,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn resolve_bound_vars(self, key: hir::OwnerId) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.resolve_bound_vars,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.named_variable_map,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn is_late_bound_map(self, key: hir::OwnerId) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_late_bound_map,
            crate::query::IntoQueryKey::into_query_key(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_dump_object_lifetime_defaults]` 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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.object_lifetime_default,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.late_bound_vars_map,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn opaque_captured_lifetimes(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.opaque_captured_lifetimes,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " For an opaque type or trait associated type, return the list of potentially live"]
    #[doc =
    " (identity) generic args from the set of outlives bounds on that alias. Callers should"]
    #[doc =
    " instantiate the returned args with the concrete args of the alias."]
    #[doc = " ```ignore (illustrative)"]
    #[doc = " // Edition 2024: all args are captured"]
    #[doc =
    " fn foo<\'a, \'b, T: \'static>(&\'a &\'b T) -> impl Sized + \'a {}"]
    #[doc =
    " fn bar<\'a, \'b, T: \'static>(&\'a &\'b T) -> impl Sized + \'static {}"]
    #[doc = " fn baz<\'a, \'b, T: \'static>(&\'a &\'b T) -> impl Sized {}"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc = " In the above:"]
    #[doc =
    "   - `foo` outlives `\'a`, but we know that `\'b: \'a` holds, so `\'b` is *also* potentially live"]
    #[doc = "     (and so is `T`, since `T: \'static` implies `T: \'a`)"]
    #[doc =
    "   - `bar` outlives `\'static`, so we know that no args are potentially live and we can return an empty set"]
    #[doc =
    "   - `baz` has no outlives bound, so return `None` and let the caller decide what to do"]
    #[inline(always)]
    pub fn live_args_for_alias_from_outlives_bounds(self,
        key: ty::AliasTyKind<'tcx>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.live_args_for_alias_from_outlives_bounds,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " For each region param of an alias, the identity args that are known to"]
    #[doc =
    " outlive it given only the alias\'s declared where-clauses. Used for liveness:"]
    #[doc =
    " these are the only args whose regions the underlying type of the alias"]
    #[doc =
    " could capture while satisfying an outlives bound on that param."]
    #[inline(always)]
    pub fn args_known_to_outlive_alias_params(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.args_known_to_outlive_alias_params,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn visibility(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.visibility,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing the uninhabited predicate of `{:?}`"]
    #[inline(always)]
    pub fn inhabited_predicate_adt(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.inhabited_predicate_adt,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.inhabited_predicate_type,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Do not call this query directly: invoke `Ty::is_opsem_inhabited` instead."]
    #[inline(always)]
    pub fn is_opsem_inhabited_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_opsem_inhabited_raw,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching what a dependency looks like"]
    #[inline(always)]
    pub fn crate_dep_kind(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.crate_dep_kind,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Gets the name of the crate."]
    #[inline(always)]
    pub fn crate_name(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.crate_name,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Iterates over all named children of the given module,"]
    #[doc = " including both proper items and reexports."]
    #[doc =
    " Module here is understood in name resolution sense - it can be a `mod` item,"]
    #[doc = " or a crate root, or an enum, or a trait."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc = " May panic if the provided `id` does not refer to a module."]
    #[inline(always)]
    pub fn module_children(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.module_children,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn num_extern_def_ids(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.num_extern_def_ids,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.lib_features,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn stability_implications(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.stability_implications,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Whether the function is an intrinsic"]
    #[inline(always)]
    pub fn intrinsic_raw(self, key: impl crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.intrinsic_raw,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Returns the lang items defined in all crates by loading them from metadata of dependencies"]
    #[doc = " and collecting the ones from the current crate."]
    #[inline(always)]
    pub fn get_lang_items(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.get_lang_items,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Returns all diagnostic items defined in all crates."]
    #[inline(always)]
    pub fn all_diagnostic_items(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.all_diagnostic_items,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Returns all the canonical symbols defined in all crates."]
    #[inline(always)]
    pub fn all_canonical_symbols(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.all_canonical_symbols,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.defined_lang_items,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Returns the diagnostic items defined in a crate."]
    #[inline(always)]
    pub fn diagnostic_items(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.diagnostic_items,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Returns the canonical symbols defined in a crate."]
    #[inline(always)]
    pub fn canonical_symbols(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.canonical_symbols,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.missing_lang_items,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn visible_parent_map(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.visible_parent_map,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn trimmed_def_paths(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.trimmed_def_paths,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.missing_extern_crate_item,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.used_crate_source,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn debugger_visualizers(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.debugger_visualizers,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] generating a postorder list of CrateNums"]
    #[inline(always)]
    pub fn postorder_cnums(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.postorder_cnums,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_private_dep,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.allocator_kind,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.alloc_error_handler_kind,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.upvars_mentioned,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.crates,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.used_crates,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn duplicate_crate_names(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.duplicate_crate_names,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.traits,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.trait_impls_in_crate,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.stable_order_of_exportable_impls,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.exportable_items,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn exported_non_generic_symbols(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.exported_non_generic_symbols,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn exported_generic_symbols(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.exported_generic_symbols,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.collect_and_partition_mono_items,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_codegened_item,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting codegen unit `{sym}`"]
    #[inline(always)]
    pub fn codegen_unit(self, key: Symbol) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.codegen_unit,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] optimization level used by backend"]
    #[inline(always)]
    pub fn backend_optimization_level(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.backend_optimization_level,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn output_filenames(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.output_filenames,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.normalize_canonicalized_projection,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.normalize_canonicalized_free_alias,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.normalize_canonicalized_inherent_projection,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.try_normalize_generic_arg_after_erasing_regions,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.implied_outlives_bounds,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing implied outlives bounds for borrowck for  `tcx.def_path_str(mir_def)` "]
    #[inline(always)]
    pub fn mir_borrowck_implied_outlives_bounds(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.mir_borrowck_implied_outlives_bounds,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.dropck_outlives,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.evaluate_obligation,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.type_op_ascribe_user_type,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.type_op_prove_predicate,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.type_op_normalize_ty,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.type_op_normalize_clause,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.type_op_normalize_poly_fn_sig,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.type_op_normalize_fn_sig,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking impossible instantiated clauses:  `tcx.def_path_str(key.0)` "]
    #[inline(always)]
    pub fn instantiate_and_check_impossible_clauses(self,
        key: (DefId, GenericArgsRef<'tcx>)) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.instantiate_and_check_impossible_clauses,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn is_impossible_associated_item(self, key: (DefId, DefId)) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.is_impossible_associated_item,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.method_autoderef_steps,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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>, usize)) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.evaluate_root_goal_for_proof_tree_raw,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    " Returns a list of all Rust target features for the current target (not just the ones that"]
    #[doc =
    " are enabled). These are not always the same as LLVM target features!"]
    #[inline(always)]
    pub fn all_rust_target_features(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.all_rust_target_features,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.implied_target_features,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up enabled feature gates"]
    #[inline(always)]
    pub fn features_query(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.features_query,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.crate_for_resolver,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn resolve_instance_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, (DefId, GenericArgsRef<'tcx>)>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.resolve_instance_raw,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.reveal_opaque_types_in_bounds,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up limits"]
    #[inline(always)]
    pub fn limits(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.limits,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn diagnostic_hir_wf_check(self,
        key: (ty::Predicate<'tcx>, WellFormedLoc)) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.diagnostic_hir_wf_check,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.global_backend_features,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_validity_requirement,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn compare_impl_item(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.compare_impl_item,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.deduced_param_attrs,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] resolutions for documentation links for a module"]
    #[inline(always)]
    pub fn doc_link_resolutions(self, key: ModId) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.doc_link_resolutions,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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: ModId) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.doc_link_traits_in_scope,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn stripped_cfg_items(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.stripped_cfg_items,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.generics_require_sized_self,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.cross_crate_inlinable,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn check_mono_item(self, key: ty::Instance<'tcx>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_mono_item,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.items_of_instance,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.size_estimate,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.anon_const_kind,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.trivial_const,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn sanitizer_settings_for(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.sanitizer_settings_for,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] check externally implementable items"]
    #[inline(always)]
    pub fn check_externally_implementable_items(self, key: ()) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.check_externally_implementable_items,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Returns a list of all `externally implementable items` crate."]
    #[inline(always)]
    pub fn externally_implementable_items(self, key: CrateNum) {
        crate::query::calls::query_ensure_ok(self.tcx,
            &self.tcx.query_system.query_vtables.externally_implementable_items,
            crate::query::IntoQueryKey::into_query_key(key))
    }
}
impl<'tcx> crate::query::TyCtxtEnsureResult<'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"]
    #[inline(always)]
    pub fn collect_return_position_impl_trait_in_trait_tys(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.collect_return_position_impl_trait_in_trait_tys,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn thir_body(self, key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.thir_body,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Try to build an abstract representation of the given constant."]
    #[inline(always)]
    pub fn thir_abstract_const(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.thir_abstract_const,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.check_coroutine_obligations,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn check_potentially_region_dependent_goals(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.check_potentially_region_dependent_goals,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Unsafety-check this `LocalDefId`."]
    #[inline(always)]
    pub fn check_transmutes(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.check_transmutes,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Type-check offloads calls given a typeck root"]
    #[inline(always)]
    pub fn check_offloads(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.check_offloads,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Checks well-formedness of tail calls (`become f()`)."]
    #[inline(always)]
    pub fn check_tail_calls(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.check_tail_calls,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Return dead-code liveness summary for the crate."]
    #[inline(always)]
    pub fn live_symbols_and_ignored_derived_traits(self, key: ())
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.live_symbols_and_ignored_derived_traits,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking that types are well-formed"]
    #[inline(always)]
    pub fn check_type_wf(self, key: ())
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.check_type_wf,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc = " Caches `CoerceUnsized` kinds for impls on custom types."]
    #[inline(always)]
    pub fn coerce_unsized_info(self,
        key: impl crate::query::IntoQueryKey<DefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.coerce_unsized_info,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.coherent_trait,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn mir_borrowck(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.mir_borrowck,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn crate_inherent_impls_validity_check(self, key: ())
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.crate_inherent_impls_validity_check,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn crate_inherent_impls_overlap_check(self, key: ())
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.crate_inherent_impls_overlap_check,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn orphan_check_impl(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.orphan_check_impl,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[doc =
    "[query description - consider adding a doc-comment!] match-checking  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn check_match(self, key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.check_match,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<DefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.specialization_graph_of,
            crate::query::IntoQueryKey::into_query_key(key))
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.check_well_formed,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn enforce_impl_non_lifetime_params_are_constrained(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.enforce_impl_non_lifetime_params_are_constrained,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn resolve_instance_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, (DefId, GenericArgsRef<'tcx>)>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.resolve_instance_raw,
            crate::query::IntoQueryKey::into_query_key(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)]
    pub fn compare_impl_item(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>)
        -> Result<(), rustc_errors::ErrorGuaranteed> {
        crate::query::calls::query_ensure_result(self.tcx,
            &self.tcx.query_system.query_vtables.compare_impl_item,
            crate::query::IntoQueryKey::into_query_key(key))
    }
}
impl<'tcx> crate::query::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)) {
        let _ = self.tcx.derive_macro_expansion(key);
    }
    #[doc =
    " This exists purely for testing the interactions between delayed bugs and incremental."]
    #[inline(always)]
    pub fn trigger_delayed_bug(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.trigger_delayed_bug(key);
    }
    #[doc =
    " Collects the list of all tools registered using `#![register_tool]` or `#![register_attribute_tool]`."]
    #[inline(always)]
    pub fn registered_attr_tools(self, key: ()) {
        let _ = self.tcx.registered_attr_tools(key);
    }
    #[doc =
    " Collects the list of all tools registered using `#![register_tool]` or `#![register_lint_tool]`."]
    #[inline(always)]
    pub fn registered_lint_tools(self, key: ()) {
        let _ = self.tcx.registered_lint_tools(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] perform lints prior to AST lowering"]
    #[inline(always)]
    pub fn early_lint_checks(self, key: ()) {
        let _ = self.tcx.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)]
    pub fn env_var_os(self, key: &'tcx OsStr) {
        let _ = self.tcx.env_var_os(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the resolver outputs"]
    #[inline(always)]
    pub fn resolutions(self, key: ()) { let _ = self.tcx.resolutions(key); }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the resolver for lowering"]
    #[inline(always)]
    pub fn resolver_for_lowering_raw(self, key: ()) {
        let _ = self.tcx.resolver_for_lowering_raw(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the AST for lowering"]
    #[inline(always)]
    pub fn index_ast(self, key: ()) { let _ = self.tcx.index_ast(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)]
    pub fn source_span(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.source_span(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] lowering HIR for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn lower_to_hir(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.lower_to_hir(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting owner for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn hir_owner(self, key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.hir_owner(key);
    }
    #[doc = " All items in the crate."]
    #[inline(always)]
    pub fn hir_crate_items(self, key: ()) {
        let _ = self.tcx.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)]
    pub fn hir_module_items(self, key: LocalModId) {
        let _ = self.tcx.hir_module_items(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)]
    pub fn hir_owner_parent_q(self, key: hir::OwnerId) {
        let _ = self.tcx.hir_owner_parent_q(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)]
    pub fn hir_attr_map(self, key: hir::OwnerId) {
        let _ = self.tcx.hir_attr_map(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)]
    pub fn const_param_default(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn const_of_item(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn type_of(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.type_of(key);
    }
    #[doc = " Returns the *hidden type* of the opaque type given by `DefId`."]
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.type_of_opaque(key);
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.type_of_opaque_hir_typeck(key);
    }
    #[doc = " Returns whether the type alias given by `DefId` is checked."]
    #[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 `checked_type_aliases` 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_checked(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.type_alias_is_checked(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)]
    pub fn collect_return_position_impl_trait_in_trait_tys(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn opaque_ty_origin(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn unsizing_params_for_adt(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.unsizing_params_for_adt(key);
    }
    #[doc =
    " The root query triggering all analysis passes like typeck or borrowck."]
    #[inline(always)]
    pub fn analysis(self, key: ()) { let _ = self.tcx.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)]
    pub fn check_expectations(self, key: Option<Symbol>) {
        let _ = self.tcx.check_expectations(key);
    }
    #[doc = " Returns the *generics* of the definition given by `DefId`."]
    #[inline(always)]
    pub fn generics_of(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.generics_of(key);
    }
    #[doc =
    " Returns the (elaborated) *clauses* 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/clauses query that you want."]
    #[doc = ""]
    #[doc =
    " **Tip**: You can use `#[rustc_dump_clauses]` 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 clauses_of(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.clauses_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)]
    pub fn opaque_types_defined_by(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.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)]
    pub fn nested_bodies_within(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.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)]
    pub fn explicit_item_bounds(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn explicit_item_self_bounds(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn item_bounds(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.item_bounds(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.item_self_bounds(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn impl_super_outlives(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn native_libraries(self, key: CrateNum) {
        let _ = self.tcx.native_libraries(key);
    }
    #[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) {
        let _ = self.tcx.shallow_lint_levels_on(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing `#[expect]`ed lints in this crate"]
    #[inline(always)]
    pub fn lint_expectations(self, key: ()) {
        let _ = self.tcx.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)]
    pub fn skippable_lints(self, key: ()) {
        let _ = self.tcx.skippable_lints(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.expn_that_defined(key);
    }
    #[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) {
        let _ = self.tcx.is_panic_runtime(key);
    }
    #[doc = " Checks whether a type is representable or infinitely sized"]
    #[inline(always)]
    pub fn check_representability(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.check_representability(key);
    }
    #[doc =
    " An implementation detail for the `check_representability` query. See that query for more"]
    #[doc = " details, particularly on the modifiers."]
    #[inline(always)]
    pub fn check_representability_adt_ty(self, key: Ty<'tcx>) {
        let _ = self.tcx.check_representability_adt_ty(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn thir_body(self, key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.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)]
    pub fn mir_keys(self, key: ()) { let _ = self.tcx.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)]
    pub fn mir_const_qualif(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn mir_built(self, key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.mir_built(key);
    }
    #[doc = " Try to build an abstract representation of the given constant."]
    #[inline(always)]
    pub fn thir_abstract_const(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.thir_abstract_const(key);
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.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)]
    pub fn mir_for_ctfe(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.mir_for_ctfe(key);
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.mir_promoted(key);
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.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)]
    pub fn closure_saved_names_of_captured_variables(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn mir_coroutine_witnesses(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn check_coroutine_obligations(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.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)]
    pub fn check_potentially_region_dependent_goals(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.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)]
    pub fn optimized_mir(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.optimized_mir(key);
    }
    #[doc =
    " Returns `true` if this def is a function-like thing that is eligible for"]
    #[doc = " coverage instrumentation under `-Cinstrument-coverage`."]
    #[doc = ""]
    #[doc =
    " (Eligible functions might nevertheless be skipped for other reasons.)"]
    #[inline(always)]
    pub fn is_eligible_for_coverage(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.is_eligible_for_coverage(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)]
    pub fn coverage_attr_on(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.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 = " Returns `None` for functions that were not instrumented."]
    #[inline(always)]
    pub fn coverage_codegen_info(self, key: ty::InstanceKind<'tcx>) {
        let _ = self.tcx.coverage_codegen_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)]
    pub fn promoted_mir(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn erase_and_anonymize_regions_ty(self, key: Ty<'tcx>) {
        let _ = self.tcx.erase_and_anonymize_regions_ty(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting wasm import module map"]
    #[inline(always)]
    pub fn wasm_import_module_map(self, key: CrateNum) {
        let _ = self.tcx.wasm_import_module_map(key);
    }
    #[doc =
    " Returns the explicitly user-written *clauses and bounds* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc = " Traits are unusual, because clauses 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_clauses_of`] and [`Self::explicit_item_bounds`] will"]
    #[doc = " then take the appropriate subsets of the clauses here."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc = " This query will panic if the given definition is not a trait."]
    #[inline(always)]
    pub fn trait_explicit_clauses_and_bounds(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.trait_explicit_clauses_and_bounds(key);
    }
    #[doc =
    " Returns the explicitly user-written *clauses* 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 [`TyCtxt::clauses_of`] unless you\'re looking for"]
    #[doc = " clauses with explicit spans for diagnostics purposes."]
    #[inline(always)]
    pub fn explicit_clauses_of(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.explicit_clauses_of(key);
    }
    #[doc =
    " Returns the *inferred outlives-clauses* 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_dump_inferred_outlives]` on an item to basically"]
    #[doc =
    " print the result of this query for use in UI tests or for debugging purposes."]
    #[inline(always)]
    pub fn inferred_outlives_of(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.inferred_outlives_of(key);
    }
    #[doc =
    " Returns the explicitly user-written *super-clauses* of the trait given by `DefId`."]
    #[doc = ""]
    #[doc =
    " These clauses are unelaborated and consequently don\'t contain transitive super-clauses."]
    #[doc = ""]
    #[doc =
    " This is a subset of the full list of clauses. We store these in a separate map"]
    #[doc =
    " because we must evaluate them even during type conversion, often before the full"]
    #[doc =
    " clauses are available (note that super-clauses must not be cyclic)."]
    #[inline(always)]
    pub fn explicit_super_clauses_of(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.explicit_super_clauses_of(key);
    }
    #[doc = " The clauses of the trait that are implied during elaboration."]
    #[doc = ""]
    #[doc =
    " This is a superset of the super-clauses of the trait, but a subset of the clauses"]
    #[doc =
    " of the trait. For regular traits, this includes all super-clauses and their"]
    #[doc =
    " associated type bounds. For trait aliases, currently, this includes all of the"]
    #[doc = " clauses of the trait alias."]
    #[inline(always)]
    pub fn explicit_implied_clauses_of(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.explicit_implied_clauses_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)]
    pub fn explicit_supertraits_containing_assoc_item(self,
        key: (DefId, rustc_span::Ident)) {
        let _ = self.tcx.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 `clauses_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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn explicit_implied_const_bounds(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.explicit_implied_const_bounds(key);
    }
    #[doc = " To avoid cycles within the clauses of a single item we compute"]
    #[doc = " per-type-parameter clauses for resolving `T::AssocTy`."]
    #[inline(always)]
    pub fn type_param_clauses(self,
        key: (LocalDefId, LocalDefId, rustc_span::Ident)) {
        let _ = self.tcx.type_param_clauses(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.trait_def(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.adt_def(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.adt_destructor(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn adt_sizedness_constraint(self, key: (DefId, SizedTraitKind)) {
        let _ = self.tcx.adt_sizedness_constraint(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn constness(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.constness(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn is_promotable_const_fn(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn coroutine_by_move_body_def_id(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn coroutine_kind(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn coroutine_for_closure(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn coroutine_hidden_types(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn crate_variances(self, key: ()) {
        let _ = self.tcx.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_dump_variances]` 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 variances_of(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.variances_of(key);
    }
    #[doc =
    " Gets a map with the inferred outlives-clauses 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: ()) {
        let _ = self.tcx.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)]
    pub fn associated_item_def_ids(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.associated_item_def_ids(key);
    }
    #[doc =
    " Maps from a trait/impl item to the trait/impl item \"descriptor\"."]
    #[inline(always)]
    pub fn associated_item(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.associated_item(key);
    }
    #[doc = " Collects the associated items defined on a trait or impl."]
    #[inline(always)]
    pub fn associated_items(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn impl_item_implementor_ids(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn associated_types_for_impl_traits_in_trait_or_impl(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ =
            self.tcx.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)]
    pub fn impl_trait_header(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.impl_trait_header(key);
    }
    #[doc =
    " Whether all generic parameters of the type are unique unconstrained generic parameters"]
    #[doc =
    " of the impl. `Bar<\'static>` or `Foo<\'a, \'a>` or outlives bounds on the lifetimes cause"]
    #[doc = " this boolean to be false and `try_as_dyn` to return `None`."]
    #[inline(always)]
    pub fn impl_is_fully_generic_for_reflection(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.impl_is_fully_generic_for_reflection(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)]
    pub fn impl_self_is_guaranteed_unsized(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn inherent_impls(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.inherent_impls(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collecting all inherent impls for `{:?}`"]
    #[inline(always)]
    pub fn incoherent_impls(self, key: SimplifiedType) {
        let _ = self.tcx.incoherent_impls(key);
    }
    #[doc = " Unsafety-check this `LocalDefId`."]
    #[inline(always)]
    pub fn check_transmutes(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.check_transmutes(key);
    }
    #[doc = " Type-check offloads calls given a typeck root"]
    #[inline(always)]
    pub fn check_offloads(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.check_offloads(key);
    }
    #[doc = " Unsafety-check this `LocalDefId`."]
    #[inline(always)]
    pub fn check_unsafety(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.check_unsafety(key);
    }
    #[doc = " Checks well-formedness of tail calls (`become f()`)."]
    #[inline(always)]
    pub fn check_tail_calls(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.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)]
    pub fn assumed_wf_types(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.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)]
    pub fn assumed_wf_types_for_rpitit(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.assumed_wf_types_for_rpitit(key);
    }
    #[doc = " Computes the signature of the function."]
    #[inline(always)]
    pub fn fn_sig(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.fn_sig(key);
    }
    #[doc = " Performs lint checking for the module."]
    #[inline(always)]
    pub fn lint_mod(self, key: LocalModId) { let _ = self.tcx.lint_mod(key); }
    #[doc =
    "[query description - consider adding a doc-comment!] checking unused trait imports in crate"]
    #[inline(always)]
    pub fn check_unused_traits(self, key: ()) {
        let _ = self.tcx.check_unused_traits(key);
    }
    #[doc = " Checks the attributes in the module."]
    #[inline(always)]
    pub fn check_mod_attrs(self, key: LocalModId) {
        let _ = self.tcx.check_mod_attrs(key);
    }
    #[doc = " Checks for uses of unstable APIs in the module."]
    #[inline(always)]
    pub fn check_mod_unstable_api_usage(self, key: LocalModId) {
        let _ = self.tcx.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)]
    pub fn check_mod_privacy(self, key: LocalModId) {
        let _ = self.tcx.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)]
    pub fn check_liveness(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.check_liveness(key);
    }
    #[doc = " Return dead-code liveness summary for the crate."]
    #[inline(always)]
    pub fn live_symbols_and_ignored_derived_traits(self, key: ()) {
        let _ = self.tcx.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)]
    pub fn check_mod_deathness(self, key: LocalModId) {
        let _ = self.tcx.check_mod_deathness(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking that types are well-formed"]
    #[inline(always)]
    pub fn check_type_wf(self, key: ()) {
        let _ = self.tcx.check_type_wf(key);
    }
    #[doc = " Caches `CoerceUnsized` kinds for impls on custom types."]
    #[inline(always)]
    pub fn coerce_unsized_info(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.coerce_unsized_info(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] type-checking  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn typeck_root(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.typeck_root(key);
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.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)]
    pub fn coherent_trait(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn mir_borrowck(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.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)]
    pub fn crate_inherent_impls(self, key: ()) {
        let _ = self.tcx.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)]
    pub fn crate_inherent_impls_validity_check(self, key: ()) {
        let _ = self.tcx.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)]
    pub fn crate_inherent_impls_overlap_check(self, key: ()) {
        let _ = self.tcx.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)]
    pub fn orphan_check_impl(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.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)]
    pub fn mir_callgraph_cyclic(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.mir_callgraph_cyclic(key);
    }
    #[doc = " Obtain all the calls into other local functions"]
    #[inline(always)]
    pub fn mir_inliner_callees(self, key: ty::InstanceKind<'tcx>) {
        let _ = self.tcx.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)]
    pub fn tag_for_variant(self,
        key: PseudoCanonicalInput<'tcx, (Ty<'tcx>, abi::VariantIdx)>) {
        let _ = self.tcx.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)]
    pub fn eval_to_allocation_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>) {
        let _ = self.tcx.eval_to_allocation_raw(key);
    }
    #[doc =
    " Evaluate a static\'s initializer, returning the allocation of the initializer\'s memory."]
    #[inline(always)]
    pub fn eval_static_initializer(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn eval_to_const_value_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>) {
        let _ = self.tcx.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)]
    pub fn eval_to_valtree(self,
        key: ty::PseudoCanonicalInput<'tcx, GlobalId<'tcx>>) {
        let _ = self.tcx.eval_to_valtree(key);
    }
    #[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>) {
        let _ = self.tcx.valtree_to_const_val(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] converting literal to const"]
    #[inline(always)]
    pub fn lit_to_const(self, key: LitToConstInput<'tcx>) {
        let _ = self.tcx.lit_to_const(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] match-checking  `tcx.def_path_str(key)` "]
    #[inline(always)]
    pub fn check_match(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.check_match(key);
    }
    #[doc =
    " Performs part of the privacy check and computes effective visibilities."]
    #[inline(always)]
    pub fn effective_visibilities(self, key: ()) {
        let _ = self.tcx.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)]
    pub fn check_private_in_public(self, key: LocalModId) {
        let _ = self.tcx.check_private_in_public(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] reachability"]
    #[inline(always)]
    pub fn reachable_set(self, key: ()) {
        let _ = self.tcx.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)]
    pub fn region_scope_tree(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.region_scope_tree(key);
    }
    #[doc = " Generates a MIR body for the shim."]
    #[inline(always)]
    pub fn mir_shims(self, key: ty::ShimKind<'tcx>) {
        let _ = self.tcx.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)]
    pub fn symbol_name(self, key: ty::Instance<'tcx>) {
        let _ = self.tcx.symbol_name(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.def_kind(key);
    }
    #[doc = " Gets the span for the definition."]
    #[inline(always)]
    pub fn def_span(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.def_span(key);
    }
    #[doc = " Gets the span for the identifier of the definition."]
    #[inline(always)]
    pub fn def_ident_span(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn ty_span(self, key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.ty_span(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.lookup_stability(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn lookup_default_body_stability(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn should_inherit_track_caller(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn inherited_align(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.inherited_align(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.lookup_deprecation_entry(key);
    }
    #[doc = " Determines whether an item is annotated with `#[doc(hidden)]`."]
    #[inline(always)]
    pub fn is_doc_hidden(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.is_doc_hidden(key);
    }
    #[doc =
    " Determines whether an item is annotated with `#[doc(notable_trait)]`."]
    #[inline(always)]
    pub fn is_doc_notable_trait(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.is_doc_notable_trait(key);
    }
    #[doc = " Returns the attributes on the item at `def_id`."]
    #[doc = ""]
    #[doc = " <div class=\"warning\">"]
    #[doc = ""]
    #[doc =
    " Do not use this directly, use [`rustc_attr_ir::find_attr`] instead."]
    #[doc = ""]
    #[doc = " </div>"]
    #[inline(always)]
    pub fn attrs_for_def(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn codegen_fn_attrs(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn asm_target_features(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn fn_arg_idents(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.fn_arg_idents(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.rendered_const(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn impl_parent(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.impl_parent(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn own_existential_vtable_entries(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn vtable_entries(self, key: ty::TraitRef<'tcx>) {
        let _ = self.tcx.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)]
    pub fn first_method_vtable_slot(self, key: ty::TraitRef<'tcx>) {
        let _ = self.tcx.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)]
    pub fn supertrait_vtable_slot(self, key: (Ty<'tcx>, Ty<'tcx>)) {
        let _ = self.tcx.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)]
    pub fn vtable_allocation(self,
        key: (Ty<'tcx>, Option<ty::ExistentialTraitRef<'tcx>>)) {
        let _ = self.tcx.vtable_allocation(key);
    }
    #[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>>) {
        let _ = self.tcx.codegen_select_candidate(key);
    }
    #[doc = " Return all `impl` blocks in the current crate."]
    #[inline(always)]
    pub fn all_local_trait_impls(self, key: ()) {
        let _ = self.tcx.all_local_trait_impls(key);
    }
    #[doc =
    " Return all `impl` blocks of the given trait in the current crate."]
    #[inline(always)]
    pub fn local_trait_impls(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.local_trait_impls(key);
    }
    #[doc = " Given a trait `trait_id`, return all known `impl` blocks."]
    #[inline(always)]
    pub fn trait_impls_of(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn specialization_graph_of(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn dyn_compatibility_violations(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn is_dyn_compatible(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn param_env(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn param_env_normalized_for_post_analysis(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.param_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)]
    pub fn is_copy_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        let _ = self.tcx.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)]
    pub fn is_use_cloned_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        let _ = self.tcx.is_use_cloned_raw(key);
    }
    #[doc = " Query backing `Ty::is_sized`."]
    #[inline(always)]
    pub fn is_sized_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        let _ = self.tcx.is_sized_raw(key);
    }
    #[doc = " Query backing `Ty::is_freeze`."]
    #[inline(always)]
    pub fn is_freeze_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        let _ = self.tcx.is_freeze_raw(key);
    }
    #[doc = " Query backing `Ty::is_unsafe_unpin`."]
    #[inline(always)]
    pub fn is_unsafe_unpin_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        let _ = self.tcx.is_unsafe_unpin_raw(key);
    }
    #[doc = " Query backing `Ty::is_unpin`."]
    #[inline(always)]
    pub fn is_unpin_raw(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        let _ = self.tcx.is_unpin_raw(key);
    }
    #[doc = " Query backing `Ty::is_async_drop`."]
    #[inline(always)]
    pub fn is_async_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        let _ = self.tcx.is_async_drop_raw(key);
    }
    #[doc = " Query backing `Ty::needs_drop`."]
    #[inline(always)]
    pub fn needs_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        let _ = self.tcx.needs_drop_raw(key);
    }
    #[doc = " Query backing `Ty::needs_async_drop`."]
    #[inline(always)]
    pub fn needs_async_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        let _ = self.tcx.needs_async_drop_raw(key);
    }
    #[doc = " Query backing `Ty::has_significant_drop_raw`."]
    #[inline(always)]
    pub fn has_significant_drop_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        let _ = self.tcx.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)]
    pub fn has_structural_eq_impl(self, key: Ty<'tcx>) {
        let _ = self.tcx.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)]
    pub fn adt_drop_tys(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn adt_async_drop_tys(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn adt_significant_drop_tys(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn list_significant_drop_tys(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        let _ = self.tcx.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)]
    pub fn layout_of(self, key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        let _ = self.tcx.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)]
    pub fn fn_abi_of_fn_ptr(self,
        key:
            ty::PseudoCanonicalInput<'tcx,
            (ty::PolyFnSig<'tcx>, &'tcx ty::List<Ty<'tcx>>)>) {
        let _ = self.tcx.fn_abi_of_fn_ptr(key);
    }
    #[doc =
    " Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for direct calls*"]
    #[doc =
    " to an `fn`. Indirectly-passed parameters in the returned ABI might not include all possible"]
    #[doc =
    " codegen optimization attributes (such as `ReadOnly` or `CapturesNone`), as deducing these"]
    #[doc =
    " requires inspection of function bodies that can lead to cycles when performed during typeck."]
    #[doc =
    " Post typeck, you should prefer the optimized ABI returned by `TyCtxt::fn_abi_of_instance`."]
    #[doc = ""]
    #[doc =
    " NB: the ABI returned by this query must not differ from that returned by"]
    #[doc = "     `fn_abi_of_instance_raw` in any other way."]
    #[doc = ""]
    #[doc =
    " * that includes virtual calls, which are represented by \"direct calls\" to an"]
    #[doc =
    "   `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`)."]
    #[inline(always)]
    pub fn fn_abi_of_instance_no_deduced_attrs(self,
        key:
            ty::PseudoCanonicalInput<'tcx,
            (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)>) {
        let _ = self.tcx.fn_abi_of_instance_no_deduced_attrs(key);
    }
    #[doc =
    " Compute a `FnAbi` suitable for declaring/defining an `fn` instance, and for direct calls*"]
    #[doc =
    " to an `fn`. Indirectly-passed parameters in the returned ABI will include applicable"]
    #[doc =
    " codegen optimization attributes, including `ReadOnly` and `CapturesNone` -- deduction of"]
    #[doc =
    " which requires inspection of function bodies that can lead to cycles when performed during"]
    #[doc =
    " typeck. During typeck, you should therefore use instead the unoptimized ABI returned by"]
    #[doc = " `fn_abi_of_instance_no_deduced_attrs`."]
    #[doc = ""]
    #[doc =
    " For performance reasons, you should prefer to call the inherent `TyCtxt::fn_abi_of_instance`"]
    #[doc =
    " method rather than invoke this query: it delegates to this query if necessary, but where"]
    #[doc =
    " possible delegates instead to the `fn_abi_of_instance_no_deduced_attrs` query (thus avoiding"]
    #[doc = " unnecessary query system overhead)."]
    #[doc = ""]
    #[doc =
    " * that includes virtual calls, which are represented by \"direct calls\" to an"]
    #[doc =
    "   `InstanceKind::Virtual` instance (of `<dyn Trait as Trait>::fn`)."]
    #[inline(always)]
    pub fn fn_abi_of_instance_raw(self,
        key:
            ty::PseudoCanonicalInput<'tcx,
            (ty::Instance<'tcx>, &'tcx ty::List<Ty<'tcx>>)>) {
        let _ = self.tcx.fn_abi_of_instance_raw(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting dylib dependency formats of crate"]
    #[inline(always)]
    pub fn dylib_dependency_formats(self, key: CrateNum) {
        let _ = self.tcx.dylib_dependency_formats(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the linkage format of all dependencies"]
    #[inline(always)]
    pub fn dependency_formats(self, key: ()) {
        let _ = self.tcx.dependency_formats(key);
    }
    #[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) {
        let _ = self.tcx.is_compiler_builtins(key);
    }
    #[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) {
        let _ = self.tcx.has_global_allocator(key);
    }
    #[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) {
        let _ = self.tcx.has_alloc_error_handler(key);
    }
    #[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) {
        let _ = self.tcx.has_panic_handler(key);
    }
    #[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) {
        let _ = self.tcx.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)]
    pub fn has_ffi_unwind_calls(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.has_ffi_unwind_calls(key);
    }
    #[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) {
        let _ = self.tcx.required_panic_strategy(key);
    }
    #[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) {
        let _ = self.tcx.panic_in_drop_strategy(key);
    }
    #[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) {
        let _ = self.tcx.is_no_builtins(key);
    }
    #[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) {
        let _ = self.tcx.symbol_mangling_version(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting crate's ExternCrateData"]
    #[inline(always)]
    pub fn extern_crate(self, key: CrateNum) {
        let _ = self.tcx.extern_crate(key);
    }
    #[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) {
        let _ = self.tcx.specialization_enabled_in(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing whether impls specialize one another"]
    #[inline(always)]
    pub fn specializes(self, key: (DefId, DefId)) {
        let _ = self.tcx.specializes(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)]
    pub fn defaultness(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.defaultness(key);
    }
    #[doc =
    " Returns whether the field corresponding to the `DefId` has a default field value."]
    #[inline(always)]
    pub fn default_field(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.default_field(key);
    }
    #[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 crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.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)]
    pub fn enforce_impl_non_lifetime_params_are_constrained(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ =
            self.tcx.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)]
    pub fn reachable_non_generics(self, key: CrateNum) {
        let _ = self.tcx.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)]
    pub fn is_reachable_non_generic(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn is_unreachable_local_definition(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.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)]
    pub fn upstream_monomorphizations(self, key: ()) {
        let _ = self.tcx.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)]
    pub fn upstream_monomorphizations_for(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn upstream_drop_glue_for(self, key: GenericArgsRef<'tcx>) {
        let _ = self.tcx.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)]
    pub fn upstream_async_drop_glue_for(self, key: GenericArgsRef<'tcx>) {
        let _ = self.tcx.upstream_async_drop_glue_for(key);
    }
    #[doc = " Returns a list of all `extern` blocks of a crate."]
    #[inline(always)]
    pub fn foreign_modules(self, key: CrateNum) {
        let _ = self.tcx.foreign_modules(key);
    }
    #[doc =
    " Lint against `extern fn` declarations having incompatible types."]
    #[inline(always)]
    pub fn clashing_extern_declarations(self, key: ()) {
        let _ = self.tcx.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)]
    pub fn entry_fn(self, key: ()) { let _ = self.tcx.entry_fn(key); }
    #[doc = " Finds the `rustc_proc_macro_decls` item of a crate."]
    #[inline(always)]
    pub fn proc_macro_decls_static(self, key: ()) {
        let _ = self.tcx.proc_macro_decls_static(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up the hash of a crate"]
    #[inline(always)]
    pub fn crate_hash(self, key: CrateNum) {
        let _ = self.tcx.crate_hash(key);
    }
    #[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) {
        let _ = self.tcx.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)]
    pub fn extra_filename(self, key: CrateNum) {
        let _ = self.tcx.extra_filename(key);
    }
    #[doc = " Gets the paths where the crate came from in the file system."]
    #[inline(always)]
    pub fn crate_extern_paths(self, key: CrateNum) {
        let _ = self.tcx.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)]
    pub fn implementations_of_trait(self, key: (CrateNum, DefId)) {
        let _ = self.tcx.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)]
    pub fn crate_incoherent_impls(self, key: (CrateNum, SimplifiedType)) {
        let _ = self.tcx.crate_incoherent_impls(key);
    }
    #[doc =
    " Get the corresponding native library from the `native_libraries` query"]
    #[inline(always)]
    pub fn native_library(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.native_library(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] inheriting delegation signature"]
    #[inline(always)]
    pub fn inherit_sig_for_delegation_item(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.inherit_sig_for_delegation_item(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting delegation user-specified args"]
    #[inline(always)]
    pub fn delegation_user_specified_args(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.delegation_user_specified_args(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)]
    pub fn resolve_bound_vars(self, key: hir::OwnerId) {
        let _ = self.tcx.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)]
    pub fn named_variable_map(self, key: hir::OwnerId) {
        let _ = self.tcx.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)]
    pub fn is_late_bound_map(self, key: hir::OwnerId) {
        let _ = self.tcx.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_dump_object_lifetime_defaults]` 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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn late_bound_vars_map(self, key: hir::OwnerId) {
        let _ = self.tcx.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)]
    pub fn opaque_captured_lifetimes(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.opaque_captured_lifetimes(key);
    }
    #[doc =
    " For an opaque type or trait associated type, return the list of potentially live"]
    #[doc =
    " (identity) generic args from the set of outlives bounds on that alias. Callers should"]
    #[doc =
    " instantiate the returned args with the concrete args of the alias."]
    #[doc = " ```ignore (illustrative)"]
    #[doc = " // Edition 2024: all args are captured"]
    #[doc =
    " fn foo<\'a, \'b, T: \'static>(&\'a &\'b T) -> impl Sized + \'a {}"]
    #[doc =
    " fn bar<\'a, \'b, T: \'static>(&\'a &\'b T) -> impl Sized + \'static {}"]
    #[doc = " fn baz<\'a, \'b, T: \'static>(&\'a &\'b T) -> impl Sized {}"]
    #[doc = " ```"]
    #[doc = ""]
    #[doc = " In the above:"]
    #[doc =
    "   - `foo` outlives `\'a`, but we know that `\'b: \'a` holds, so `\'b` is *also* potentially live"]
    #[doc = "     (and so is `T`, since `T: \'static` implies `T: \'a`)"]
    #[doc =
    "   - `bar` outlives `\'static`, so we know that no args are potentially live and we can return an empty set"]
    #[doc =
    "   - `baz` has no outlives bound, so return `None` and let the caller decide what to do"]
    #[inline(always)]
    pub fn live_args_for_alias_from_outlives_bounds(self,
        key: ty::AliasTyKind<'tcx>) {
        let _ = self.tcx.live_args_for_alias_from_outlives_bounds(key);
    }
    #[doc =
    " For each region param of an alias, the identity args that are known to"]
    #[doc =
    " outlive it given only the alias\'s declared where-clauses. Used for liveness:"]
    #[doc =
    " these are the only args whose regions the underlying type of the alias"]
    #[doc =
    " could capture while satisfying an outlives bound on that param."]
    #[inline(always)]
    pub fn args_known_to_outlive_alias_params(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.args_known_to_outlive_alias_params(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)]
    pub fn visibility(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.visibility(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing the uninhabited predicate of `{:?}`"]
    #[inline(always)]
    pub fn inhabited_predicate_adt(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.inhabited_predicate_adt(key);
    }
    #[doc =
    " Do not call this query directly: invoke `Ty::inhabited_predicate` instead."]
    #[inline(always)]
    pub fn inhabited_predicate_type(self, key: Ty<'tcx>) {
        let _ = self.tcx.inhabited_predicate_type(key);
    }
    #[doc =
    " Do not call this query directly: invoke `Ty::is_opsem_inhabited` instead."]
    #[inline(always)]
    pub fn is_opsem_inhabited_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, Ty<'tcx>>) {
        let _ = self.tcx.is_opsem_inhabited_raw(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching what a dependency looks like"]
    #[inline(always)]
    pub fn crate_dep_kind(self, key: CrateNum) {
        let _ = self.tcx.crate_dep_kind(key);
    }
    #[doc = " Gets the name of the crate."]
    #[inline(always)]
    pub fn crate_name(self, key: CrateNum) {
        let _ = self.tcx.crate_name(key);
    }
    #[doc = " Iterates over all named children of the given module,"]
    #[doc = " including both proper items and reexports."]
    #[doc =
    " Module here is understood in name resolution sense - it can be a `mod` item,"]
    #[doc = " or a crate root, or an enum, or a trait."]
    #[doc = ""]
    #[doc = " # Panics"]
    #[doc = ""]
    #[doc = " May panic if the provided `id` does not refer to a module."]
    #[inline(always)]
    pub fn module_children(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn num_extern_def_ids(self, key: CrateNum) {
        let _ = self.tcx.num_extern_def_ids(key);
    }
    #[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) {
        let _ = self.tcx.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)]
    pub fn stability_implications(self, key: CrateNum) {
        let _ = self.tcx.stability_implications(key);
    }
    #[doc = " Whether the function is an intrinsic"]
    #[inline(always)]
    pub fn intrinsic_raw(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.intrinsic_raw(key);
    }
    #[doc =
    " Returns the lang items defined in all crates by loading them from metadata of dependencies"]
    #[doc = " and collecting the ones from the current crate."]
    #[inline(always)]
    pub fn get_lang_items(self, key: ()) {
        let _ = self.tcx.get_lang_items(key);
    }
    #[doc = " Returns all diagnostic items defined in all crates."]
    #[inline(always)]
    pub fn all_diagnostic_items(self, key: ()) {
        let _ = self.tcx.all_diagnostic_items(key);
    }
    #[doc = " Returns all the canonical symbols defined in all crates."]
    #[inline(always)]
    pub fn all_canonical_symbols(self, key: ()) {
        let _ = self.tcx.all_canonical_symbols(key);
    }
    #[doc =
    " Returns the lang items defined in another crate by loading it from metadata."]
    #[inline(always)]
    pub fn defined_lang_items(self, key: CrateNum) {
        let _ = self.tcx.defined_lang_items(key);
    }
    #[doc = " Returns the diagnostic items defined in a crate."]
    #[inline(always)]
    pub fn diagnostic_items(self, key: CrateNum) {
        let _ = self.tcx.diagnostic_items(key);
    }
    #[doc = " Returns the canonical symbols defined in a crate."]
    #[inline(always)]
    pub fn canonical_symbols(self, key: CrateNum) {
        let _ = self.tcx.canonical_symbols(key);
    }
    #[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) {
        let _ = self.tcx.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)]
    pub fn visible_parent_map(self, key: ()) {
        let _ = self.tcx.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)]
    pub fn trimmed_def_paths(self, key: ()) {
        let _ = self.tcx.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)]
    pub fn missing_extern_crate_item(self, key: CrateNum) {
        let _ = self.tcx.missing_extern_crate_item(key);
    }
    #[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) {
        let _ = self.tcx.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)]
    pub fn debugger_visualizers(self, key: CrateNum) {
        let _ = self.tcx.debugger_visualizers(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] generating a postorder list of CrateNums"]
    #[inline(always)]
    pub fn postorder_cnums(self, key: ()) {
        let _ = self.tcx.postorder_cnums(key);
    }
    #[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) {
        let _ = self.tcx.is_private_dep(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting the allocator kind for the current crate"]
    #[inline(always)]
    pub fn allocator_kind(self, key: ()) {
        let _ = self.tcx.allocator_kind(key);
    }
    #[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: ()) {
        let _ = self.tcx.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)]
    pub fn upvars_mentioned(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn crates(self, key: ()) { let _ = self.tcx.crates(key); }
    #[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: ()) { let _ = self.tcx.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)]
    pub fn duplicate_crate_names(self, key: CrateNum) {
        let _ = self.tcx.duplicate_crate_names(key);
    }
    #[doc =
    " A list of all traits in a crate, used by rustdoc and error reporting."]
    #[inline(always)]
    pub fn traits(self, key: CrateNum) { let _ = self.tcx.traits(key); }
    #[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) {
        let _ = self.tcx.trait_impls_in_crate(key);
    }
    #[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) {
        let _ = self.tcx.stable_order_of_exportable_impls(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] fetching all exportable items in a crate"]
    #[inline(always)]
    pub fn exportable_items(self, key: CrateNum) {
        let _ = self.tcx.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)]
    pub fn exported_non_generic_symbols(self, key: CrateNum) {
        let _ = self.tcx.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)]
    pub fn exported_generic_symbols(self, key: CrateNum) {
        let _ = self.tcx.exported_generic_symbols(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] collect_and_partition_mono_items"]
    #[inline(always)]
    pub fn collect_and_partition_mono_items(self, key: ()) {
        let _ = self.tcx.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)]
    pub fn is_codegened_item(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.is_codegened_item(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] getting codegen unit `{sym}`"]
    #[inline(always)]
    pub fn codegen_unit(self, key: Symbol) {
        let _ = self.tcx.codegen_unit(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] optimization level used by backend"]
    #[inline(always)]
    pub fn backend_optimization_level(self, key: ()) {
        let _ = self.tcx.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)]
    pub fn output_filenames(self, key: ()) {
        let _ = self.tcx.output_filenames(key);
    }
    #[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>) {
        let _ = self.tcx.normalize_canonicalized_projection(key);
    }
    #[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>) {
        let _ = self.tcx.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)]
    pub fn normalize_canonicalized_inherent_projection(self,
        key: CanonicalAliasGoal<'tcx>) {
        let _ = self.tcx.normalize_canonicalized_inherent_projection(key);
    }
    #[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>>) {
        let _ = self.tcx.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)]
    pub fn implied_outlives_bounds(self,
        key: (CanonicalImpliedOutlivesBoundsGoal<'tcx>, bool)) {
        let _ = self.tcx.implied_outlives_bounds(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] computing implied outlives bounds for borrowck for  `tcx.def_path_str(mir_def)` "]
    #[inline(always)]
    pub fn mir_borrowck_implied_outlives_bounds(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.mir_borrowck_implied_outlives_bounds(key);
    }
    #[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>) {
        let _ = self.tcx.dropck_outlives(key);
    }
    #[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>) {
        let _ = self.tcx.evaluate_obligation(key);
    }
    #[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>) {
        let _ = self.tcx.type_op_ascribe_user_type(key);
    }
    #[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>) {
        let _ = self.tcx.type_op_prove_predicate(key);
    }
    #[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>>) {
        let _ = self.tcx.type_op_normalize_ty(key);
    }
    #[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>>) {
        let _ = self.tcx.type_op_normalize_clause(key);
    }
    #[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>>) {
        let _ = self.tcx.type_op_normalize_poly_fn_sig(key);
    }
    #[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>>) {
        let _ = self.tcx.type_op_normalize_fn_sig(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] checking impossible instantiated clauses:  `tcx.def_path_str(key.0)` "]
    #[inline(always)]
    pub fn instantiate_and_check_impossible_clauses(self,
        key: (DefId, GenericArgsRef<'tcx>)) {
        let _ = self.tcx.instantiate_and_check_impossible_clauses(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)]
    pub fn is_impossible_associated_item(self, key: (DefId, DefId)) {
        let _ = self.tcx.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)]
    pub fn method_autoderef_steps(self,
        key: CanonicalMethodAutoderefStepsGoal<'tcx>) {
        let _ = self.tcx.method_autoderef_steps(key);
    }
    #[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>, usize)) {
        let _ = self.tcx.evaluate_root_goal_for_proof_tree_raw(key);
    }
    #[doc =
    " Returns a list of all Rust target features for the current target (not just the ones that"]
    #[doc =
    " are enabled). These are not always the same as LLVM target features!"]
    #[inline(always)]
    pub fn all_rust_target_features(self, key: CrateNum) {
        let _ = self.tcx.all_rust_target_features(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up implied target features"]
    #[inline(always)]
    pub fn implied_target_features(self, key: Symbol) {
        let _ = self.tcx.implied_target_features(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up enabled feature gates"]
    #[inline(always)]
    pub fn features_query(self, key: ()) {
        let _ = self.tcx.features_query(key);
    }
    #[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: ()) {
        let _ = self.tcx.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)]
    pub fn resolve_instance_raw(self,
        key: ty::PseudoCanonicalInput<'tcx, (DefId, GenericArgsRef<'tcx>)>) {
        let _ = self.tcx.resolve_instance_raw(key);
    }
    #[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>) {
        let _ = self.tcx.reveal_opaque_types_in_bounds(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] looking up limits"]
    #[inline(always)]
    pub fn limits(self, key: ()) { let _ = self.tcx.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)]
    pub fn diagnostic_hir_wf_check(self,
        key: (ty::Predicate<'tcx>, WellFormedLoc)) {
        let _ = self.tcx.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)]
    pub fn global_backend_features(self, key: ()) {
        let _ = self.tcx.global_backend_features(key);
    }
    #[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>>)) {
        let _ = self.tcx.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)]
    pub fn compare_impl_item(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.compare_impl_item(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.deduced_param_attrs(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] resolutions for documentation links for a module"]
    #[inline(always)]
    pub fn doc_link_resolutions(self, key: ModId) {
        let _ = self.tcx.doc_link_resolutions(key);
    }
    #[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: ModId) {
        let _ = self.tcx.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)]
    pub fn stripped_cfg_items(self, key: CrateNum) {
        let _ = self.tcx.stripped_cfg_items(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.generics_require_sized_self(key);
    }
    #[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 crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn check_mono_item(self, key: ty::Instance<'tcx>) {
        let _ = self.tcx.check_mono_item(key);
    }
    #[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)) {
        let _ = self.tcx.items_of_instance(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] estimating codegen size of  `key` "]
    #[inline(always)]
    pub fn size_estimate(self, key: ty::Instance<'tcx>) {
        let _ = self.tcx.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)]
    pub fn anon_const_kind(self,
        key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn trivial_const(self, key: impl crate::query::IntoQueryKey<DefId>) {
        let _ = self.tcx.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)]
    pub fn sanitizer_settings_for(self,
        key: impl crate::query::IntoQueryKey<LocalDefId>) {
        let _ = self.tcx.sanitizer_settings_for(key);
    }
    #[doc =
    "[query description - consider adding a doc-comment!] check externally implementable items"]
    #[inline(always)]
    pub fn check_externally_implementable_items(self, key: ()) {
        let _ = self.tcx.check_externally_implementable_items(key);
    }
    #[doc = " Returns a list of all `externally implementable items` crate."]
    #[inline(always)]
    pub fn externally_implementable_items(self, key: CrateNum) {
        let _ = self.tcx.externally_implementable_items(key);
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<hir_owner::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[doc =
    "[query description - consider adding a doc-comment!] getting owner for  `tcx.def_path_str(def_id)` "]
    #[inline(always)]
    pub fn hir_owner(self, value: hir_owner::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.hir_owner,
            self.key().into_query_key(),
            hir_owner::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<hir_attr_map::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[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, value: hir_attr_map::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.hir_attr_map,
            self.key().into_query_key(),
            hir_attr_map::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<type_of::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[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, value: type_of::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.type_of,
            self.key().into_query_key(),
            type_of::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<generics_of::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[doc = " Returns the *generics* of the definition given by `DefId`."]
    #[inline(always)]
    pub fn generics_of(self, value: generics_of::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.generics_of,
            self.key().into_query_key(),
            generics_of::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<explicit_item_bounds::Key<'tcx>> +
    Copy> TyCtxtFeed<'tcx, K> {
    #[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,
        value: explicit_item_bounds::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.explicit_item_bounds,
            self.key().into_query_key(),
            explicit_item_bounds::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx,
    K: crate::query::IntoQueryKey<explicit_item_self_bounds::Key<'tcx>> +
    Copy> TyCtxtFeed<'tcx, K> {
    #[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,
        value: explicit_item_self_bounds::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.explicit_item_self_bounds,
            self.key().into_query_key(),
            explicit_item_self_bounds::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<mir_built::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[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, value: mir_built::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.mir_built,
            self.key().into_query_key(),
            mir_built::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<coverage_attr_on::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[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,
        value: coverage_attr_on::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.coverage_attr_on,
            self.key().into_query_key(),
            coverage_attr_on::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<explicit_clauses_of::Key<'tcx>> +
    Copy> TyCtxtFeed<'tcx, K> {
    #[doc =
    " Returns the explicitly user-written *clauses* 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 [`TyCtxt::clauses_of`] unless you\'re looking for"]
    #[doc = " clauses with explicit spans for diagnostics purposes."]
    #[inline(always)]
    pub fn explicit_clauses_of(self,
        value: explicit_clauses_of::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.explicit_clauses_of,
            self.key().into_query_key(),
            explicit_clauses_of::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<inferred_outlives_of::Key<'tcx>> +
    Copy> TyCtxtFeed<'tcx, K> {
    #[doc =
    " Returns the *inferred outlives-clauses* 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_dump_inferred_outlives]` on an item to basically"]
    #[doc =
    " print the result of this query for use in UI tests or for debugging purposes."]
    #[inline(always)]
    pub fn inferred_outlives_of(self,
        value: inferred_outlives_of::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.inferred_outlives_of,
            self.key().into_query_key(),
            inferred_outlives_of::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<constness::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[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, value: constness::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.constness,
            self.key().into_query_key(),
            constness::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<coroutine_kind::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[doc =
    " Returns `Some(coroutine_kind)` if the node pointed to by `def_id` is a coroutine."]
    #[inline(always)]
    pub fn coroutine_kind(self, value: coroutine_kind::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.coroutine_kind,
            self.key().into_query_key(),
            coroutine_kind::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<associated_item::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[doc =
    " Maps from a trait/impl item to the trait/impl item \"descriptor\"."]
    #[inline(always)]
    pub fn associated_item(self,
        value: associated_item::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.associated_item,
            self.key().into_query_key(),
            associated_item::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<eval_static_initializer::Key<'tcx>> +
    Copy> TyCtxtFeed<'tcx, K> {
    #[doc =
    " Evaluate a static\'s initializer, returning the allocation of the initializer\'s memory."]
    #[inline(always)]
    pub fn eval_static_initializer(self,
        value: eval_static_initializer::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.eval_static_initializer,
            self.key().into_query_key(),
            eval_static_initializer::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<def_kind::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[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, value: def_kind::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.def_kind,
            self.key().into_query_key(),
            def_kind::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<def_span::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[doc = " Gets the span for the definition."]
    #[inline(always)]
    pub fn def_span(self, value: def_span::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.def_span,
            self.key().into_query_key(),
            def_span::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<def_ident_span::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[doc = " Gets the span for the identifier of the definition."]
    #[inline(always)]
    pub fn def_ident_span(self, value: def_ident_span::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.def_ident_span,
            self.key().into_query_key(),
            def_ident_span::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<codegen_fn_attrs::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[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,
        value: codegen_fn_attrs::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.codegen_fn_attrs,
            self.key().into_query_key(),
            codegen_fn_attrs::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<param_env::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[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, value: param_env::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.param_env,
            self.key().into_query_key(),
            param_env::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<defaultness::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[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, value: defaultness::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.defaultness,
            self.key().into_query_key(),
            defaultness::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<visibility::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[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, value: visibility::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.visibility,
            self.key().into_query_key(),
            visibility::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<crate_name::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[doc = " Gets the name of the crate."]
    #[inline(always)]
    pub fn crate_name(self, value: crate_name::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.crate_name,
            self.key().into_query_key(),
            crate_name::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<output_filenames::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[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,
        value: output_filenames::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.output_filenames,
            self.key().into_query_key(),
            output_filenames::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<features_query::Key<'tcx>> + Copy>
    TyCtxtFeed<'tcx, K> {
    #[doc =
    "[query description - consider adding a doc-comment!] looking up enabled feature gates"]
    #[inline(always)]
    pub fn features_query(self, value: features_query::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.features_query,
            self.key().into_query_key(),
            features_query::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<crate_for_resolver::Key<'tcx>> +
    Copy> TyCtxtFeed<'tcx, K> {
    #[doc =
    "[query description - consider adding a doc-comment!] the ast before macro expansion and name resolution"]
    #[inline(always)]
    pub fn crate_for_resolver(self,
        value: crate_for_resolver::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.crate_for_resolver,
            self.key().into_query_key(),
            crate_for_resolver::provided_to_erased(self.tcx, value));
    }
}
impl<'tcx, K: crate::query::IntoQueryKey<sanitizer_settings_for::Key<'tcx>> +
    Copy> TyCtxtFeed<'tcx, K> {
    #[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,
        value: sanitizer_settings_for::ProvidedValue<'tcx>) {
        crate::query::calls::query_feed(self.tcx,
            &self.tcx.query_system.query_vtables.sanitizer_settings_for,
            self.key().into_query_key(),
            sanitizer_settings_for::provided_to_erased(self.tcx, value));
    }
}rustc_with_all_queries! { define_query_api! }