Struct rustc_ap_rustc_lint_defs::FutureIncompatibleInfo [−][src]
pub struct FutureIncompatibleInfo { pub reference: &'static str, pub edition: Option<Edition>, pub future_breakage: Option<FutureBreakage>, }
Expand description
Extra information for a future incompatibility lint.
Fields
reference: &'static str
e.g., a URL for an issue/PR/RFC or error code
edition: Option<Edition>
If this is an edition fixing lint, the edition in which this lint becomes obsolete
future_breakage: Option<FutureBreakage>
Information about a future breakage, which will be emitted in JSON messages to be displayed by Cargo for upstream deps
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FutureIncompatibleInfo
impl Send for FutureIncompatibleInfo
impl Sync for FutureIncompatibleInfo
impl Unpin for FutureIncompatibleInfo
impl UnwindSafe for FutureIncompatibleInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V