remove def_id_to_node_id
in ast lowering
This commit is contained in:
parent
2781687fe5
commit
90306cd841
2 changed files with 0 additions and 2 deletions
|
@ -215,7 +215,6 @@ pub struct ResolverAstLowering {
|
||||||
pub next_node_id: ast::NodeId,
|
pub next_node_id: ast::NodeId,
|
||||||
|
|
||||||
pub node_id_to_def_id: NodeMap<LocalDefId>,
|
pub node_id_to_def_id: NodeMap<LocalDefId>,
|
||||||
pub def_id_to_node_id: IndexVec<LocalDefId, ast::NodeId>,
|
|
||||||
|
|
||||||
pub trait_map: NodeMap<Vec<hir::TraitCandidate>>,
|
pub trait_map: NodeMap<Vec<hir::TraitCandidate>>,
|
||||||
/// List functions and methods for which lifetime elision was successful.
|
/// List functions and methods for which lifetime elision was successful.
|
||||||
|
|
|
@ -1618,7 +1618,6 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
|
||||||
.into_items()
|
.into_items()
|
||||||
.map(|(k, f)| (k, f.key()))
|
.map(|(k, f)| (k, f.key()))
|
||||||
.collect(),
|
.collect(),
|
||||||
def_id_to_node_id: self.def_id_to_node_id,
|
|
||||||
trait_map: self.trait_map,
|
trait_map: self.trait_map,
|
||||||
lifetime_elision_allowed: self.lifetime_elision_allowed,
|
lifetime_elision_allowed: self.lifetime_elision_allowed,
|
||||||
lint_buffer: Steal::new(self.lint_buffer),
|
lint_buffer: Steal::new(self.lint_buffer),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue