rust/src/test/ui/dotdotdot-expr.stderr
Esteban Küber 0baf61bfdb Increase spacing for suggestions in diagnostics
Make the spacing between the code snippet and verbose structured
suggestions consistent with note and help messages.
2019-10-24 12:26:01 -07:00

18 lines
400 B
Plaintext

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