Remove StatementKind::Deinit.
This commit is contained in:
parent
f6336bc8e4
commit
15575602da
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue