]>
git.proxmox.com Git - rustc.git/blob - src/test/incremental/const-generics/issue-64087.rs
2 #![feature(const_generics)]
3 //[cfail1]~^ WARN the feature `const_generics` is incomplete and may cause the compiler to crash
5 fn combinator
<T
, const S
: usize>() -> [T
; S
] {}
6 //[cfail1]~^ ERROR mismatched types
9 combinator().into_iter();
10 //[cfail1]~^ ERROR type annotations needed