about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorgoth-turtle <93494392+goth-turtle@users.noreply.github.com>2022-04-23 22:20:50 +0200
committergoth-turtle <93494392+goth-turtle@users.noreply.github.com>2022-04-24 15:28:36 +0200
commitf2902494614643509685c3bf974287ac9844b2fd (patch)
tree5a4d310f5f675276759ace66699c02d0383182c3 /tests/rustdoc-js-std/parser-errors.js
parentcef882cc9dfae7980a1712609f8d00bfaf78062c (diff)
downloadrust-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