We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
drop
1 parent bf92f3b commit c88bcceCopy full SHA for c88bcce
compiler/rustc_interface/src/callbacks.rs
@@ -35,7 +35,6 @@ fn track_diagnostic(diagnostic: &mut Diagnostic, f: &mut dyn FnMut(&mut Diagnost
35
if let Some(diagnostics) = icx.diagnostics {
36
let mut diagnostics = diagnostics.lock();
37
diagnostics.extend(Some(diagnostic.clone()));
38
- std::mem::drop(diagnostics);
39
}
40
41
// Diagnostics are tracked, we can ignore the dependency.
0 commit comments