-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICE: Encountered anon const with inference variable args but no error reported
#133139
Comments
are you using any nightly features |
Oh yeah, quite a few: I'll keep trying to minimize it into a code snippet I can share, but it might be a bit difficult. The one thing I can say at this point is that the ICE specifically affects a crate that has both a |
Hi, I managed to reproduce the bug in a codebase of mine by accident `rustc version: 1.84.0-nightly (03ee484 2024-11-18) platform: aarch64-apple-darwin` https://github.com/crypdoughdoteth/Merkle-Tree/tree/rustc_bug_repro It only occurred within this last commit where I added two new methods named |
Seems this doesn't reproduce anymore on latest nightly. Now I'm hitting a different ICE. 😅 |
Scratch that. @crypdoughdoteth 's reproducer still ICEs in the same way on tonight's nightly. Maybe my repo is just hitting #133808 before hitting this one. (BTW, @crypdoughdoteth , |
This is probably the same as #133199. The "fix" is to add |
Huh, that did it, thank you! |
Unfortunately, I can't share the code that caused this ICE, and have not (yet) been able to minimize it into something I can share.
Meta
Reproduce with:
Regression in rust-lang-ci@5380d56
The PR introducing the regression in this rollup is #132927: Consolidate type system const evaluation under `traits::eva…
Error output
Backtrace
The text was updated successfully, but these errors were encountered: