summaryrefslogtreecommitdiffstats
path: root/tests/ui/generics/single-colon-path-not-const-generics.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/generics/single-colon-path-not-const-generics.stderr')
-rw-r--r--tests/ui/generics/single-colon-path-not-const-generics.stderr11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/generics/single-colon-path-not-const-generics.stderr b/tests/ui/generics/single-colon-path-not-const-generics.stderr
new file mode 100644
index 000000000..3eafa9fa5
--- /dev/null
+++ b/tests/ui/generics/single-colon-path-not-const-generics.stderr
@@ -0,0 +1,11 @@
+error: expected one of `,` or `>`, found `:`
+ --> $DIR/single-colon-path-not-const-generics.rs:8:18
+ |
+LL | a: Vec<foo::bar:A>,
+ | ^
+ | |
+ | expected one of `,` or `>`
+ | help: write a path separator here: `::`
+
+error: aborting due to previous error
+