@@ -38,9 +38,9 @@ use synstructure::Structure;
3838/// ```
3939///
4040/// ```fluent
41- /// move-out-of-borrow = cannot move out of {$name} because it is borrowed
41+ /// move_out_of_borrow = cannot move out of {$name} because it is borrowed
4242/// .label = cannot move out of borrow
43- /// .first-borrow-label = `{$ty}` first borrowed here
43+ /// .first_borrow_label = `{$ty}` first borrowed here
4444/// .suggestion = consider cloning here
4545/// ```
4646///
@@ -84,9 +84,9 @@ pub fn session_diagnostic_derive(s: Structure<'_>) -> TokenStream {
8484/// ```
8585///
8686/// ```fluent
87- /// lint-atomic-ordering-invalid-fail-success = `{$method}`'s success ordering must be at least as strong as its failure ordering
88- /// .fail-label = `{$fail_ordering}` failure ordering
89- /// .success-label = `{$success_ordering}` success ordering
87+ /// lint_atomic_ordering_invalid_fail_success = `{$method}`'s success ordering must be at least as strong as its failure ordering
88+ /// .fail_label = `{$fail_ordering}` failure ordering
89+ /// .success_label = `{$success_ordering}` success ordering
9090/// .suggestion = consider using `{$success_suggestion}` success ordering instead
9191/// ```
9292///
@@ -140,11 +140,11 @@ pub fn lint_diagnostic_derive(s: Structure<'_>) -> TokenStream {
140140/// ```
141141///
142142/// ```fluent
143- /// parser-expected-identifier = expected identifier
143+ /// parser_expected_identifier = expected identifier
144144///
145- /// parser-expected-identifier -found = expected identifier, found {$found}
145+ /// parser_expected_identifier -found = expected identifier, found {$found}
146146///
147- /// parser-raw-identifier = escape `{$ident}` to use it as an identifier
147+ /// parser_raw_identifier = escape `{$ident}` to use it as an identifier
148148/// ```
149149///
150150/// Then, later, to add the subdiagnostic:
0 commit comments