-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
[const] Destruct bounds aren't rendered #151502
Copy link
Copy link
Open
Labels
C-discussionCategory: Discussion or questions that doesn't represent real issues.Category: Discussion or questions that doesn't represent real issues.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-discussionCategory: Discussion or questions that doesn't represent real issues.Category: Discussion or questions that doesn't represent real issues.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.
Tracking issue: #133214
[const] Destructbounds are rendered as an empty bounds list, which is exposed by some const std functions.This is not the case for other
[const]trait bounds:While this is a deliberate choice
rust/src/librustdoc/clean/mod.rs
Lines 229 to 234 in d29e478
I think this results in a confusing render, and that it would be better to display it or omit the
where T:entirely here