Enum rustc_session::config::ErrorOutputType [−][src]
pub enum ErrorOutputType {
HumanReadable(HumanReadableErrorType),
Json {
pretty: bool,
json_rendered: HumanReadableErrorType,
},
}Expand description
The type of diagnostics output to generate.
Variants
HumanReadable(HumanReadableErrorType)Output meant for the consumption of humans.
Output that’s consumed by other tools such as rustfix or the RLS.
Show fields
Fields of Json
pretty: boolRender the JSON in a human readable way (with indents and newlines).
json_rendered: HumanReadableErrorTypeThe JSON output includes a rendered field that includes the rendered
human output.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for ErrorOutputTypeimpl Send for ErrorOutputTypeimpl Sync for ErrorOutputTypeimpl Unpin for ErrorOutputTypeimpl UnwindSafe for ErrorOutputTypeBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 4 bytes