Swap out CURRENT_RUSTC_VERSION to 1.71.0
This commit is contained in:
parent
578bcbc2b4
commit
4f9b394c8a
14 changed files with 41 additions and 41 deletions
|
@ -1305,7 +1305,7 @@ impl<T: ?Sized> *mut T {
|
|||
///
|
||||
/// [`ptr::read`]: crate::ptr::read()
|
||||
#[stable(feature = "pointer_methods", since = "1.26.0")]
|
||||
#[rustc_const_stable(feature = "const_ptr_read", since = "CURRENT_RUSTC_VERSION")]
|
||||
#[rustc_const_stable(feature = "const_ptr_read", since = "1.71.0")]
|
||||
#[inline(always)]
|
||||
#[cfg_attr(miri, track_caller)] // even without panics, this helps for Miri backtraces
|
||||
pub const unsafe fn read(self) -> T
|
||||
|
@ -1346,7 +1346,7 @@ impl<T: ?Sized> *mut T {
|
|||
///
|
||||
/// [`ptr::read_unaligned`]: crate::ptr::read_unaligned()
|
||||
#[stable(feature = "pointer_methods", since = "1.26.0")]
|
||||
#[rustc_const_stable(feature = "const_ptr_read", since = "CURRENT_RUSTC_VERSION")]
|
||||
#[rustc_const_stable(feature = "const_ptr_read", since = "1.71.0")]
|
||||
#[inline(always)]
|
||||
#[cfg_attr(miri, track_caller)] // even without panics, this helps for Miri backtraces
|
||||
pub const unsafe fn read_unaligned(self) -> T
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue