We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6da152d commit 3c07672Copy full SHA for 3c07672
src/attributes/diagnostics.md
@@ -477,7 +477,7 @@ r[attributes.diagnostic.on_unimplemented]
477
### The `diagnostic::on_unimplemented` attribute
478
479
r[attributes.diagnostic.on_unimplemented.intro]
480
-The `#[diagnostic::on_unimplemented]` attribute is a hint to the compiler to supplement the error message that would normally be generated in scenarios where a trait is required but not implemented on a type.
+The *`diagnostic::on_unimplemented` [attribute][attributes]* is a hint to the compiler to supplement the error message that would normally be generated in scenarios where a trait is required but not implemented on a type.
481
482
> [!EXAMPLE]
483
> In this example:
0 commit comments