2016-11-14 11:23:17 -06:00
|
|
|
error[E0046]: not all trait items implemented, missing: `CONSTANT`, `Type`, `method`
|
2017-07-06 13:52:25 -05:00
|
|
|
--> $DIR/m2.rs:19:1
|
2016-11-14 11:23:17 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | impl m1::X for X { //~ ERROR not all trait items implemented
|
2017-12-19 16:41:03 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^ missing `CONSTANT`, `Type`, `method` in implementation
|
2016-11-14 11:23:17 -06:00
|
|
|
|
|
|
|
|
= note: `CONSTANT` from trait: `const CONSTANT: u32;`
|
|
|
|
= note: `Type` from trait: `type Type;`
|
|
|
|
= note: `method` from trait: `fn(&Self, std::string::String) -> <Self as m1::X>::Type`
|
|
|
|
|
2018-03-12 15:21:43 -05:00
|
|
|
error: aborting due to previous error
|
2016-11-14 11:23:17 -06:00
|
|
|
|
2018-03-12 15:21:43 -05:00
|
|
|
For more information about this error, try `rustc --explain E0046`.
|