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

Refactor WhereClauseAtom into WhereClause. #142

Merged
merged 2 commits into from
May 28, 2018

Conversation

scalexm
Copy link
Member

@scalexm scalexm commented May 27, 2018

The WhereClauseAtom was formerly used for abstracting over bounds which also had WF/FromEnv versions (i.e. Implemented and ProjectionEq formerly).

We rename WhereClauseAtom to WhereClause and now use it for representing where clauses that can effectively be written by a Rust programmer. This helps for documentation and for cleaning up a bit some match blocks.

By the way, I refactored a bit the AST and the lowering process. This PR doesn't change the logic or whatever.

Closes #115.

@nikomatsakis nikomatsakis merged commit d67e569 into rust-lang:master May 28, 2018
@scalexm scalexm deleted the wc-atom branch November 29, 2018 18:35
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.

2 participants