mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Move async-await tests from run-pass to ui
This commit is contained in:
parent
481068a707
commit
45dda939ab
@ -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…
Reference in New Issue
Block a user