Rollup merge of #77165 - simonvandel:do-not-fire-on-drop-and-replace, r=oli-obk
Followup to #76673 Resolves https://github.com/rust-lang/rust/pull/76673#discussion_r494426303 r? @tmiasko
This commit is contained in:
commit
8515efb193
2 changed files with 3 additions and 2 deletions
|
@ -96,6 +96,8 @@ pub enum TerminatorKind<'tcx> {
|
|||
/// P <- V
|
||||
/// }
|
||||
/// ```
|
||||
///
|
||||
/// Note that DropAndReplace is eliminated as part of the `ElaborateDrops` pass.
|
||||
DropAndReplace {
|
||||
place: Place<'tcx>,
|
||||
value: Operand<'tcx>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue