rust/clippy_lints
bors 52b9e704c6 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`
2020-01-08 12:09:45 +00:00
..
src Auto merge of #5017 - sinkuu:mir_no_opt_fallout, r=flip1995 2020-01-08 12:09:45 +00:00
Cargo.toml Remove unused debugging feature 2019-11-25 17:23:07 +01:00
README.md

This crate contains Clippy lints. For the main crate, check crates.io or GitHub.