Skip to content

Commit 7987719

Browse files
committed
remove FIXMEs for functions that won't go away
1 parent b43eb42 commit 7987719

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/librustc/hir/map/definitions.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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 {

src/librustc/hir/map/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)