-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rust suggests me to make a mutable variable mutable? #46834
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
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
@matthewjasper That doesn't seem to give the hint in the playground. Ooooh, maybe the reason I couldn't make a minimal example is because the playground has a different rust version? |
Looks like this is only an issue on beta/nightly. |
|
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Jan 17, 2018
Do not suggest to make `mut` binding external to `Fn` closure Re rust-lang#46834.
Current output:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Sadly I can't seems to find a minimal reproduction example where this appears, but I commited all my code to a separate branch so you can look at the code (or try to compile it yourself): rust-weird-error.
I'm sorry, but that's all I have on this error.
The text was updated successfully, but these errors were encountered: