Struct codespan_reporting::term::views::ShortDiagnostic
source · pub struct ShortDiagnostic<'diagnostic, FileId> {
diagnostic: &'diagnostic Diagnostic<FileId>,
show_notes: bool,
}
Expand description
Output a short diagnostic, with a line number, severity, and message.
Fields§
§diagnostic: &'diagnostic Diagnostic<FileId>
§show_notes: bool
Implementations§
source§impl<'diagnostic, FileId> ShortDiagnostic<'diagnostic, FileId>
impl<'diagnostic, FileId> ShortDiagnostic<'diagnostic, FileId>
Auto Trait Implementations§
impl<'diagnostic, FileId> Freeze for ShortDiagnostic<'diagnostic, FileId>
impl<'diagnostic, FileId> RefUnwindSafe for ShortDiagnostic<'diagnostic, FileId>where
FileId: RefUnwindSafe,
impl<'diagnostic, FileId> Send for ShortDiagnostic<'diagnostic, FileId>where
FileId: Sync,
impl<'diagnostic, FileId> Sync for ShortDiagnostic<'diagnostic, FileId>where
FileId: Sync,
impl<'diagnostic, FileId> Unpin for ShortDiagnostic<'diagnostic, FileId>
impl<'diagnostic, FileId> UnwindSafe for ShortDiagnostic<'diagnostic, FileId>where
FileId: RefUnwindSafe,
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