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