Skip to content

Do something better when there's a mismatch between identical-looking regions #15391

Closed
@brson

Description

@brson

It's a very common experience for rustc to tell you it couldn't unify two regions, then print out the span of those regions, only to have them look identical. Seeing enough of these can be rage-inducing.

I don't have a great concrete suggestion, but even just printing a single region and saying something like 'yeah, I know these regions look the same. sorry', might ease the pain a bit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-lifetimesArea: Lifetimes / regionsA-type-systemArea: Type system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions