fix incorrect #[note] syntax

This commit is contained in:
Nathan Stocks 2022-08-18 16:08:26 -06:00 committed by Michael Goulet
parent 0b10fbcd96
commit 9abbb0a829

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