diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-31 15:10:23 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-02-05 10:02:26 +1100 |
| commit | c3673868325f95203d5291f2fa3a399425c14876 (patch) | |
| tree | 0b17b322a37c02d4adab5016170b851bcd91153d /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 5dd0431386867a051f726cbba6e0f46f7bba5e5d (diff) | |
| download | rust-c3673868325f95203d5291f2fa3a399425c14876.tar.gz rust-c3673868325f95203d5291f2fa3a399425c14876.zip | |
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.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
