rust/tests/ui/liveness
Giacomo Pasini b3a47d9b6b
Desugars drop and replace at MIR build
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.
2023-03-03 16:33:11 +01:00
..
liveness-assign
liveness-asm.rs
liveness-asm.stderr
liveness-assign-imm-local-after-ret.rs
liveness-closure-require-ret.rs
liveness-closure-require-ret.stderr
liveness-consts.rs
liveness-consts.stderr
liveness-dead.rs
liveness-dead.stderr
liveness-derive.rs
liveness-derive.stderr
liveness-forgot-ret.rs
liveness-forgot-ret.stderr
liveness-issue-2163.rs
liveness-issue-2163.stderr
liveness-missing-ret2.rs
liveness-missing-ret2.stderr
liveness-move-call-arg.rs
liveness-move-call-arg.stderr
liveness-move-in-loop.rs
liveness-move-in-loop.stderr
liveness-move-in-while.rs
liveness-move-in-while.stderr
liveness-return-last-stmt-semi.rs
liveness-return-last-stmt-semi.stderr
liveness-unused.rs
liveness-unused.stderr
liveness-upvars.rs
liveness-upvars.stderr
liveness-use-after-move.rs
liveness-use-after-move.stderr
liveness-use-after-send.rs
liveness-use-after-send.stderr