blob: 30fa9891a13e10427341e210f2d5496f3637ef7b [file] [log] [blame]
error[E0277]: the trait bound `A: Foo` is not satisfied
--> $DIR/associated-const-type-parameter-arrays.rs:16:23
|
LL | const Y: usize;
| --------------- required by `Foo::Y`
...
LL | let _array: [u32; <A as Foo>::Y];
| ^^^^^^^^^^^^^ the trait `Foo` is not implemented for `A`
|
= help: consider adding a `where A: Foo` bound
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.