]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/fn_ptr_shim.core.ops-function-Fn-call.AddMovesForPackedDrops.before.mir
Merge commit 'c4416f20dcaec5d93077f72470e83e150fb923b1' into sync-rustfmt
[rust.git] / src / test / 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:LL:COL
5
6     bb0: {
7         _0 = move (*_1)() -> bb1;        // scope 0 at $SRC_DIR/core/src/ops/function.rs:LL:COL
8     }
9
10     bb1: {
11         return;                          // scope 0 at $SRC_DIR/core/src/ops/function.rs:LL:COL
12     }
13 }