2 #![feature(const_generics)]
3 //[cfail1]~^ WARN the feature `const_generics` is incomplete
5 fn combinator<T, const S: usize>() -> [T; S] {}
6 //[cfail1]~^ ERROR mismatched types
9 combinator().into_iter();
10 //[cfail1]~^ ERROR type annotations needed