Add const_unstable flag to overflowing_shr

This commit is contained in:
Tim Diekmann 2018-09-03 14:53:05 +02:00 committed by GitHub
parent cdea63058a
commit 256cf8681e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3707,6 +3707,7 @@ Basic usage
assert_eq!(0x10", stringify!($SelfT), ".overflowing_shr(132), (0x1, true));", $EndFeature, "
```"),
#[stable(feature = "wrapping", since = "1.7.0")]
#[rustc_const_unstable(feature = "const_int_overflowing")]
#[inline]
#[cfg(not(stage0))]
pub const fn overflowing_shr(self, rhs: u32) -> (Self, bool) {