Skip to content

non-fatal overflow during monomorphization results in ICE #155

Open
@lcnr

Description

@lcnr

instead of aborting due to fatal overflow, we ICE due to an error in Instance::resolve or normalize_erasing_regions:

affected tests:

  • resolve instance
    • tests/ui/impl-trait/failed-to-resolve-instance-ice-105488.rs
  • normalize erasing regions
    • tests/ui/infinite/infinite-instantiation-struct-tail-ice-114484.rs
    • tests/ui/recursion_limit/zero-overflow.rs
    • tests/ui/type-alias-impl-trait/mututally-recursive-overflow.rs
    • tests/ui/issues/issue-67552.rs

We should also fatal error with the new solver during monomorphization

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions