diff options
Diffstat (limited to 'tests/ui/parser/pat-ranges-4.stderr')
-rw-r--r-- | tests/ui/parser/pat-ranges-4.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/pat-ranges-4.stderr b/tests/ui/parser/pat-ranges-4.stderr new file mode 100644 index 000000000..69084b5a4 --- /dev/null +++ b/tests/ui/parser/pat-ranges-4.stderr @@ -0,0 +1,8 @@ +error: expected one of `...`, `..=`, `..`, `:`, `;`, `=`, or `|`, found `-` + --> $DIR/pat-ranges-4.rs:4:12 + | +LL | let 10 - 3 ..= 10 = 8; + | ^ expected one of 7 possible tokens + +error: aborting due to previous error + |