Skip to content

Commit 2522d9c

Browse files
committed
Sort fluent messages
1 parent 46e68af commit 2522d9c

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

compiler/rustc_lint/messages.ftl

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,19 @@ lint_invalid_reference_casting_note_book = for more information, visit <https://
461461
462462
lint_invalid_reference_casting_note_ty_has_interior_mutability = even for types with interior mutability, the only legal way to obtain a mutable pointer from a shared reference is through `UnsafeCell::get`
463463
464+
lint_issue_145739 = `format_args!` is called with multiple parameters that capturing the same {$kind} violating issue 145739
465+
.note1 = the type of this {$kind} is `{$ty}` and it has {$is_not_freeze ->
466+
[true] {$needs_drop ->
467+
[true] interior mutability and drop implementation
468+
*[false] interior mutability
469+
}
470+
*[false] {$needs_drop ->
471+
[true] drop implementation
472+
*[false] (none)
473+
}
474+
}
475+
.note2 = these are the duplicated parameters
476+
464477
lint_lintpass_by_hand = implementing `LintPass` by hand
465478
.help = try using `declare_lint_pass!` or `impl_lint_pass!` instead
466479
@@ -985,16 +998,3 @@ lint_uses_power_alignment = repr(C) does not follow the power alignment rule. Th
985998
986999
lint_variant_size_differences =
9871000
enum variant is more than three times larger ({$largest} bytes) than the next largest
988-
989-
lint_issue_145739 = `format_args!` is called with multiple parameters that capturing the same {$kind} violating issue 145739
990-
.note1 = the type of this {$kind} is `{$ty}` and it has {$is_not_freeze ->
991-
[true] {$needs_drop ->
992-
[true] interior mutability and drop implementation
993-
*[false] interior mutability
994-
}
995-
*[false] {$needs_drop ->
996-
[true] drop implementation
997-
*[false] (none)
998-
}
999-
}
1000-
.note2 = these are the duplicated parameters

0 commit comments

Comments
 (0)