File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
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_location_fields" , issue = "102911 " ) ]
126+ #[ rustc_const_stable ( feature = "const_location_fields" , since = "CURRENT_RUSTC_VERSION " ) ]
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_location_fields" , issue = "102911 " ) ]
151+ #[ rustc_const_stable ( feature = "const_location_fields" , since = "CURRENT_RUSTC_VERSION " ) ]
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_location_fields" , issue = "102911 " ) ]
176+ #[ rustc_const_stable ( feature = "const_location_fields" , since = "CURRENT_RUSTC_VERSION " ) ]
177177 #[ inline]
178178 pub const fn column ( & self ) -> u32 {
179179 self . col
Original file line number Diff line number Diff line change 2222#![ feature( const_ptr_write) ]
2323#![ feature( const_trait_impl) ]
2424#![ feature( const_likely) ]
25- #![ feature( const_location_fields) ]
2625#![ feature( core_intrinsics) ]
2726#![ feature( core_io_borrowed_buf) ]
2827#![ feature( core_private_bignum) ]
You can’t perform that action at this time.
0 commit comments