File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -2101,15 +2101,6 @@ impl<'a> LoweringContext<'a> {
21012101 }
21022102 }
21032103
2104- fn lower_arg ( & mut self , arg : & Arg ) -> hir:: Arg {
2105- hir:: Arg {
2106- attrs : self . lower_attrs ( & arg. attrs ) ,
2107- hir_id : self . lower_node_id ( arg. id ) ,
2108- pat : self . lower_pat ( & arg. pat ) ,
2109- span : arg. span ,
2110- }
2111- }
2112-
21132104 fn lower_fn_args_to_names ( & mut self , decl : & FnDecl ) -> hir:: HirVec < Ident > {
21142105 decl. inputs
21152106 . iter ( )
Original file line number Diff line number Diff line change @@ -1031,6 +1031,15 @@ impl LoweringContext<'_> {
10311031 body_id
10321032 }
10331033
1034+ fn lower_arg ( & mut self , arg : & Arg ) -> hir:: Arg {
1035+ hir:: Arg {
1036+ attrs : self . lower_attrs ( & arg. attrs ) ,
1037+ hir_id : self . lower_node_id ( arg. id ) ,
1038+ pat : self . lower_pat ( & arg. pat ) ,
1039+ span : arg. span ,
1040+ }
1041+ }
1042+
10341043 pub ( super ) fn lower_fn_body (
10351044 & mut self ,
10361045 decl : & FnDecl ,
You can’t perform that action at this time.
0 commit comments