rust/tests/ui/async-await/no-params-non-move-async-closure.rs

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

9 lines
105 B
Rust
Raw Normal View History

//@ edition:2018
//@ check-pass
2018-06-06 22:50:59 +00:00
2019-08-02 01:45:58 +00:00
#![feature(async_closure)]
2018-06-06 22:50:59 +00:00
fn main() {
let _ = async |x: u8| {};
}