rust/tests
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
..
test_utils
ui Auto merge of #12452 - CBSpeir:dedup-manual-retain, r=blyxyas 2024-03-11 22:21:27 +00:00
ui-cargo Merge commit '10136170fe9ed01e46aeb4f4479175b79eb0e3c7' into clippy-subtree-update 2024-02-27 15:50:17 +01:00
ui-internal mention span_lint_hir in span_lint and add a reason to disallowed_methods 2024-03-09 19:40:39 +01:00
ui-toml Merge remote-tracking branch 'upstream/master' into rustup 2024-03-07 17:14:36 +01:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs Show duplicate diagnostics in UI tests by default 2024-02-28 13:24:14 +00:00
dogfood.rs
headers.rs
integration.rs
lint_message_convention.rs
missing-test-files.rs Fix lint errors 2024-03-01 16:36:05 +01:00
versioncheck.rs
workspace.rs