about summary refs log tree commit diff
path: root/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorAda Alakbarova <ada.alakbarova@proton.me>2025-08-13 14:47:29 +0200
committerAda Alakbarova <ada.alakbarova@proton.me>2025-08-24 08:25:02 +0200
commit74be6f769ab3a503ed01dee59b459027dbced016 (patch)
tree091f8c79fd64a1af459849b998ef00082f735ef5 /tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent9acb48dbbe4bdb5ab7049e99a2b13c4aebc45981 (diff)
downloadrust-74be6f769ab3a503ed01dee59b459027dbced016.tar.gz
rust-74be6f769ab3a503ed01dee59b459027dbced016.zip
`cast_ptr_alignment`: move the regular check into the `if`
this allows reusing `cast_from` and `cast_to`

one possible problem is that the `if` has an additional
`is_hir_ty_cfg_dependant` check which the let-chain of the  original
`check` didn't have.. but maybe this is actually more correct
Diffstat (limited to 'tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions