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 2512667 commit 9334d59Copy full SHA for 9334d59
src/diagnostics/diagnostic-structs.md
@@ -161,7 +161,7 @@ tcx.sess.emit_err(FieldAlreadyDeclared {
161
- See [translation documentation](./translation.md).
162
- `code = "..."` (_Optional_)
163
- Specifies the error code.
164
-- `#[note]` or `#[note = "..."]` (_Optional_)
+- `#[note]` or `#[note(...)]` (_Optional_)
165
- _Applied to struct or `Span`/`()` fields._
166
- Adds a note subdiagnostic.
167
- Value is the Fluent attribute (relative to the Fluent message specified by
0 commit comments