summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/occurs-check/unify-n-nplusone.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/const-generics/occurs-check/unify-n-nplusone.stderr')
-rw-r--r--src/test/ui/const-generics/occurs-check/unify-n-nplusone.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/const-generics/occurs-check/unify-n-nplusone.stderr b/src/test/ui/const-generics/occurs-check/unify-n-nplusone.stderr
new file mode 100644
index 000000000..6b8e688fb
--- /dev/null
+++ b/src/test/ui/const-generics/occurs-check/unify-n-nplusone.stderr
@@ -0,0 +1,9 @@
+error[E0308]: mismatched types
+ --> $DIR/unify-n-nplusone.rs:14:11
+ |
+LL | arr = bind(arr);
+ | ^^^^^^^^^ encountered a self-referencing constant
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0308`.