Skip to content

Commit 3ef816e

Browse files
committed
Add attributes.diagnostic.on_unimplemented.duplicates
1 parent 8e792b5 commit 3ef816e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/attributes/diagnostics.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,9 @@ The following keys have the given meaning:
526526
r[attributes.diagnostic.on_unimplemented.allowed-positions]
527527
The attribute should be placed on a [trait declaration], though it is not an error to be located in other positions.
528528
529+
r[attributes.diagnostic.on_unimplemented.duplicates]
530+
If the `diagnostic::on_unimplemented` attribute is specified multiple times, then it behaves as if all options were specified in a single attribute. Duplicates of some options will be ignored, see [attributes.diagnostic.on_unimplemented.repetition].
531+
529532
r[attributes.diagnostic.on_unimplemented.note-repetition]
530533
The `note` option can appear several times, which results in several note messages being emitted.
531534

0 commit comments

Comments
 (0)