-
-
Notifications
You must be signed in to change notification settings - Fork 15k
triggering a compiler bug with cargo doc #48368
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Information about bug
I have encountered a compiler bug when I generate doc with
cargo doc, it is information about the compiler bug:Environment information
OS: fedora 27
Compiler version: stable 1.24.0
How to reproduce
git clone https://github.com/samrayleung/rspotify /tmpcd /tmp/rspotifycargo docExpected output
Everything is fine, and doc is generated, but encounters an error
Additional Information
I don't whether this bug is fixed, but with
nightlycompiler, everything is fine. And sometimes with stable 1.24.0, it also works. Well, it is a little bit weird. Coincidentally, there is a discussion in Reddit about this bugHope Rust get better and better :)