summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/missing-assoc-fn-applicable-suggestions.stderr
blob: 4c75fbe4c786b2956f080e63442b72a3265a22b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error[E0046]: not all trait items implemented, missing: `Type`, `bar`, `baz`
  --> $DIR/missing-assoc-fn-applicable-suggestions.rs:15:1
   |
LL |     type Type;
   |     --------- `Type` from trait
LL |     fn bar<T>(_: T) -> Self;
   |     ------------------------ `bar` from trait
LL |     fn baz<T>(_: T) -> Self where T: TraitB, <T as TraitB>::Item: Copy;
   |     ------------------------------------------------------------------- `baz` from trait
...
LL | impl TraitA<()> for S {
   | ^^^^^^^^^^^^^^^^^^^^^ missing `Type`, `bar`, `baz` in implementation

error: aborting due to previous error

For more information about this error, try `rustc --explain E0046`.