Skip to content

Induce an empty loan for the value being matched in match expressions #17413

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 Sep 23, 2014
Merged

Induce an empty loan for the value being matched in match expressions #17413

merged 1 commit into from Sep 23, 2014

Conversation

ghost
Copy link

@ghost ghost commented Sep 20, 2014

This is to make sure it hadn't been moved if there are no bindings
in any of the arms.

Fixes #17385.

This is to make sure it hadn't been moved if there are no bindings
in any of the arms.

Fixes #17385.
bors added a commit that referenced this pull request Sep 23, 2014
This is to make sure it hadn't been moved if there are no bindings
in any of the arms.

Fixes #17385.
@bors bors closed this Sep 23, 2014
@bors bors merged commit 7b08827 into rust-lang:master Sep 23, 2014
@ghost ghost deleted the issue-17385 branch October 2, 2014 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Matching a partially moved value results in weird runtime behavior.
1 participant