2023-04-19 17:22:16 +00:00
|
|
|
error[E0046]: not all trait items implemented, missing: `Type`, `bar`, `baz`, `A`
|
|
|
|
--> $DIR/missing-assoc-fn-applicable-suggestions.rs:7:1
|
2020-01-31 03:01:31 +00:00
|
|
|
|
|
2023-04-19 17:47:33 +00:00
|
|
|
LL | impl TraitA<()> for S {
|
2023-04-19 17:22:16 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ missing `Type`, `bar`, `baz`, `A` in implementation
|
|
|
|
|
|
|
|
|
= help: implement the missing item: `type Type = /* Type */;`
|
|
|
|
= help: implement the missing item: `fn bar<T>(_: T) -> Self { todo!() }`
|
|
|
|
= help: implement the missing item: `fn baz<T>(_: T) -> Self where T: TraitB, <T as TraitB>::Item: Copy { todo!() }`
|
|
|
|
= help: implement the missing item: `const A: usize = 42;`
|
2020-01-31 03:01:31 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2020-01-31 03:01:31 +00:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0046`.
|