summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/pat-lt-bracket-4.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/pat-lt-bracket-4.stderr')
-rw-r--r--tests/ui/parser/pat-lt-bracket-4.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/pat-lt-bracket-4.stderr b/tests/ui/parser/pat-lt-bracket-4.stderr
new file mode 100644
index 000000000..911c276b9
--- /dev/null
+++ b/tests/ui/parser/pat-lt-bracket-4.stderr
@@ -0,0 +1,8 @@
+error: expected one of `=>`, `@`, `if`, or `|`, found `<`
+ --> $DIR/pat-lt-bracket-4.rs:8:12
+ |
+LL | Foo<T>::A(value) => value,
+ | ^ expected one of `=>`, `@`, `if`, or `|`
+
+error: aborting due to previous error
+