pub struct ShortDiagnostic<'diagnostic, FileId> { /* private fields */ }Expand description
Output a short diagnostic, with a line number, severity, and message.
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