rust/tests/ui/operator-recovery/less-than-greater-than.stderr

14 lines
319 B
Plaintext

error: invalid comparison operator `<>`
--> $DIR/less-than-greater-than.rs:2:22
|
LL | println!("{}", 1 <> 2);
| ^^
|
help: `<>` is not a valid comparison operator, use `!=`
|
LL | println!("{}", 1 != 2);
| ~~
error: aborting due to 1 previous error