1 error: generic parameters may not be used in const operations
2 --> $DIR/associated-const-type-parameter-arrays.rs:16:24
4 LL | let _array: [u32; <A as Foo>::Y];
5 | ^ cannot perform const operation using `A`
7 = note: type parameters may not be used in const expressions
8 = help: use `#![feature(generic_const_exprs)]` to allow generic const expressions
10 error: aborting due to previous error