rust/tests/ui/operator-recovery/spaceship.rs
2023-01-11 09:32:08 +00:00

5 lines
91 B
Rust

fn main() {
println!("{}", 1 <=> 2);
//~^ERROR invalid comparison operator `<=>`
}