File: chained-comparison.stderr

package info (click to toggle)
rust-anyhow 1.0.99-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 500 kB
  • sloc: makefile: 2
file content (10 lines) | stat: -rw-r--r-- 300 bytes parent folder | download | duplicates (53)
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);
  |                            ++++++++