]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/missing-assoc-fn-applicable-suggestions.stderr
Rollup merge of #93966 - rkuhn:patch-1, r=tmandry
[rust.git] / src / test / ui / suggestions / missing-assoc-fn-applicable-suggestions.stderr
1 error[E0046]: not all trait items implemented, missing: `Type`, `bar`, `baz`
2   --> $DIR/missing-assoc-fn-applicable-suggestions.rs:15:1
3    |
4 LL |     type Type;
5    |     ---------- `Type` from trait
6 LL |     fn bar<T>(_: T) -> Self;
7    |     ------------------------ `bar` from trait
8 LL |     fn baz<T>(_: T) -> Self where T: TraitB, <T as TraitB>::Item: Copy;
9    |     ------------------------------------------------------------------- `baz` from trait
10 ...
11 LL | impl TraitA<()> for S {
12    | ^^^^^^^^^^^^^^^^^^^^^ missing `Type`, `bar`, `baz` in implementation
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0046`.