track traits lol

This commit is contained in:
nora 2023-01-23 09:13:37 +01:00
parent fa0b3021a9
commit 76418d9b82
4 changed files with 19 additions and 16 deletions

View file

@ -31,18 +31,6 @@ impl VisitMut for Visitor<'_> {
}
}
fn visit_field_mut(&mut self, field: &mut syn::Field) {
self.current_path.push(field.ident.to_string());
syn::visit_mut::visit_field_mut(self, method);
self.current_path.pop();
}
fn visit_item_struct_mut(&mut self, struct_: &mut syn::ItemStruct) {
self.current_path.push(struct_.ident.to_string());
syn::visit_mut::visit_item_struct_mut(self, method);
self.current_path.pop();
}
tracking!();
}