Skip to content

Commit 3c7a8b9

Browse files
committed
Fixup async_closure_shims mir-opt test
1 parent 476f91c commit 3c7a8b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/mir-opt/async_closure_shims.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async fn call_once(f: impl AsyncFnOnce(i32)) {
3333
// EMIT_MIR async_closure_shims.main-{closure#0}-{closure#0}.coroutine_closure_by_mut.0.mir
3434
// EMIT_MIR async_closure_shims.main-{closure#0}-{closure#0}-{closure#0}.coroutine_by_mut.0.mir
3535
// EMIT_MIR async_closure_shims.main-{closure#0}-{closure#0}-{closure#0}.coroutine_by_move.0.mir
36-
fn main() {
36+
pub fn main() {
3737
block_on(async {
3838
let b = 2i32;
3939
let mut async_closure = async move |a: i32| {

0 commit comments

Comments
 (0)