File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ impl<'a> Location<'a> {
123
123
/// ```
124
124
#[ must_use]
125
125
#[ 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 " ) ]
127
127
#[ inline]
128
128
pub const fn file ( & self ) -> & str {
129
129
self . file
@@ -148,7 +148,7 @@ impl<'a> Location<'a> {
148
148
/// ```
149
149
#[ must_use]
150
150
#[ 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 " ) ]
152
152
#[ inline]
153
153
pub const fn line ( & self ) -> u32 {
154
154
self . line
@@ -173,7 +173,7 @@ impl<'a> Location<'a> {
173
173
/// ```
174
174
#[ must_use]
175
175
#[ 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 " ) ]
177
177
#[ inline]
178
178
pub const fn column ( & self ) -> u32 {
179
179
self . col
Original file line number Diff line number Diff line change 21
21
#![ feature( const_ptr_write) ]
22
22
#![ feature( const_trait_impl) ]
23
23
#![ feature( const_likely) ]
24
+ #![ feature( const_location_fields) ]
24
25
#![ feature( core_intrinsics) ]
25
26
#![ feature( core_private_bignum) ]
26
27
#![ feature( core_private_diy_float) ]
You can’t perform that action at this time.
0 commit comments