fork/rust

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

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

master
770 B18 linesraw
1error[E0277]: the trait bound `Foo: HasComponent<()>` is not satisfied
2  --> $DIR/issue-91594.rs:10:19
3   |
4LL | impl HasComponent<<Foo as Component<Foo>>::Interface> for Foo {}
5   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `HasComponent<()>` is not implemented for `Foo`
6   |
7   = help: the trait `HasComponent<<Foo as Component<Foo>>::Interface>` is implemented for `Foo`
8note: required for `Foo` to implement `Component<Foo>`
9  --> $DIR/issue-91594.rs:13:27
10   |
11LL | impl<M: HasComponent<()>> Component<M> for Foo {
12   |         ----------------  ^^^^^^^^^^^^     ^^^
13   |         |
14   |         unsatisfied trait bound introduced here
15
16error: aborting due to previous error
17
18For more information about this error, try `rustc --explain E0277`.