diff options
Diffstat (limited to 'src/test/ui/or-patterns/while-parsing-this-or-pattern.stderr')
-rw-r--r-- | src/test/ui/or-patterns/while-parsing-this-or-pattern.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/ui/or-patterns/while-parsing-this-or-pattern.stderr b/src/test/ui/or-patterns/while-parsing-this-or-pattern.stderr new file mode 100644 index 000000000..7ad62ff99 --- /dev/null +++ b/src/test/ui/or-patterns/while-parsing-this-or-pattern.stderr @@ -0,0 +1,10 @@ +error: expected pattern, found `.` + --> $DIR/while-parsing-this-or-pattern.rs:5:20 + | +LL | Some(42) | .=. => {} + | -------- ^ expected pattern + | | + | while parsing this or-pattern starting here + +error: aborting due to previous error + |