fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: the range pattern here has ambiguous interpretation 2 --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:8:10 3 | 4LL | &0.. | _ => {} 5 | ^^^ help: add parentheses to clarify the precedence: `(0 ..)` 6 7error[E0586]: inclusive range with no end 8 --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:10:11 9 | 10LL | &0..= | _ => {} 11 | ^^^ help: use `..` instead 12 | 13 = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) 14 15error: the range pattern here has ambiguous interpretation 16 --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:10:10 17 | 18LL | &0..= | _ => {} 19 | ^^^^ help: add parentheses to clarify the precedence: `(0 ..=)` 20 21error[E0586]: inclusive range with no end 22 --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:13:11 23 | 24LL | &0... | _ => {} 25 | ^^^ help: use `..` instead 26 | 27 = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) 28 29error: the range pattern here has ambiguous interpretation 30 --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:18:10 31 | 32LL | &..0 | _ => {} 33 | ^^^ help: add parentheses to clarify the precedence: `(..0)` 34 35error: the range pattern here has ambiguous interpretation 36 --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:20:10 37 | 38LL | &..=0 | _ => {} 39 | ^^^^ help: add parentheses to clarify the precedence: `(..=0)` 40 41error: range-to patterns with `...` are not allowed 42 --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:22:10 43 | 44LL | &...0 | _ => {} 45 | ^^^ help: use `..=` instead 46 47error: the range pattern here has ambiguous interpretation 48 --> $DIR/half-open-range-pats-ref-ambiguous-interp.rs:22:10 49 | 50LL | &...0 | _ => {} 51 | ^^^^ help: add parentheses to clarify the precedence: `(..=0)` 52 53error: aborting due to 8 previous errors 54 55For more information about this error, try `rustc --explain E0586`.