Evaluate place expression in PlaceMention.

This commit is contained in:
Camille GILLOT
2022-11-24 19:09:27 +00:00
parent 409661936f
commit ddfa2463e2
13 changed files with 159 additions and 19 deletions

View File

@@ -665,7 +665,7 @@ impl<'cx, 'tcx> rustc_mir_dataflow::ResultsVisitor<'cx, 'tcx> for MirBorrowckCtx
}
// Only relevant for mir typeck
StatementKind::AscribeUserType(..)
// Only relevant for unsafeck
// Only relevant for liveness and unsafeck
| StatementKind::PlaceMention(..)
// Doesn't have any language semantics
| StatementKind::Coverage(..)