Skip to content

Commit dc38562

Browse files
authored
Rollup merge of rust-lang#62270 - agnxy:move-async-test, r=Centril
Move async-await tests from run-pass to ui fix rust-lang#62236 r? @Centril
2 parents 818b5ce + f115147 commit dc38562

File tree

5 files changed

+9
-66
lines changed

5 files changed

+9
-66
lines changed

src/test/run-pass/auxiliary/arc_wake.rs

-64
This file was deleted.

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

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
//
88
// See issue #59123 for a full explanation.
99

10+
// run-pass
11+
1012
// edition:2018
1113

1214
#![feature(async_await)]

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
// run-pass
2+
// aux-build:arc_wake.rs
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/futures-api.rs renamed to src/test/ui/async-await/futures-api.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// run-pass
2+
13
// aux-build:arc_wake.rs
24

35
extern crate arc_wake;

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

+2
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)