Move async-await tests from run-pass to ui

This commit is contained in:
Andrew Xu 2019-07-01 22:18:45 +08:00
parent 481068a707
commit 45dda939ab
2 changed files with 5 additions and 2 deletions

View File

@ -1,9 +1,10 @@
// run-pass
// edition:2018
#![feature(async_await)]
#[path = "../auxiliary/arc_wake.rs"]
mod arc_wake;
extern crate arc_wake;
use std::pin::Pin;
use std::future::Future;

View File

@ -2,6 +2,8 @@
// handled incorrectly in generators.
// compile-flags: -Copt-level=z -Cdebuginfo=2 --edition=2018
// run-pass
#![feature(async_await)]
#![allow(unused)]