rust/tests/ui/operator-recovery/less-than-greater-than.rs

5 lines
89 B
Rust
Raw Normal View History

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