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

pub enum Severity {
    Ignored,
    Note,
    Warning,
    Error,
    Fatal,
}

Indicates the severity of a diagnostic.

Variants

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

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

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

The diagnostic targets ill-formed code.

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 Copy for Severity
[src]

impl Clone for Severity
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Severity
[src]

Formats the value using the given formatter.

impl PartialEq for Severity
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Severity
[src]

impl PartialOrd for Severity
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Severity
[src]

This method returns an Ordering between self and other. Read more

impl Hash for Severity
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.