rust-clippy/clippy_lints/src/utils
bors ada0b2b095 Auto merge of #3518 - sinkuu:redundant_clone_tw, r=phansch
Lint redundant clone of fields

Makes `redundant_clone` warn on unnecessary `foo.field.clone()` sometimes (it can detect an unnecessary clone only if the base of projection, `foo` in this case, is not used at all after that). This is enough for cases like `returns_tuple().0.clone()`.
2018-12-10 18:55:49 +00:00
..
author.rs Run rustfmt on clippy_lints 2018-11-27 21:14:15 +01:00
camel_case.rs Run rustfmt on clippy_lints 2018-11-27 21:14:15 +01:00
comparisons.rs Run rustfmt on clippy_lints 2018-11-27 21:14:15 +01:00
conf.rs typo: emum → enum 2018-12-07 12:24:59 +01:00
constants.rs Run rustfmt on clippy_lints 2018-11-27 21:14:15 +01:00
higher.rs Run rustfmt on clippy_lints 2018-11-27 21:14:15 +01:00
hir_utils.rs rustup https://github.com/rust-lang/rust/pull/56502 ( .hir -> .hir() ) 2018-12-08 12:05:09 +01:00
inspector.rs rustup https://github.com/rust-lang/rust/pull/56502 ( .hir -> .hir() ) 2018-12-08 12:05:09 +01:00
internal_lints.rs rustup https://github.com/rust-lang/rust/pull/56502 ( .hir -> .hir() ) 2018-12-08 12:05:09 +01:00
mod.rs Auto merge of #3518 - sinkuu:redundant_clone_tw, r=phansch 2018-12-10 18:55:49 +00:00
paths.rs Fix c_void false positive caused by libc refactoring 2018-12-08 12:05:11 +01:00
ptr.rs rustup https://github.com/rust-lang/rust/pull/56502 ( .hir -> .hir() ) 2018-12-08 12:05:09 +01:00
sugg.rs Run rustfmt on clippy_lints 2018-11-27 21:14:15 +01:00
usage.rs Run rustfmt on clippy_lints 2018-11-27 21:14:15 +01:00