We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abd2ebd commit 1c51713Copy full SHA for 1c51713
1 file changed
src/attributes/diagnostics.md
@@ -335,6 +335,7 @@ The `deprecated` attribute may be applied to:
335
- [struct fields] (not including tuple struct fields)
336
- [external block items]
337
- [macro definitions]
338
+- [defaulted generic parameters]
339
340
It may not be applied to [trait implementation items][trait-impl].
341
@@ -821,6 +822,7 @@ The first error message includes a somewhat confusing error message about the re
821
822
[block expression]: ../expressions/block-expr.md
823
[call expression]: ../expressions/call-expr.md
824
[crate root]: ../crates-and-source-files.md
825
+[defaulted generic parameters]: ../items/generics.md
826
[destructuring assignment]: expr.assign.destructure
827
[dyn trait]: ../types/trait-object.md
828
[enumeration]: ../items/enumerations.md
0 commit comments