Skip to content

Commit 256cf86

Browse files
authored
Add const_unstable flag to overflowing_shr
1 parent cdea630 commit 256cf86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/num/mod.rs

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

0 commit comments

Comments
 (0)