-
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
regression: ~const not implemented #105105
Comments
cc @rust-lang/rustdoc |
Let's maybe involve @rust-lang/compiler as I don't remember rustdoc changing something for |
I don't know how the first one (asm_sim) could possibly compile on stable. So if it now is not documenting anymore, but was before, did rustdoc change how it handles static items? I'll need to look at the second one tomorrow. The last two are using unstable feature gates opting into const traits, so I expect them to fail to compile with recent changes. Is rustdoc turning on all cargo features? That could explain why crates that otherwise work on stable start failing. |
Oh, interesting. It looks like crater sets RUSTC_BOOTSTRAP=1 in rustdoc crater runs (https://github.com/rust-lang/crater/blob/53db254d5729b31a657c148a69fa6fbbf8d537e8/src/runner/test.rs#L423-L425) which makes these potentially not really stable/beta regressions (i.e. they are really just nightly only regressions). I think the ones with unstable feature gates can be discounted then, though that doesn't seem to be all of the ones in this issue. |
I tested all of them. The first two don't compile on stable at all and I don't believe they ever did (but they also don't use any feature gates ?!? did someone write code and it didn't work and then they abandoned it?). It looks like rustdoc crater counts things as regressions even if the crate doesn't compile at all. The last two are definitely using nightly via a cargo feature. |
This is a regression (the code used to get documented on stable). It also seems surprising that we're leaking ~const into stable error messages (presumably a T-compiler problem).
The text was updated successfully, but these errors were encountered: