Skip to content

ICE: assertion failed: !hidden_types.has_erased_regions() #116306

Closed
@saethlin

Description

I might be able to git bisect this tomorrow, unfortunately cargo-bisect-rustc can't help because this is a debug assertion.

cargo +stage1 install cargo-nextest --force

Starts at least on this commit:

ca62d2c445628587660ae48013f460b08b1f5552

Error output

thread 'rustc' panicked at compiler/rustc_trait_selection/src/traits/select/mod.rs:3119:9:
assertion failed: !hidden_types.has_erased_regions()

rustc-ice-2023-10-01T04:39:24.992139512Z-887849.txt

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-typesRelevant to the types team, which will review and decide on the PR/issue.requires-debug-assertionsThis issue requires a build of rustc or tooling with debug-assertions in some way

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions