From fffb9cc24ec4ddc376d92266d7cc08a307118354 Mon Sep 17 00:00:00 2001 From: Jack Rickard Date: Sat, 15 Feb 2025 20:52:24 +0000 Subject: [PATCH] Remove attributes from struct field rest patterns rustc never properly supported attributes in this position so this just removes them entirely. See rustc change at: rust-lang/rust#136490 --- src/patterns.md | 1 - 1 file changed, 1 deletion(-) diff --git a/src/patterns.md b/src/patterns.md index 40f023b0f..dcb8f33fe 100644 --- a/src/patterns.md +++ b/src/patterns.md @@ -713,7 +713,6 @@ r[patterns.struct.syntax] >    ) > > _StructPatternEtCetera_ :\ ->    [_OuterAttribute_] \*\ >    `..` [_OuterAttribute_]: attributes.md