Implement def_id based remapping
This commit is contained in:
parent
f0db1d68e6
commit
1d6cebfd6b
3 changed files with 135 additions and 102 deletions
|
@ -177,6 +177,8 @@ pub struct ResolverAstLowering {
|
|||
pub label_res_map: NodeMap<ast::NodeId>,
|
||||
/// Resolutions for lifetimes.
|
||||
pub lifetimes_res_map: NodeMap<LifetimeRes>,
|
||||
/// Mapping from generics def-id to RPIT copied generic def-id
|
||||
pub generics_def_id_map: Vec<FxHashMap<LocalDefId, LocalDefId>>,
|
||||
/// Lifetime parameters that lowering will have to introduce.
|
||||
pub extra_lifetime_params_map: NodeMap<Vec<(Ident, ast::NodeId, LifetimeRes)>>,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue