-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Cargo panics when using -Z rustdoc-scrape-examples=examples
on proc-macro crates
#10571
Labels
Comments
willcrichton
added a commit
to willcrichton/cargo
that referenced
this issue
Nov 25, 2022
willcrichton
added a commit
to willcrichton/cargo
that referenced
this issue
Nov 25, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Cargo (nightly) panics when I use
-Z rustdoc-scrape-examples=examples
, but only on proc-macro crates as it seems. This issue first appeared after rust-lang/rust#94926 was fixed.The panic occurs here: https://github.com/rust-lang/cargo/blob/master/src/cargo/ops/cargo_compile.rs#L1600
Steps
relm4-macros
usingcargo +nightly doc -Z rustdoc-scrape-examples=examples -p relm4-macros
This will likely work with any proc-macro crate though, as it does not even start to compile anything before cargo panics.
Possible Solution(s)
No response
Notes
Backtrace
Version
The text was updated successfully, but these errors were encountered: