Sign in
rust
/
rust
/
08650fbb506c44fbc95d91abfb7cd95a56bbff30
/
.
/
src
/
test
/
incremental
/
const-generics
/
issue-64087.rs
blob: 81c813531bd53d6bd6b09ff164d466e3cb2f31cb [
file
]
// revisions:cfail1
fn
combinator
<
T
,
const
S
:
usize
>()
->
[
T
;
S
]
{}
//[cfail1]~^ ERROR mismatched types
fn
main
()
{
combinator
().
into_iter
();
//[cfail1]~^ ERROR type annotations needed
}