about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-09-27 00:49:08 +0000
committerbors <bors@rust-lang.org>2021-09-27 00:49:08 +0000
commit30fe4ba1fb58c5f929dcf0f637b400a1ceb77693 (patch)
tree34788d3f8ad9c09ba70eee40b5f42305e267afe2 /compiler/rustc_codegen_llvm/src
parentfb61d04896332afd90a66c661d2d5dab33345c92 (diff)
parente63d69244e6f0d1463cea210445cb46f59cd9f83 (diff)
downloadrust-30fe4ba1fb58c5f929dcf0f637b400a1ceb77693.tar.gz
rust-30fe4ba1fb58c5f929dcf0f637b400a1ceb77693.zip
Auto merge of #7722 - dtolnay-contrib:float, r=giraffate
Stop suggesting a float truncation that is not shorter

Fixes #7721.

Previously Clippy would say that a number has excessive precision even if it has the minimum possible precision for the floating point value that it corresponds to.

changelog: Fix [`excessive_precision`] being triggered on floats that are already written in shortest form
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions