Skip to content

region checking in intercrate mode #64

Open
@lcnr

Description

@lcnr

the way we destructure TypeOutlives is incomplete, and probably some other parts of regionck as well.

We must not use resolve_regions in places which are required to be complete.

I previously used the invariant "during coherence mode we have to be complete", but rust-lang/rust#112875 uses resolve_regions and intercrate mode, so it breaks the invariant. Either the invariant is wrong and only "the implicit negative checks" require completeness, or that code is broken and we need to change it somehow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-coherenceHaving to do with regressions in `-Ztrait-solver=next-coherence`

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions