@@ -2117,11 +2117,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
2117
2117
hir:: ConstArgKind :: Anon ( ct)
2118
2118
} ;
2119
2119
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 } )
2125
2121
}
2126
2122
2127
2123
/// See [`hir::ConstArg`] for when to use this function vs
@@ -2163,19 +2159,11 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
2163
2159
None ,
2164
2160
) ;
2165
2161
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) } ;
2171
2163
}
2172
2164
2173
2165
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) }
2179
2167
}
2180
2168
2181
2169
/// See [`hir::ConstArg`] for when to use this function vs
0 commit comments