diff options
| author | cocodery <cocodery@outlook.com> | 2023-12-05 09:29:20 +0800 |
|---|---|---|
| committer | cocodery <cocodery@outlook.com> | 2023-12-05 09:29:20 +0800 |
| commit | 2e3c031528c26e01937e9e9434947d1289561051 (patch) | |
| tree | 7971facff9a49dfa4cbab6fa19f1c82f3becd3b5 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 89774234be1ce368ea2b1c6c127fe254331ee47e (diff) | |
| download | rust-2e3c031528c26e01937e9e9434947d1289561051.tar.gz rust-2e3c031528c26e01937e9e9434947d1289561051.zip | |
Rename `has_nontrivial_oprand` to `is_operator_overrided`
Simpfy code of `is_operator_overrided`, directly use `is_method_call` to check if operator is overrided, at least one oprand of binary-expr must be ADT-type So no need to check type of lhs and rhs
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
