| 1 |
error: comparison operators cannot be chained |
| 2 |
--> tests/ui/chained-comparison.rs:6:19 |
| 3 |
| |
| 4 |
6 | ensure!(false == false == true); |
| 5 |
| ^^ ^^ |
| 6 |
| |
| 7 |
help: split the comparison into two |
| 8 |
| |
| 9 |
6 | ensure!(false == false && false == true); |
| 10 |
| ++++++++ |