Skip to content
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

Do not resolve labels across function boundary #20242

Merged
merged 2 commits into from
Dec 30, 2014

Conversation

sanxiyn
Copy link
Member

@sanxiyn sanxiyn commented Dec 26, 2014

Fix #19331.

@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

}
}
let result = rib.bindings.get(&name).cloned();
match result {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: What about using if-let or just checking if is_some to reduce LOC?

Verified

This commit was signed with the committer’s verified signature. The key has expired.
@sanxiyn
Copy link
Member Author

sanxiyn commented Dec 27, 2014

Addressed review comments.

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Dec 30, 2014
@bors bors merged commit fbda51e into rust-lang:master Dec 30, 2014
@sanxiyn sanxiyn deleted the break-from-fn branch December 30, 2014 11:15
@brson
Copy link
Contributor

brson commented Jan 5, 2015

<3 @sanxiyn

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.

ICE in named break from within proc
7 participants