Struct rustc_resolve::diagnostics::ImportSuggestion [−][src]
pub(crate) struct ImportSuggestion {
pub did: Option<DefId>,
pub descr: &'static str,
pub path: Path,
pub accessible: bool,
}Expand description
A free importable items suggested in case of resolution failure.
Fields
did: Option<DefId>descr: &'static strpath: Pathaccessible: boolAuto Trait Implementations
impl !RefUnwindSafe for ImportSuggestionimpl !Send for ImportSuggestionimpl !Sync for ImportSuggestionimpl Unpin for ImportSuggestionimpl !UnwindSafe for ImportSuggestionBlanket Implementations
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 72 bytes