File tree 3 files changed +6
-7
lines changed
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> {
95
95
/// # force_inference(&buff);
96
96
/// ```
97
97
#[ 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 " ) ]
99
99
pub const fn new ( inner : T ) -> Cursor < T > {
100
100
Cursor { pos : 0 , inner }
101
101
}
@@ -132,7 +132,7 @@ impl<T> Cursor<T> {
132
132
/// let reference = buff.get_ref();
133
133
/// ```
134
134
#[ 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 " ) ]
136
136
pub const fn get_ref ( & self ) -> & T {
137
137
& self . inner
138
138
}
@@ -178,7 +178,7 @@ impl<T> Cursor<T> {
178
178
/// assert_eq!(buff.position(), 1);
179
179
/// ```
180
180
#[ 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 " ) ]
182
182
pub const fn position ( & self ) -> u64 {
183
183
self . pos
184
184
}
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ pub struct Empty;
51
51
/// ```
52
52
#[ must_use]
53
53
#[ 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 " ) ]
55
55
pub const fn empty ( ) -> Empty {
56
56
Empty
57
57
}
@@ -173,7 +173,7 @@ pub struct Repeat {
173
173
/// ```
174
174
#[ must_use]
175
175
#[ 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 " ) ]
177
177
pub const fn repeat ( byte : u8 ) -> Repeat {
178
178
Repeat { byte }
179
179
}
@@ -276,7 +276,7 @@ pub struct Sink;
276
276
/// ```
277
277
#[ must_use]
278
278
#[ 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 " ) ]
280
280
pub const fn sink ( ) -> Sink {
281
281
Sink
282
282
}
Original file line number Diff line number Diff line change 407
407
// tidy-alphabetical-start
408
408
#![ feature( const_collections_with_hasher) ]
409
409
#![ feature( const_hash) ]
410
- #![ feature( const_io_structs) ]
411
410
#![ feature( const_ip) ]
412
411
#![ feature( const_ipv4) ]
413
412
#![ feature( const_ipv6) ]
You can’t perform that action at this time.
0 commit comments