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

Mention of TyKind::UnnormalizedProjectionTy which no longer exists #1558

Closed
fmease opened this issue Jan 13, 2023 · 4 comments
Closed

Mention of TyKind::UnnormalizedProjectionTy which no longer exists #1558

fmease opened this issue Jan 13, 2023 · 4 comments

Comments

@fmease
Copy link
Member

fmease commented Jan 13, 2023

https://rust-lang.github.io/chalk/book/clauses/type_equality.html#placeholder-associated-types contains:

In rustc, [placeholder projection types] correspond to the TyKind::UnnormalizedProjectionTy enum variant, declared in compiler/rustc_middle/src/ty/sty.rs.

Do they now correspond to TyKind::Alias(AliasKind::Projection, AliasTy { … })? If so, I can gladly open a PR to update the outdated reference.

@tshepang
Copy link
Member

I found rust-lang/rust#72150

@JohnTitor
Copy link
Member

That book isn't hosted here but on https://github.com/rust-lang/chalk, please open an issue or submit a PR directly there! I cannot transfer the issue so am going to close instead.

@JohnTitor JohnTitor closed this as not planned Won't fix, can't repro, duplicate, stale Feb 4, 2023
@tshepang
Copy link
Member

tshepang commented Feb 4, 2023

Also, to make it clear, the type is TyKind::UnnormalizedProjection (and not TyKind::UnnormalizedProjectionTy), and was removed from the codebase.

@fmease
Copy link
Member Author

fmease commented Feb 6, 2023

That book isn't hosted here

Oops, I should've looked at the URL. A hyperlink from the dev guide took me there. Sorry for the noise 🤦

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

No branches or pull requests

3 participants