-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
A-diagnosticsdiagnostics / error reportingdiagnostics / error reportingS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now
Description
Example:
let foo = Vec::new();
loop {
// other code
foo.<|>
}To reproduce:
- Type
pu=> getVec::pushsuggested - Accept suggestion => line changes to
foo.push(value)
Desired outcome: let foo = Vec::new(); is changed to let mut foo = Vec::new(); when accepting the suggestion
Actual outcome: let foo = Vec::new(); is not changed
I would love if ra did this because that would require less jumping around the code.
obsgolemkornelski
Metadata
Metadata
Assignees
Labels
A-diagnosticsdiagnostics / error reportingdiagnostics / error reportingS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now