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-04 15:57:27 +0800
committercocodery <cocodery@outlook.com>2023-12-04 15:57:27 +0800
commit89774234be1ce368ea2b1c6c127fe254331ee47e (patch)
tree34db16874c85b525fefe724bc00bc5310894ab09 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent6d40b105ed69598205e4877db188a62d0817aa94 (diff)
downloadrust-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