thread 'rustc' panicked at 'no entry found for key', src/librustdoc/passes/collect_intra_doc_links.rs:986:16 #96429
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Milestone
Code
Here is a complete (minimized) reproducer: https://github.com/jcornaz/rustdoc-bug-reproducer
It can be reproduced with a workspace with two crates "a" and "b" where:
rapier2d
and its code is:pub extern crate rapier2d
.a
and its code is:pub extern crate a; pub use a::*;
With that setup, the command
cargo doc
rightfully succeeds using the stable toolchain. But fails when using the latest (2022-04-25) nightly toolchain.Meta
The bug is observable on nightly only (works fine on stable, and beta)
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: