| - // MIR for `chain` before TailCopyToMove | |
| + // MIR for `chain` after TailCopyToMove | |
| fn chain(_1: u32) -> u32 { | |
| debug x => _1; | |
| let mut _0: u32; | |
| let _2: u32; | |
| scope 1 { | |
| debug t => _2; | |
| } | |
| bb0: { | |
| StorageLive(_2); | |
| - _2 = copy _1; | |
| - _0 = copy _2; | |
| + _2 = move _1; | |
| + _0 = move _2; | |
| StorageDead(_2); | |
| return; | |
| } | |
| } | |