@@ -2117,11 +2117,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
21172117 hir:: ConstArgKind :: Anon ( ct)
21182118 } ;
21192119
2120- self . arena . alloc ( hir:: ConstArg {
2121- hir_id : self . next_id ( ) ,
2122- kind : ct_kind,
2123- is_desugared_from_effects : false ,
2124- } )
2120+ self . arena . alloc ( hir:: ConstArg { hir_id : self . next_id ( ) , kind : ct_kind } )
21252121 }
21262122
21272123 /// See [`hir::ConstArg`] for when to use this function vs
@@ -2163,19 +2159,11 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
21632159 None ,
21642160 ) ;
21652161
2166- return ConstArg {
2167- hir_id : self . next_id ( ) ,
2168- kind : hir:: ConstArgKind :: Path ( qpath) ,
2169- is_desugared_from_effects : false ,
2170- } ;
2162+ return ConstArg { hir_id : self . next_id ( ) , kind : hir:: ConstArgKind :: Path ( qpath) } ;
21712163 }
21722164
21732165 let lowered_anon = self . lower_anon_const_to_anon_const ( anon) ;
2174- ConstArg {
2175- hir_id : self . next_id ( ) ,
2176- kind : hir:: ConstArgKind :: Anon ( lowered_anon) ,
2177- is_desugared_from_effects : false ,
2178- }
2166+ ConstArg { hir_id : self . next_id ( ) , kind : hir:: ConstArgKind :: Anon ( lowered_anon) }
21792167 }
21802168
21812169 /// See [`hir::ConstArg`] for when to use this function vs
0 commit comments