rust/compiler/rustc_errors
Nicholas Nethercote c367386832 Refactor emit_diagnostic.
- Combine two different blocks involving
  `diagnostic.level.get_expectation_id()` into one.
- Combine several `if`s involving `diagnostic.level` into a single
  `match`.

This requires reordering some of the operations, but this has no
functional effect.
2024-02-05 10:02:26 +11:00
..
2024-02-05 10:02:26 +11:00
2024-01-29 07:41:41 +11:00