Skip to content

Commit bd525c9

Browse files
committed
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
1 parent 7775d92 commit bd525c9

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)