diff options
| author | Ada Alakbarova <ada.alakbarova@proton.me> | 2025-08-13 14:47:29 +0200 |
|---|---|---|
| committer | Ada Alakbarova <ada.alakbarova@proton.me> | 2025-08-24 08:25:02 +0200 |
| commit | 74be6f769ab3a503ed01dee59b459027dbced016 (patch) | |
| tree | 091f8c79fd64a1af459849b998ef00082f735ef5 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp | |
| parent | 9acb48dbbe4bdb5ab7049e99a2b13c4aebc45981 (diff) | |
| download | rust-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 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions
