bors 0957f7d3b7 Auto merge of #3817 - rust-lang:fix-bool_comparison-on-non-bool, r=oli-obk
Fix `bool_comparison` with non-`bool` expressions

Fixes #3703.
It just moves around the type check that was already there for some comparison to all of them, because if one type isn't `bool`, none of those comparison can be simplified.
2019-02-26 15:51:40 +00:00
..
2019-02-23 21:38:16 +02:00
2019-01-29 08:19:05 +01:00
2019-01-31 06:32:29 +02:00
2019-01-31 06:32:29 +02:00
2019-01-27 13:46:22 +01:00
2019-02-18 19:36:58 -07:00
2019-02-18 19:36:58 -07:00
2019-02-10 21:23:04 +01:00
2019-02-10 21:23:04 +01:00
2019-02-24 07:30:08 +02:00
2019-02-24 07:30:08 +02:00
2019-02-24 07:30:08 +02:00
2019-02-17 01:50:31 +01:00
2019-02-17 01:50:31 +01:00
2019-02-10 10:48:24 +01:00
2019-02-19 21:34:14 +01:00
2019-02-19 21:34:14 +01:00
2019-02-22 08:05:21 +02:00
2019-02-22 08:05:21 +02:00
2019-02-24 18:23:54 +01:00
2019-02-24 18:23:54 +01:00
2019-01-27 13:46:22 +01:00
2019-01-29 07:22:08 +02:00
2019-01-29 07:22:08 +02:00
2019-02-19 06:39:22 +02:00
2019-02-20 06:06:00 +02:00
2019-02-18 22:56:43 +00:00
2019-02-18 22:56:43 +00:00