diff options
Diffstat (limited to 'tests/ui/parser/range-3.stderr')
-rw-r--r-- | tests/ui/parser/range-3.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/range-3.stderr b/tests/ui/parser/range-3.stderr new file mode 100644 index 000000000..340167f18 --- /dev/null +++ b/tests/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 + |