make super_projection take a PlaceRef

This commit is contained in:
Henry Boisdequin
2021-02-20 16:46:05 +05:30
parent 5ec4b060a7
commit a9c6188889
2 changed files with 6 additions and 7 deletions

View File

@@ -414,8 +414,7 @@ impl UsedLocals {
} else {
// A definition. Although, it still might use other locals for indexing.
self.super_projection(
place.local,
&place.projection,
place.as_ref(),
PlaceContext::MutatingUse(MutatingUseContext::Projection),
location,
);