summaryrefslogtreecommitdiff
path: root/tests/ui/type/missing-let-in-binding-3.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/type/missing-let-in-binding-3.stderr')
-rw-r--r--tests/ui/type/missing-let-in-binding-3.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/type/missing-let-in-binding-3.stderr b/tests/ui/type/missing-let-in-binding-3.stderr
new file mode 100644
index 00000000000..ca828ce37eb
--- /dev/null
+++ b/tests/ui/type/missing-let-in-binding-3.stderr
@@ -0,0 +1,10 @@
+error: expected identifier, found `:`
+ --> $DIR/missing-let-in-binding-3.rs:2:5
+ |
+LL | struct A {
+ | - while parsing this struct
+LL | : :u8,
+ | ^ expected identifier
+
+error: aborting due to previous error
+