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

Remove the unecessary ParamBounds struct #26354

Merged
merged 1 commit into from
Jun 23, 2015

Conversation

jroesch
Copy link
Member

@jroesch jroesch commented Jun 16, 2015

This pull request removes ParamBounds a old holdover in the type checker that we (@nikomatsakis and I) had wanted to remove. I'm not sure if the current form is the best possible refactor but I figured we can use this as a place to discuss it.

r? @nikomatsakis


fn parse_bounds_<'a, 'tcx, F>(st: &mut PState<'a, 'tcx>, conv: &mut F)
-> ty::ParamBounds<'tcx> where
fn parse_bounds<'a, 'tcx, F>(st: &mut PState<'a, 'tcx>, conv: &mut F)
Copy link
Member Author

Choose a reason for hiding this comment

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

For conventions sake I should probably change this back to parse_bounds_, didn't realize the convention until I was looking over the change set.

@nikomatsakis
Copy link
Contributor

this looks good. r+ when travis is pacified.

@nikomatsakis
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Jun 18, 2015

📌 Commit dfb2ee3 has been approved by nikomatsakis

@bors
Copy link
Contributor

bors commented Jun 19, 2015

☔ The latest upstream changes (presumably #26351) made this pull request unmergeable. Please resolve the merge conflicts.

@bors
Copy link
Contributor

bors commented Jun 21, 2015

🔒 Merge conflict

@nikomatsakis
Copy link
Contributor

@jroesch needs rebase...

@jroesch
Copy link
Member Author

jroesch commented Jun 23, 2015

@nikomatsakis sorry about the hold up had to integrate with huge patch from eddyb. I also slightly cleaned up the code due to some changes in master, did a rebase and squash as well.

@jroesch jroesch force-pushed the remove-param-bounds-take-n branch from dfb2ee3 to 81e5c1f Compare June 23, 2015 07:10
@nikomatsakis
Copy link
Contributor

@bors r+

@bors
Copy link
Contributor

bors commented Jun 23, 2015

📌 Commit 81e5c1f has been approved by nikomatsakis

@bors
Copy link
Contributor

bors commented Jun 23, 2015

⌛ Testing commit 81e5c1f with merge 997bd33...

bors added a commit that referenced this pull request Jun 23, 2015
…akis

This pull request removes `ParamBounds` a old holdover in the type checker that we (@nikomatsakis and I) had wanted to remove. I'm not sure if the current form is the best possible refactor but I figured we can use this as a place to discuss it.

r? @nikomatsakis
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.

3 participants