We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28928c7 commit 141544aCopy full SHA for 141544a
compiler/rustc_driver/src/lib.rs
@@ -155,8 +155,7 @@ pub fn run_compiler(
155
),
156
}
157
158
- let diagnostic_output =
159
- emitter.map(|emitter| DiagnosticOutput::Raw(emitter)).unwrap_or(DiagnosticOutput::Default);
+ let diagnostic_output = emitter.map(DiagnosticOutput::Raw).unwrap_or(DiagnosticOutput::Default);
160
let matches = match handle_options(&args) {
161
Some(matches) => matches,
162
None => return Ok(()),
0 commit comments