@@ -200,9 +200,9 @@ following attributes:
200
200
- See [ translation documentation] ( ./translation.md ) .
201
201
- Defaults to ` rustc_errors::fluent::_subdiag::suggestion ` (or
202
202
- ` .suggestion ` in Fluent).
203
- - ` code = "..." ` (_ Mandatory_ )
204
- - Value is a format string indicating the code to be suggested as a
205
- replacement.
203
+ - ` code = "..." ` / ` code("...", ...) ` (_ Mandatory_ )
204
+ - One or multiple format strings indicating the code to be suggested as a
205
+ replacement. Multiple values signify multiple possible replacements.
206
206
- ` applicability = "..." ` (_ Optional_ )
207
207
- String which must be one of ` machine-applicable ` , ` maybe-incorrect ` ,
208
208
` has-placeholders ` or ` unspecified ` .
@@ -359,9 +359,9 @@ diagnostic struct.
359
359
- See [ translation documentation] ( ./translation.md ) .
360
360
- Defaults to ` rustc_errors::fluent::_subdiag::suggestion ` (or
361
361
- ` .suggestion ` in Fluent).
362
- - ` code = "..." ` (_ Mandatory_ )
363
- - Value is a format string indicating the code to be suggested as a
364
- replacement.
362
+ - ` code = "..." ` / ` code("...", ...) ` (_ Mandatory_ )
363
+ - One or multiple format strings indicating the code to be suggested as a
364
+ replacement. Multiple values signify multiple possible replacements.
365
365
- ` applicability = "..." ` (_ Optional_ )
366
366
- _ Mutually exclusive with ` #[applicability] ` on a field._
367
367
- Value is the applicability of the suggestion.
0 commit comments