Sign in
fuchsia
/
third_party
/
rust
/
972fef232ec0dd7a3f42091aa6f36cd68aeb3eef
/
.
/
tests
/
ui
/
const-generics
/
generic_const_exprs
/
issue-99647.rs
blob: a6b5eb15d6c1b350061ae47fc6d1ae382bfbfe12 [
file
] [
log
] [
blame
]
//@ edition:2018
//@ run-pass
#![
allow
(
incomplete_features
)]
#![
feature
(
generic_const_exprs
)]
#[
allow
(
unused
)]
async
fn
foo
<
'
a
>()
{
let
_data
=
&
mut
[
0u8
;
{
1
+
4
}];
bar
().
await
}
async
fn
bar
()
{}
fn
main
()
{}