about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorGiacomo Pasini <giacomo@status.im>2023-02-08 22:29:52 +0100
committerGiacomo Pasini <giacomo@status.im>2023-03-03 16:33:11 +0100
commitb3a47d9b6b26adebe9ce0e24c7efb26c6380d50a (patch)
treeac5e0d9d46bc053d00fe99b787af4480d0bbf1f6 /compiler/rustc_mir_transform/src/coverage/debug.rs
parent13471d3b2046cce78181dde6cfc146c09f55e29e (diff)
downloadrust-b3a47d9b6b26adebe9ce0e24c7efb26c6380d50a.tar.gz
rust-b3a47d9b6b26adebe9ce0e24c7efb26c6380d50a.zip
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.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions