File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 38
38
#![ feature( dropck_parametricity) ]
39
39
#![ cfg_attr( test, feature( test) ) ]
40
40
41
+ #![ allow( deprecated) ]
42
+
41
43
extern crate alloc;
42
44
43
45
use std:: cell:: { Cell , RefCell } ;
@@ -122,6 +124,10 @@ impl Chunk {
122
124
/// than objects without destructors. This reduces overhead when initializing
123
125
/// plain-old-data (`Copy` types) and means we don't need to waste time running
124
126
/// their destructors.
127
+ #[ unstable( feature = "rustc_private" ,
128
+ reason = "Private to rustc" , issue = "0" ) ]
129
+ #[ rustc_deprecated( since = "1.6.0-dev" , reason =
130
+ "The reflection-based arena is superseded by the any-arena crate" ) ]
125
131
pub struct Arena < ' longer_than_self > {
126
132
// The heads are separated out from the list as a unbenchmarked
127
133
// microoptimization, to avoid needing to case on the list to access a head.
You can’t perform that action at this time.
0 commit comments