about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/query.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2025-02-18 18:53:15 -0800
committerJubilee Young <workingjubilee@gmail.com>2025-02-20 19:55:29 -0800
commit5c474fd99b97b0d86d410dfe25b876b374b436fa (patch)
tree2973404d29f96d42eede1e7fc5b760a20121b5fd /compiler/rustc_mir_transform/src/coverage/query.rs
parentefff15afeabedacc2798d214dac404061df1555d (diff)
downloadrust-5c474fd99b97b0d86d410dfe25b876b374b436fa.tar.gz
rust-5c474fd99b97b0d86d410dfe25b876b374b436fa.zip
compiler: `BackendRepr::inherent_{size,align} -> scalar_{size,align}`
This pair of fn was introduced to perform invariant checks for scalars.
Their current behavior doesn't mesh as well with checking SIMD types,
so change the name of the fn to reflect their actual use-case and
refactor the corresponding checks.

Also simplify the returns from Option<AbiAndPrefAlign> to Option<Align>,
because every site was mapping away the "preferred" alignment anyways.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/query.rs')
0 files changed, 0 insertions, 0 deletions