Skip to content

Commit 2e1ac08

Browse files
Call Foo::async_method in the async-await test
1 parent 3c46da8 commit 2e1ac08

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

src/test/run-pass/async-await.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ fn main() {
170170
async_closure,
171171
async_fn,
172172
async_fn_with_internal_borrow,
173+
Foo::async_method,
173174
|x| {
174175
async move {
175176
unsafe { await!(unsafe_async_fn(x)) }

src/test/run-pass/async-await.stderr

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)