diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-08-23 22:01:42 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-23 22:01:42 +0000 |
| commit | 35fb26f3472fcaff7bdfe6501cd996675c0f2835 (patch) | |
| tree | 8cb42e828f77d7b669b9781ae2fd690f03d25fe3 /tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 0744c8895ca55a530aff7e8505f996220fea54d1 (diff) | |
| parent | c9878185a87826b632920a4b1cb44a30685f81a9 (diff) | |
| download | rust-35fb26f3472fcaff7bdfe6501cd996675c0f2835.tar.gz rust-35fb26f3472fcaff7bdfe6501cd996675c0f2835.zip | |
`get_diagnostic_item` in a bunch more places (#15519)
For https://github.com/rust-lang/rust-clippy/issues/7784 The first commit is for all the places with rather trivial changes: - replacing nested `is_diagnostic_item` `if`s with a match on `get_diagnostic_item` - storing the result of `get_diagnostic_item` in a variable and reusing it The rest of commits are for more involved changes, and for places where changing to `get_diagnostic_item` allowed further simplifications -- in the latter case, the follow-up commits are marked as `misc: ` This is roughly one evening's worth of changes, so I hope the amount won't be overwhelming^^ changelog: none
Diffstat (limited to 'tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
