]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/missing-assoc-fn-applicable-suggestions.stderr
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / 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`.