Commit suggestion
Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
This commit is contained in:
parent
141544a903
commit
dd60ab3e2d
1 changed files with 1 additions and 1 deletions
|
@ -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(()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue