Uh oh!
There was an error while loading. Please reload this page.
Warn for variables that are no longer captured - #90597
Conversation
nikomatsakis
commented
Nov 5, 2021
Nominating for backport: this bug fixes incorrect migration that can cause subtle changes in execution order (see #90465) |
arora-aman
left a comment
There was a problem hiding this comment.
Thanks for looking into this. I only have nits.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
wesleywiser
left a comment
There was a problem hiding this comment.
One small suggestion, feel free to take it or leave it 🙂
r=me with CapturesInfo renamed per @arora-aman's suggestion
Uh oh!
There was an error while loading. Please reload this page.
nikomatsakis
commented
Nov 5, 2021
@bors r=wesleywiser |
bors
commented
Nov 5, 2021
📌 Commit 4154e8a has been approved by |
…askrgr Rollup of 5 pull requests Successful merges: - rust-lang#89942 (Reorder `widening_impl`s to make the doc clearer) - rust-lang#90569 (Fix tests using `only-i686` to use the correct `only-x86` directive) - rust-lang#90597 (Warn for variables that are no longer captured) - rust-lang#90623 (Remove more checks for LLVM < 12) - rust-lang#90626 (Properly register text_direction_codepoint_in_comment lint.) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
rustbot
commented
Nov 11, 2021
Error: Label beta-accepted can only be set by Rust team members;we were unable to check if you are a team member. Please let |
[beta] backports - Fix assertion failures in OwnedHandle with windows_subsystem. rust-lang#88798 - Ensure that pushing empty path works as before on verbatim paths rust-lang#89665 - Feature gate + make must_not_suspend allow-by-default rust-lang#89826 - Only use clone3 when needed for pidfd rust-lang#89930 - Fix documentation header sizes rust-lang#90186 - Fixes incorrect handling of ADT's drop requirements rust-lang#90218 - Fix ICE when forgetting to Box a parameter to a Self::func call rust-lang#90221 - Prevent duplicate caller bounds candidates by exposing default substs in Unevaluated rust-lang#90266 - Update odht crate to 0.3.1 (big-endian bugfix) rust-lang#90403 - rustdoc: Go back to loading all external crates unconditionally rust-lang#90489 - Split doc_cfg and doc_auto_cfg features rust-lang#90502 - Apply adjustments for field expression even if inaccessible rust-lang#90508 - Warn for variables that are no longer captured rust-lang#90597 - Properly register text_direction_codepoint_in_comment lint. rust-lang#90626 - CI: Use ubuntu image to download openssl, curl sources, cacert.pem for x86 dist builds rust-lang#90457 - Android is not GNU rust-lang#90834 - Update llvm submodule rust-lang#90954 Additionally, this bumps the stage 0 compiler from beta to stable 1.56.1. r? `@Mark-Simulacrum`
r? @wesleywiser
cc @rust-lang/wg-rfc-2229
Fixes#90465