Skip to content

Commit e1113e8

Browse files
authored
Rollup merge of #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 2b57e6a + f44a13e commit e1113e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/qualify_min_const_fn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ fn check_statement<'tcx>(
232232

233233
StatementKind::FakeRead(box (_, place)) => check_place(cx, *place, span, body, msrv),
234234
// just an assignment
235-
StatementKind::SetDiscriminant { place, .. } | StatementKind::Deinit(place) => {
235+
StatementKind::SetDiscriminant { place, .. } => {
236236
check_place(cx, **place, span, body, msrv)
237237
},
238238

0 commit comments

Comments
 (0)