about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-12-28 17:11:40 +0000
committerbors <bors@rust-lang.org>2021-12-28 17:11:40 +0000
commita139949eadb99bb34ca1ac30965b498147dec773 (patch)
tree4c5eeb98cb01a3d624ce49177211fbf7ec097751 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent56ccd30a27e6125ee6b66a391a27ba506f7dd1ec (diff)
parentd5c4119d428439accc65a54167872038f0ff1e74 (diff)
downloadrust-a139949eadb99bb34ca1ac30965b498147dec773.tar.gz
rust-a139949eadb99bb34ca1ac30965b498147dec773.zip
Auto merge of #8187 - ApamNapat:fix_7651, r=llogiq
Fixed issues with to_radians and to_degrees lints

fixes #7651

I fixed the original problem as described in the issue, but the bug remains for complex expressions (the commented out TC I added is an example). I would also love some feedback on how to cleanup my code and reduce duplication. I hope it's not a problem that the issue has been claimed by someone else - that was over two months ago.

changelog: ``[`suboptimal_flops`]`` no longer proposes broken code with `to_radians` and `to_degrees`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions