]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/issue-73050.rs
Rollup merge of #106973 - oli-obk:tait_ice_closure_in_impl_header, r=lcnr
[rust.git] / tests / ui / async-await / issue-73050.rs
1 // check-pass
2 // edition:2018
3
4 #[allow(unused)]
5 async fn foo<'a>() {
6     let _data = &mut [0u8; { 1 + 4 }];
7     bar().await
8 }
9
10 async fn bar() {}
11
12 fn main() {}