fix: fix overflowing hex wrong suggestion
Signed-off-by: 11happy <soni5happy@gmail.com> rebase Signed-off-by: 11happy <soni5happy@gmail.com> fix: rebless Signed-off-by: 11happy <soni5happy@gmail.com>
This commit is contained in:
parent
f45d4acf1b
commit
dbf8fe068a
3 changed files with 22 additions and 5 deletions
|
@ -186,7 +186,7 @@ fn report_bin_hex_error(
|
|||
lit_no_suffix,
|
||||
negative_val: actually.clone(),
|
||||
int_ty: int_ty.name_str(),
|
||||
uint_ty: int_ty.to_unsigned().name_str(),
|
||||
uint_ty: Integer::fit_unsigned(val).uint_ty_str(),
|
||||
})
|
||||
})
|
||||
.flatten();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue