Can we suppress the suspicious_double_ref_op
lint if we have successive clone
calls?
#125113
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
No lint issues because we invoked two successive `clone` methods.
Rationale and extra context
No response
Other cases
No response
Rust Version
Anything else?
No response
The text was updated successfully, but these errors were encountered: