Actually keep PlaceMention
if requested.
This commit is contained in:
parent
ddfa2463e2
commit
2870d269f5
12 changed files with 45 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue