4 //~^ ERROR can't use generic parameters from outer function
9 static a: *const T = Default::default();
10 //~^ ERROR can't use generic parameters from outer function
13 fn h<const N: usize>() {
16 //~^ ERROR can't use generic parameters from outer function
20 fn i<const N: usize>() {
21 static a: [u8; N] = [0; N];
22 //~^ ERROR can't use generic parameters from outer function
23 //~| ERROR can't use generic parameters from outer function