🚀 create a query for the program clauses needed to solve a given goal #49600
Labels
A-trait-system
Area: Trait system
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
WG-traits
Working group: Traits, https://internals.rust-lang.org/t/announcing-traits-working-group/6804
One of the key parts of the interface between the Chalk Solver and rustc is when the solver requests the program clauses to solve a given goal:
In Rustc, this is our chance to do some queries and figure out the full set of clauses. This is building on the work in #49177, where we create the lowering rules for a trait, item, etc (see also the rustc guide coverage).
The set of clauses is somewhat specific to the domain goal:
Implemented(P0: Trait<...>)
Trait
FromEnv(P0: Trait<..>)
I'll probably keep iterating on this, but if somebody is keen to hack on it, I'd love to collaborate.
The text was updated successfully, but these errors were encountered: