LL | let _array: [u32; <A as Foo>::Y];
| ^^^^^^^^^^^^^ the trait `Foo` is not implemented for `A`
|
-help: consider further restricting this bound with `+ Foo`
- --> $DIR/associated-const-type-parameter-arrays.rs:15:16
+help: consider further restricting this bound
|
-LL | pub fn test<A: Foo, B: Foo>() {
- | ^^^
+LL | pub fn test<A: Foo + Foo, B: Foo>() {
+ | ^^^^^
error: aborting due to previous error