From 545214a56b53d7d158a81c6acb6f719da87ac5bd Mon Sep 17 00:00:00 2001 From: woppopo Date: Tue, 11 Oct 2022 06:40:37 +0000 Subject: [PATCH] Change tracking issue from #76156 to #102911 --- library/core/src/panic/location.rs | 6 +++--- library/core/tests/lib.rs | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/library/core/src/panic/location.rs b/library/core/src/panic/location.rs index 26a410365568c..6dcf23dde87c7 100644 --- a/library/core/src/panic/location.rs +++ b/library/core/src/panic/location.rs @@ -123,7 +123,7 @@ impl<'a> Location<'a> { /// ``` #[must_use] #[stable(feature = "panic_hooks", since = "1.10.0")] - #[rustc_const_unstable(feature = "const_caller_location", issue = "76156")] + #[rustc_const_unstable(feature = "const_location_fields", issue = "102911")] #[inline] pub const fn file(&self) -> &str { self.file @@ -148,7 +148,7 @@ impl<'a> Location<'a> { /// ``` #[must_use] #[stable(feature = "panic_hooks", since = "1.10.0")] - #[rustc_const_unstable(feature = "const_caller_location", issue = "76156")] + #[rustc_const_unstable(feature = "const_location_fields", issue = "102911")] #[inline] pub const fn line(&self) -> u32 { self.line @@ -173,7 +173,7 @@ impl<'a> Location<'a> { /// ``` #[must_use] #[stable(feature = "panic_col", since = "1.25.0")] - #[rustc_const_unstable(feature = "const_caller_location", issue = "76156")] + #[rustc_const_unstable(feature = "const_location_fields", issue = "102911")] #[inline] pub const fn column(&self) -> u32 { self.col diff --git a/library/core/tests/lib.rs b/library/core/tests/lib.rs index ac8533db04d28..a698e6e99e10c 100644 --- a/library/core/tests/lib.rs +++ b/library/core/tests/lib.rs @@ -21,6 +21,7 @@ #![feature(const_ptr_write)] #![feature(const_trait_impl)] #![feature(const_likely)] +#![feature(const_location_fields)] #![feature(core_intrinsics)] #![feature(core_private_bignum)] #![feature(core_private_diy_float)]