about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-01-08 12:09:45 +0000
committerbors <bors@rust-lang.org>2020-01-08 12:09:45 +0000
commit52b9e704c6fa3903ac235065aa6152bff92f712d (patch)
tree7adde87839917bd69478993f723448245b78ffd9 /src/test/incremental/thinlto
parentc789caa45490c291f1fa7893b222f0e30e916ff9 (diff)
parent99eec3f54fb3c77db580699a40dc428e56942b40 (diff)
downloadrust-52b9e704c6fa3903ac235065aa6152bff92f712d.tar.gz
rust-52b9e704c6fa3903ac235065aa6152bff92f712d.zip
Auto merge of #5017 - sinkuu:mir_no_opt_fallout, r=flip1995
Fix redundant_clone lint not working with PathBuf and OsString

https://github.com/rust-lang/rust-clippy/pull/4825 diabled MIR optimization in clippy, including `rustc_mir::transform::InstCombine` which reduces `&(*x)` to `x`. This PR tries to unwrap `&*` when looking into `mir::Rvalue`s.

Fixes #5014.

---

changelog: fixed `redundant_clone` lint not working with `PathBuf` and `OsString`
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions