Skip to content

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

@fmease

Description

@fmease
Member

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.

Activity

tshepang

tshepang commented on Jan 15, 2023

@tshepang
Member
JohnTitor

JohnTitor commented on Feb 4, 2023

@JohnTitor
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.

tshepang

tshepang commented on Feb 4, 2023

@tshepang
Member

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

fmease

fmease commented on Feb 6, 2023

@fmease
MemberAuthor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @tshepang@fmease@JohnTitor

        Issue actions

          Mention of `TyKind::UnnormalizedProjectionTy` which no longer exists · Issue #1558 · rust-lang/rustc-dev-guide