1 warning: `...` range patterns are deprecated
2 --> $DIR/inclusive-range-pattern-syntax.rs:9:10
5 | ^^^ help: use `..=` for an inclusive range
7 note: the lint level is defined here
8 --> $DIR/inclusive-range-pattern-syntax.rs:4:9
10 LL | #![warn(ellipsis_inclusive_range_patterns)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
13 = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
15 warning: `...` range patterns are deprecated
16 --> $DIR/inclusive-range-pattern-syntax.rs:16:9
19 | ^^^^^^ help: use `..=` for an inclusive range: `&(1..=2)`
21 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
22 = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
24 warning: 2 warnings emitted