Skip to content

Commit

Permalink
Auto merge of #2078 - RalfJung:rustup, r=RalfJung
Browse files Browse the repository at this point in the history
rustup

rust-lang/rust#93313 somehow made it so that this does not have to be mutable any more...
  • Loading branch information
bors committed Apr 20, 2022
2 parents ba24c31 + 154f629 commit 4cf6cb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
27af5175497936ea3413bef5816e7c0172514b9c
51ea9bb29b07d76c5a7167d054b54f4eb7f5b44e
2 changes: 1 addition & 1 deletion tests/run-pass/async-fn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn never() -> Never {
}

async fn includes_never(crash: bool, x: u32) -> u32 {
let mut result = async { x * x }.await;
let result = async { x * x }.await;
if !crash {
return result;
}
Expand Down

0 comments on commit 4cf6cb3

Please sign in to comment.