Skip to content

rustc: Prevent repeated moves out of proc upvars #13413

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

Merged
merged 1 commit into from
Apr 10, 2014

Conversation

alexcrichton
Copy link
Member

This fixes the categorization of the upvars of procs (represented internally
as once fns) to consider usage to require a loan. In doing so, upvars are no
longer allowed to be moved out of repeatedly in loops and such.

Closes #10398
Closes #12041
Closes #12127

This fixes the categorization of the upvars of procs (represented internally
as once fns) to consider usage to require a loan. In doing so, upvars are no
longer allowed to be moved out of repeatedly in loops and such.

Closes rust-lang#10398
Closes rust-lang#12041
Closes rust-lang#12127
bors added a commit that referenced this pull request Apr 10, 2014
This fixes the categorization of the upvars of procs (represented internally
as once fns) to consider usage to require a loan. In doing so, upvars are no
longer allowed to be moved out of repeatedly in loops and such.

Closes #10398
Closes #12041
Closes #12127
@bors bors closed this Apr 10, 2014
@bors bors merged commit 767ed1a into rust-lang:master Apr 10, 2014
@alexcrichton alexcrichton deleted the once-fn-move branch April 10, 2014 14:58
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 18, 2022
…tchers, r=jonas-schievink

Revert "fix: in VSCode, correctly resolve relative paths to errors"

Reverts rust-lang/rust-analyzer#13367

I didn't manage to figure out what exactly is the issue, so reverting this to fix rust-lang/rust-analyzer#13404 before monday.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants