Make PlaceMention a non-mutating use.
This commit is contained in:
parent
77dac91d4f
commit
9325a254f0
7 changed files with 19 additions and 17 deletions
|
@ -774,6 +774,7 @@ impl Visitor<'_> for CanConstProp {
|
|||
| NonMutatingUse(NonMutatingUseContext::Move)
|
||||
| NonMutatingUse(NonMutatingUseContext::Inspect)
|
||||
| NonMutatingUse(NonMutatingUseContext::Projection)
|
||||
| NonMutatingUse(NonMutatingUseContext::PlaceMention)
|
||||
| NonUse(_) => {}
|
||||
|
||||
// These could be propagated with a smarter analysis or just some careful thinking about
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue