about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-02-14 12:50:37 +0100
committerSamuel Tardieu <sam@rfc1149.net>2025-03-25 19:58:48 +0100
commit1da567b619d531184d558f5daafa4c30e8cd34eb (patch)
treeb2ca691bc794dbb876a646a840500a5b7bf92c88 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent1893e1e5e794b04fccf77e1d2b810f99cd9db4a0 (diff)
downloadrust-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