Skip to content

Commit 4730086

Browse files
committed
Sort fluent messages
1 parent cf0dec0 commit 4730086

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
@@ -482,6 +482,19 @@ lint_invalid_target = `#[{$name}]` attribute cannot be used on {$target}
482482
.help = `#[{$name}]` can {$only}be applied to {$applied}
483483
.suggestion = remove the attribute
484484
485+
lint_issue_145739 = `format_args!` is called with multiple parameters that capturing the same {$kind} violating issue 145739
486+
.note1 = the type of this {$kind} is `{$ty}` and it has {$is_not_freeze ->
487+
[true] {$needs_drop ->
488+
[true] interior mutability and drop implementation
489+
*[false] interior mutability
490+
}
491+
*[false] {$needs_drop ->
492+
[true] drop implementation
493+
*[false] (none)
494+
}
495+
}
496+
.note2 = these are the duplicated parameters
497+
485498
lint_lintpass_by_hand = implementing `LintPass` by hand
486499
.help = try using `declare_lint_pass!` or `impl_lint_pass!` instead
487500
@@ -997,16 +1010,3 @@ lint_uses_power_alignment = repr(C) does not follow the power alignment rule. Th
9971010
9981011
lint_variant_size_differences =
9991012
enum variant is more than three times larger ({$largest} bytes) than the next largest
1000-
1001-
lint_issue_145739 = `format_args!` is called with multiple parameters that capturing the same {$kind} violating issue 145739
1002-
.note1 = the type of this {$kind} is `{$ty}` and it has {$is_not_freeze ->
1003-
[true] {$needs_drop ->
1004-
[true] interior mutability and drop implementation
1005-
*[false] interior mutability
1006-
}
1007-
*[false] {$needs_drop ->
1008-
[true] drop implementation
1009-
*[false] (none)
1010-
}
1011-
}
1012-
.note2 = these are the duplicated parameters

0 commit comments

Comments
 (0)