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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
119 B
Rust
Raw Normal View History

//@ edition:2021
2024-11-04 18:59:57 +00:00
pub fn closure() -> impl AsyncFn() {
async || { /* Don't really need to do anything here. */ }
}