Skip to content

Commit 786d30e

Browse files
committed
Add tracking issue
1 parent f104956 commit 786d30e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

library/core/src/num/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ pub enum IntErrorKind {
113113
impl ParseIntError {
114114
/// Outputs the detailed cause of parsing an integer failing.
115115
#[must_use]
116-
#[rustc_const_unstable(feature = "const_int_from_str", issue = "none")]
116+
#[rustc_const_unstable(feature = "const_int_from_str", issue = "59133")]
117117
#[stable(feature = "int_error_matching", since = "1.55.0")]
118118
pub const fn kind(&self) -> &IntErrorKind {
119119
&self.kind

library/core/src/num/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1454,7 +1454,7 @@ macro_rules! from_str_radix {
14541454
#[doc = concat!("assert_eq!(", stringify!($int_ty), "::from_str_radix(\"A\", 16), Ok(10));")]
14551455
/// ```
14561456
#[stable(feature = "rust1", since = "1.0.0")]
1457-
#[rustc_const_unstable(feature = "const_int_from_str", issue = "none")]
1457+
#[rustc_const_unstable(feature = "const_int_from_str", issue = "59133")]
14581458
pub const fn from_str_radix(src: &str, radix: u32) -> Result<$int_ty, ParseIntError> {
14591459
use self::IntErrorKind::*;
14601460
use self::ParseIntError as PIE;
@@ -1582,7 +1582,7 @@ macro_rules! from_str_radix_size_impl {
15821582
#[doc = concat!("assert_eq!(", stringify!($size), "::from_str_radix(\"A\", 16), Ok(10));")]
15831583
/// ```
15841584
#[stable(feature = "rust1", since = "1.0.0")]
1585-
#[rustc_const_unstable(feature = "const_int_from_str", issue = "none")]
1585+
#[rustc_const_unstable(feature = "const_int_from_str", issue = "59133")]
15861586
pub const fn from_str_radix(src: &str, radix: u32) -> Result<$size, ParseIntError> {
15871587
match <$t>::from_str_radix(src, radix) {
15881588
Ok(x) => Ok(x as $size),

0 commit comments

Comments
 (0)