about summary refs log tree commit diff
path: root/tests/ui/mir/alignment/place_computation.rs
AgeCommit message (Collapse)AuthorLines
2025-04-25Extend the alignment check to borrowsBastian Kersting-16/+0
The current alignment check does not include checks for creating misaligned references from raw pointers, which is now added in this patch. When inserting the check we need to be careful with references to field projections (e.g. `&(*ptr).a`), in which case the resulting reference must be aligned according to the field type and not the type of the pointer.
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-2/+2
2023-11-04Check alignment of pointers only when read/written throughBen Kimock-0/+16