rust/tests/ui/async-await/async-closures/auxiliary/foreign.rs

8 lines
148 B
Rust
Raw Normal View History

//@ edition:2021
#![feature(async_closure)]
pub fn closure() -> impl async Fn() {
async || { /* Don't really need to do anything here. */ }
}