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