summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/missing-assoc-fn-applicable-suggestions.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/suggestions/missing-assoc-fn-applicable-suggestions.fixed')
-rw-r--r--tests/ui/suggestions/missing-assoc-fn-applicable-suggestions.fixed21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/ui/suggestions/missing-assoc-fn-applicable-suggestions.fixed b/tests/ui/suggestions/missing-assoc-fn-applicable-suggestions.fixed
deleted file mode 100644
index a0cb39a3f..000000000
--- a/tests/ui/suggestions/missing-assoc-fn-applicable-suggestions.fixed
+++ /dev/null
@@ -1,21 +0,0 @@
-// run-rustfix
-trait TraitB {
- type Item;
-}
-
-trait TraitA<A> {
- type Type;
- fn bar<T>(_: T) -> Self;
- fn baz<T>(_: T) -> Self where T: TraitB, <T as TraitB>::Item: Copy;
-}
-
-struct S;
-struct Type;
-
-impl TraitA<()> for S { //~ ERROR not all trait items implemented
-fn baz<T>(_: T) -> Self where T: TraitB, <T as TraitB>::Item: Copy { todo!() }
-fn bar<T>(_: T) -> Self { todo!() }
-type Type = Type;
-}
-
-fn main() {}