You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a lot of incorrect unused_mut warnings coming up. I'm going to make this meta-bug for tracking them because it's very unclear how many underlying issues there are:
There are at least two different issues here it seems:
fnfoo(ref x:i32){}fnbar(){letmut x = 0;move || {
x = 1;};}
I'll try to have a PR for the first one over the weekend.
The second one requires move investigation, because the code is certainly trying to avoid linting in this case.
Activity
matthewjasper commentedon Jun 29, 2018
There are at least two different issues here it seems:
I'll try to have a PR for the first one over the weekend.
The second one requires move investigation, because the code is certainly trying to avoid linting in this case.
Auto merge of #51964 - matthewjasper:unused-mut-mir-generation, r=nik…
nikomatsakis commentedon Jul 6, 2018
@matthewjasper what remains now that your PR landed?
matthewjasper commentedon Jul 6, 2018
I don't think there are any more bugs. I think this is just waiting for this to be on nightly a few days to be sure.
nikomatsakis commentedon Jul 17, 2018
Closing as fixed then. @matthewjasper let me know if you think that's wrong!