Skip to content

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

Closed
@saethlin

Description

@saethlin
Member

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

Activity

added
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.
C-bugCategory: This is a bug.
requires-debug-assertionsThis issue requires a build of rustc or tooling with debug-assertions in some way
on Oct 1, 2023
added
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Oct 1, 2023
lqd

lqd commented on Oct 1, 2023

@lqd
Member

unfortunately cargo-bisect-rustc can't help because this is a debug assertion

I don't know about you, but I'm not sure we're getting everything we'd want out of the alt builds. I rarely hear about them, and especially not when they could have helped, like here: maybe enough time has passed by now to say debug assertions should also be turned on in the alt builds?

Anyway, I believe cargo-nextest-0.9.59 started triggering this assert in release mode with 286502c from #107421.

added
T-typesRelevant to the types team, which will review and decide on the PR/issue.
and removed
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Oct 3, 2023
added 2 commits that reference this issue on Oct 5, 2023

Rollup merge of rust-lang#116452 - cjgillot:noassert-erased, r=oli-obk

656eff3

Rollup merge of rust-lang#116452 - cjgillot:noassert-erased, r=oli-obk

76d0b79
added a commit that references this issue on Oct 5, 2023
lqd

lqd commented on Oct 19, 2023

@lqd
Member

This should have been fixed by #116452, can this issue be closed?

saethlin

saethlin commented on Oct 19, 2023

@saethlin
MemberAuthor

Yes, can confirm it's fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

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

        Participants

        @lqd@saethlin@rustbot@Noratrieb

        Issue actions

          ICE: assertion failed: !hidden_types.has_erased_regions() · Issue #116306 · rust-lang/rust