blob: e7203f24d3f8dd9b21e5720e1faf74cb73390c71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
error: unexpected token: `...`
--> $DIR/dotdotdot-expr.rs:2:24
|
LL | let _redemptive = 1...21;
| ^^^
|
help: use `..` for an exclusive range
|
LL | let _redemptive = 1..21;
| ~~
help: or `..=` for an inclusive range
|
LL | let _redemptive = 1..=21;
| ~~~
error: aborting due to previous error
|