Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird async/await error message around mutablility #51932

Open
cramertj opened this issue Jun 30, 2018 · 0 comments

Comments

@cramertj
Copy link
Member

commented Jun 30, 2018

Attempting to mutate an argument to an async fn that was not marked mut results in this error message:
cannot borrow immutable captured outer variable in an `FnOnce` closure `sender` as mutable

This is obviously subpar 馃槅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can鈥檛 perform that action at this time.