Skip to content

Commit 45dda93

Browse files
committed
Move async-await tests from run-pass to ui
1 parent 481068a commit 45dda93

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/test/run-pass/async-await/async-fn-size.rs renamed to src/test/ui/async-await/async-fn-size.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
// run-pass
2+
13
// edition:2018
24

35
#![feature(async_await)]
46

5-
#[path = "../auxiliary/arc_wake.rs"]
6-
mod arc_wake;
7+
extern crate arc_wake;
78

89
use std::pin::Pin;
910
use std::future::Future;

src/test/run-pass/async-await/issue-60709.rs renamed to src/test/ui/async-await/issue-60709.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// handled incorrectly in generators.
33
// compile-flags: -Copt-level=z -Cdebuginfo=2 --edition=2018
44

5+
// run-pass
6+
57
#![feature(async_await)]
68
#![allow(unused)]
79

0 commit comments

Comments
 (0)