summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/impl-wf-cycle-2.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/associated-types/impl-wf-cycle-2.stderr')
-rw-r--r--src/test/ui/associated-types/impl-wf-cycle-2.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/associated-types/impl-wf-cycle-2.stderr b/src/test/ui/associated-types/impl-wf-cycle-2.stderr
new file mode 100644
index 000000000..d02ed2cac
--- /dev/null
+++ b/src/test/ui/associated-types/impl-wf-cycle-2.stderr
@@ -0,0 +1,15 @@
+error[E0275]: overflow evaluating the requirement `<(T,) as Grault>::A == _`
+ --> $DIR/impl-wf-cycle-2.rs:7:1
+ |
+LL | impl<T: Grault> Grault for (T,)
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ |
+note: required because of the requirements on the impl of `Grault` for `(T,)`
+ --> $DIR/impl-wf-cycle-2.rs:7:17
+ |
+LL | impl<T: Grault> Grault for (T,)
+ | ^^^^^^ ^^^^
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0275`.