1 error: the range pattern here has ambiguous interpretation
2 --> $DIR/range-inclusive-pattern-precedence2.rs:14:13
5 | ^^^^^^^ help: add parentheses to clarify the precedence: `(10..=15)`
7 warning: `...` range patterns are deprecated
8 --> $DIR/range-inclusive-pattern-precedence2.rs:10:14
11 | ^^^ help: use `..=` for an inclusive range
13 = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
14 = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
15 note: the lint level is defined here
16 --> $DIR/range-inclusive-pattern-precedence2.rs:5:9
18 LL | #![warn(ellipsis_inclusive_range_patterns)]
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21 error: aborting due to previous error; 1 warning emitted