Skip to content

Commit 32f6c0f

Browse files
committed
Fix ...diagnostics.deprecated... rule ID
In #1560, in commit 4ef5f5d, we renamed the rule IDs in the diagnostics chapter, except those for the `diagnostic` tool attribute namespace, to the plural form, `attributes.diagnostics.*`. But we missed one, `attributes.diagnostics.deprecated.allowed-positions` (as corrected). Let's fix that.
1 parent b7d024a commit 32f6c0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/attributes/diagnostics.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ The `deprecated` attribute has several forms:
321321
message. This is typically used to provide an explanation about the
322322
deprecation and preferred alternatives.
323323

324-
r[attributes.diagnostic.deprecated.allowed-positions]
324+
r[attributes.diagnostics.deprecated.allowed-positions]
325325
The `deprecated` attribute may be applied to any [item], [trait item], [enum
326326
variant], [struct field], [external block item], or [macro definition]. It
327327
cannot be applied to [trait implementation items][trait-impl]. When applied to an item

0 commit comments

Comments
 (0)