aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorJonas Bushart <[email protected]>2021-02-22 13:33:42 +0000
committerJonas Bushart <[email protected]>2021-02-22 13:48:56 +0000
commitbd525c9d20fe1aeeb544fda9e6a9d3d7b5ee8d7f (patch)
tree5e271c69c5faababdcea02c3f5d29156d6bce69e /crates
parent7775d92b47d43f655db5cf9408a3ecb2379de217 (diff)
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
Diffstat (limited to 'crates')
-rw-r--r--crates/proc_macro_srv/src/rustc_server.rs3
1 files changed, 1 insertions, 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 {
506 } 506 }
507 } 507 }
508 508
509 let text = 509 let text = def_suffixed_integer! {kind, u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize};
510 def_suffixed_integer! {kind, u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128};
511 510
512 Literal { text: text.into(), id: tt::TokenId::unspecified() } 511 Literal { text: text.into(), id: tt::TokenId::unspecified() }
513 } 512 }