We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c7fc04 commit fdb2f7fCopy full SHA for fdb2f7f
src/librustc_mir/util/collect_writes.rs
@@ -53,9 +53,9 @@ impl<'tcx> Visitor<'tcx> for FindLocalAssignmentVisitor {
53
}
54
55
crate trait FindAssignments {
56
- fn find_assignments(&self, local: Local) -> Vec<Location>;
+ fn find_assignments(&self, local: Local) -> Vec<Location>;
57
58
-
+
59
impl<'tcx> FindAssignments for Mir<'tcx>{
60
fn find_assignments(&self, local: Local) -> Vec<Location>{
61
let mut visitor = FindLocalAssignmentVisitor{ needle: local, locations: vec![]};
0 commit comments