@@ -1485,8 +1485,8 @@ pub enum PrimitiveType {
1485
1485
Str ,
1486
1486
Slice ,
1487
1487
Array ,
1488
- PrimitiveTuple ,
1489
- PrimitiveRawPointer ,
1488
+ Tuple ,
1489
+ RawPointer ,
1490
1490
}
1491
1491
1492
1492
#[ derive( Clone , RustcEncodable , RustcDecodable , Copy , Debug ) ]
@@ -1520,8 +1520,8 @@ impl Type {
1520
1520
FixedVector ( ..) | BorrowedRef { type_ : box FixedVector ( ..) , .. } => {
1521
1521
Some ( PrimitiveType :: Array )
1522
1522
}
1523
- Tuple ( ..) => Some ( PrimitiveType :: PrimitiveTuple ) ,
1524
- RawPointer ( ..) => Some ( PrimitiveType :: PrimitiveRawPointer ) ,
1523
+ Tuple ( ..) => Some ( PrimitiveType :: Tuple ) ,
1524
+ RawPointer ( ..) => Some ( PrimitiveType :: RawPointer ) ,
1525
1525
_ => None ,
1526
1526
}
1527
1527
}
@@ -1563,8 +1563,8 @@ impl PrimitiveType {
1563
1563
"f64" => Some ( PrimitiveType :: F64 ) ,
1564
1564
"array" => Some ( PrimitiveType :: Array ) ,
1565
1565
"slice" => Some ( PrimitiveType :: Slice ) ,
1566
- "tuple" => Some ( PrimitiveType :: PrimitiveTuple ) ,
1567
- "pointer" => Some ( PrimitiveType :: PrimitiveRawPointer ) ,
1566
+ "tuple" => Some ( PrimitiveType :: Tuple ) ,
1567
+ "pointer" => Some ( PrimitiveType :: RawPointer ) ,
1568
1568
_ => None ,
1569
1569
}
1570
1570
}
@@ -1601,8 +1601,8 @@ impl PrimitiveType {
1601
1601
PrimitiveType :: Char => "char" ,
1602
1602
PrimitiveType :: Array => "array" ,
1603
1603
PrimitiveType :: Slice => "slice" ,
1604
- PrimitiveType :: PrimitiveTuple => "tuple" ,
1605
- PrimitiveType :: PrimitiveRawPointer => "pointer" ,
1604
+ PrimitiveType :: Tuple => "tuple" ,
1605
+ PrimitiveType :: RawPointer => "pointer" ,
1606
1606
}
1607
1607
}
1608
1608
@@ -2454,8 +2454,8 @@ fn build_deref_target_impls(cx: &DocContext,
2454
2454
PrimitiveType :: Str => tcx. lang_items . str_impl ( ) ,
2455
2455
PrimitiveType :: Slice => tcx. lang_items . slice_impl ( ) ,
2456
2456
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 ( ) ,
2459
2459
} ;
2460
2460
if let Some ( did) = did {
2461
2461
if !did. is_local ( ) {
0 commit comments