Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
incremental
/
const-generics
/
issue-64087.rs
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
}