Skip to content

Commit 260c5fd

Browse files
committed
Fix a typo
!(a & b) = !a | !b
1 parent 392d272 commit 260c5fd

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_errors/src

1 file changed

+1
-1
lines changed

compiler/rustc_errors/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ impl HandlerInner {
11451145
!this.emitted_diagnostics.insert(diagnostic_hash)
11461146
};
11471147

1148-
// Only emit the diagnostic if we've been asked to deduplicate and
1148+
// Only emit the diagnostic if we've been asked to deduplicate or
11491149
// haven't already emitted an equivalent diagnostic.
11501150
if !(self.flags.deduplicate_diagnostics && already_emitted(self)) {
11511151
debug!(?diagnostic);

0 commit comments

Comments
 (0)