2020-04-16 07:04:12 -05:00
|
|
|
error[E0046]: not all trait items implemented, missing: `CONSTANT`, `Type`, `method`, `method2`, `method3`, `method4`, `method5`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/m2.rs:9:1
|
2016-11-14 11:23:17 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | impl m1::X for X {
|
2020-04-16 07:04:12 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^ missing `CONSTANT`, `Type`, `method`, `method2`, `method3`, `method4`, `method5` in implementation
|
2016-11-14 11:23:17 -06:00
|
|
|
|
|
2019-10-24 00:45:15 -05:00
|
|
|
= help: implement the missing item: `const CONSTANT: u32 = 42;`
|
2023-04-19 12:22:16 -05:00
|
|
|
= help: implement the missing item: `type Type = /* Type */;`
|
2020-09-02 02:40:56 -05:00
|
|
|
= help: implement the missing item: `fn method(&self, _: String) -> <Self as m1::X>::Type { todo!() }`
|
|
|
|
= help: implement the missing item: `fn method2(self: Box<Self>, _: String) -> <Self as m1::X>::Type { todo!() }`
|
|
|
|
= help: implement the missing item: `fn method3(_: &Self, _: String) -> <Self as m1::X>::Type { todo!() }`
|
2020-04-16 04:28:49 -05:00
|
|
|
= help: implement the missing item: `fn method4(&self, _: &Self) -> <Self as m1::X>::Type { todo!() }`
|
2020-09-02 02:40:56 -05:00
|
|
|
= help: implement the missing item: `fn method5(self: &Box<Self>) -> <Self as m1::X>::Type { todo!() }`
|
2016-11-14 11:23:17 -06:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 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`.
|