blob: 429bda9cefcd54b04c69885bad34a62a215ea400 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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);
LL + println!("{}", 1 != 2);
|
error: aborting due to 1 previous error
|