]> git.lizzy.rs Git - rust.git/blob - tests/ui/range/exclusive-range-patterns-2021.stderr
Rollup merge of #106532 - compiler-errors:dyn-star-to-dyn, r=jackh726
[rust.git] / tests / ui / range / exclusive-range-patterns-2021.stderr
1 error[E0783]: `...` range patterns are deprecated
2   --> $DIR/exclusive-range-patterns-2021.rs:6:9
3    |
4 LL |         0...3 => {}
5    |         ^---^
6    |          |
7    |          help: use `..=` for an inclusive range
8
9 error[E0783]: `...` range patterns are deprecated
10   --> $DIR/exclusive-range-patterns-2021.rs:8:9
11    |
12 LL |         4...10 => {}
13    |         ^---^^
14    |          |
15    |          help: use `..=` for an inclusive range
16
17 error[E0783]: `...` range patterns are deprecated
18   --> $DIR/exclusive-range-patterns-2021.rs:10:10
19    |
20 LL |         (11...100) => {}
21    |          ^^---^^^
22    |            |
23    |            help: use `..=` for an inclusive range
24
25 error: aborting due to 3 previous errors
26
27 For more information about this error, try `rustc --explain E0783`.