about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorhrxi <hrrrxi@gmail.com>2023-11-14 23:15:14 +0100
committerhrxi <hrrrxi@gmail.com>2023-11-15 00:33:14 +0100
commitb3073c536b349e6c80e24d8e85182d6d990c4c50 (patch)
treedb7ab861fc3ec929b309d49f3d4ad89c9c931747 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent0c42e451d643d54347aa47d7bc6c731896fe5fde (diff)
downloadrust-b3073c536b349e6c80e24d8e85182d6d990c4c50.tar.gz
rust-b3073c536b349e6c80e24d8e85182d6d990c4c50.zip
Change `if_same_then_else` to be a `style` lint
CC #3770

From https://github.com/rust-lang/rust-clippy/issues/3770#issuecomment-687565594 (@flip1995):

> Oh I thought I replied to this: I definitely see now that having this
> as a correctness lint might be the wrong categorization. What we might
> want to do is to just allow this lint, if there are comments in the
> arm bodies. But a good first step would be to downgrade this lint to
> style or complexity. I would vote for style since merging two arms is
> not always less complex.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions