Skip to content

Commit 77d861a

Browse files
bors[bot]jonasbb
andauthored
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 <jonas@bushart.org>
2 parents 63d61c0 + bd525c9 commit 77d861a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/proc_macro_srv/src/rustc_server.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,8 +506,7 @@ impl server::Literal for Rustc {
506506
}
507507
}
508508

509-
let text =
510-
def_suffixed_integer! {kind, u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128};
509+
let text = def_suffixed_integer! {kind, u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize};
511510

512511
Literal { text: text.into(), id: tt::TokenId::unspecified() }
513512
}

0 commit comments

Comments
 (0)