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

support higher-ranked types for chalk #49810

Closed
3 of 4 tasks
nikomatsakis opened this issue Apr 9, 2018 · 2 comments
Closed
3 of 4 tasks

support higher-ranked types for chalk #49810

nikomatsakis opened this issue Apr 9, 2018 · 2 comments
Labels
A-trait-system Area: Trait system C-enhancement Category: An issue proposing an enhancement or a PR with one. T-compiler Relevant to the compiler 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

Comments

@nikomatsakis
Copy link
Contributor

nikomatsakis commented Apr 9, 2018

As discussed in the WG-traits planning meeting today, we need to decide how we will represent higher-ranked types in rustc. We decided to try for using debruijn indexing more universally, much as it is done in chalk. The plan is to generalize the existing CanonicalVar so that it represents a "bound" thing -- probably it just gets unified with DebruijnIndex. This will take a few steps, each of which I plan to describe in its own sub-issue:

@nikomatsakis nikomatsakis added A-trait-system Area: Trait system T-compiler Relevant to the compiler 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 labels Apr 9, 2018
@nikomatsakis
Copy link
Contributor Author

cc @rust-lang/wg-traits

@jkordish jkordish added the C-enhancement Category: An issue proposing an enhancement or a PR with one. label May 16, 2018
@scalexm
Copy link
Member

scalexm commented Nov 25, 2018

I believe this can be closed, in light of #55330, #55649 and #55921.

@scalexm scalexm closed this as completed Nov 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-trait-system Area: Trait system C-enhancement Category: An issue proposing an enhancement or a PR with one. T-compiler Relevant to the compiler 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
Projects
None yet
Development

No branches or pull requests

3 participants