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
+13Lines changed: 13 additions & 0 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
0 commit comments