@@ -55,7 +55,7 @@ macro_rules! typed_literal {
5555 SignedInt ( ast:: IntTy :: I32 ) => ConstInt :: I32 ( $lit) ,
5656 SignedInt ( ast:: IntTy :: I64 ) => ConstInt :: I64 ( $lit) ,
5757 SignedInt ( ast:: IntTy :: I128 ) => ConstInt :: I128 ( $lit) ,
58- SignedInt ( ast:: IntTy :: Is ) => match $tcx. sess. target. isize_ty {
58+ SignedInt ( ast:: IntTy :: Isize ) => match $tcx. sess. target. isize_ty {
5959 ast:: IntTy :: I16 => ConstInt :: Isize ( ConstIsize :: Is16 ( $lit) ) ,
6060 ast:: IntTy :: I32 => ConstInt :: Isize ( ConstIsize :: Is32 ( $lit) ) ,
6161 ast:: IntTy :: I64 => ConstInt :: Isize ( ConstIsize :: Is64 ( $lit) ) ,
@@ -66,7 +66,7 @@ macro_rules! typed_literal {
6666 UnsignedInt ( ast:: UintTy :: U32 ) => ConstInt :: U32 ( $lit) ,
6767 UnsignedInt ( ast:: UintTy :: U64 ) => ConstInt :: U64 ( $lit) ,
6868 UnsignedInt ( ast:: UintTy :: U128 ) => ConstInt :: U128 ( $lit) ,
69- UnsignedInt ( ast:: UintTy :: Us ) => match $tcx. sess. target. usize_ty {
69+ UnsignedInt ( ast:: UintTy :: Usize ) => match $tcx. sess. target. usize_ty {
7070 ast:: UintTy :: U16 => ConstInt :: Usize ( ConstUsize :: Us16 ( $lit) ) ,
7171 ast:: UintTy :: U32 => ConstInt :: Usize ( ConstUsize :: Us32 ( $lit) ) ,
7272 ast:: UintTy :: U64 => ConstInt :: Usize ( ConstUsize :: Us64 ( $lit) ) ,
@@ -84,13 +84,13 @@ impl IntTypeExt for attr::IntType {
8484 SignedInt ( ast:: IntTy :: I32 ) => tcx. types . i32 ,
8585 SignedInt ( ast:: IntTy :: I64 ) => tcx. types . i64 ,
8686 SignedInt ( ast:: IntTy :: I128 ) => tcx. types . i128 ,
87- SignedInt ( ast:: IntTy :: Is ) => tcx. types . isize ,
87+ SignedInt ( ast:: IntTy :: Isize ) => tcx. types . isize ,
8888 UnsignedInt ( ast:: UintTy :: U8 ) => tcx. types . u8 ,
8989 UnsignedInt ( ast:: UintTy :: U16 ) => tcx. types . u16 ,
9090 UnsignedInt ( ast:: UintTy :: U32 ) => tcx. types . u32 ,
9191 UnsignedInt ( ast:: UintTy :: U64 ) => tcx. types . u64 ,
9292 UnsignedInt ( ast:: UintTy :: U128 ) => tcx. types . u128 ,
93- UnsignedInt ( ast:: UintTy :: Us ) => tcx. types . usize ,
93+ UnsignedInt ( ast:: UintTy :: Usize ) => tcx. types . usize ,
9494 }
9595 }
9696
@@ -105,13 +105,13 @@ impl IntTypeExt for attr::IntType {
105105 ( SignedInt ( ast:: IntTy :: I32 ) , ConstInt :: I32 ( _) ) => { } ,
106106 ( SignedInt ( ast:: IntTy :: I64 ) , ConstInt :: I64 ( _) ) => { } ,
107107 ( SignedInt ( ast:: IntTy :: I128 ) , ConstInt :: I128 ( _) ) => { } ,
108- ( SignedInt ( ast:: IntTy :: Is ) , ConstInt :: Isize ( _) ) => { } ,
108+ ( SignedInt ( ast:: IntTy :: Isize ) , ConstInt :: Isize ( _) ) => { } ,
109109 ( UnsignedInt ( ast:: UintTy :: U8 ) , ConstInt :: U8 ( _) ) => { } ,
110110 ( UnsignedInt ( ast:: UintTy :: U16 ) , ConstInt :: U16 ( _) ) => { } ,
111111 ( UnsignedInt ( ast:: UintTy :: U32 ) , ConstInt :: U32 ( _) ) => { } ,
112112 ( UnsignedInt ( ast:: UintTy :: U64 ) , ConstInt :: U64 ( _) ) => { } ,
113113 ( UnsignedInt ( ast:: UintTy :: U128 ) , ConstInt :: U128 ( _) ) => { } ,
114- ( UnsignedInt ( ast:: UintTy :: Us ) , ConstInt :: Usize ( _) ) => { } ,
114+ ( UnsignedInt ( ast:: UintTy :: Usize ) , ConstInt :: Usize ( _) ) => { } ,
115115 _ => bug ! ( "disr type mismatch: {:?} vs {:?}" , self , val) ,
116116 }
117117 }
0 commit comments