From bd525c9d20fe1aeeb544fda9e6a9d3d7b5ee8d7f Mon Sep 17 00:00:00 2001 From: Jonas Bushart Date: Mon, 22 Feb 2021 14:33:42 +0100 Subject: 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 --- crates/proc_macro_srv/src/rustc_server.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/proc_macro_srv/src/rustc_server.rs b/crates/proc_macro_srv/src/rustc_server.rs index 25606da60..a8504f762 100644 --- a/crates/proc_macro_srv/src/rustc_server.rs +++ b/crates/proc_macro_srv/src/rustc_server.rs @@ -506,8 +506,7 @@ impl server::Literal for Rustc { } } - let text = - def_suffixed_integer! {kind, u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128}; + let text = def_suffixed_integer! {kind, u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize}; Literal { text: text.into(), id: tt::TokenId::unspecified() } } -- cgit v1.2.3