File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 3838#![ feature( dropck_parametricity) ]
3939#![ cfg_attr( test, feature( test) ) ]
4040
41+ #![ allow( deprecated) ]
42+
4143extern crate alloc;
4244
4345use std:: cell:: { Cell , RefCell } ;
@@ -122,6 +124,10 @@ impl Chunk {
122124/// than objects without destructors. This reduces overhead when initializing
123125/// plain-old-data (`Copy` types) and means we don't need to waste time running
124126/// 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" ) ]
125131pub struct Arena < ' longer_than_self > {
126132 // The heads are separated out from the list as a unbenchmarked
127133 // 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