about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2024-01-31 21:55:10 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2024-02-07 09:59:15 +0300
commit3e8c8d8d3417295fefa325f35db2a5da54617c8d (patch)
treede489b87d733cd7659c7eed9e817fcf8352e4b44 /compiler/rustc_ast_lowering
parenta61019b29021b7635113b48e470dbac724c81c76 (diff)
downloadrust-3e8c8d8d3417295fefa325f35db2a5da54617c8d.tar.gz
rust-3e8c8d8d3417295fefa325f35db2a5da54617c8d.zip
hir: Add some FIXMEs for future work
Diffstat (limited to 'compiler/rustc_ast_lowering')
-rw-r--r--compiler/rustc_ast_lowering/src/index.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_ast_lowering/src/index.rs b/compiler/rustc_ast_lowering/src/index.rs
index ff3870cf11b..11aa6b250b1 100644
--- a/compiler/rustc_ast_lowering/src/index.rs
+++ b/compiler/rustc_ast_lowering/src/index.rs
@@ -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);
     }