Skip to content

Commit 1ec73f0

Browse files
authored
Rollup merge of #123160 - bvanjoi:cleanup, r=compiler-errors
remove `def_id_to_node_id` in ast lowering
2 parents d1630e5 + 90306cd commit 1ec73f0

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

compiler/rustc_middle/src/ty/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ pub struct ResolverAstLowering {
215215
pub next_node_id: ast::NodeId,
216216

217217
pub node_id_to_def_id: NodeMap<LocalDefId>,
218-
pub def_id_to_node_id: IndexVec<LocalDefId, ast::NodeId>,
219218

220219
pub trait_map: NodeMap<Vec<hir::TraitCandidate>>,
221220
/// List functions and methods for which lifetime elision was successful.

compiler/rustc_resolve/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1618,7 +1618,6 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
16181618
.into_items()
16191619
.map(|(k, f)| (k, f.key()))
16201620
.collect(),
1621-
def_id_to_node_id: self.def_id_to_node_id,
16221621
trait_map: self.trait_map,
16231622
lifetime_elision_allowed: self.lifetime_elision_allowed,
16241623
lint_buffer: Steal::new(self.lint_buffer),

0 commit comments

Comments
 (0)