-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Mutability of variables captured by procs is ignored #12260
Comments
Closing as a dupe of #11958, moving the example to that bug. |
Closing in sloooowww motion. |
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jul 25, 2022
…in-macro-expansion, r=lnicola ide: insert whitespace between 'mut' and 'self' in macro expansion fixes rust-lang#12260
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Feb 26, 2024
Take lifetime extension into account in `ref_as_ptr` fixes rust-lang#12255 This should be merged upstream as well. Changing `let x = &temp as *const _` into `let x = from_ref(&temp)` is UB. changelog: `ref_as_ptr`: Take lifetime extension into account
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: