diff options
| author | Maybe Waffle <waffle.lapkin@gmail.com> | 2022-06-06 17:42:53 +0400 |
|---|---|---|
| committer | Maybe Waffle <waffle.lapkin@gmail.com> | 2022-06-16 17:08:26 +0400 |
| commit | 260c5fd58778f14c4f4d19e1b91784a4e0a675e3 (patch) | |
| tree | 3f9f0ae9e7beae00b3e5f84045cd9d0374795327 /compiler/rustc_errors | |
| parent | 392d2728683f140f6125732240e462c43c5caff4 (diff) | |
| download | rust-260c5fd58778f14c4f4d19e1b91784a4e0a675e3.tar.gz rust-260c5fd58778f14c4f4d19e1b91784a4e0a675e3.zip | |
Fix a typo
!(a & b) = !a | !b
Diffstat (limited to 'compiler/rustc_errors')
| -rw-r--r-- | compiler/rustc_errors/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/lib.rs b/compiler/rustc_errors/src/lib.rs index 8b6eba122f8..25fa2c30e7e 100644 --- a/compiler/rustc_errors/src/lib.rs +++ b/compiler/rustc_errors/src/lib.rs @@ -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); |
