about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-02-17 20:50:11 +0000
committerbors <bors@rust-lang.org>2023-02-17 20:50:11 +0000
commit231bcd131d109d41e5705f48b9c5a6e70c98ff80 (patch)
tree74adc86ebba7f177e862a313e4cf9f38e3009280 /compiler/rustc_resolve/src
parent9aa5c24b7d763fb98d998819571128ff2eb8a3ca (diff)
parent1409cb59b2aeff9495118d3b256878aab7ea485c (diff)
downloadrust-231bcd131d109d41e5705f48b9c5a6e70c98ff80.tar.gz
rust-231bcd131d109d41e5705f48b9c5a6e70c98ff80.zip
Auto merge of #105274 - saethlin:instcombine-mut-ref, r=cjgillot
Enable instcombine for mutable reborrows

`instcombine` used to contain this comment, which is no longer accurate because there it is fine to copy `&mut _` in MIR:
```rust
// The dereferenced place must have type `&_`, so that we don't copy `&mut _`.
```
So let's try replacing that check with something much more permissive...
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions