about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-06-23 15:59:27 +0000
committerbors <bors@rust-lang.org>2020-06-23 15:59:27 +0000
commit583d64493484f72425ecac55eaf5eddbba10b132 (patch)
tree4a7fa7bc487a502fc1d969ed2f80a844f948d12a /src/rustllvm/RustWrapper.cpp
parentc2c07fa9d095931eb5684a42942a7b573a0c5238 (diff)
parentfb4f9a0ad7a4656beb01c85b02b3e6ef15d914ec (diff)
downloadrust-583d64493484f72425ecac55eaf5eddbba10b132.tar.gz
rust-583d64493484f72425ecac55eaf5eddbba10b132.zip
Auto merge of #5694 - wangtheo:issue-5626, r=matthiaskrgr
#5626: lint iterator.map(|x| x)

changelog: adds a new lint for iterator.map(|x| x) (see https://github.com/rust-lang/rust-clippy/issues/5626)

The code also lints for result.map(|x| x) and option.map(|x| x). Also, I'm not sure if I'm checking for type adjustments correctly and I can't think of an example where .map(|x| x) would apply type adjustments.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions