fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error: the range pattern here has ambiguous interpretation 2 --> $DIR/range-inclusive-pattern-precedence.rs:17:10 3 | 4LL | &10..=15 => {} 5 | ^^^^^^^ help: add parentheses to clarify the precedence: `(10 ..=15)` 6 7error: the range pattern here has ambiguous interpretation 8 --> $DIR/range-inclusive-pattern-precedence.rs:28:13 9 | 10LL | box 10..=15 => {} 11 | ^^^^^^^ help: add parentheses to clarify the precedence: `(10 ..=15)` 12 13warning: `...` range patterns are deprecated 14 --> $DIR/range-inclusive-pattern-precedence.rs:14:9 15 | 16LL | &0...9 => {} 17 | ^^^^^^ help: use `..=` for an inclusive range: `&(0..=9)` 18 | 19note: the lint level is defined here 20 --> $DIR/range-inclusive-pattern-precedence.rs:9:9 21 | 22LL | #![warn(ellipsis_inclusive_range_patterns)] 23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 24 25warning: `...` range patterns are deprecated 26 --> $DIR/range-inclusive-pattern-precedence.rs:25:14 27 | 28LL | box 0...9 => {} 29 | ^^^ help: use `..=` for an inclusive range 30 31error: aborting due to 2 previous errors 32