File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ impl<T> Cursor<T> {
9595 /// # force_inference(&buff);
9696 /// ```
9797 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
98- #[ rustc_const_unstable ( feature = "const_io_structs" , issue = "78812 " ) ]
98+ #[ rustc_const_stable ( feature = "const_io_structs" , since = "CURRENT_RUSTC_VERSION " ) ]
9999 pub const fn new ( inner : T ) -> Cursor < T > {
100100 Cursor { pos : 0 , inner }
101101 }
@@ -132,7 +132,7 @@ impl<T> Cursor<T> {
132132 /// let reference = buff.get_ref();
133133 /// ```
134134 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
135- #[ rustc_const_unstable ( feature = "const_io_structs" , issue = "78812 " ) ]
135+ #[ rustc_const_stable ( feature = "const_io_structs" , since = "CURRENT_RUSTC_VERSION " ) ]
136136 pub const fn get_ref ( & self ) -> & T {
137137 & self . inner
138138 }
@@ -178,7 +178,7 @@ impl<T> Cursor<T> {
178178 /// assert_eq!(buff.position(), 1);
179179 /// ```
180180 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
181- #[ rustc_const_unstable ( feature = "const_io_structs" , issue = "78812 " ) ]
181+ #[ rustc_const_stable ( feature = "const_io_structs" , since = "CURRENT_RUSTC_VERSION " ) ]
182182 pub const fn position ( & self ) -> u64 {
183183 self . pos
184184 }
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ pub struct Empty;
5151/// ```
5252#[ must_use]
5353#[ stable( feature = "rust1" , since = "1.0.0" ) ]
54- #[ rustc_const_unstable ( feature = "const_io_structs" , issue = "78812 " ) ]
54+ #[ rustc_const_stable ( feature = "const_io_structs" , since = "CURRENT_RUSTC_VERSION " ) ]
5555pub const fn empty ( ) -> Empty {
5656 Empty
5757}
@@ -173,7 +173,7 @@ pub struct Repeat {
173173/// ```
174174#[ must_use]
175175#[ stable( feature = "rust1" , since = "1.0.0" ) ]
176- #[ rustc_const_unstable ( feature = "const_io_structs" , issue = "78812 " ) ]
176+ #[ rustc_const_stable ( feature = "const_io_structs" , since = "CURRENT_RUSTC_VERSION " ) ]
177177pub const fn repeat ( byte : u8 ) -> Repeat {
178178 Repeat { byte }
179179}
@@ -276,7 +276,7 @@ pub struct Sink;
276276/// ```
277277#[ must_use]
278278#[ stable( feature = "rust1" , since = "1.0.0" ) ]
279- #[ rustc_const_unstable ( feature = "const_io_structs" , issue = "78812 " ) ]
279+ #[ rustc_const_stable ( feature = "const_io_structs" , since = "CURRENT_RUSTC_VERSION " ) ]
280280pub const fn sink ( ) -> Sink {
281281 Sink
282282}
Original file line number Diff line number Diff line change 407407// tidy-alphabetical-start
408408#![ feature( const_collections_with_hasher) ]
409409#![ feature( const_hash) ]
410- #![ feature( const_io_structs) ]
411410#![ feature( const_ip) ]
412411#![ feature( const_ipv4) ]
413412#![ feature( const_ipv6) ]
You can’t perform that action at this time.
0 commit comments