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 d3ce60f commit 57a38adCopy full SHA for 57a38ad
src/diagnostics/diagnostic-structs.md
@@ -145,7 +145,7 @@ tcx.sess.emit_err(FieldAlreadyDeclared {
145
following attributes:
146
147
- `#[diag(slug, code = "...")]`
148
- - _Applied to struct._
+ - _Applied to struct or enum variant._
149
- _Mandatory_
150
- Defines the text and error code to be associated with the diagnostic.
151
- Slug (_Mandatory_)
0 commit comments