]> git.lizzy.rs Git - rust.git/commit
Make `redundant_field_name` not care range expressions
authorHidehito Yabuuchi <hdht.ybuc@gmail.com>
Mon, 5 Mar 2018 08:30:07 +0000 (17:30 +0900)
committerHidehito Yabuuchi <hdht.ybuc@gmail.com>
Mon, 5 Mar 2018 08:30:07 +0000 (17:30 +0900)
commitcdb60c6547fd83f5c11019dbc88346694f1bee17
treefa40f292877305514199f0bef5ede5a89dde7619
parent5b48b03375e11421490d23a7ea36ef05181e3842
Make `redundant_field_name` not care range expressions

Hand-written `Range` struct family are treated normally.
clippy_lints/src/redundant_field_names.rs
clippy_lints/src/utils/mod.rs
tests/ui/redundant_field_names.rs
tests/ui/redundant_field_names.stderr