-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Panic while documenting generated code #56296
Comments
It may be worth noting that if I wind the crates back to the 2015 edition and try with current stable, I get a similar error:
|
Aaand the same with current nightly:
|
I'd like to work on this. |
If you can solve it @Aaron1011 I'd be super-grateful, it's currently a blocker for me on my project :( |
Hey @Aaron1011 do you think this is at all related to #54705 ? |
For anyone interested,
|
@Aaron1011 Cool, when you have something you want testing, let me know. I'm prepared to run up a local toolchain if you want a second opinion on the fix :-) |
In an unexpected turn of events, #56838 appears to also resolve this issue! |
Cool. I look forward to being able to test this. I'm still a little too green with the compiler codebase to try setting up a non-"release" compiler (counting nightly here) for building my personal projects. |
I've confirmed that #56838 fixes my issue and requested on that PR that the fix be backported to 1.32, but I have no idea how much weight my request might carry. |
I can confirm that Beta as of today (1.32.0-beta.11 (e64fee6 2019-01-04) definitely resolves this issue for me. Thank you for your efforts @Aaron1011 and I'll mark this closed as soon as 1.32 is released unless that's not the correct process? |
We generally close immediately upon the fix landing and don't wait for a stable release. |
While working on a project which involves generated code from the
prost
project and thetower-grpc
project, I encountered an ICE while runningcargo doc --all
in my codebaseYou can find the code at:
https://gitlab.com/kinnison/cassava.git
The commit I encountered the error on is
8cafdb0fcf6346aea6aae80c29cf73a059a4b7a4
which is (at time of filing) the tip commit ontemporary/for-rustdoc-report
To reproduce, run
cargo doc --all
at the top level.Meta
rustc --version --verbose
:Backtrace:
The text was updated successfully, but these errors were encountered: