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