Skip to content

Commit

Permalink
Fixup async_closure_shims mir-opt test
Browse files Browse the repository at this point in the history
  • Loading branch information
saethlin committed Feb 7, 2024
1 parent 476f91c commit 3c7a8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mir-opt/async_closure_shims.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async fn call_once(f: impl AsyncFnOnce(i32)) {
// EMIT_MIR async_closure_shims.main-{closure#0}-{closure#0}.coroutine_closure_by_mut.0.mir
// EMIT_MIR async_closure_shims.main-{closure#0}-{closure#0}-{closure#0}.coroutine_by_mut.0.mir
// EMIT_MIR async_closure_shims.main-{closure#0}-{closure#0}-{closure#0}.coroutine_by_move.0.mir
fn main() {
pub fn main() {
block_on(async {
let b = 2i32;
let mut async_closure = async move |a: i32| {
Expand Down

0 comments on commit 3c7a8b9

Please sign in to comment.