You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A-resolveArea: Name resolutionC-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
The compiler encounters an ICE while trying to document the aws-config crate. In particular, it seems to panic with a "no entry found for key" while collecting intra-doc links.
Steps to reproduce:
$ cd /tmp && cargo new repro &&cd repro Created binary (application) `repro` package
$ cargo add aws-config Updating crates.io index Adding aws-config v0.11.0 to dependencies. Features: + rt-tokio + rustls - native-tls
$ cargo doc Updating crates.io index Downloaded tokio v1.18.1 Downloaded 1 crate (572.3 KB) in 1.22s Compiling libc v0.2.125 ... Documenting aws-config v0.11.0(ICE message & backtrace)
The text was updated successfully, but these errors were encountered:
Michael-F-Bryan
added
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
May 4, 2022
rustbot
added
A-resolve
Area: Name resolution
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
and removed
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
May 4, 2022
The ICE occurs again if we switch to yesterday's nightly (rustup override set nightly-2022-05-04), so I'm guessing it was a bug in the compiler which has been since fixed and not an issue with my environment.
Should we close the ticket now that it's either been resolved or can no longer be reproduced?
A-resolveArea: Name resolutionC-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.
Code
The compiler encounters an ICE while trying to document the
aws-config
crate. In particular, it seems to panic with a "no entry found for key" while collecting intra-doc links.Steps to reproduce:
You can check the failed docs.rs build for more details on reproducing the issue.
Meta
Error output
Backtrace
The text was updated successfully, but these errors were encountered: