Struct slicec::diagnostics::Note
source · pub struct Note {
pub message: String,
pub span: Option<Span>,
}Expand description
Stores additional information about a diagnostic.
Fields§
§message: String§span: Option<Span>Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnwindSafe for Note
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