summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-24682.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-24682.stderr')
-rw-r--r--tests/ui/issues/issue-24682.stderr22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-24682.stderr b/tests/ui/issues/issue-24682.stderr
new file mode 100644
index 000000000..e1943bf4d
--- /dev/null
+++ b/tests/ui/issues/issue-24682.stderr
@@ -0,0 +1,22 @@
+error[E0229]: associated type bindings are not allowed here
+ --> $DIR/issue-24682.rs:5:11
+ |
+LL | / N=
+LL | | Self::N> {
+ | |_________________^ associated type not allowed here
+
+error[E0229]: associated type bindings are not allowed here
+ --> $DIR/issue-24682.rs:11:13
+ |
+LL | <N=()>
+ | ^^^^ associated type not allowed here
+
+error[E0229]: associated type bindings are not allowed here
+ --> $DIR/issue-24682.rs:15:13
+ |
+LL | u32<N=()>
+ | ^^^^ associated type not allowed here
+
+error: aborting due to 3 previous errors
+
+For more information about this error, try `rustc --explain E0229`.