mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
Remove StatementKind::Deinit.
This commit is contained in:
@@ -232,7 +232,7 @@ fn check_statement<'tcx>(
|
||||
|
||||
StatementKind::FakeRead(box (_, place)) => check_place(cx, *place, span, body, msrv),
|
||||
// just an assignment
|
||||
StatementKind::SetDiscriminant { place, .. } | StatementKind::Deinit(place) => {
|
||||
StatementKind::SetDiscriminant { place, .. } => {
|
||||
check_place(cx, **place, span, body, msrv)
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user