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 {
137
137
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
138
138
#[ must_use]
139
139
#[ 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 " ) ]
141
141
pub const fn new ( ) -> OsString {
142
142
OsString { inner : Buf :: from_string ( String :: new ( ) ) }
143
143
}
Original file line number Diff line number Diff line change @@ -1191,7 +1191,7 @@ impl PathBuf {
1191
1191
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
1192
1192
#[ must_use]
1193
1193
#[ 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 " ) ]
1195
1195
pub const fn new ( ) -> PathBuf {
1196
1196
PathBuf { inner : OsString :: new ( ) }
1197
1197
}
You can’t perform that action at this time.
0 commit comments