Skip to content

Consolidate various "make sure these two types are the same" functions in typeck #2644

Closed
@lkuper

Description

@lkuper

There are a litany of "make sure these two types are the same" functions in various places in typeck (require_same_types, require_same_types_in_infcx, are_compatible, compare_tys), some of which are only used in one place. We should consolidate these.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions