-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling clone on argument in write! causes stackoverflow #54200
Comments
Side note, this compiles without any warnings. |
|
This also happens without the |
With this context knowledge, then yes. This should be at least a clippy lint? |
This is basically a duplicate of #45838 I think. |
Looks like it, a call to |
Closing as a duplicate of that then. |
I just stumbled across this issue in a small tool I'm developing.
At the moment I can't pinpoint what the cause of the stack overflow is but running the example below will result in this terminal output:
This can be reproduced for stable (1.29), beta and nightly channels.
Here is a minimal example (playground):
The text was updated successfully, but these errors were encountered: