more syntax fixes

This commit is contained in:
Nathan Stocks 2022-08-18 16:31:39 -06:00 committed by Michael Goulet
parent 499cc7afe2
commit 7536ff8e9a
1 changed files with 2 additions and 2 deletions

View File

@ -168,14 +168,14 @@ tcx.sess.emit_err(FieldAlreadyDeclared {
`slug`) for the note's message
- Defaults to `note`.
- If applied to a `Span` field, creates a spanned note.
- `#[help]` or `#[help = "..."]` (_Optional_)
- `#[help]` or `#[help(...)]` (_Optional_)
- _Applied to struct or `Span`/`()` fields._
- Adds a help subdiagnostic.
- Value is the Fluent attribute (relative to the Fluent message specified by
`slug`) for the help's message.
- Defaults to `help`.
- If applied to a `Span` field, creates a spanned help.
- `#[label]` or `#[label = "..."]` (_Optional_)
- `#[label]` or `#[label(...)]` (_Optional_)
- _Applied to `Span` fields._
- Adds a label subdiagnostic.
- Value is the Fluent attribute (relative to the Fluent message specified by