diff options
| author | cocodery <cocodery@outlook.com> | 2023-12-04 15:57:27 +0800 |
|---|---|---|
| committer | cocodery <cocodery@outlook.com> | 2023-12-04 15:57:27 +0800 |
| commit | 89774234be1ce368ea2b1c6c127fe254331ee47e (patch) | |
| tree | 34db16874c85b525fefe724bc00bc5310894ab09 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 6d40b105ed69598205e4877db188a62d0817aa94 (diff) | |
| download | rust-89774234be1ce368ea2b1c6c127fe254331ee47e.tar.gz rust-89774234be1ce368ea2b1c6c127fe254331ee47e.zip | |
Rewrite logic of `has_nontrivial_oprand`.
Check whether operator is overrided with a `struct` operand. The struct here refers to `struct`, `enum`, `union`. Add and fix test for `no_effect` lint.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
