pub struct QueryArenas<'tcx> {Show 53 fields
pub registered_tools: TypedArena<IndexSet<Ident, FxBuildHasher>>,
pub hir_crate: TypedArena<Crate<'tcx>>,
pub hir_crate_items: TypedArena<ModuleItems>,
pub hir_module_items: TypedArena<ModuleItems>,
pub unsizing_params_for_adt: TypedArena<DenseBitSet<u32>>,
pub generics_of: TypedArena<Generics>,
pub native_libraries: TypedArena<Vec<NativeLib>>,
pub shallow_lint_levels_on: TypedArena<ShallowLintLevelMap>,
pub lint_expectations: TypedArena<Vec<(LintExpectationId, LintExpectation)>>,
pub lints_that_dont_need_to_run: TypedArena<UnordSet<LintId>>,
pub params_in_repr: TypedArena<DenseBitSet<u32>>,
pub mir_keys: TypedArena<IndexSet<LocalDefId, FxBuildHasher>>,
pub closure_saved_names_of_captured_variables: TypedArena<IndexVec<FieldIdx, Symbol>>,
pub mir_coroutine_witnesses: TypedArena<CoroutineLayout<'tcx>>,
pub coverage_ids_info: TypedArena<CoverageIdsInfo>,
pub wasm_import_module_map: TypedArena<UnordMap<DefId, String>>,
pub trait_def: TypedArena<TraitDef>,
pub crate_variances: TypedArena<CrateVariancesMap<'tcx>>,
pub inferred_outlives_crate: TypedArena<CratePredicatesMap<'tcx>>,
pub associated_items: TypedArena<AssocItems>,
pub impl_item_implementor_ids: TypedArena<UnordMap<DefId, DefId>>,
pub associated_types_for_impl_traits_in_trait_or_impl: TypedArena<UnordMap<DefId, Vec<DefId>>>,
pub check_liveness: TypedArena<DenseBitSet<FieldIdx>>,
pub live_symbols_and_ignored_derived_traits: TypedArena<Result<(UnordSet<LocalDefId>, UnordMap<LocalDefId, IndexSet<DefId, FxBuildHasher>>), ErrorGuaranteed>>,
pub mir_callgraph_cyclic: TypedArena<Option<UnordSet<LocalDefId>>>,
pub reachable_set: TypedArena<UnordSet<LocalDefId>>,
pub mir_shims: TypedArena<Body<'tcx>>,
pub codegen_fn_attrs: TypedArena<CodegenFnAttrs>,
pub rendered_const: TypedArena<String>,
pub trait_impls_of: TypedArena<TraitImpls>,
pub dependency_formats: TypedArena<Arc<IndexMap<CrateType, IndexVec<CrateNum, Linkage>, FxBuildHasher>>>,
pub reachable_non_generics: TypedArena<UnordMap<DefId, SymbolExportInfo>>,
pub upstream_monomorphizations: TypedArena<UnordMap<DefId, UnordMap<&'tcx RawList<(), GenericArg<'tcx>>, CrateNum>>>,
pub foreign_modules: TypedArena<IndexMap<DefId, ForeignModule, FxBuildHasher>>,
pub extra_filename: TypedArena<String>,
pub crate_extern_paths: TypedArena<Vec<PathBuf>>,
pub resolve_bound_vars: TypedArena<ResolveBoundVars<'tcx>>,
pub lib_features: TypedArena<LibFeatures>,
pub stability_implications: TypedArena<UnordMap<Symbol, Symbol>>,
pub get_lang_items: TypedArena<LanguageItems>,
pub all_diagnostic_items: TypedArena<DiagnosticItems>,
pub diagnostic_items: TypedArena<DiagnosticItems>,
pub visible_parent_map: TypedArena<UnordMap<DefId, DefId>>,
pub trimmed_def_paths: TypedArena<UnordMap<DefId, Symbol>>,
pub used_crate_source: TypedArena<Arc<CrateSource>>,
pub debugger_visualizers: TypedArena<Vec<DebuggerVisualizerFile>>,
pub output_filenames: TypedArena<Arc<OutputFilenames>>,
pub rust_target_features: TypedArena<UnordMap<String, Stability>>,
pub implied_target_features: TypedArena<Vec<Symbol>>,
pub diagnostic_hir_wf_check: TypedArena<ObligationCause<'tcx>>,
pub global_backend_features: TypedArena<Vec<String>>,
pub skip_move_check_fns: TypedArena<IndexSet<DefId, FxBuildHasher>>,
pub externally_implementable_items: TypedArena<IndexMap<DefId, (EiiDecl, IndexMap<DefId, EiiImpl, FxBuildHasher>), FxBuildHasher>>,
}Expand description
Holds per-query arenas for queries with the arena_cache modifier.
Fields§
§registered_tools: TypedArena<IndexSet<Ident, FxBuildHasher>>§hir_crate: TypedArena<Crate<'tcx>>§hir_crate_items: TypedArena<ModuleItems>§hir_module_items: TypedArena<ModuleItems>§unsizing_params_for_adt: TypedArena<DenseBitSet<u32>>§generics_of: TypedArena<Generics>§native_libraries: TypedArena<Vec<NativeLib>>§shallow_lint_levels_on: TypedArena<ShallowLintLevelMap>§lint_expectations: TypedArena<Vec<(LintExpectationId, LintExpectation)>>§lints_that_dont_need_to_run: TypedArena<UnordSet<LintId>>§params_in_repr: TypedArena<DenseBitSet<u32>>§mir_keys: TypedArena<IndexSet<LocalDefId, FxBuildHasher>>§closure_saved_names_of_captured_variables: TypedArena<IndexVec<FieldIdx, Symbol>>§mir_coroutine_witnesses: TypedArena<CoroutineLayout<'tcx>>§coverage_ids_info: TypedArena<CoverageIdsInfo>§wasm_import_module_map: TypedArena<UnordMap<DefId, String>>§trait_def: TypedArena<TraitDef>§crate_variances: TypedArena<CrateVariancesMap<'tcx>>§inferred_outlives_crate: TypedArena<CratePredicatesMap<'tcx>>§associated_items: TypedArena<AssocItems>§impl_item_implementor_ids: TypedArena<UnordMap<DefId, DefId>>§associated_types_for_impl_traits_in_trait_or_impl: TypedArena<UnordMap<DefId, Vec<DefId>>>§check_liveness: TypedArena<DenseBitSet<FieldIdx>>§live_symbols_and_ignored_derived_traits: TypedArena<Result<(UnordSet<LocalDefId>, UnordMap<LocalDefId, IndexSet<DefId, FxBuildHasher>>), ErrorGuaranteed>>§mir_callgraph_cyclic: TypedArena<Option<UnordSet<LocalDefId>>>§reachable_set: TypedArena<UnordSet<LocalDefId>>§mir_shims: TypedArena<Body<'tcx>>§codegen_fn_attrs: TypedArena<CodegenFnAttrs>§rendered_const: TypedArena<String>§trait_impls_of: TypedArena<TraitImpls>§dependency_formats: TypedArena<Arc<IndexMap<CrateType, IndexVec<CrateNum, Linkage>, FxBuildHasher>>>§reachable_non_generics: TypedArena<UnordMap<DefId, SymbolExportInfo>>§upstream_monomorphizations: TypedArena<UnordMap<DefId, UnordMap<&'tcx RawList<(), GenericArg<'tcx>>, CrateNum>>>§foreign_modules: TypedArena<IndexMap<DefId, ForeignModule, FxBuildHasher>>§extra_filename: TypedArena<String>§crate_extern_paths: TypedArena<Vec<PathBuf>>§resolve_bound_vars: TypedArena<ResolveBoundVars<'tcx>>§lib_features: TypedArena<LibFeatures>§stability_implications: TypedArena<UnordMap<Symbol, Symbol>>§get_lang_items: TypedArena<LanguageItems>§all_diagnostic_items: TypedArena<DiagnosticItems>§diagnostic_items: TypedArena<DiagnosticItems>§visible_parent_map: TypedArena<UnordMap<DefId, DefId>>§trimmed_def_paths: TypedArena<UnordMap<DefId, Symbol>>§used_crate_source: TypedArena<Arc<CrateSource>>§debugger_visualizers: TypedArena<Vec<DebuggerVisualizerFile>>§output_filenames: TypedArena<Arc<OutputFilenames>>§rust_target_features: TypedArena<UnordMap<String, Stability>>§implied_target_features: TypedArena<Vec<Symbol>>§diagnostic_hir_wf_check: TypedArena<ObligationCause<'tcx>>§global_backend_features: TypedArena<Vec<String>>§skip_move_check_fns: TypedArena<IndexSet<DefId, FxBuildHasher>>§externally_implementable_items: TypedArena<IndexMap<DefId, (EiiDecl, IndexMap<DefId, EiiImpl, FxBuildHasher>), FxBuildHasher>>Trait Implementations§
Source§impl<'tcx> Default for QueryArenas<'tcx>
impl<'tcx> Default for QueryArenas<'tcx>
Source§fn default() -> QueryArenas<'tcx>
fn default() -> QueryArenas<'tcx>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'tcx> DynSend for QueryArenas<'tcx>
impl<'tcx> !DynSync for QueryArenas<'tcx>
impl<'tcx> !Freeze for QueryArenas<'tcx>
impl<'tcx> !RefUnwindSafe for QueryArenas<'tcx>
impl<'tcx> Send for QueryArenas<'tcx>
impl<'tcx> !Sync for QueryArenas<'tcx>
impl<'tcx> Unpin for QueryArenas<'tcx>
impl<'tcx> UnsafeUnpin for QueryArenas<'tcx>
impl<'tcx> !UnwindSafe for QueryArenas<'tcx>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<P> IntoQueryParam<P> for P
impl<P> IntoQueryParam<P> for P
fn into_query_param(self) -> P
Source§impl<T> MaybeResult<T> for T
impl<T> MaybeResult<T> for T
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<I, T, U> Upcast<I, U> for Twhere
U: UpcastFrom<I, T>,
impl<I, T, U> Upcast<I, U> for Twhere
U: UpcastFrom<I, T>,
Source§impl<I, T> UpcastFrom<I, T> for T
impl<I, T> UpcastFrom<I, T> for T
fn upcast_from(from: T, _tcx: I) -> T
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
Source§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
impl<T> ErasedDestructor for Twhere
T: 'static,
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: 2544 bytes