Enum rustc_ap_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: bool
Render the JSON in a human readable way (with indents and newlines).
json_rendered: HumanReadableErrorType
The 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 ErrorOutputType
impl Send for ErrorOutputType
impl Sync for ErrorOutputType
impl Unpin for ErrorOutputType
impl UnwindSafe for ErrorOutputType
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V