File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -514,10 +514,6 @@ The *`diagnostic::on_unimplemented` [attribute][attributes]* is a hint to the co
514514> = note : Note 2
515515> ```
516516
517-
518- r [attributes . diagnostic. on_unimplemented. allowed- positions ]
519- The attribute should be placed on a [trait declaration ], though it is not an error to be located in other positions .
520-
521517r [attributes . diagnostic. on_unimplemented. syntax]
522518The attribute uses the [MetaListNameValueStr ] syntax to specify its inputs , though any malformed input to the attribute is not considered as an error to provide both forwards and backwards compatibility .
523519
@@ -527,6 +523,9 @@ The following keys have the given meaning:
527523* `label ` --- The text for the label shown inline in the broken code in the error message .
528524* `note ` --- Provides additional notes .
529525
526+ r [attributes . diagnostic. on_unimplemented. allowed- positions ]
527+ The attribute should be placed on a [trait declaration ], though it is not an error to be located in other positions .
528+
530529r [attributes . diagnostic. on_unimplemented. note- repetition ]
531530The `note ` option can appear several times , which results in several note messages being emitted .
532531
You can’t perform that action at this time.
0 commit comments