Skip to content

Commit a53e3ac

Browse files
committed
Change tracking issue from rust-lang#76156 to rust-lang#102911
1 parent f0b8167 commit a53e3ac

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

library/core/src/panic/location.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ impl<'a> Location<'a> {
123123
/// ```
124124
#[must_use]
125125
#[stable(feature = "panic_hooks", since = "1.10.0")]
126-
#[rustc_const_unstable(feature = "const_caller_location", issue = "76156")]
126+
#[rustc_const_unstable(feature = "const_location_fields", issue = "102911")]
127127
#[inline]
128128
pub const fn file(&self) -> &str {
129129
self.file
@@ -148,7 +148,7 @@ impl<'a> Location<'a> {
148148
/// ```
149149
#[must_use]
150150
#[stable(feature = "panic_hooks", since = "1.10.0")]
151-
#[rustc_const_unstable(feature = "const_caller_location", issue = "76156")]
151+
#[rustc_const_unstable(feature = "const_location_fields", issue = "102911")]
152152
#[inline]
153153
pub const fn line(&self) -> u32 {
154154
self.line
@@ -173,7 +173,7 @@ impl<'a> Location<'a> {
173173
/// ```
174174
#[must_use]
175175
#[stable(feature = "panic_col", since = "1.25.0")]
176-
#[rustc_const_unstable(feature = "const_caller_location", issue = "76156")]
176+
#[rustc_const_unstable(feature = "const_location_fields", issue = "102911")]
177177
#[inline]
178178
pub const fn column(&self) -> u32 {
179179
self.col

library/core/tests/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#![feature(const_ptr_write)]
2222
#![feature(const_trait_impl)]
2323
#![feature(const_likely)]
24+
#![feature(const_location_fields)]
2425
#![feature(core_intrinsics)]
2526
#![feature(core_private_bignum)]
2627
#![feature(core_private_diy_float)]

0 commit comments

Comments
 (0)