mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
14 lines
225 B
Rust
14 lines
225 B
Rust
//@ 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() {}
|