File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -3124,16 +3124,6 @@ impl<'a> LoweringContext<'a> {
31243124 }
31253125 }
31263126
3127- fn lower_field ( & mut self , f : & Field ) -> hir:: Field {
3128- hir:: Field {
3129- hir_id : self . next_id ( ) ,
3130- ident : f. ident ,
3131- expr : P ( self . lower_expr ( & f. expr ) ) ,
3132- span : f. span ,
3133- is_shorthand : f. is_shorthand ,
3134- }
3135- }
3136-
31373127 fn lower_mt ( & mut self , mt : & MutTy , itctx : ImplTraitContext < ' _ > ) -> hir:: MutTy {
31383128 hir:: MutTy {
31393129 ty : self . lower_ty ( & mt. ty , itctx) ,
Original file line number Diff line number Diff line change @@ -818,6 +818,16 @@ impl LoweringContext<'_> {
818818 hir:: ExprKind :: InlineAsm ( P ( hir_asm) , outputs, inputs)
819819 }
820820
821+ fn lower_field ( & mut self , f : & Field ) -> hir:: Field {
822+ hir:: Field {
823+ hir_id : self . next_id ( ) ,
824+ ident : f. ident ,
825+ expr : P ( self . lower_expr ( & f. expr ) ) ,
826+ span : f. span ,
827+ is_shorthand : f. is_shorthand ,
828+ }
829+ }
830+
821831 fn lower_expr_yield ( & mut self , span : Span , opt_expr : Option < & Expr > ) -> hir:: ExprKind {
822832 match self . generator_kind {
823833 Some ( hir:: GeneratorKind :: Gen ) => { } ,
You can’t perform that action at this time.
0 commit comments