about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-09-26 07:38:08 +0000
committerbors <bors@rust-lang.org>2019-09-26 07:38:08 +0000
commit4d30b08027f191e26431e0e62b5f17de76d273c5 (patch)
treeb69a2eb12eb7f790283c25caecdb57da5fa8d551 /src/test/incremental/thinlto
parentbc1b04ba85b8221bdd7eaa1ad56a30686e8c5855 (diff)
parent2f34576c18846e3a1186cf0deb74e336f62fe86b (diff)
downloadrust-4d30b08027f191e26431e0e62b5f17de76d273c5.tar.gz
rust-4d30b08027f191e26431e0e62b5f17de76d273c5.zip
Auto merge of #4569 - james9909:add-comparison-chain, r=oli-obk
Add a new lint for comparison chains

changelog: Adds a new lint: `comparison_chain`.

`comparison_chain` lints all `if` conditional chains where all the conditions are binary comparisons on the same two operands and will suggest a rewrite with `match`.

Closes #4531.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions