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 /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 001a77fac33f6560ff361ff38f661ff5f1c6bf85 (diff) | |
| parent | 80fcd7c40ec46613b130b5d732162ecbfda6c509 (diff) | |
| download | rust-487e83b711b96d84ce2edfc4cb4ba792c10b589e.tar.gz rust-487e83b711b96d84ce2edfc4cb4ba792c10b589e.zip | |
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 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
