@@ -1485,8 +1485,8 @@ pub enum PrimitiveType {
14851485 Str ,
14861486 Slice ,
14871487 Array ,
1488- PrimitiveTuple ,
1489- PrimitiveRawPointer ,
1488+ Tuple ,
1489+ RawPointer ,
14901490}
14911491
14921492#[ derive( Clone , RustcEncodable , RustcDecodable , Copy , Debug ) ]
@@ -1520,8 +1520,8 @@ impl Type {
15201520 FixedVector ( ..) | BorrowedRef { type_ : box FixedVector ( ..) , .. } => {
15211521 Some ( PrimitiveType :: Array )
15221522 }
1523- Tuple ( ..) => Some ( PrimitiveType :: PrimitiveTuple ) ,
1524- RawPointer ( ..) => Some ( PrimitiveType :: PrimitiveRawPointer ) ,
1523+ Tuple ( ..) => Some ( PrimitiveType :: Tuple ) ,
1524+ RawPointer ( ..) => Some ( PrimitiveType :: RawPointer ) ,
15251525 _ => None ,
15261526 }
15271527 }
@@ -1563,8 +1563,8 @@ impl PrimitiveType {
15631563 "f64" => Some ( PrimitiveType :: F64 ) ,
15641564 "array" => Some ( PrimitiveType :: Array ) ,
15651565 "slice" => Some ( PrimitiveType :: Slice ) ,
1566- "tuple" => Some ( PrimitiveType :: PrimitiveTuple ) ,
1567- "pointer" => Some ( PrimitiveType :: PrimitiveRawPointer ) ,
1566+ "tuple" => Some ( PrimitiveType :: Tuple ) ,
1567+ "pointer" => Some ( PrimitiveType :: RawPointer ) ,
15681568 _ => None ,
15691569 }
15701570 }
@@ -1601,8 +1601,8 @@ impl PrimitiveType {
16011601 PrimitiveType :: Char => "char" ,
16021602 PrimitiveType :: Array => "array" ,
16031603 PrimitiveType :: Slice => "slice" ,
1604- PrimitiveType :: PrimitiveTuple => "tuple" ,
1605- PrimitiveType :: PrimitiveRawPointer => "pointer" ,
1604+ PrimitiveType :: Tuple => "tuple" ,
1605+ PrimitiveType :: RawPointer => "pointer" ,
16061606 }
16071607 }
16081608
@@ -2454,8 +2454,8 @@ fn build_deref_target_impls(cx: &DocContext,
24542454 PrimitiveType :: Str => tcx. lang_items . str_impl ( ) ,
24552455 PrimitiveType :: Slice => tcx. lang_items . slice_impl ( ) ,
24562456 PrimitiveType :: Array => tcx. lang_items . slice_impl ( ) ,
2457- PrimitiveType :: PrimitiveTuple => None ,
2458- PrimitiveType :: PrimitiveRawPointer => tcx. lang_items . const_ptr_impl ( ) ,
2457+ PrimitiveType :: Tuple => None ,
2458+ PrimitiveType :: RawPointer => tcx. lang_items . const_ptr_impl ( ) ,
24592459 } ;
24602460 if let Some ( did) = did {
24612461 if !did. is_local ( ) {
0 commit comments