summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/qualified-path-in-turbofish.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/qualified-path-in-turbofish.stderr')
-rw-r--r--tests/ui/parser/qualified-path-in-turbofish.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/qualified-path-in-turbofish.stderr b/tests/ui/parser/qualified-path-in-turbofish.stderr
new file mode 100644
index 000000000..8857d2ef3
--- /dev/null
+++ b/tests/ui/parser/qualified-path-in-turbofish.stderr
@@ -0,0 +1,8 @@
+error: found single colon before projection in qualified path
+ --> $DIR/qualified-path-in-turbofish.rs:17:27
+ |
+LL | template::<<Impl as T>:Ty>();
+ | ^ help: use double colon: `::`
+
+error: aborting due to previous error
+