fix incorrect #[note] syntax
This commit is contained in:
parent
7c8bf03e3d
commit
499cc7afe2
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue