core: Update the feature gate on TryFrom<integer> for bool

This implementation was added recently in f12288ec26
("TryFrom<integer> for bool") but used an old feature gate and
stabilization version. Update to reflect when these were actually added.
This commit is contained in:
Trevor Gross
2026-04-01 14:30:44 -04:00
parent 2bd7a97871
commit 02b516afd9
+1 -1
View File
@@ -330,7 +330,7 @@ fn try_from(u: $source) -> Result<Self, Self::Error> {
/// Implement `TryFrom<integer>` for `bool`
macro_rules! impl_try_from_integer_for_bool {
($($int:ty)+) => {$(
#[stable(feature = "try_from", since = "1.34.0")]
#[stable(feature = "bool_try_from_int", since = "1.95.0")]
#[rustc_const_unstable(feature = "const_convert", issue = "143773")]
impl const TryFrom<$int> for bool {
type Error = TryFromIntError;