Make PlaceRef lifetimes of classify_drop_access_kind be both 'tcx
This commit is contained in:
parent
46d85e519b
commit
a32afa33c8
1 changed files with 1 additions and 1 deletions
|
|
@ -1521,7 +1521,7 @@ impl<'cx, 'tcx> MirBorrowckCtxt<'cx, 'tcx> {
|
|||
err.buffer(&mut self.errors_buffer);
|
||||
}
|
||||
|
||||
fn classify_drop_access_kind(&self, place: PlaceRef<'cx, 'tcx>) -> StorageDeadOrDrop<'tcx> {
|
||||
fn classify_drop_access_kind(&self, place: PlaceRef<'tcx, 'tcx>) -> StorageDeadOrDrop<'tcx> {
|
||||
let tcx = self.infcx.tcx;
|
||||
match place.projection {
|
||||
[] => StorageDeadOrDrop::LocalStorageDead,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue