Skip to content

handling overflow in fulfill #94

Open
@lcnr

Description

@lcnr

rust-lang/rust#121322 changed overflow in fulfillment to simply return, treating the overflowing goals as ambiguous and reevaluating the overflowing goals in the next call to select_where_possible. This does not impact coherence as it only uses a single call to select_where_possible.

Outside of coherence this can likely result in hangs and I believe we generally want some special diagnostics in case there's some overflow hitting the recursion limit. We may even want to fatally error when hitting them or something 🤷

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