File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ impl OsString {
137137 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
138138 #[ must_use]
139139 #[ inline]
140- #[ rustc_const_unstable ( feature = "const_pathbuf_osstring_new" , issue = "141520 " ) ]
140+ #[ rustc_const_stable ( feature = "const_pathbuf_osstring_new" , since = "CURRENT_RUSTC_VERSION " ) ]
141141 pub const fn new ( ) -> OsString {
142142 OsString { inner : Buf :: from_string ( String :: new ( ) ) }
143143 }
Original file line number Diff line number Diff line change @@ -1191,7 +1191,7 @@ impl PathBuf {
11911191 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
11921192 #[ must_use]
11931193 #[ inline]
1194- #[ rustc_const_unstable ( feature = "const_pathbuf_osstring_new" , issue = "141520 " ) ]
1194+ #[ rustc_const_stable ( feature = "const_pathbuf_osstring_new" , since = "CURRENT_RUSTC_VERSION " ) ]
11951195 pub const fn new ( ) -> PathBuf {
11961196 PathBuf { inner : OsString :: new ( ) }
11971197 }
You can’t perform that action at this time.
0 commit comments