Struct rustc_ap_rustc_errors::HandlerFlags [−][src]
pub struct HandlerFlags {
pub can_emit_warnings: bool,
pub treat_err_as_bug: Option<NonZeroUsize>,
pub dont_buffer_diagnostics: bool,
pub report_delayed_bugs: bool,
pub macro_backtrace: bool,
pub deduplicate_diagnostics: bool,
}Fields
can_emit_warnings: boolIf false, warning-level lints are suppressed.
(rustc: see --allow warnings and --cap-lints)
treat_err_as_bug: Option<NonZeroUsize>If true, error-level diagnostics are upgraded to bug-level.
(rustc: see -Z treat-err-as-bug)
dont_buffer_diagnostics: boolIf true, immediately emit diagnostics that would otherwise be buffered.
(rustc: see -Z dont-buffer-diagnostics and -Z treat-err-as-bug)
report_delayed_bugs: boolIf true, immediately print bugs registered with delay_span_bug.
(rustc: see -Z report-delayed-bugs)
macro_backtrace: boolShow macro backtraces.
(rustc: see -Z macro-backtrace)
deduplicate_diagnostics: boolIf true, identical diagnostics are reported only once.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for HandlerFlagsimpl Send for HandlerFlagsimpl Sync for HandlerFlagsimpl Unpin for HandlerFlagsimpl UnwindSafe for HandlerFlagsBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V