summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-66353.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-66353.stderr')
-rw-r--r--tests/ui/issues/issue-66353.stderr17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/ui/issues/issue-66353.stderr b/tests/ui/issues/issue-66353.stderr
new file mode 100644
index 000000000..335618097
--- /dev/null
+++ b/tests/ui/issues/issue-66353.stderr
@@ -0,0 +1,17 @@
+error[E0277]: the trait bound `(): _A` is not satisfied
+ --> $DIR/issue-66353.rs:12:14
+ |
+LL | _Func::< <() as _A>::AssocT >::func(());
+ | ^^^^^^^^^^^^^^^^^^ the trait `_A` is not implemented for `()`
+
+error[E0277]: the trait bound `(): _Func<_>` is not satisfied
+ --> $DIR/issue-66353.rs:12:41
+ |
+LL | _Func::< <() as _A>::AssocT >::func(());
+ | ----------------------------------- ^^ the trait `_Func<_>` is not implemented for `()`
+ | |
+ | required by a bound introduced by this call
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0277`.