Skip to content

Closure capture experiments - #166730

Draft
Jules-Bertholet wants to merge 4 commits into
rust-lang:mainfrom
Jules-Bertholet:unsafe-closure-capture-fixes
Draft

Jules-Bertholet wants to merge 4 commits into
rust-lang:mainfrom
Jules-Bertholet:unsafe-closure-capture-fixes

Conversation

@Jules-Bertholet

Copy link
Copy Markdown
Contributor

No description provided.

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rust-analyzer Relevant to the rust-analyzer team, which will review and decide on the PR/issue. labels Nov 29, 2026
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job test-pr-check-2 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
     |                                                       ^^^^^^^^^^ cannot borrow as mutable
     |
help: consider changing this to be mutable
     |
1343 | fn restrict_capture_precision(mut place: Place, capture_info: &mut CaptureInfo) -> Place {
     |                               +++

[RUSTC-TIMING] itertools test:false 0.943
    Checking fnv v1.0.7
[RUSTC-TIMING] fnv test:false 0.026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rust-analyzer Relevant to the rust-analyzer team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants