diff options
author | bors <bors@rust-lang.org> | 2023-01-31 00:03:08 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2023-01-31 00:03:08 +0000 |
commit | 487e83b711b96d84ce2edfc4cb4ba792c10b589e (patch) | |
tree | 6e79e3ff2f39930c60e7b1758d9ed8b4f3d6864c /tests/rustdoc-js-std/parser-errors.js | |
parent | 001a77fac33f6560ff361ff38f661ff5f1c6bf85 (diff) | |
parent | 80fcd7c40ec46613b130b5d732162ecbfda6c509 (diff) | |
download | rust-487e83b711b96d84ce2edfc4cb4ba792c10b589e.tar.gz |
Auto merge of #105650 - cassaundra:float-literal-suggestion, r=pnkfelix
Fix invalid float literal suggestions when recovering an integer
Only suggest adding a zero to integers with a preceding dot when the change will result in a valid floating point literal.
For example, `.0x0` should not be turned into `0.0x0`.
r? nnethercote
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions