fix incorrect #[note] syntax

This commit is contained in:
Nathan Stocks 2022-08-18 16:08:26 -06:00 committed by Michael Goulet
parent 7c8bf03e3d
commit 499cc7afe2
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ tcx.sess.emit_err(FieldAlreadyDeclared {
- See [translation documentation](./translation.md).
- `code = "..."` (_Optional_)
- Specifies the error code.
- `#[note]` or `#[note = "..."]` (_Optional_)
- `#[note]` or `#[note(...)]` (_Optional_)
- _Applied to struct or `Span`/`()` fields._
- Adds a note subdiagnostic.
- Value is the Fluent attribute (relative to the Fluent message specified by