Auto merge of #946 - RalfJung:rustup, r=oli-obk

fix async test

Test got broken by https://github.com/rust-lang/rust/pull/64292.
This commit is contained in:
bors 2019-09-11 15:24:49 +00:00
commit 7278385d80
2 changed files with 3 additions and 2 deletions

View file

@ -1 +1 @@
1e869133b9888dc5abde54f4f31cb797ed9c7874
74d5c70b174f06843049af2d764ff57ddc81c81c

View file

@ -15,7 +15,8 @@ pub async fn foo(x: &u32, y: u32) -> u32 {
}
async fn add(x: u32, y: u32) -> u32 {
async { x + y }.await
let a = async { x + y };
a.await
}
async fn build_aggregate(a: u32, b: u32, c: u32, d: u32) -> u32 {