mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 04:06:55 +01:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
248 B
Plaintext
9 lines
248 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 1 previous error
|
|
|