]> git.lizzy.rs Git - rust.git/blob - src/test/ui/dotdotdot-expr.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / dotdotdot-expr.stderr
1 error: unexpected token: `...`
2   --> $DIR/dotdotdot-expr.rs:2:24
3    |
4 LL |     let _redemptive = 1...21;
5    |                        ^^^
6    |
7 help: use `..` for an exclusive range
8    |
9 LL |     let _redemptive = 1..21;
10    |                        ^^
11 help: or `..=` for an inclusive range
12    |
13 LL |     let _redemptive = 1..=21;
14    |                        ^^^
15
16 error: aborting due to previous error
17