[−][src]Enum libslide::diagnostics::DiagnosticKind
The kind of a slide diagnostic.
Variants
An error diagnostic. Generally, this diagnostic should be emitted for unrecoverable errors. In other cases, a warning or a note may be more applicable.
A warning diagnostic describes something that is not a strict error, but may not match canonical style, usage patterns, or otherwise may be error-prone.
A note diagnostic is a generic annotation with no specific connotation like error
. It can
be particularly useful as an associated diagnostic, for example in expanding on a primary
error.
A help diagnostic should instruct the user how their code can be changed to work correctly with slide.
Trait Implementations
impl PartialEq<DiagnosticKind> for DiagnosticKind
[src]
fn eq(&self, other: &DiagnosticKind) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for DiagnosticKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for DiagnosticKind
impl Send for DiagnosticKind
impl Sync for DiagnosticKind
impl Unpin for DiagnosticKind
impl UnwindSafe for DiagnosticKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,