1 error: the range pattern here has ambiguous interpretation
2 --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:6:10
5 | ^^^ help: add parentheses to clarify the precedence: `(0..)`
7 error[E0586]: inclusive range with no end
8 --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:8:11
11 | ^^^ help: use `..` instead
13 = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
15 error: the range pattern here has ambiguous interpretation
16 --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:8:10
19 | ^^^^ help: add parentheses to clarify the precedence: `(0..=)`
21 error[E0586]: inclusive range with no end
22 --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:11:11
25 | ^^^ help: use `..` instead
27 = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
29 error: the range pattern here has ambiguous interpretation
30 --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:16:10
33 | ^^^ help: add parentheses to clarify the precedence: `(..0)`
35 error: the range pattern here has ambiguous interpretation
36 --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:18:10
39 | ^^^^ help: add parentheses to clarify the precedence: `(..=0)`
41 error: range-to patterns with `...` are not allowed
42 --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:20:10
45 | ^^^ help: use `..=` instead
47 error: the range pattern here has ambiguous interpretation
48 --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:20:10
51 | ^^^^ help: add parentheses to clarify the precedence: `(..=0)`
53 error: aborting due to 8 previous errors
55 For more information about this error, try `rustc --explain E0586`.