Panic in cargo doc
with resolver = "2" when indirectly depending on proc-macro2
#9064
Labels
A-features2
Area: issues specifically related to the v2 feature resolver
C-bug
Category: bug
Command-doc
P-high
Priority: High
Problem
cargo doc
panics when run on crate A that depends on crate B, when crate B depends onproc-macro2
. This does not happen when directly runningcargo doc
on crate B.Error & Backtrace
Steps
cargo doc
(or, more explicitly,cargo +nightly-2021-01-10 doc
)Possible Solution(s)
This looks similar to #8774 to me, although from what I can tell it's not explicitly relying on any features specific to the new resolver.
Notes
Output of
cargo version
: cargo 1.51.0-nightly (329895f 2021-01-06)The text was updated successfully, but these errors were encountered: