-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Complex generic constants cause 'not user writable' panic when invoked by rustdoc #77647
Comments
Related: #77645 |
@lcnr do you know what's going on here? The rustdoc code is rust/src/librustdoc/clean/mod.rs Lines 506 to 512 in 0dda415
|
Yeah, that one's somewhat expected. |
Issue: rust-lang/rust#77647
I minimized the failure I'm seeing in rustdoc and it looks like it's this issue and not a separate one. Is there any workaround or is any
|
No, there's no workaround that I know of. I don't understand the implementation of const generics very well, nor does anyone else on the team. |
Does anyone know what would be needed to fix this, or at least work around it enough to stop (This is currently disabling |
…ce, r=oli-obk rustdoc- dont ICE on `ConstEvaluatable` predicates Fixes rust-lang#77647 rustdoc doesn't need to be handling these as you cant write them, they just get added implicitly when you write a where clause containing an expression.
Code
Meta
rustc --version --verbose
:Error output
cargo doc
Backtrace
The text was updated successfully, but these errors were encountered: