Fix a typo
!(a & b) = !a | !b
This commit is contained in:
parent
392d272868
commit
260c5fd587
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user