This commit desugars the drop and replace deriving from an assignment at MIR build, avoiding the construction of the DropAndReplace terminator (which will be removed in a followign PR) In order to retain the same error messages for replaces a new DesugaringKind::Replace variant is introduced. |
||
|---|---|---|
| .. | ||
| liveness-assign-imm-local-in-loop.rs | ||
| liveness-assign-imm-local-in-loop.stderr | ||
| liveness-assign-imm-local-in-op-eq.rs | ||
| liveness-assign-imm-local-in-op-eq.stderr | ||
| liveness-assign-imm-local-with-drop.rs | ||
| liveness-assign-imm-local-with-drop.stderr | ||
| liveness-assign-imm-local-with-init.rs | ||
| liveness-assign-imm-local-with-init.stderr | ||