Add isize to the list of suffixed integers in typed_integer

The missing `isize` in `typed_integers` seems to just be an oversight.

Might fix: #7751
This commit is contained in:
Jonas Bushart 2021-02-22 14:33:42 +01:00
parent 7775d92b47
commit bd525c9d20

View File

@ -506,8 +506,7 @@ impl server::Literal for Rustc {
} }
} }
let text = let text = def_suffixed_integer! {kind, u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize};
def_suffixed_integer! {kind, u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128};
Literal { text: text.into(), id: tt::TokenId::unspecified() } Literal { text: text.into(), id: tt::TokenId::unspecified() }
} }