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> {
3124
3124
}
3125
3125
}
3126
3126
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
-
3137
3127
fn lower_mt ( & mut self , mt : & MutTy , itctx : ImplTraitContext < ' _ > ) -> hir:: MutTy {
3138
3128
hir:: MutTy {
3139
3129
ty : self . lower_ty ( & mt. ty , itctx) ,
Original file line number Diff line number Diff line change @@ -818,6 +818,16 @@ impl LoweringContext<'_> {
818
818
hir:: ExprKind :: InlineAsm ( P ( hir_asm) , outputs, inputs)
819
819
}
820
820
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
+
821
831
fn lower_expr_yield ( & mut self , span : Span , opt_expr : Option < & Expr > ) -> hir:: ExprKind {
822
832
match self . generator_kind {
823
833
Some ( hir:: GeneratorKind :: Gen ) => { } ,
You can’t perform that action at this time.
0 commit comments