about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorcocodery <cocodery@outlook.com>2023-12-05 09:29:20 +0800
committercocodery <cocodery@outlook.com>2023-12-05 09:29:20 +0800
commit2e3c031528c26e01937e9e9434947d1289561051 (patch)
tree7971facff9a49dfa4cbab6fa19f1c82f3becd3b5 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent89774234be1ce368ea2b1c6c127fe254331ee47e (diff)
downloadrust-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