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
+1
View File
@@ -3707,6 +3707,7 @@ pub fn overflowing_shr(self, rhs: u32) -> (Self, bool) {
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) {