mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
9 lines
246 B
Plaintext
9 lines
246 B
Plaintext
error: invalid comparison operator `<=>`
|
|
--> $DIR/spaceship.rs:2:22
|
|
|
|
|
LL | println!("{}", 1 <=> 2);
|
|
| ^^^ `<=>` is not a valid comparison operator, use `std::cmp::Ordering`
|
|
|
|
error: aborting due to previous error
|
|
|