Skip to content

Re-pull const declarations outside of nested const - #496

Merged
KodrAus merged 1 commit into
mainfrom
fix/rustc-ice
Sep 10, 2026
Merged

KodrAus merged 1 commit into
mainfrom
fix/rustc-ice

Conversation

@KodrAus

@KodrAus KodrAus commented Sep 10, 2026

Copy link
Copy Markdown
Member

Fixes #495

The const flag declarations were originally pulled out of a nested const block to work around a rustdoc bug. It seems like that same fix also prevented a rustc ICE on 1.69.0. I've re-pulled them back out.

@xtqqczze Do you still get an ICE triggered with this branch?

@xtqqczze

xtqqczze commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Confirmed this fixes the ICE locally. Let's wait for CI on nix-rust/nix#2821 to confirm.

@xtqqczze

Copy link
Copy Markdown
Contributor

@KodrAus Confirmed that this fixes #495

@KodrAus

KodrAus commented Sep 10, 2026

Copy link
Copy Markdown
Member Author

Thanks! I'll merge and publish

@KodrAus
KodrAus merged commit 48f4f1a into main Sep 10, 2026
20 checks passed
@KodrAus
KodrAus deleted the fix/rustc-ice branch September 10, 2026 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ICE on Rust 1.69.0

2 participants