]>
Commit | Line | Data |
---|---|---|
7cac9316 | 1 | error[E0601]: main function not found |
476ff2be SL |
2 | |
3 | error[E0046]: not all trait items implemented, missing: `CONSTANT`, `Type`, `method` | |
041b39d2 | 4 | --> $DIR/m2.rs:19:1 |
476ff2be | 5 | | |
041b39d2 XL |
6 | 19 | / impl m1::X for X { |
7 | 20 | | } | |
cc61c64b | 8 | | |_^ missing `CONSTANT`, `Type`, `method` in implementation |
476ff2be SL |
9 | | |
10 | = note: `CONSTANT` from trait: `const CONSTANT: u32;` | |
11 | = note: `Type` from trait: `type Type;` | |
12 | = note: `method` from trait: `fn(&Self, std::string::String) -> <Self as m1::X>::Type` | |
13 | ||
041b39d2 | 14 | error: aborting due to 2 previous errors |
476ff2be | 15 |