Skip to content

Impl resolution may try to access unresolved types #1494

Closed
@marijnh

Description

@marijnh

When collecting the set of impls in a mod that hasn't been resolved yet, you get an error when one of the impls implements an iface, since the ty_path for the iface doesn't have a def associated with it yet.

This should probably be fixed by moving the gathering of impls for imports into a pass after the normal resolution pass.

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

    Issue actions