summaryrefslogtreecommitdiffstats
path: root/src/test/ui/unsized/issue-75707.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/unsized/issue-75707.stderr')
-rw-r--r--src/test/ui/unsized/issue-75707.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/unsized/issue-75707.stderr b/src/test/ui/unsized/issue-75707.stderr
new file mode 100644
index 000000000..7d0a2cb85
--- /dev/null
+++ b/src/test/ui/unsized/issue-75707.stderr
@@ -0,0 +1,15 @@
+error[E0277]: the trait bound `MyCall: Callback` is not satisfied
+ --> $DIR/issue-75707.rs:15:5
+ |
+LL | f::<dyn Processing<Call = MyCall>>();
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Callback` is not implemented for `MyCall`
+ |
+note: required by a bound in `f`
+ --> $DIR/issue-75707.rs:9:9
+ |
+LL | fn f<P: Processing + ?Sized>() {
+ | ^^^^^^^^^^ required by this bound in `f`
+
+error: aborting due to previous error
+
+For more information about this error, try `rustc --explain E0277`.