fork/rust

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

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

master
416 B14 linesraw
1error[E0046]: not all trait items implemented, missing: `foo`
2  --> $DIR/trivial_impl.rs:15:1
3   |
4LL | /     fn foo()
5LL | |     where
6LL | |         Self: Foo<()>;
7   | |______________________- `foo` from trait
8...
9LL |   impl Foo<u32> for () {}
10   |   ^^^^^^^^^^^^^^^^^^^^ missing `foo` in implementation
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0046`.