stabilize const_int_sign
This commit is contained in:
parent
e258489eae
commit
eb0597ae83
2 changed files with 0 additions and 3 deletions
|
|
@ -114,7 +114,6 @@
|
|||
#![feature(const_str_as_bytes)]
|
||||
#![feature(const_str_len)]
|
||||
#![cfg_attr(stage0, feature(const_int_rotate))]
|
||||
#![feature(const_int_sign)]
|
||||
#![feature(const_int_conversion)]
|
||||
#![feature(const_transmute)]
|
||||
#![feature(reverse_bits)]
|
||||
|
|
|
|||
|
|
@ -1886,7 +1886,6 @@ assert!(!(-10", stringify!($SelfT), ").is_positive());",
|
|||
$EndFeature, "
|
||||
```"),
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[rustc_const_unstable(feature = "const_int_sign")]
|
||||
#[inline]
|
||||
pub const fn is_positive(self) -> bool { self > 0 }
|
||||
}
|
||||
|
|
@ -1905,7 +1904,6 @@ assert!(!10", stringify!($SelfT), ".is_negative());",
|
|||
$EndFeature, "
|
||||
```"),
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[rustc_const_unstable(feature = "const_int_sign")]
|
||||
#[inline]
|
||||
pub const fn is_negative(self) -> bool { self < 0 }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue