fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
690 B14 linesraw
1error[E0046]: not all trait items implemented, missing: `Type`, `bar`, `baz`, `A`
2  --> $DIR/missing-assoc-fn-applicable-suggestions.rs:7:1
3   |
4LL | impl TraitA<()> for S {
5   | ^^^^^^^^^^^^^^^^^^^^^ missing `Type`, `bar`, `baz`, `A` in implementation
6   |
7   = help: implement the missing item: `type Type = /* Type */;`
8   = help: implement the missing item: `fn bar<T>(_: T) -> Self { todo!() }`
9   = help: implement the missing item: `fn baz<T>(_: T) -> Self where T: TraitB, <T as TraitB>::Item: Copy { todo!() }`
10   = help: implement the missing item: `const A: usize = 42;`
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0046`.