No hint about implementing clone on type mismatch when cloning reference #95535
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.
Given the following code: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=ebe1fe6ca75fd88cba9aa3a77cb625bf
The current output is:
Ideally the output should look like:
The text was updated successfully, but these errors were encountered: