```
error[E0277]: the trait bound `[[u16; 3]; 2]: Bar` is not satisfied
--> $DIR/issue-67185-2.rs:21:6
|
LL | impl Foo for FooImpl {}
| ^^^ the trait `Bar` is not implemented for `[[u16; 3]; 2]`
|
help: the following other types implement trait `Bar`
--> $DIR/issue-67185-2.rs:9:1
|
LL | impl Bar for [u16; 4] {}
| ^^^^^^^^^^^^^^^^^^^^^ `[u16; 4]`
LL | impl Bar for [[u16; 3]; 3] {}
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ `[[u16; 3]; 3]`
note: required by a bound in `Foo`
--> $DIR/issue-67185-2.rs:14:30
|
LL | trait Foo
| --- required by a bound in this trait
LL | where
LL | [<u8 as Baz>::Quaks; 2]: Bar,
| ^^^ required by this bound in `Foo`
```
27 lines
1 KiB
Text
27 lines
1 KiB
Text
error[E0277]: the trait bound `Foo: HasComponent<()>` is not satisfied
|
|
--> $DIR/issue-91594.rs:10:19
|
|
|
|
|
LL | impl HasComponent<<Foo as Component<Foo>>::Interface> for Foo {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
|
|
|
|
|
help: the trait `HasComponent<()>` is not implemented for `Foo`
|
|
--> $DIR/issue-91594.rs:8:1
|
|
|
|
|
LL | struct Foo;
|
|
| ^^^^^^^^^^
|
|
help: the trait `HasComponent<<Foo as Component<Foo>>::Interface>` is implemented for `Foo`
|
|
--> $DIR/issue-91594.rs:10:1
|
|
|
|
|
LL | impl HasComponent<<Foo as Component<Foo>>::Interface> for Foo {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
note: required for `Foo` to implement `Component<Foo>`
|
|
--> $DIR/issue-91594.rs:13:27
|
|
|
|
|
LL | impl<M: HasComponent<()>> Component<M> for Foo {
|
|
| ---------------- ^^^^^^^^^^^^ ^^^
|
|
| |
|
|
| unsatisfied trait bound introduced here
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|