Skip to content

Commit 290cd46

Browse files
authored
Rollup merge of rust-lang#147544 - cjgillot:nodeinit, r=saethlin
Remove StatementKind::Deinit. It is a remnant from the time we deaggreated MIR. Now, it is only constructed by the `LargeEnums` MIR pass, which is disabled by default.
2 parents 5735423 + 51c1e80 commit 290cd46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/intrinsics/mir.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
//!
228228
//! #### Statements
229229
//! - Assign statements work via normal Rust assignment.
230-
//! - [`Retag`], [`StorageLive`], [`StorageDead`], [`Deinit`] statements have an associated function.
230+
//! - [`Retag`], [`StorageLive`], [`StorageDead`] statements have an associated function.
231231
//!
232232
//! #### Rvalues
233233
//!
@@ -400,7 +400,6 @@ define!("mir_unwind_resume",
400400
define!("mir_storage_live", fn StorageLive<T>(local: T));
401401
define!("mir_storage_dead", fn StorageDead<T>(local: T));
402402
define!("mir_assume", fn Assume(operand: bool));
403-
define!("mir_deinit", fn Deinit<T>(place: T));
404403
define!("mir_checked", fn Checked<T>(binop: T) -> (T, bool));
405404
define!(
406405
"mir_ptr_metadata",

0 commit comments

Comments
 (0)