mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
13 lines
161 B
Rust
13 lines
161 B
Rust
//@ check-pass
|
|
//@ edition:2018
|
|
|
|
#[allow(unused)]
|
|
async fn foo<'a>() {
|
|
let _data = &mut [0u8; { 1 + 4 }];
|
|
bar().await
|
|
}
|
|
|
|
async fn bar() {}
|
|
|
|
fn main() {}
|