@@ -287,15 +287,6 @@ pub struct field_ty {
287
287
pub origin : ast:: DefId , // The DefId of the struct in which the field is declared.
288
288
}
289
289
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
-
299
290
#[ derive( Clone , PartialEq , RustcDecodable , RustcEncodable ) ]
300
291
pub struct ItemVariances {
301
292
pub types : VecPerParamSpace < Variance > ,
@@ -555,6 +546,15 @@ pub enum vtable_origin<'tcx> {
555
546
// expr to the associated trait ref.
556
547
pub type ObjectCastMap < ' tcx > = RefCell < NodeMap < ty:: PolyTraitRef < ' tcx > > > ;
557
548
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
+
558
558
/// A restriction that certain types must be the same size. The use of
559
559
/// `transmute` gives rise to these restrictions. These generally
560
560
/// cannot be checked until trans; therefore, each call to `transmute`
0 commit comments