about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-09 13:13:28 +0000
committerbors <bors@rust-lang.org>2024-03-09 13:13:28 +0000
commitb2f9c4cbc746710950b4e49d04fc372119eec0a0 (patch)
tree5df2564d793d8d8ffcecaebd90afadbe9dcc36e2 /compiler/rustc_codegen_gcc/example/std_example.rs
parent099e2c00338b19646d18df33f6108c6eb934df84 (diff)
parent4e95b4a0261d7b853c7180d95104070cfe0f08be (diff)
downloadrust-b2f9c4cbc746710950b4e49d04fc372119eec0a0.tar.gz
rust-b2f9c4cbc746710950b4e49d04fc372119eec0a0.zip
Auto merge of #12442 - cookie-s:fix-mutmut-duplicate-diags, r=y21
[`mut_mut`]: Fix duplicate diags

Relates to #12379

The `mut_mut` lint produced two diagnostics for each `mut mut` pattern in `ty` inside  `block`s because `MutVisitor::visit_ty` was called from `MutMut::check_ty` and  `MutMut::check_block` independently. This PR fixes the issue.

---

changelog: [`mut_mut`]: Fix duplicate diagnostics
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions