diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2025-02-14 12:50:37 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2025-03-25 19:58:48 +0100 |
| commit | 1da567b619d531184d558f5daafa4c30e8cd34eb (patch) | |
| tree | b2ca691bc794dbb876a646a840500a5b7bf92c88 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 1893e1e5e794b04fccf77e1d2b810f99cd9db4a0 (diff) | |
| download | rust-1da567b619d531184d558f5daafa4c30e8cd34eb.tar.gz rust-1da567b619d531184d558f5daafa4c30e8cd34eb.zip | |
Deprecate `match_on_vec_items` lint
This lint does more harm than good: in its description, it proposes to rewrite `match` on `Vec<_>` indexes or slices by a version which cannot panic but masks the failure by choosing the default variant. The `clippy::indexing_slicing` restriction lint covers those cases more safely, by suggesting to use a non-panicking version to retrieve the value from the container, without suggesting to fallback to the default success variant in case of failure.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
