1 // Check that arrays can be used with generic const and type.
5 #![cfg_attr(full, feature(const_generics))]
6 #![cfg_attr(full, allow(incomplete_features))]
7 #![cfg_attr(min, feature(min_const_generics))]
9 #![allow(dead_code, unused_variables)]
11 struct ConstArray<T, const LEN: usize> {
16 let arr = ConstArray::<i32, 8> {