Rename add_implicit_generics to lower_generics
This commit is contained in:
parent
e080298e35
commit
d5ab8b2f5b
2 changed files with 17 additions and 18 deletions
|
@ -706,7 +706,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
|
|||
/// Creates a new `hir::GenericParam` for every new `Fresh` lifetime and
|
||||
/// universal `impl Trait` type parameter encountered while evaluating `f`.
|
||||
/// Definitions are created with the provided `parent_def_id`.
|
||||
fn add_implicit_generics<T>(
|
||||
fn lower_generics<T>(
|
||||
&mut self,
|
||||
generics: &Generics,
|
||||
parent_node_id: NodeId,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue