Skip to content

Commit

Permalink
Remove attributes from struct field rest patterns
Browse files Browse the repository at this point in the history
rustc never properly supported attributes in this position so this just
removes them entirely.

See rustc change at: rust-lang/rust#136490
  • Loading branch information
Skepfyr committed Feb 15, 2025
1 parent 8c20f77 commit fffb9cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/patterns.md
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,6 @@ r[patterns.struct.syntax]
>    )
>
> _StructPatternEtCetera_ :\
> &nbsp;&nbsp; [_OuterAttribute_] <sup>\*</sup>\
> &nbsp;&nbsp; `..`
[_OuterAttribute_]: attributes.md
Expand Down

0 comments on commit fffb9cc

Please sign in to comment.