mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
378a370ff2
This removes a footgun, since it is a reasonable assumption to make that pointers to `T` will be aligned to `align_of::<T>()`. This also matches the behaviour of C/C++. `min_align_of` is now deprecated. Closes #21611.