pub struct DiagnosticMeta {
pub code: &'static str,
pub message: String,
pub help: String,
pub labels: Vec<(Span, String)>,
}Fields§
§code: &'static str§message: String§help: String§labels: Vec<(Span, String)>Auto Trait Implementations§
impl Freeze for DiagnosticMeta
impl RefUnwindSafe for DiagnosticMeta
impl Send for DiagnosticMeta
impl Sync for DiagnosticMeta
impl Unpin for DiagnosticMeta
impl UnsafeUnpin for DiagnosticMeta
impl UnwindSafe for DiagnosticMeta
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more