Skip to content

Commit

Permalink
Commit suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
  • Loading branch information
heckad and jonas-schievink committed Oct 8, 2020
1 parent 141544a commit dd60ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_driver/src/lib.rs
Expand Up @@ -155,7 +155,7 @@ pub fn run_compiler(
),
}
}
let diagnostic_output = emitter.map(DiagnosticOutput::Raw).unwrap_or(DiagnosticOutput::Default);
let diagnostic_output = emitter.map_or(DiagnosticOutput::Default, DiagnosticOutput::Raw);
let matches = match handle_options(&args) {
Some(matches) => matches,
None => return Ok(()),
Expand Down

0 comments on commit dd60ab3

Please sign in to comment.