Skip to content

NLL: handle outlives relations, process region obligations in the MIR type checker #45826

Closed

Description

@nikomatsakis

Once #45825 lands, the NLL region solver will be integrated with the MIR type-checker and the rest of our inference infrastructure. However, we do not yet handle "verifys", which is the way that we sometimes encode type_outlives relations. Also, the MIR type checker is not currently invoking process_region_obligations, so outlives relations often do not even get processed.

Right now, you can't actually observe failures as a result of this, or at least I couldn't, I think because of various things that are not currently enforced by the MIR type-checker. But I am filing this bug as a placeholder for now. Mentoring instructions to come.

Activity

  1. changed the title [-]NLL: handle outlives relations[/-] [+]NLL: handle outlives relations, process region obligations in the MIR type checker[/+] on Nov 7, 2017
  2. added this to the NLL prototype milestone on Nov 15, 2017
  3. self-assigned this
    on Nov 16, 2017
  4. nikomatsakis commented on Nov 16, 2017

    @nikomatsakis
    ContributorAuthor

    I'm working on this.

  5. nikomatsakis commented on Jan 3, 2018

    @nikomatsakis
    ContributorAuthor

    This is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions