about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-07-06 08:22:57 +0000
committerbors <bors@rust-lang.org>2021-07-06 08:22:57 +0000
commit28e769951fd6ed98c625b4f2d9bab046034ca2f2 (patch)
tree2a1200465f1f0545097998ef749ef1c873ec47e3 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent64d74df19c582a10ad41ddce496528e597b06765 (diff)
parenteeefbb7617c85cb1b51a4758f3d4743f01966578 (diff)
downloadrust-28e769951fd6ed98c625b4f2d9bab046034ca2f2.tar.gz
rust-28e769951fd6ed98c625b4f2d9bab046034ca2f2.zip
Auto merge of #7439 - iobtl:assert_msg_panic_fp, r=flip1995
Fix false-positive `assert` in `panic`

This PR fixes a false-positive in `clippy::panic` when using the `assert` macro with its optional message parameter.

Fixes: #7433

changelog: `panic_unimplemented.rs`: added condition to exclude `assert` macro, similar to `debug_assert`
changelog: `panicking_macros.rs`: relevant tests to check for `assert` usage.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions