Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up🛠 Extend the "chalk lowering" pass with remaining rules #49177
Comments
nikomatsakis
added
T-compiler
WG-compiler-traits
labels
Mar 19, 2018
This comment has been minimized.
This comment has been minimized.
|
I'll take |
varkor
added a commit
to varkor/rust
that referenced
this issue
Mar 20, 2018
varkor
referenced this issue
Mar 20, 2018
Merged
Implement Chalk lowering rule "Implemented-From-Env" #49211
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Mar 21, 2018
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Mar 21, 2018
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Mar 22, 2018
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Mar 22, 2018
This comment has been minimized.
This comment has been minimized.
|
Working on |
tmandry
referenced this issue
Mar 28, 2018
Merged
chalkify: Implement lowering rule Implied-Bound-From-Trait #49435
This comment has been minimized.
This comment has been minimized.
|
I'd like to try |
This comment has been minimized.
This comment has been minimized.
|
@fanzier great! Let me know how it goes. Feel free to pop in on the gitter channel with questions. |
nikomatsakis
referenced this issue
Apr 2, 2018
Closed
🚀 create a query for the program clauses needed to solve a given goal #49600
fanzier
referenced this issue
Apr 3, 2018
Merged
Implement Chalk lowering rule Normalize-From-Impl #49626
bors
added a commit
that referenced
this issue
Apr 10, 2018
bors
added a commit
that referenced
this issue
Apr 12, 2018
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Apr 13, 2018
kennytm
added a commit
to kennytm/rust
that referenced
this issue
Apr 13, 2018
bors
added a commit
that referenced
this issue
Apr 17, 2018
tmandry
referenced this issue
Jun 14, 2018
Closed
[WIP] Move `Self: Trait` predicate to trait items instead of the trait itself #50183
XAMPPRocky
added
A-traits
C-tracking-issue
labels
Jun 26, 2018
bors
added a commit
that referenced
this issue
Jul 9, 2018
nikomatsakis
added
the
chalk-integration
label
Oct 15, 2018
This comment has been minimized.
This comment has been minimized.
|
@nikomatsakis I believe some check boxes should be checked. |
bors
added a commit
that referenced
this issue
Nov 14, 2018
This comment has been minimized.
This comment has been minimized.
|
PR #52153 has been merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nikomatsakis commentedMar 19, 2018
•
edited by csmoe
Now that @scalexm has created the basic framework for lowering, we need to flesh it out. This issue is intentionally structured as a "quest isuse" -- that is, a way for a lot of people to contribute, each doing one small thing. The goal is for everyone to get familiar with the overall "chalk" setup.
The tasks
Each task corresponds to one of the rules documented in the rustc-guide. You can search the guide for the rule name in order to find some text explaining the rule. If you want to do a rule, just check the box and edit this post to add your name (if you are a member of the GitHub team, you should have privileges for that). If you are not yet a member of the WG-traits group, leave a comment below or ping me on gitter and I will add you.
Mentoring instructions
As described above, the goal is to add the code to generate appropriate program clauses from various Rust constructs. You should use the
Implemented-From-Implrule as a kind of template:rust/src/librustc_traits/lowering.rs
Lines 121 to 130 in a04b88d
Each rule should also have a unit-test. This rustc-guide chapter describes how to create such unit tests.
cc @rust-lang/wg-traits