Skip to content

Commit b42bcdb

Browse files
committed
Add back language about where lint is fired
Prior to a revision, the text on the `automatically_derived` attribute had described where the lint is fired. Let's add that back, with somewhat more elaborate language, as we're keeping this in other cases.
1 parent 67e70f5 commit b42bcdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attributes/derive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ r[attributes.derive.automatically_derived.duplicates]
9696
Duplicate instances of the `automatically_derived` attribute on the same implementation have no effect.
9797
9898
> [!NOTE]
99-
> `rustc` lints against duplicate use of this attribute.
99+
> `rustc` lints against duplicate use of this attribute on uses following the first.
100100
101101
r[attributes.derive.automatically_derived.behavior]
102102
The `automatically_derived` attribute has no behavior.

0 commit comments

Comments
 (0)