about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-02-04 22:16:13 +0000
committerbors <bors@rust-lang.org>2020-02-04 22:16:13 +0000
commit298df703683838215fda0846ca9e4fec5fe31ff3 (patch)
tree4c078b4caea743048e10c0ecddefe455eb0842a8 /src/test/incremental/thinlto
parentd33c603d26f5645808f9e7cdcd2d2c9806cb23c7 (diff)
parent00904cb100f9f9d3291f98a3434f7aba9301b8de (diff)
downloadrust-298df703683838215fda0846ca9e4fec5fe31ff3.tar.gz
rust-298df703683838215fda0846ca9e4fec5fe31ff3.zip
Auto merge of #5061 - ThibsG:UselessMatch3664, r=flip1995
Add new lint: match with a single binding statement

This lint catches `match` statements that binds to only one block and could be rewritten using a simple `let` statement.

Lint name: MATCH_SINGLE_BINDING

fixes: #3664

changelog: add lint for match with single binding statement
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions