summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/unmatched-langle-1.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/unmatched-langle-1.stderr')
-rw-r--r--tests/ui/parser/unmatched-langle-1.stderr22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/ui/parser/unmatched-langle-1.stderr b/tests/ui/parser/unmatched-langle-1.stderr
new file mode 100644
index 000000000..cdf74bded
--- /dev/null
+++ b/tests/ui/parser/unmatched-langle-1.stderr
@@ -0,0 +1,22 @@
+error: unmatched angle brackets
+ --> $DIR/unmatched-langle-1.rs:5:10
+ |
+LL | foo::<<<<Ty<i32>>();
+ | ^^^ help: remove extra angle brackets
+
+error[E0412]: cannot find type `Ty` in this scope
+ --> $DIR/unmatched-langle-1.rs:5:14
+ |
+LL | foo::<<<<Ty<i32>>();
+ | ^^ not found in this scope
+
+error[E0425]: cannot find function `foo` in this scope
+ --> $DIR/unmatched-langle-1.rs:5:5
+ |
+LL | foo::<<<<Ty<i32>>();
+ | ^^^ not found in this scope
+
+error: aborting due to 3 previous errors
+
+Some errors have detailed explanations: E0412, E0425.
+For more information about an error, try `rustc --explain E0412`.