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