We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf66a48 commit dae8d07Copy full SHA for dae8d07
src/librustc_errors/emitter.rs
@@ -33,6 +33,7 @@ pub trait Emitter {
33
34
impl Emitter for EmitterWriter {
35
fn emit(&mut self, db: &DiagnosticBuilder) {
36
+ // Pick old school mode either from env or let the test dictate the format
37
let old_school = match self.format_mode {
38
FormatMode::NewErrorFormat => false,
39
FormatMode::OriginalErrorFormat => true,
0 commit comments