Skip to content

[ICE] adding a def'n for node-id NodeId(130468) and def kind AnonConst but a previous def'n exists #129336

@jrose-signal

Description

@jrose-signal

Summary

Running cargo +nightly check --workspace --all-features --all-targets in https://github.com/signalapp/libsignal/tree/v0.55.1 produced

thread 'rustc' panicked at compiler/rustc_ast_lowering/src/lib.rs:505:9:
adding a def'n for node-id NodeId(130468) and def kind AnonConst but a previous def'n exists: DefKey { parent: Some(DefIndex(3382)), disambiguated_data: DisambiguatedDefPathData { data: AnonConst, disambiguator: 0 } }

(sorry for not reducing it)

rustc-ice-2024-08-20T22_23_14-62651.txt

Version

rustc 1.82.0-nightly (636d7ff91 2024-08-19)
binary: rustc
commit-hash: 636d7ff91b9847d6d43c7bbe023568828f6e3246
commit-date: 2024-08-19
host: aarch64-apple-darwin
release: 1.82.0-nightly
LLVM version: 19.1.0

Error output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions