1
Fork 0

Add comment and remove obsolete special case

This commit is contained in:
Camelid 2020-11-22 17:33:06 -08:00
parent f7bf282d9b
commit b196bec236
2 changed files with 2 additions and 7 deletions

View file

@ -1018,6 +1018,7 @@ macro_rules! visit_place_fns {
if !place.projection.is_empty() {
if context.is_use() {
// ^ Only change the context if it is a real use, not a "use" in debuginfo.
context = if context.is_mutating_use() {
PlaceContext::MutatingUse(MutatingUseContext::Projection)
} else {