summaryrefslogtreecommitdiffstats
path: root/src/test/ui/unsized/issue-75707.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/unsized/issue-75707.rs')
-rw-r--r--src/test/ui/unsized/issue-75707.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/test/ui/unsized/issue-75707.rs b/src/test/ui/unsized/issue-75707.rs
deleted file mode 100644
index 9f04cdbb9..000000000
--- a/src/test/ui/unsized/issue-75707.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-pub trait Callback {
- fn cb();
-}
-
-pub trait Processing {
- type Call: Callback;
-}
-
-fn f<P: Processing + ?Sized>() {
- P::Call::cb();
-}
-
-fn main() {
- struct MyCall;
- f::<dyn Processing<Call = MyCall>>();
- //~^ ERROR: the trait bound `MyCall: Callback` is not satisfied
-}