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-11-22 00:01:49 +0000
committerbors <bors@rust-lang.org>2021-11-22 00:01:49 +0000
commit5fbfdfa3199fd803a91002960ee1bac9619ac6a2 (patch)
tree43ef9c16a73e15499958f9ad387b7aeeb9ab8230 /compiler/rustc_codegen_llvm/src
parentde2208a351ae75e093dda3e7f14d48ee12d5be7a (diff)
parent1c8085d705849e528bf754e9db3b0e0521883d6d (diff)
downloadrust-5fbfdfa3199fd803a91002960ee1bac9619ac6a2.tar.gz
rust-5fbfdfa3199fd803a91002960ee1bac9619ac6a2.zip
Auto merge of #8009 - xFrednet:8004-suboptimal-flops-in-const, r=giraffate
Allow `suboptimal_flops` in const functions

This PR allows `clippy::suboptimal_flops` in constant functions. The check also effects the `clippy::imprecise_flops` lint logic. However, this doesn't have any effects as all functions checked for are not const and can therefore not be found in such functions.

---

changelog: [`suboptimal_flops`]: No longer triggers in constant functions

Closes: rust-lang/rust-clippy#8004
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions