]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/fn_ptr_shim.core.ops-function-Fn-call.AddMovesForPackedDrops.before.mir
Auto merge of #107667 - cjgillot:no-on-hit, r=lcnr,Zoxc
[rust.git] / tests / mir-opt / fn_ptr_shim.core.ops-function-Fn-call.AddMovesForPackedDrops.before.mir
1 // MIR for `std::ops::Fn::call` before AddMovesForPackedDrops
2
3 fn std::ops::Fn::call(_1: *const fn(), _2: ()) -> <fn() as FnOnce<()>>::Output {
4     let mut _0: <fn() as std::ops::FnOnce<()>>::Output; // return place in scope 0 at $SRC_DIR/core/src/ops/function.rs:+0:5: +0:67
5
6     bb0: {
7         _0 = move (*_1)() -> bb1;        // scope 0 at $SRC_DIR/core/src/ops/function.rs:+0:5: +0:67
8     }
9
10     bb1: {
11         return;                          // scope 0 at $SRC_DIR/core/src/ops/function.rs:+0:5: +0:67
12     }
13 }