link to pref_align_of tracking issue

This commit is contained in:
Ralf Jung 2021-12-15 18:38:51 +01:00
parent c5ecc15704
commit 58fd2ffc96

View File

@ -811,7 +811,8 @@ pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) {
/// The preferred alignment of a type.
///
/// This intrinsic does not have a stable counterpart.
#[rustc_const_unstable(feature = "const_pref_align_of", issue = "none")]
/// It's "tracking issue" is [#91971](https://github.com/rust-lang/rust/issues/91971).
#[rustc_const_unstable(feature = "const_pref_align_of", issue = "91971")]
pub fn pref_align_of<T>() -> usize;
/// The size of the referenced value in bytes.