We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c25b3df commit a39fffeCopy full SHA for a39fffe
src/librustc_mir/borrow_check/used_muts.rs
@@ -53,7 +53,7 @@ struct GatherUsedMutsVisitor<'visit, 'cx: 'visit, 'gcx: 'tcx, 'tcx: 'cx> {
53
}
54
55
impl GatherUsedMutsVisitor<'_, '_, '_, '_> {
56
- fn remove_never_initialized_mut_locals(into: &Place) {
+ fn remove_never_initialized_mut_locals(&mut self, into: &Place) {
57
// Remove any locals that we found were initialized from the
58
// `never_initialized_mut_locals` set. At the end, the only remaining locals will
59
// be those that were never initialized - we will consider those as being used as
0 commit comments