]>
git.proxmox.com Git - rustc.git/blob - tests/ui/async-await/interior-with-const-generic-expr.rs
4 #![allow(incomplete_features)]
5 #![feature(generic_const_exprs)]
12 fn concat
<const A
: usize, const B
: usize>(a
: [f32; A
], b
: [f32; B
]) -> [f32; A
+ B
] {
16 async
fn reverse
<const A
: usize>(x
: [f32; A
]) -> [f32; A
] {
24 let ba
= reverse(ab
).await
;