You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/rustc_lint/messages.ftl
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -461,6 +461,19 @@ lint_invalid_reference_casting_note_book = for more information, visit <https://
461
461
462
462
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`
463
463
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
+
464
477
lint_lintpass_by_hand = implementing `LintPass` by hand
465
478
.help = try using `declare_lint_pass!` or `impl_lint_pass!` instead
466
479
@@ -985,16 +998,3 @@ lint_uses_power_alignment = repr(C) does not follow the power alignment rule. Th
985
998
986
999
lint_variant_size_differences =
987
1000
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
0 commit comments