Skip to content
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

Fix missing #![feature(generic_const_exprs)] in doctests #87

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

Tehforsch
Copy link
Owner

This fixes #86 occuring in some of the doctests

@Tehforsch Tehforsch force-pushed the fix-ice-133199 branch 2 times, most recently from 47c6bae to 21da7c3 Compare January 8, 2025 18:50
Some of them were missing this feature annotation but used to compile
and pass for some inexplicable reason. Now this missing feature gate
causes an ICE (rust-lang/rust#133199). This
adds the feature gates in all the doctests, but does not yet address the
fact that this ICE also occurs in calling crates that don't have
`#![feature(generic_const_exprs)]` set. Maybe a workaround could be to
check for this feature explicitly and throw a helpful error message in
diman.
@Tehforsch Tehforsch merged commit e896e85 into main Jan 8, 2025
2 of 3 checks passed
@jedbrown
Copy link
Contributor

cargo test --doc is still ICE'ing on Diman main (46ff220) with today's nightly. Do you also see the same? Have you done any reduction or know if there is already an upstream issue?

rustc-ice-2025-01-24T07_11_05-701764.txt

@Tehforsch
Copy link
Owner Author

Thanks for noticing, after updating to the latest nightly, I also see this.
I've opened #91 to track this. I don't think there is much we can do for now, other than waiting for it to be fixed, since it is hard to tell what triggers this.

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.

Missing #[feature(generic_const_exprs)] in calling crate causes ICE due to rustc bug
2 participants