diff options
| author | Ben Kimock <kimockb@gmail.com> | 2024-02-06 23:40:58 -0500 |
|---|---|---|
| committer | Ben Kimock <kimockb@gmail.com> | 2024-02-06 23:40:58 -0500 |
| commit | 3c7a8b9d7168b0e59f4264a987ffea54b54f0223 (patch) | |
| tree | 584bcfc8aefb1d8ac6841bd426560fc9589894b3 | |
| parent | 476f91cbf7fd4080fea7ede8c145c83f0b589ff9 (diff) | |
| download | rust-3c7a8b9d7168b0e59f4264a987ffea54b54f0223.tar.gz rust-3c7a8b9d7168b0e59f4264a987ffea54b54f0223.zip | |
Fixup async_closure_shims mir-opt test
| -rw-r--r-- | tests/mir-opt/async_closure_shims.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/async_closure_shims.rs b/tests/mir-opt/async_closure_shims.rs index ef3bdaaa145..2c99a2dad37 100644 --- a/tests/mir-opt/async_closure_shims.rs +++ b/tests/mir-opt/async_closure_shims.rs @@ -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| { |
