Move async-await tests from run-pass to ui
This commit is contained in:
parent
481068a707
commit
45dda939ab
2 changed files with 5 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
@ -2,6 +2,8 @@
|
|||
// handled incorrectly in generators.
|
||||
// compile-flags: -Copt-level=z -Cdebuginfo=2 --edition=2018
|
||||
|
||||
// run-pass
|
||||
|
||||
#![feature(async_await)]
|
||||
#![allow(unused)]
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue