1 // Regression test for #73727
6 #![cfg_attr(full, feature(adt_const_params))]
7 #![cfg_attr(full, allow(incomplete_features))]
9 fn a<const X: &'static [u32]>() {}
10 //[min]~^ ERROR `&'static [u32]` is forbidden as the type of a const generic parameter