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 0f6090a commit ce39ca7Copy full SHA for ce39ca7
src/doc/rustc-dev-guide/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