diff options
| author | dswij <dharmasw@outlook.com> | 2025-07-06 09:58:44 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-06 09:58:44 +0000 |
| commit | 8d688c6f6059e9bb736b01e011137b760d692fda (patch) | |
| tree | 4b722197b0d0b682f5c6f44b4394503ab3e561d1 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 7c39d378e55331f2f181974a3740e9ade45790c4 (diff) | |
| parent | 8ceb91e1c7f3d644ca26f45ae63dac2216f98a4e (diff) | |
| download | rust-8d688c6f6059e9bb736b01e011137b760d692fda.tar.gz rust-8d688c6f6059e9bb736b01e011137b760d692fda.zip | |
Do not remove `as` if it changes the type (#15182)
While `expr as T` can be removed as a statement if `expr` has no side-effect, the `as T` part alone cannot be removed if the type of `expr` would be ambiguous without the cast. changelog: [`unnecessary_operation`]: do not remove casts if they are useful to type the expression Fixes rust-lang/rust-clippy#15173
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
