fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
579 B13 linesraw
1error[E0046]: not all trait items implemented, missing: `CONSTANT`, `Type`, `method`
2  --> $DIR/m2.rs:9:1
3   |
4LL | impl m1::X for X {
5   | ^^^^^^^^^^^^^^^^ missing `CONSTANT`, `Type`, `method` in implementation
6   |
7   = help: implement the missing item: `const CONSTANT: u32 = 42;`
8   = help: implement the missing item: `type Type = Type;`
9   = help: implement the missing item: `fn method(&self, _: std::string::String) -> <Self as m1::X>::Type { unimplemented!() }`
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0046`.