1 2 3 4 5 6
#![feature(const_generics)] //~^ WARN the feature `const_generics` is incomplete struct S<const C: u8>(C); //~ ERROR expected type, found const parameter fn main() {}