about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/errors.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-09 04:50:38 +0000
committerbors <bors@rust-lang.org>2023-03-09 04:50:38 +0000
commit66a2d6221069e0d08ceacf2a3201600e2092d2e0 (patch)
tree6df14dd43534236997ee6cfc2cc5585cd41dfdbe /compiler/rustc_hir_analysis/src/errors.rs
parent6a179026decb823e6ad8ba1c81729528bc5d695f (diff)
parent209eb8ae83105802be5ff2c1204a4d3aae9839b3 (diff)
downloadrust-66a2d6221069e0d08ceacf2a3201600e2092d2e0.tar.gz
rust-66a2d6221069e0d08ceacf2a3201600e2092d2e0.zip
Auto merge of #108178 - cjgillot:ssa-deref, r=oli-obk
Do not consider `&mut *x` as mutating `x` in `CopyProp`

This PR removes an unfortunate overly cautious case from the current implementation.

Found by https://github.com/rust-lang/rust/pull/105274 cc `@saethlin`
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions