fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
670 B16 linesraw
1error[E0046]: not all trait items implemented, missing: `Type`, `bar`, `baz`
2  --> $DIR/missing-assoc-fn-applicable-suggestions.rs:15:1
3   |
4LL |     type Type;
5   |     ---------- `Type` from trait
6LL |     fn bar<T>(_: T) -> Self;
7   |     ------------------------ `bar` from trait
8LL |     fn baz<T>(_: T) -> Self where T: TraitB, <T as TraitB>::Item: Copy;
9   |     ------------------------------------------------------------------- `baz` from trait
10...
11LL | impl TraitA<()> for S {
12   | ^^^^^^^^^^^^^^^^^^^^^ missing `Type`, `bar`, `baz` in implementation
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0046`.