aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-02-22 13:54:53 +0000
committerGitHub <[email protected]>2021-02-22 13:54:53 +0000
commit77d861a93af1c5e94443981bcd23116d67d7fc62 (patch)
tree9493b3517c3e970da464282c0f75ebab0cdf78de
parent63d61c0c98c9eeba6baed918ddf616712fa28737 (diff)
parentbd525c9d20fe1aeeb544fda9e6a9d3d7b5ee8d7f (diff)
Merge #7753
7753: Add isize to the list of suffixed integers in typed_integer r=kjeremy a=jonasbb The missing `isize` in `typed_integers` seems to just be an oversight. Might fix: #7751 Co-authored-by: Jonas Bushart <[email protected]>
-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 }