File tree 2 files changed +0
-4
lines changed
2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -371,7 +371,6 @@ impl Definitions {
371
371
None
372
372
}
373
373
374
- // FIXME(@ljedrz): replace the NodeId variant
375
374
#[ inline]
376
375
pub fn as_local_hir_id ( & self , def_id : DefId ) -> Option < hir:: HirId > {
377
376
if def_id. krate == LOCAL_CRATE {
Original file line number Diff line number Diff line change @@ -239,7 +239,6 @@ impl<'hir> Map<'hir> {
239
239
} )
240
240
}
241
241
242
- // FIXME(@ljedrz): replace the `NodeId` variant.
243
242
#[ inline]
244
243
pub fn local_def_id_from_hir_id ( & self , hir_id : HirId ) -> DefId {
245
244
self . opt_local_def_id_from_hir_id ( hir_id) . unwrap_or_else ( || {
@@ -248,7 +247,6 @@ impl<'hir> Map<'hir> {
248
247
} )
249
248
}
250
249
251
- // FIXME(@ljedrz): replace the `NodeId` variant.
252
250
#[ inline]
253
251
pub fn opt_local_def_id_from_hir_id ( & self , hir_id : HirId ) -> Option < DefId > {
254
252
let node_id = self . hir_to_node_id ( hir_id) ;
@@ -265,7 +263,6 @@ impl<'hir> Map<'hir> {
265
263
self . definitions . as_local_node_id ( def_id)
266
264
}
267
265
268
- // FIXME(@ljedrz): replace the `NodeId` variant.
269
266
#[ inline]
270
267
pub fn as_local_hir_id ( & self , def_id : DefId ) -> Option < HirId > {
271
268
self . definitions . as_local_hir_id ( def_id)
You can’t perform that action at this time.
0 commit comments