diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/parser/pat-ranges-4.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/ui/parser/pat-ranges-4.stderr b/src/test/ui/parser/pat-ranges-4.stderr new file mode 100644 index 000000000..69084b5a4 --- /dev/null +++ b/src/test/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 + |