@@ -1884,8 +1884,8 @@ pub enum PatKind<'hir> {
18841884 Binding ( BindingMode , HirId , Ident , Option < & ' hir Pat < ' hir > > ) ,
18851885
18861886 /// A struct or struct variant pattern (e.g., `Variant {x, y, ..}`).
1887- /// The `bool` is `true` in the presence of a `..`.
1888- Struct ( QPath < ' hir > , & ' hir [ PatField < ' hir > ] , bool ) ,
1887+ /// The `Option` contains the span of a possible `..`.
1888+ Struct ( QPath < ' hir > , & ' hir [ PatField < ' hir > ] , Option < Span > ) ,
18891889
18901890 /// A tuple struct/variant pattern `Variant(x, y, .., z)`.
18911891 /// If the `..` pattern fragment is present, then `DotDotPos` denotes its position.
@@ -4979,8 +4979,8 @@ mod size_asserts {
49794979 static_assert_size ! ( ItemKind <' _>, 64 ) ;
49804980 static_assert_size ! ( LetStmt <' _>, 72 ) ;
49814981 static_assert_size ! ( Param <' _>, 32 ) ;
4982- static_assert_size ! ( Pat <' _>, 72 ) ;
4983- static_assert_size ! ( PatKind <' _>, 48 ) ;
4982+ static_assert_size ! ( Pat <' _>, 80 ) ;
4983+ static_assert_size ! ( PatKind <' _>, 56 ) ;
49844984 static_assert_size ! ( Path <' _>, 40 ) ;
49854985 static_assert_size ! ( PathSegment <' _>, 48 ) ;
49864986 static_assert_size ! ( QPath <' _>, 24 ) ;
0 commit comments