]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/inclusive-range-pattern-syntax.stderr
Rollup merge of #51765 - jonas-schievink:patch-1, r=KodrAus
[rust.git] / src / test / ui / lint / inclusive-range-pattern-syntax.stderr
1 warning: `...` range patterns are deprecated
2   --> $DIR/inclusive-range-pattern-syntax.rs:19:10
3    |
4 LL |         1...2 => {}
5    |          ^^^ help: use `..=` for an inclusive range
6    |
7 note: lint level defined here
8   --> $DIR/inclusive-range-pattern-syntax.rs:14:9
9    |
10 LL | #![warn(ellipsis_inclusive_range_patterns)]
11    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12