blob: 81c813531bd53d6bd6b09ff164d466e3cb2f31cb [file] [log] [blame]
// revisions:cfail1
fn combinator<T, const S: usize>() -> [T; S] {}
//[cfail1]~^ ERROR mismatched types
fn main() {
combinator().into_iter();
//[cfail1]~^ ERROR type annotations needed
}