pub fn diagnostics_enabled() -> boolExpand description
Whether errors should be recorded as a Diagnostic instead of being
printed and aborting the process. This is what keeps the CLI behavior
byte-for-byte identical: without an active sink, every error path behaves
exactly as before.