mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 14:23:25 +03:00
Add const_unstable flag to overflowing_shr
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user