Struct rustfmt_nightly::formatting::ReportedErrors[][src]

pub(crate) struct ReportedErrors {
    pub(crate) has_operational_errors: bool,
    pub(crate) has_parsing_errors: bool,
    pub(crate) has_formatting_errors: bool,
    pub(crate) has_macro_format_failure: bool,
    pub(crate) has_check_errors: bool,
    pub(crate) has_diff: bool,
    pub(crate) has_unformatted_code_errors: bool,
}

Fields

has_operational_errors: boolhas_parsing_errors: boolhas_formatting_errors: boolhas_macro_format_failure: boolhas_check_errors: boolhas_diff: bool

Formatted code differs from existing code (–check only).

has_unformatted_code_errors: bool

Formatted code missed something, like lost comments or extra trailing space

Implementations

Combine two summaries together.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Layout

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.

Size: 7 bytes