blob: 46a81db62b42c53433684944e6c7e423a69fc8f2 (
plain)
1
2
3
4
5
6
7
8
|
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
|