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

Don't recurse down closures for duplicate-label checking #27093

Merged
merged 1 commit into from
Jul 21, 2015

Conversation

Manishearth
Copy link
Member

Fixes #25343

To be honest I'm not sure if this is the right fix (I haven't yet fully understood the code),
but it seems to work. I'll look closer at the code when I have some time, in the meantime if this
is the right fix it would be nice to get verification from someone who does understand the code 😄

r? @pnkfelix

@Manishearth
Copy link
Member Author

cc @Ms2ger

'label: loop {
}
};
}
Copy link
Contributor

Choose a reason for hiding this comment

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

this will fail tidy

Copy link
Contributor

Choose a reason for hiding this comment

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

oh, apparently not?

@pnkfelix
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Jul 21, 2015

📌 Commit ccf9050 has been approved by pnkfelix

@bors
Copy link
Contributor

bors commented Jul 21, 2015

⌛ Testing commit ccf9050 with merge 39a780d...

bors added a commit that referenced this pull request Jul 21, 2015
Fixes #25343

To be honest I'm not sure if this is the right fix (I haven't yet fully understood the code),
but it seems to work. I'll look closer at the code when I have some time, in the meantime if this
is the right fix it would be nice to get verification from someone who does understand the code 😄

r? @pnkfelix
@bors bors merged commit ccf9050 into rust-lang:master Jul 21, 2015
@Manishearth Manishearth deleted the closure-label-shadow branch July 22, 2015 06:41
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.

Incorrect warning about label shadowing itself
4 participants