-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Error documenting code that uses min_const_generics #75913
Comments
Making this even more strange, this does not panic with
|
Backtrace
Rustdoc code: rust/src/librustdoc/clean/mod.rs Lines 1366 to 1367 in 668ef72
|
The main function is not necessary, it also crashes on #![feature(min_const_generics)]
pub type CellIndex<const D: usize> = [i64; D]; |
Yeah this one is beyond me, I have no idea why this is breaking. |
This never worked with
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Feel free to ping me on all issues related to const generics @rustbot claim |
Thanks for fixing this! |
Code
The following code compiles just fine but when trying to run
cargo doc
on it I get the error described belowMeta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: