8485d40a32
Extend `redundant_clone` to the case that cloned value is not consumed Fixes #5303. --- changelog: Extend `redundant_clone` to the case that cloned value is not consumed