summaryrefslogtreecommitdiffstats
path: root/src/test/ui/traits/issue-59029-1.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/traits/issue-59029-1.stderr')
-rw-r--r--src/test/ui/traits/issue-59029-1.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/traits/issue-59029-1.stderr b/src/test/ui/traits/issue-59029-1.stderr
new file mode 100644
index 000000000..203a89285
--- /dev/null
+++ b/src/test/ui/traits/issue-59029-1.stderr
@@ -0,0 +1,15 @@
+error[E0220]: associated type `Res` not found for `Self`
+ --> $DIR/issue-59029-1.rs:5:52
+ |
+LL | trait MkSvc<Target, Req> = Svc<Target> where Self::Res: Svc<Req>;
+ | ^^^ there is a similarly named associated type `Res` in the trait `Svc`
+
+error[E0220]: associated type `Res` not found for `Self`
+ --> $DIR/issue-59029-1.rs:5:52
+ |
+LL | trait MkSvc<Target, Req> = Svc<Target> where Self::Res: Svc<Req>;
+ | ^^^ there is a similarly named associated type `Res` in the trait `Svc`
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0220`.