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 f0b2cca commit 713e78cCopy full SHA for 713e78c
compiler/rustc_errors/src/lib.rs
@@ -1384,7 +1384,7 @@ impl HandlerInner {
1384
!self.emitted_diagnostics.insert(diagnostic_hash)
1385
};
1386
1387
- diagnostic.children.extract_from(already_emitted_sub).for_each(|_| {});
+ diagnostic.children.extract_if(already_emitted_sub).for_each(|_| {});
1388
1389
self.emitter.emit_diagnostic(diagnostic);
1390
if diagnostic.is_error() {
0 commit comments