Skip to content

Commit 360522c

Browse files
authored
Merge pull request #2341 from rust-lang/TC/fix-diagnostics-deprecated-allowed-positions-rule-id
Fix `...diagnostics.deprecated...` rule ID
2 parents b7d024a + 32f6c0f commit 360522c

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)