File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff 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+
485498lint_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
9981011lint_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
You can’t perform that action at this time.
0 commit comments