@@ -218,7 +218,7 @@ impl<'a> Range<'a> {
218218 hir:: ExprKind :: Call ( path, args)
219219 if matches ! (
220220 path. kind,
221- hir:: ExprKind :: Path ( hir:: QPath :: LangItem ( hir:: LangItem :: RangeInclusiveNew , _ ) )
221+ hir:: ExprKind :: Path ( hir:: QPath :: LangItem ( hir:: LangItem :: RangeInclusiveNew , .. ) )
222222 ) =>
223223 {
224224 Some ( Range {
@@ -228,27 +228,27 @@ impl<'a> Range<'a> {
228228 } )
229229 } ,
230230 hir:: ExprKind :: Struct ( path, fields, None ) => match & path {
231- hir:: QPath :: LangItem ( hir:: LangItem :: RangeFull , _ ) => Some ( Range {
231+ hir:: QPath :: LangItem ( hir:: LangItem :: RangeFull , .. ) => Some ( Range {
232232 start : None ,
233233 end : None ,
234234 limits : ast:: RangeLimits :: HalfOpen ,
235235 } ) ,
236- hir:: QPath :: LangItem ( hir:: LangItem :: RangeFrom , _ ) => Some ( Range {
236+ hir:: QPath :: LangItem ( hir:: LangItem :: RangeFrom , .. ) => Some ( Range {
237237 start : Some ( get_field ( "start" , fields) ?) ,
238238 end : None ,
239239 limits : ast:: RangeLimits :: HalfOpen ,
240240 } ) ,
241- hir:: QPath :: LangItem ( hir:: LangItem :: Range , _ ) => Some ( Range {
241+ hir:: QPath :: LangItem ( hir:: LangItem :: Range , .. ) => Some ( Range {
242242 start : Some ( get_field ( "start" , fields) ?) ,
243243 end : Some ( get_field ( "end" , fields) ?) ,
244244 limits : ast:: RangeLimits :: HalfOpen ,
245245 } ) ,
246- hir:: QPath :: LangItem ( hir:: LangItem :: RangeToInclusive , _ ) => Some ( Range {
246+ hir:: QPath :: LangItem ( hir:: LangItem :: RangeToInclusive , .. ) => Some ( Range {
247247 start : None ,
248248 end : Some ( get_field ( "end" , fields) ?) ,
249249 limits : ast:: RangeLimits :: Closed ,
250250 } ) ,
251- hir:: QPath :: LangItem ( hir:: LangItem :: RangeTo , _ ) => Some ( Range {
251+ hir:: QPath :: LangItem ( hir:: LangItem :: RangeTo , .. ) => Some ( Range {
252252 start : None ,
253253 end : Some ( get_field ( "end" , fields) ?) ,
254254 limits : ast:: RangeLimits :: HalfOpen ,
0 commit comments