1
Fork 0

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:
11happy 2025-02-02 11:11:48 +05:30
parent f45d4acf1b
commit dbf8fe068a
3 changed files with 22 additions and 5 deletions

View file

@ -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();