@@ -287,15 +287,6 @@ pub struct field_ty {
287287 pub origin : ast:: DefId , // The DefId of the struct in which the field is declared.
288288}
289289
290- // Contains information needed to resolve types and (in the future) look up
291- // the types of AST nodes.
292- #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
293- pub struct creader_cache_key {
294- pub cnum : CrateNum ,
295- pub pos : usize ,
296- pub len : usize
297- }
298-
299290#[ derive( Clone , PartialEq , RustcDecodable , RustcEncodable ) ]
300291pub struct ItemVariances {
301292 pub types : VecPerParamSpace < Variance > ,
@@ -555,6 +546,15 @@ pub enum vtable_origin<'tcx> {
555546// expr to the associated trait ref.
556547pub type ObjectCastMap < ' tcx > = RefCell < NodeMap < ty:: PolyTraitRef < ' tcx > > > ;
557548
549+ // Contains information needed to resolve types and (in the future) look up
550+ // the types of AST nodes.
551+ #[ derive( Copy , Clone , PartialEq , Eq , Hash ) ]
552+ pub struct creader_cache_key {
553+ pub cnum : CrateNum ,
554+ pub pos : usize ,
555+ pub len : usize
556+ }
557+
558558/// A restriction that certain types must be the same size. The use of
559559/// `transmute` gives rise to these restrictions. These generally
560560/// cannot be checked until trans; therefore, each call to `transmute`
0 commit comments