about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/std_example.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-21 14:10:48 +0000
committerbors <bors@rust-lang.org>2023-10-21 14:10:48 +0000
commit56c8235c99d0138d839b009319416732218dd7ca (patch)
treec4fb791ec681e97377bda70cfa65ad111d3a6baf /compiler/rustc_codegen_gcc/example/std_example.rs
parent2b030eb03d9e5837440b1ee0b98c50b97c0c5889 (diff)
parentd6fc6062590e61a50f1f55ff99f7598bec73bc7d (diff)
downloadrust-56c8235c99d0138d839b009319416732218dd7ca.tar.gz
rust-56c8235c99d0138d839b009319416732218dd7ca.zip
Auto merge of #10943 - y21:issue7189, r=llogiq
[`map_identity`]: recognize tuple identity function

Fixes #7189

This lint now recognizes `.map(|(a, b)| (a, b))` as a useless `map` call.

changelog: [`map_identity`]: recognize tuple identity function
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions