about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-04-16 03:05:52 +0000
committerbors <bors@rust-lang.org>2021-04-16 03:05:52 +0000
commitfaa97568a0ed3804339bec3becc2dda54ccdcafc (patch)
treebb593f00da40c4fc612d13eefa068ec2376357f3 /library/std/src
parent586a99348c6a6f5309e82b340193067b7d76e37c (diff)
parent779d98f6ccbd76807e811a134bb00a4e0d92c6db (diff)
downloadrust-faa97568a0ed3804339bec3becc2dda54ccdcafc.tar.gz
rust-faa97568a0ed3804339bec3becc2dda54ccdcafc.zip
Auto merge of #7085 - Jarcho:manual_map_autoderef, r=giraffate
Don't allow adjustments for `manual_map`

fixes: #7077

The other option here would be to add the return type to the closure. It would be fine for simple types, but longer types can be rather unwieldy. Could also implement the adjustment manually.

changelog: Don't lint `manual_map` when type adjustments are added. e.g. autoderef
Diffstat (limited to 'library/std/src')
0 files changed, 0 insertions, 0 deletions