]>
Commit | Line | Data |
---|---|---|
476ff2be | 1 | error[E0046]: not all trait items implemented, missing: `CONSTANT`, `Type`, `method` |
0731742a | 2 | --> $DIR/m2.rs:9:1 |
476ff2be | 3 | | |
532ac7d7 | 4 | LL | impl m1::X for X { |
ff7c6d11 | 5 | | ^^^^^^^^^^^^^^^^ missing `CONSTANT`, `Type`, `method` in implementation |
476ff2be | 6 | | |
60c5eb7d XL |
7 | = help: implement the missing item: `const CONSTANT: u32 = 42;` |
8 | = help: implement the missing item: `type Type = Type;` | |
74b04a01 | 9 | = help: implement the missing item: `fn method(&self, _: std::string::String) -> <Self as m1::X>::Type { todo!() }` |
476ff2be | 10 | |
0531ce1d | 11 | error: aborting due to previous error |
476ff2be | 12 | |
0531ce1d | 13 | For more information about this error, try `rustc --explain E0046`. |