File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -371,7 +371,6 @@ impl Definitions {
371371 None
372372 }
373373
374- // FIXME(@ljedrz): replace the NodeId variant
375374 #[ inline]
376375 pub fn as_local_hir_id ( & self , def_id : DefId ) -> Option < hir:: HirId > {
377376 if def_id. krate == LOCAL_CRATE {
Original file line number Diff line number Diff line change @@ -239,7 +239,6 @@ impl<'hir> Map<'hir> {
239239 } )
240240 }
241241
242- // FIXME(@ljedrz): replace the `NodeId` variant.
243242 #[ inline]
244243 pub fn local_def_id_from_hir_id ( & self , hir_id : HirId ) -> DefId {
245244 self . opt_local_def_id_from_hir_id ( hir_id) . unwrap_or_else ( || {
@@ -248,7 +247,6 @@ impl<'hir> Map<'hir> {
248247 } )
249248 }
250249
251- // FIXME(@ljedrz): replace the `NodeId` variant.
252250 #[ inline]
253251 pub fn opt_local_def_id_from_hir_id ( & self , hir_id : HirId ) -> Option < DefId > {
254252 let node_id = self . hir_to_node_id ( hir_id) ;
@@ -265,7 +263,6 @@ impl<'hir> Map<'hir> {
265263 self . definitions . as_local_node_id ( def_id)
266264 }
267265
268- // FIXME(@ljedrz): replace the `NodeId` variant.
269266 #[ inline]
270267 pub fn as_local_hir_id ( & self , def_id : DefId ) -> Option < HirId > {
271268 self . definitions . as_local_hir_id ( def_id)
You can’t perform that action at this time.
0 commit comments