Fix a typo

!(a & b) = !a | !b
This commit is contained in:
Maybe Waffle 2022-06-06 17:42:53 +04:00
parent 392d272868
commit 260c5fd587

View file

@ -1145,7 +1145,7 @@ impl HandlerInner {
!this.emitted_diagnostics.insert(diagnostic_hash)
};
// Only emit the diagnostic if we've been asked to deduplicate and
// Only emit the diagnostic if we've been asked to deduplicate or
// haven't already emitted an equivalent diagnostic.
if !(self.flags.deduplicate_diagnostics && already_emitted(self)) {
debug!(?diagnostic);