Skip to content

regression: opaque types got hidden types registered from within subtype predicate #125192

Closed

Description

@BoxyUwU
[INFO] [stderr] thread 'rustc' panicked at compiler/rustc_infer/src/infer/mod.rs:956:17:
[INFO] [stdout] error: internal compiler error: compiler/rustc_infer/src/infer/mod.rs:956:17: opaque types got hidden types registered from within subtype predicate: itertools::Either<Alias(Opaque, AliasTy { args: ['?52, '?14], def_id: DefId(0:28837 ~ smoldot[145d]::header::babe::{impl#3}::scale_encoding::{opaque#0}::{opaque#0}) }), [u8; 4_usize]> vs itertools::Either<Alias(Opaque, AliasTy { args: ['?39, '?14], def_id: DefId(0:28837 ~ smoldot[145d]::header::babe::{impl#3}::scale_encoding::{opaque#0}::{opaque#0}) }), [u8; 4_usize]>
[INFO] [stdout]   --> src/header/babe.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 | /                 iter::once(either::Right(either::Left([1]))).chain(
[INFO] [stdout] 84 | |                     digest
[INFO] [stdout] 85 | |                         .scale_encoding()
[INFO] [stdout] 86 | |                         .map(either::Right)
[INFO] [stdout] 87 | |                         .map(either::Right),
[INFO] [stdout] 88 | |                 ),
[INFO] [stdout]    | |_________________^

probably #123979 cc @oli-obk @compiler-errors

Activity

  1. 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.
    on May 17, 2024
  2. added
    I-prioritizeIssue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on May 17, 2024
  3. added this to the 1.79.0 milestone on May 17, 2024
  4. compiler-errors commented on May 17, 2024

    @compiler-errors
    Contributor

    Yeah Matthias also found #123979. Think it hasn't been fixed b/c oli is on holiday -- I assume he will investigate when he's back next week.

  5. lqd commented on May 17, 2024

    @lqd
    Member

    MCVE in #124891

  6. removed
    needs-triageThis issue may need triage. Remove when done. See docs forge.rust-lang.org/release/issue-triaging
    on May 18, 2024
  7. apiraino commented on May 21, 2024

    @apiraino
    Contributor

    WG-prioritization assigning priority (Zulip discussion).

    I'll mark this as P-critical because it seems an unintended breaking change and therefore should probably be fixed before entering into stable.

    @rustbot label -I-prioritize +P-critical

  8. added and removed
    I-prioritizeIssue needs a team member to assess the impact. Will be replaced by P-{low,medium,high,critical}
    on May 21, 2024
  9. self-assigned this
    on May 23, 2024
  10. added 2 commits that reference this issue on May 24, 2024
  11. added a commit that references this issue on May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️P-criticalCritical priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions