2024-07-27 01:36:17 -05:00
|
|
|
// MIR for `<impl at $DIR/no_inlined_clone.rs:9:10: 9:15>::clone` after PreCodegen
|
|
|
|
|
|
|
|
fn <impl at $DIR/no_inlined_clone.rs:9:10: 9:15>::clone(_1: &Foo) -> Foo {
|
|
|
|
debug self => _1;
|
|
|
|
let mut _0: Foo;
|
2024-10-30 08:11:37 -05:00
|
|
|
let mut _2: i32;
|
2024-07-27 01:36:17 -05:00
|
|
|
|
|
|
|
bb0: {
|
2024-10-30 08:11:37 -05:00
|
|
|
StorageLive(_2);
|
|
|
|
_2 = copy ((*_1).0: i32);
|
|
|
|
_0 = Foo { a: move _2 };
|
|
|
|
StorageDead(_2);
|
2024-07-27 01:36:17 -05:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|