fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0586]: inclusive range with no end 2 --> $DIR/range_pat_interactions2.rs:10:14 3 | 4LL | 0..=(5+1) => errors_only.push(x), 5 | ^^^ help: use `..` instead 6 | 7 = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) 8 9error: expected one of `=>`, `if`, or `|`, found `(` 10 --> $DIR/range_pat_interactions2.rs:10:17 11 | 12LL | 0..=(5+1) => errors_only.push(x), 13 | ^ expected one of `=>`, `if`, or `|` 14 15error: aborting due to 2 previous errors 16 17For more information about this error, try `rustc --explain E0586`.