Files
rust/tests/ui
bors e22ca03627 Auto merge of #12452 - CBSpeir:dedup-manual-retain, r=blyxyas
[`manual_retain`]: Fix duplicate diagnostics

Relates to: #12379

The first lint guard executed in `LateLintPass::check_expr` was testing if the parent was of type `ExprKind::Assign`.  This meant the lint emitted on both sides of the assignment operator when `check_expr` is called on either `Expr`.  The guard in the fix only lints once when the `Expr` is of kind `Assign`.

changelog:  Fix duplicate lint diagnostic emission from [`manual_retain`]
2024-03-11 22:21:27 +00:00
..
2024-03-01 16:37:23 +01:00
2024-03-01 16:37:23 +01:00
2024-03-01 16:37:23 +01:00
2024-03-01 16:37:23 +01:00
2024-03-01 16:36:04 +01:00
2024-03-01 16:37:23 +01:00
2023-09-23 13:47:30 +00:00
2023-10-20 21:14:01 +00:00
2023-10-20 21:14:01 +00:00
2024-03-10 01:23:28 +01:00
2024-03-10 01:23:28 +01:00
2024-03-10 01:23:28 +01:00
2024-03-10 01:23:28 +01:00
2024-03-10 01:23:28 +01:00
2024-03-10 01:23:28 +01:00
2024-03-10 01:23:28 +01:00
2024-03-09 12:43:19 +01:00
2024-03-09 12:43:19 +01:00
2024-03-08 22:39:36 -05:00
2024-03-01 16:36:04 +01:00
2024-03-01 16:36:04 +01:00
2024-03-01 16:37:23 +01:00
2024-03-03 08:32:30 +01:00
2024-03-03 08:32:30 +01:00
2024-03-10 01:23:28 +01:00
2024-03-10 01:23:28 +01:00
2024-03-10 01:23:28 +01:00
2023-10-04 21:09:54 +00:00
2023-10-13 21:01:36 +00:00