rust/src/test/compile-fail/alt-arrows-block-then-binop.rs

7 lines
89 B
Rust
Raw Normal View History

fn main() {
alt 0 {
0 => {
} + 5 //~ ERROR unexpected token: `+`
}
}