kauma/vendor/anyhow/tests/ui/chained-comparison.stderr
2024-10-23 10:21:09 +02:00

10 lines
300 B
Text

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);
| ++++++++