Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/attributes/diagnostics.md
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,9 @@ The `note` option can appear several times, which results in several note messag
r[attributes.diagnostic.on_unimplemented.repetition]
If any of the other options appears several times the first occurrence of the relevant option specifies the actually used value. Subsequent occurrences generates a warning.

r[attributes.diagnostic.on_unimplemented.duplicates]
The `diagnostic::on_unimplemented` attribute may be used any number of times. All keys from all uses of the attribute will be used and are subject to the repetition rules.
Copy link
Copy Markdown
Contributor Author

@mejrs mejrs Apr 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

View changes since the review

Existing prose looks like

The `cfg` attribute may be used any number of times on a form.

and

The `derive` attribute may be used any number of times on an item.

I'm not sure what I should use, or what a form is for that matter (it's not in the glossary).


r[attributes.diagnostic.on_unimplemented.unknown-keys]
A warning is generated for any unknown keys.

Expand Down
Loading