mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
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
This commit is contained in:
parent
7775d92b47
commit
bd525c9d20
1 changed files with 1 additions and 2 deletions
|
@ -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() }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue