Struct cargo::core::compiler::future_incompat::FutureBreakageItem
source · [−]pub struct FutureBreakageItem {
pub future_breakage_date: Option<String>,
pub diagnostic: Diagnostic,
}
Expand description
A single future-incompatible warning emitted by rustc.
Fields
future_breakage_date: Option<String>
The date at which this lint will become an error. Currently unused
diagnostic: Diagnostic
The original diagnostic emitted by the compiler
Trait Implementations
sourceimpl<'de> Deserialize<'de> for FutureBreakageItem
impl<'de> Deserialize<'de> for FutureBreakageItem
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for FutureBreakageItem
impl Serialize for FutureBreakageItem
Auto Trait Implementations
impl RefUnwindSafe for FutureBreakageItem
impl Send for FutureBreakageItem
impl Sync for FutureBreakageItem
impl Unpin for FutureBreakageItem
impl UnwindSafe for FutureBreakageItem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more