File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 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> {
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
Original file line number Diff line number Diff line change 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) ]
You can’t perform that action at this time.
0 commit comments