]> git.proxmox.com Git - rustc.git/blame - src/test/ui/missing/missing-items/m2.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / missing / missing-items / m2.stderr
CommitLineData
476ff2be 1error[E0046]: not all trait items implemented, missing: `CONSTANT`, `Type`, `method`
0731742a 2 --> $DIR/m2.rs:9:1
476ff2be 3 |
532ac7d7 4LL | 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 11error: aborting due to previous error
476ff2be 12
0531ce1d 13For more information about this error, try `rustc --explain E0046`.