bors 4d30b08027 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.
2019-09-26 07:38:08 +00:00
..
2019-09-25 12:52:16 -07:00
2019-08-01 07:09:57 +02:00
2019-08-26 15:28:35 +02:00
2019-07-19 07:29:25 +02:00
2019-08-01 07:09:57 +02:00
2019-09-25 14:45:18 -07:00
2019-07-27 22:53:26 +01:00
2019-07-27 22:53:26 +01:00
2019-08-23 09:16:50 +00:00
2019-08-23 09:16:50 +00:00
2019-08-23 09:16:50 +00:00
2019-09-18 21:57:14 +02:00
2019-08-01 22:20:08 +09:00
2019-09-03 18:56:23 +02:00
2019-09-03 18:56:23 +02:00
2019-09-18 21:57:14 +02:00
2019-09-20 23:21:37 +09:00
2019-08-19 05:41:47 +00:00
2019-08-19 05:41:47 +00:00
2019-09-11 08:26:57 +02:00
2019-09-11 08:26:57 +02:00
2019-08-29 17:34:33 +02:00
2019-09-05 22:45:52 +09:00
2019-09-05 22:45:52 +09:00
2019-09-05 22:45:52 +09:00
2019-08-28 07:23:23 +02:00
2019-08-28 07:23:23 +02:00
2019-08-28 07:23:23 +02:00
2019-09-25 12:52:16 -07:00
2019-09-25 12:52:16 -07:00
2019-08-15 22:58:32 +02:00
2019-09-02 14:15:52 +02:00
2019-09-02 14:15:52 +02:00
2019-08-08 20:22:52 +07:00
2019-08-23 05:42:45 +00:00
2019-08-13 21:50:52 +02:00
2019-08-13 21:50:52 +02:00
2019-08-13 21:50:52 +02:00
2019-08-14 19:34:50 +02:00
2019-08-14 19:34:50 +02:00
2019-08-14 19:35:17 +02:00
2019-08-24 22:09:02 +02:00
2019-09-25 12:52:16 -07:00