File tree 1 file changed +0
-6
lines changed
compiler/rustc_ast_lowering/src
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,6 @@ trait ResolverAstLoweringExt {
197
197
fn get_label_res ( & self , id : NodeId ) -> Option < NodeId > ;
198
198
fn get_lifetime_res ( & self , id : NodeId ) -> Option < LifetimeRes > ;
199
199
fn take_extra_lifetime_params ( & mut self , id : NodeId ) -> Vec < ( Ident , NodeId , LifetimeRes ) > ;
200
- fn remap_extra_lifetime_params ( & mut self , from : NodeId , to : NodeId ) ;
201
200
}
202
201
203
202
impl ResolverAstLoweringExt for ResolverAstLowering {
@@ -256,11 +255,6 @@ impl ResolverAstLoweringExt for ResolverAstLowering {
256
255
fn take_extra_lifetime_params ( & mut self , id : NodeId ) -> Vec < ( Ident , NodeId , LifetimeRes ) > {
257
256
self . extra_lifetime_params_map . remove ( & id) . unwrap_or_default ( )
258
257
}
259
-
260
- fn remap_extra_lifetime_params ( & mut self , from : NodeId , to : NodeId ) {
261
- let lifetimes = self . extra_lifetime_params_map . remove ( & from) . unwrap_or_default ( ) ;
262
- self . extra_lifetime_params_map . insert ( to, lifetimes) ;
263
- }
264
258
}
265
259
266
260
/// Context of `impl Trait` in code, which determines whether it is allowed in an HIR subtree,
You can’t perform that action at this time.
0 commit comments