Skip to content

implement "instantiation" methods in chalk integration impl #55098

Description

@nikomatsakis

There are a few methods in the "chalk integration" impl that have the job of "instantiating" canonical things with inference variables and the like. Actually, these methods have a somewhat bigger job: they are also supposed to create the surrounding inference context.

There are two such methods:

PR #54858 introduces a enter_with_canonical method that is more-or-less exactly what we need here (link). Hopefully that will land soon.

For reference, the implementations of these methods from the chalk project are here.

Activity

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

    A-trait-systemArea: Trait systemT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions