-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
cargo doc hit an unexpected panic #50702
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.
And then it said that I should report it.
Exact state of the repo: https://github.com/Lokathor/randomize-rs/commit/83d254fffe00a11fb04ae72b6d29723f7ae190c6
terminal session:
The offending line seems to be here
I guess it's confused about "impl Trait" being mixed with the oldstyle?
changing it to this signature made the documentation generate fine: