Add comment and remove obsolete special case
This commit is contained in:
parent
f7bf282d9b
commit
b196bec236
2 changed files with 2 additions and 7 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue