Skip to content

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

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
jrose-signal opened this issue Aug 20, 2024 · 3 comments
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@jrose-signal
Copy link

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

@jrose-signal jrose-signal added C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ labels Aug 20, 2024
@Alexendoo Alexendoo transferred this issue from rust-lang/rust-clippy Aug 20, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Aug 20, 2024
@jrose-signal
Copy link
Author

Did some bisecting, this was introduced in 2024-07-20. (Also, oops, thanks, I started with Clippy before reproducing with plain check.)

@jrose-signal
Copy link
Author

Very possibly the same as #128016.

@compiler-errors
Copy link
Member

Yeah, this is just a duplicate of that. Thanks for the report, but I'd prefer if we track this issue in fewer places.

@compiler-errors compiler-errors closed this as not planned Won't fix, can't repro, duplicate, stale Aug 20, 2024
@jieyouxu jieyouxu removed the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label Aug 21, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

No branches or pull requests

4 participants