Struct rustc::lint::context::FutureIncompatibleInfo [−][src]
pub struct FutureIncompatibleInfo { pub id: LintId, pub reference: &'static str, pub edition: Option<Edition>, }
🔬 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?
Extra information for a future incompatibility lint. See the call
to register_future_incompatible
in librustc_lint/lib.rs
for
guidelines.
Fields
id: LintId
🔬 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?
reference: &'static str
🔬 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?
e.g., a URL for an issue/PR/RFC or error code
edition: Option<Edition>
🔬 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 this is an edition fixing lint, the edition in which this lint becomes obsolete
Auto Trait Implementations
impl Send for FutureIncompatibleInfo
impl Send for FutureIncompatibleInfo
impl Sync for FutureIncompatibleInfo
impl Sync for FutureIncompatibleInfo