remove FIXMEs for functions that won't go away
This commit is contained in:
parent
b43eb4235a
commit
7987719dbe
2 changed files with 0 additions and 4 deletions
|
|
@ -371,7 +371,6 @@ impl Definitions {
|
|||
None
|
||||
}
|
||||
|
||||
// FIXME(@ljedrz): replace the NodeId variant
|
||||
#[inline]
|
||||
pub fn as_local_hir_id(&self, def_id: DefId) -> Option<hir::HirId> {
|
||||
if def_id.krate == LOCAL_CRATE {
|
||||
|
|
|
|||
|
|
@ -239,7 +239,6 @@ impl<'hir> Map<'hir> {
|
|||
})
|
||||
}
|
||||
|
||||
// FIXME(@ljedrz): replace the `NodeId` variant.
|
||||
#[inline]
|
||||
pub fn local_def_id_from_hir_id(&self, hir_id: HirId) -> DefId {
|
||||
self.opt_local_def_id_from_hir_id(hir_id).unwrap_or_else(|| {
|
||||
|
|
@ -248,7 +247,6 @@ impl<'hir> Map<'hir> {
|
|||
})
|
||||
}
|
||||
|
||||
// FIXME(@ljedrz): replace the `NodeId` variant.
|
||||
#[inline]
|
||||
pub fn opt_local_def_id_from_hir_id(&self, hir_id: HirId) -> Option<DefId> {
|
||||
let node_id = self.hir_to_node_id(hir_id);
|
||||
|
|
@ -265,7 +263,6 @@ impl<'hir> Map<'hir> {
|
|||
self.definitions.as_local_node_id(def_id)
|
||||
}
|
||||
|
||||
// FIXME(@ljedrz): replace the `NodeId` variant.
|
||||
#[inline]
|
||||
pub fn as_local_hir_id(&self, def_id: DefId) -> Option<HirId> {
|
||||
self.definitions.as_local_hir_id(def_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue