1
Fork 0

hir: Add some FIXMEs for future work

This commit is contained in:
Vadim Petrochenkov 2024-01-31 21:55:10 +03:00
parent a61019b290
commit 3e8c8d8d34
4 changed files with 6 additions and 0 deletions

View file

@ -265,6 +265,7 @@ impl<'a, 'hir> Visitor<'hir> for NodeCollector<'a, 'hir> {
}
fn visit_path_segment(&mut self, path_segment: &'hir PathSegment<'hir>) {
// FIXME: walk path segment with `path_segment.hir_id` parent.
self.insert(path_segment.ident.span, path_segment.hir_id, Node::PathSegment(path_segment));
intravisit::walk_path_segment(self, path_segment);
}