Skip to content

Commit 8858482

Browse files
committed
Fix a typo
!(a & b) = !a | !b
1 parent 083721a commit 8858482

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
@@ -1122,7 +1122,7 @@ impl HandlerInner {
11221122
!this.emitted_diagnostics.insert(diagnostic_hash)
11231123
};
11241124

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

0 commit comments

Comments
 (0)