summaryrefslogtreecommitdiffstats
path: root/tests/ui/operator-recovery/spaceship.stderr
blob: ed6bd74c9b92edbeaf2797c9ec09c6da74a3ed74 (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 previous error