Struct rustc_query_impl::plumbing::QueryCtxt [−][src]
Fields
tcx: TyCtxt<'tcx>
queries: &'tcx Queries<'tcx>
Implementations
pub(crate) fn encode_query_results<'a>(
self,
encoder: &mut CacheEncoder<'a, 'tcx, FileEncoder>,
query_result_index: &mut Vec<(SerializedDepNodeIndex, AbsoluteBytePos)>
) -> FileEncodeResult
pub fn try_print_query_stack(
self,
query: Option<QueryJobId<DepKind>>,
handler: &Handler,
num_frames: Option<usize>
) -> usize
Trait Implementations
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = trigger_delay_span_bug<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = resolutions<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = const_param_default<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = mir_borrowck<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = mir_borrowck_const_arg<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = crate_inherent_impls<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = crate_inherent_impls_overlap_check<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = mir_callgraph_reachable<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = mir_inliner_callees<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = eval_to_allocation_raw<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = eval_to_const_value_raw<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = const_to_valtree<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = destructure_const<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = default_anon_const_substs<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = deref_const<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = const_caller_location<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = lit_to_const<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = check_match<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = privacy_access_levels<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = check_private_in_public<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = reachable_set<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = region_scope_tree<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = symbol_name<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = opt_def_kind<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = def_ident_span<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = lookup_stability<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = lookup_const_stability<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = should_inherit_track_caller<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = lookup_deprecation_entry<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = item_attrs<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = codegen_fn_attrs<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = fn_arg_names<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = rendered_const<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = impl_parent<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = trait_of_item<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_ctfe_mir_available<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_mir_available<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = own_existential_vtable_entries<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = vtable_entries<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
impl<'tcx> QueryAccessors<QueryCtxt<'tcx>> for vtable_trait_upcasting_coercion_new_vptr_slot<'tcx>
impl<'tcx> QueryAccessors<QueryCtxt<'tcx>> for vtable_trait_upcasting_coercion_new_vptr_slot<'tcx>
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = vtable_trait_upcasting_coercion_new_vptr_slot<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = vtable_allocation<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = codegen_fulfill_obligation<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = generics_of<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = all_local_trait_impls<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = trait_impls_of<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = specialization_graph_of<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = object_safety_violations<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = param_env_reveal_all_normalized<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_copy_raw<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_sized_raw<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_freeze_raw<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_unpin_raw<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = predicates_of<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = needs_drop_raw<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = has_significant_drop_raw<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = has_structural_eq_impls<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = adt_drop_tys<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = adt_significant_drop_tys<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = fn_abi_of_fn_ptr<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = fn_abi_of_instance<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = dylib_dependency_formats<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = dependency_formats<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = explicit_item_bounds<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_compiler_builtins<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = has_global_allocator<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = has_panic_handler<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_profiler_runtime<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = panic_strategy<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = panic_in_drop_strategy<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_no_builtins<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = symbol_mangling_version<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = extern_crate<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = specializes<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = item_bounds<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = in_scope_traits_map<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = module_exports<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = impl_defaultness<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = impl_constness<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = check_item_well_formed<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = check_trait_item_well_formed<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = check_impl_item_well_formed<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = reachable_non_generics<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_reachable_non_generic<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_unreachable_local_definition<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = native_libraries<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = upstream_monomorphizations<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = upstream_monomorphizations_for<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = upstream_drop_glue_for<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = foreign_modules<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = proc_macro_decls_static<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = crate_hash<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = crate_host_hash<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = extra_filename<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = crate_extern_paths<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = lint_levels<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = implementations_of_trait<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = all_trait_implementations<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_dllimport_foreign_item<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_statically_included_foreign_item<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = native_library_kind<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = resolve_lifetimes_trait_definition<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = resolve_lifetimes<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = named_region_map<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_late_bound_map<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = object_lifetime_defaults_map<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = source_span<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = parent_module_from_def_id<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = late_bound_vars_map<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = lifetime_scope_map<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = visibility<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = type_uninhabited_from<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = crate_name<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = item_children<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = extern_mod_stmt_cnum<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = get_lib_features<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = defined_lib_features<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = expn_that_defined<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = get_lang_items<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = all_diagnostic_items<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = defined_lang_items<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = diagnostic_items<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = missing_lang_items<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = visible_parent_map<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = trimmed_def_paths<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = missing_extern_crate_item<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = used_crate_source<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = postorder_cnums<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_panic_runtime<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_private_dep<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = allocator_kind<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = upvars_mentioned<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = maybe_unused_trait_import<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = maybe_unused_extern_crates<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = names_imported_by_glob_use<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = stability_index<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = all_traits<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = exported_symbols<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = collect_and_partition_mono_items<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_codegened_item<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = codegened_and_inlined_items<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = codegen_unit<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = unused_generic_params<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = backend_optimization_level<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = output_filenames<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = normalize_projection_ty<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
impl<'tcx> QueryAccessors<QueryCtxt<'tcx>> for normalize_generic_arg_after_erasing_regions<'tcx>
impl<'tcx> QueryAccessors<QueryCtxt<'tcx>> for normalize_generic_arg_after_erasing_regions<'tcx>
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = normalize_generic_arg_after_erasing_regions<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = normalize_mir_const_after_erasing_regions<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = implied_outlives_bounds<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = dropck_outlives<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = evaluate_obligation<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = evaluate_goal<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = type_op_ascribe_user_type<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = type_op_eq<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = type_op_subtype<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = type_op_prove_predicate<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = type_op_normalize_ty<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = type_op_normalize_predicate<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = type_op_normalize_poly_fn_sig<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = type_op_normalize_fn_sig<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = subst_and_check_impossible_predicates<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = method_autoderef_steps<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = supported_target_features<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = instance_def_size_estimate<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = features_query<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = resolve_instance<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = resolve_instance_of_const_arg<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = normalize_opaque_types<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = mir_const_qualif<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = conservative_is_privately_uninhabited<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = diagnostic_hir_wf_check<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = mir_const_qualif_const_arg<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = thir_abstract_const<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = thir_abstract_const_of_const_arg<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = try_unify_abstract_consts<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = mir_drops_elaborated_and_const_checked<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = mir_for_ctfe<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = mir_for_ctfe_of_const_arg<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = mir_promoted<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = symbols_for_closure_captures<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = optimized_mir<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = coverageinfo<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = hir_module_items<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = covered_file_name<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = covered_code_regions<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = promoted_mir<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = promoted_mir_of_const_arg<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = erase_regions_ty<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = wasm_import_module_map<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = predicates_defined_on<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = trait_explicit_predicates_and_bounds<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = explicit_predicates_of<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = inferred_outlives_of<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = super_predicates_of<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = super_predicates_that_define_assoc_type<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = type_param_predicates<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = adt_destructor<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = adt_sized_constraint<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = adt_dtorck_constraint<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_const_fn_raw<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = hir_owner_parent<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_promotable_const_fn<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = is_foreign_item<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = static_mutability<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = generator_kind<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = crate_variances<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = variances_of<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = inferred_outlives_crate<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = associated_item_def_ids<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = associated_item<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = associated_items<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = hir_owner_nodes<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = impl_trait_ref<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = impl_polarity<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = issue33140_self_ty<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = inherent_impls<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = unsafety_check_result<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = unsafety_check_result_for_const_arg<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = thir_check_unsafety<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = thir_check_unsafety_for_const_arg<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = unsafe_derive_on_repr_packed<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = check_mod_attrs<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = check_mod_unstable_api_usage<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = check_mod_const_bodies<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = check_mod_loops<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = check_mod_naked_functions<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = check_mod_item_types<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = check_mod_privacy<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = check_mod_intrinsics<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = check_mod_liveness<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = opt_const_param_of<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = check_mod_impl_wf<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = collect_mod_item_types<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = coerce_unsized_info<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = typeck_item_bodies<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = typeck_const_arg<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = diagnostic_only_typeck<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = used_trait_imports<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = has_typeck_results<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
const HASH_RESULT: Option<fn(_: &mut StableHashingContext<'_>, _: &Self::Value) -> Fingerprint>
type Cache = coherent_trait<'tcx>
fn query_state<'a>(tcx: QueryCtxt<'tcx>) -> &'a QueryState<DepKind, Self::Key> where
QueryCtxt<'tcx>: 'a,
fn start_query<R>(
&self,
token: QueryJobId<Self::DepKind>,
diagnostics: Option<&Lock<ThinVec<Diagnostic>>>,
compute: impl FnOnce() -> R
) -> R
fn start_query<R>(
&self,
token: QueryJobId<Self::DepKind>,
diagnostics: Option<&Lock<ThinVec<Diagnostic>>>,
compute: impl FnOnce() -> R
) -> R
Executes a job by changing the ImplicitCtxt
to point to the
new query job while it executes. It returns the diagnostics
captured during execution and the actual result.
Get the query information from the TLS context.
Load side effects associated to the node in the previous session.
Register diagnostics for the given node, for use in next session.
fn store_side_effects_for_anon_node(
&self,
dep_node_index: DepNodeIndex,
side_effects: QuerySideEffects
)
fn store_side_effects_for_anon_node(
&self,
dep_node_index: DepNodeIndex,
side_effects: QuerySideEffects
)
Register diagnostics for the given node, for use in next session.
impl<'tcx> QueryDescription<QueryCtxt<'tcx>> for vtable_trait_upcasting_coercion_new_vptr_slot<'tcx>
impl<'tcx> QueryDescription<QueryCtxt<'tcx>> for vtable_trait_upcasting_coercion_new_vptr_slot<'tcx>
impl<'tcx> QueryDescription<QueryCtxt<'tcx>> for normalize_generic_arg_after_erasing_regions<'tcx>
impl<'tcx> QueryDescription<QueryCtxt<'tcx>> for normalize_generic_arg_after_erasing_regions<'tcx>
impl<'tcx> QueryDescription<QueryCtxt<'tcx>> for normalize_mir_const_after_erasing_regions<'tcx>
impl<'tcx> QueryDescription<QueryCtxt<'tcx>> for normalize_mir_const_after_erasing_regions<'tcx>
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for QueryCtxt<'tcx>
impl<'tcx> !UnwindSafe for QueryCtxt<'tcx>
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes