1 #![feature(generic_const_exprs)]
2 #![allow(incomplete_features)]
4 type Arr<const N: usize> = [u8; N - 1];
5 //~^ ERROR evaluation of `Arr::<0>::{constant#0}` failed
7 fn test<const N: usize>() -> Arr<N>
10 //~^ ERROR evaluation of `test::<0>::{constant#0}` failed