diff options
| author | goth-turtle <93494392+goth-turtle@users.noreply.github.com> | 2022-04-24 15:06:48 +0200 |
|---|---|---|
| committer | goth-turtle <93494392+goth-turtle@users.noreply.github.com> | 2022-04-24 15:28:36 +0200 |
| commit | b4a50e9ee5adda55ad68b0dc637433fa0936e10e (patch) | |
| tree | 23f127646e39fd8fbbc54929834454fa8cd3bfb5 /compiler/rustc_codegen_llvm/src/llvm_util.rs | |
| parent | f2902494614643509685c3bf974287ac9844b2fd (diff) | |
| download | rust-b4a50e9ee5adda55ad68b0dc637433fa0936e10e.tar.gz rust-b4a50e9ee5adda55ad68b0dc637433fa0936e10e.zip | |
mistyped_literal_suffixes: ignore floats without exponent
Previously this lint would only look at the integer part of floating point literals without an exponent, giving wrong suggestions like: ``` | 8 | let _ = 123_32.123; | ^^^^^^^^^^ help: did you mean to write: `123.123_f32` | ``` Instead, it now ignores these literals. Fixes #6129
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions
