1 #![feature(const_generics)]
2 //~^ WARN the feature `const_generics` is incomplete
7 //~^ ERROR can't use generic parameters from outer function
12 static a: *const T = Default::default();
13 //~^ ERROR can't use generic parameters from outer function
16 fn h<const N: usize>() {
19 //~^ ERROR can't use generic parameters from outer function
23 fn i<const N: usize>() {
24 static a: [u8; N] = [0; N];
25 //~^ ERROR can't use generic parameters from outer function
26 //~| ERROR can't use generic parameters from outer function