diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-04-02 10:08:37 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-04-14 09:16:32 +1000 |
| commit | 1a3dee40628c01733af12bae02c32d856db6cb0d (patch) | |
| tree | 769212637b31731140144a7c5341ca14bc8c9217 /compiler/rustc_middle/src/hir/mod.rs | |
| parent | 7c5f2265e8267f9f116086d31d7ec83c0198c37b (diff) | |
| download | rust-1a3dee40628c01733af12bae02c32d856db6cb0d.tar.gz rust-1a3dee40628c01733af12bae02c32d856db6cb0d.zip | |
Remove `rustc_middle::hir::Map`.
It's unused.
Diffstat (limited to 'compiler/rustc_middle/src/hir/mod.rs')
| -rw-r--r-- | compiler/rustc_middle/src/hir/mod.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_middle/src/hir/mod.rs b/compiler/rustc_middle/src/hir/mod.rs index 640ac70d3a7..a28dcb0cb8e 100644 --- a/compiler/rustc_middle/src/hir/mod.rs +++ b/compiler/rustc_middle/src/hir/mod.rs @@ -116,11 +116,6 @@ impl ModuleItems { } impl<'tcx> TyCtxt<'tcx> { - #[inline(always)] - pub fn hir(self) -> map::Map<'tcx> { - map::Map { tcx: self } - } - pub fn parent_module(self, id: HirId) -> LocalModDefId { if !id.is_owner() && self.def_kind(id.owner) == DefKind::Mod { LocalModDefId::new_unchecked(id.owner.def_id) |
