diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/parser/range-3.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/parser/range-3.stderr b/src/test/ui/parser/range-3.stderr new file mode 100644 index 000000000..340167f18 --- /dev/null +++ b/src/test/ui/parser/range-3.stderr @@ -0,0 +1,8 @@ +error: expected one of `.`, `;`, `?`, `else`, or an operator, found `..` + --> $DIR/range-3.rs:4:17 + | +LL | let r = 1..2..3; + | ^^ expected one of `.`, `;`, `?`, `else`, or an operator + +error: aborting due to previous error + |