diff options
| author | bors <bors@rust-lang.org> | 2023-10-20 13:28:30 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-10-20 13:28:30 +0000 |
| commit | e230f19e18284242af407c15b4a6115951db8e31 (patch) | |
| tree | 4881890a89f7fecb709d771ae7adf4b8db99232f /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | cd477d4b0c49c6ad1524244d732bd74643881878 (diff) | |
| parent | bba155ea9dac4f320303696572f552e80042889c (diff) | |
| download | rust-e230f19e18284242af407c15b4a6115951db8e31.tar.gz rust-e230f19e18284242af407c15b4a6115951db8e31.zip | |
Auto merge of #11521 - y21:issue9122, r=llogiq
[`map_identity`]: allow closure with type annotations Fixes #9122 `.map(|a: u32| a)` can help type inference, so we should probably allow this and not warn about "unnecessary map of the identity function" changelog: [`map_identity`]: allow closure with type annotations
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
