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