Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
const-generics
/
issue-105689.rs
blob: 6c9215d78e72e9056336701201a280beaf6f4d46 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
//@ edition:2021
#![
feature
(
generic_const_exprs
)]
#![
allow
(
incomplete_features
)]
#[
allow
(
unused
)]
async
fn
foo
<
'
a
>()
{
let
_data
=
&
mut
[
0u8
;
{
1
+
4
}];
bar
().
await
}
async
fn
bar
()
{}
fn
main
()
{}