diff options
| author | goth-turtle <93494392+goth-turtle@users.noreply.github.com> | 2022-04-23 22:20:50 +0200 |
|---|---|---|
| committer | goth-turtle <93494392+goth-turtle@users.noreply.github.com> | 2022-04-24 15:28:36 +0200 |
| commit | f2902494614643509685c3bf974287ac9844b2fd (patch) | |
| tree | 5a4d310f5f675276759ace66699c02d0383182c3 /tests/rustdoc-js-std/parser-errors.js | |
| parent | cef882cc9dfae7980a1712609f8d00bfaf78062c (diff) | |
| download | rust-f2902494614643509685c3bf974287ac9844b2fd.tar.gz rust-f2902494614643509685c3bf974287ac9844b2fd.zip | |
mistyped_literal_suffixes: improve suggestions for integer types
Instead of just always suggesting signed suffixes regardless of size of the value, it now suggests an unsigned suffix when the value wouldn't fit into the corresponding signed type, and ignores the literal entirely if it is too big for the unsigned type as well.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
