// revisions:cfail1 #![feature(const_generics)] //[cfail1]~^ WARN the feature `const_generics` is incomplete struct S([T; N]); fn f(x: T) -> S { panic!() } fn main() { f(0u8); //[cfail1]~^ ERROR type annotations needed }