1
Fork 0

Adjust tests wrt. 'async_closure' feature gate.

This commit is contained in:
Mazdak Farrokhzad 2019-07-02 04:12:29 +02:00
parent bb7fbb99a2
commit 43315bc15e
20 changed files with 206 additions and 76 deletions

View file

@ -0,0 +1,8 @@
// edition:2018
// gate-test-async_closure
fn f() {
let _ = async || {}; //~ ERROR async closures are unstable
}
fn main() {}