692f53fe8f
[`useless_asref`]: check that the clone receiver is the parameter Fixes #12135 There was no check for the receiver of the `clone` call in the map closure. This makes sure that it's a path to the parameter. changelog: [`useless_asref`]: check that the clone receiver is the closure parameter