[][src]Enum clang::diagnostic::Severity

#[repr(C)]pub enum Severity {
    Ignored,
    Note,
    Warning,
    Error,
    Fatal,
}

Indicates the severity of a diagnostic.

Variants

Ignored

The diagnostic has been suppressed (e.g., by a command-line option).

Note

The diagnostic is attached to the previous non-note diagnostic.

Warning

The diagnostic targets suspicious code that may or may not be wrong.

Error

The diagnostic targets ill-formed code.

Fatal

The diagnostic targets code that is ill-formed in such a way that parser recovery is unlikely to produce any useful results.

Trait Implementations

impl Clone for Severity[src]

impl Copy for Severity[src]

impl Debug for Severity[src]

impl Eq for Severity[src]

impl Hash for Severity[src]

impl Ord for Severity[src]

impl PartialEq<Severity> for Severity[src]

impl PartialOrd<Severity> for Severity[src]

impl StructuralEq for Severity[src]

impl StructuralPartialEq for Severity[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.