Struct rustc_typeck::check_unused::ExternCrateToLint [−][src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Fields
def_id: DefId
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
def-id of the extern crate
span: Span
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
span from the item
orig_name: Option<Name>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
if Some
, then this is renamed (extern crate orig_name as crate_name
), and -- perhaps surprisingly -- this stores the
original name (item.name
will contain the new name)
Auto Trait Implementations
impl !Send for ExternCrateToLint
impl !Send for ExternCrateToLint
impl !Sync for ExternCrateToLint
impl !Sync for ExternCrateToLint