Struct rustc_ap_rustc_lint_defs::FutureIncompatibleInfo [−][src]
pub struct FutureIncompatibleInfo { pub reference: &'static str, pub reason: FutureIncompatibilityReason, pub explain_reason: bool, 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
reason: FutureIncompatibilityReason
The reason for the lint used by diagnostics to provide the right help message
explain_reason: bool
Whether to explain the reason to the user.
Set to false for lints that already include a more detailed explanation.
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