pub struct ResolverOutputs {
Show 16 fields pub definitions: Definitions, pub cstore: Box<CrateStoreDyn>, pub visibilities: FxHashMap<LocalDefId, Visibility>, pub has_pub_restricted: bool, pub access_levels: AccessLevels, pub extern_crate_map: FxHashMap<LocalDefId, CrateNum>, pub maybe_unused_trait_imports: FxHashSet<LocalDefId>, pub maybe_unused_extern_crates: Vec<(LocalDefId, Span)>, pub reexport_map: FxHashMap<LocalDefId, Vec<ModChild>>, pub glob_map: FxHashMap<LocalDefId, FxHashSet<Symbol>>, pub extern_prelude: FxHashMap<Symbol, bool>, pub main_def: Option<MainDefinition>, pub trait_impls: FxIndexMap<DefId, Vec<LocalDefId>>, pub proc_macros: Vec<LocalDefId>, pub confused_type_with_std_module: FxHashMap<Span, Span>, pub registered_tools: RegisteredTools,


definitions: Definitionscstore: Box<CrateStoreDyn>visibilities: FxHashMap<LocalDefId, Visibility>has_pub_restricted: bool

This field is used to decide whether we should make PRIVATE_IN_PUBLIC a hard error.

access_levels: AccessLevelsextern_crate_map: FxHashMap<LocalDefId, CrateNum>maybe_unused_trait_imports: FxHashSet<LocalDefId>maybe_unused_extern_crates: Vec<(LocalDefId, Span)>reexport_map: FxHashMap<LocalDefId, Vec<ModChild>>glob_map: FxHashMap<LocalDefId, FxHashSet<Symbol>>extern_prelude: FxHashMap<Symbol, bool>

Extern prelude entries. The value is true if the entry was introduced via extern crate item and not --extern option or compiler built-in.

main_def: Option<MainDefinition>trait_impls: FxIndexMap<DefId, Vec<LocalDefId>>proc_macros: Vec<LocalDefId>

A list of proc macro LocalDefIds, written out in the order in which they are declared in the static array generated by proc_macro_harness.

confused_type_with_std_module: FxHashMap<Span, Span>

Mapping from ident span to path span for paths that don’t exist as written, but that exist under std. For example, wrote str::from_utf8 instead of std::str::from_utf8.

registered_tools: RegisteredTools

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.


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: 608 bytes