1
Fork 0

Actually keep PlaceMention if requested.

This commit is contained in:
Camille GILLOT 2023-03-18 16:11:48 +00:00
parent ddfa2463e2
commit 2870d269f5
12 changed files with 45 additions and 23 deletions

View file

@ -333,8 +333,6 @@ pub enum StatementKind<'tcx> {
///
/// When executed at runtime, this computes the given place, but then discards
/// it without doing a load. It is UB if the place is not pointing to live memory.
///
/// Disallowed after drop elaboration.
PlaceMention(Box<Place<'tcx>>),
/// Encodes a user's type ascription. These need to be preserved