Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Methods from Deref<Target = [T]>" doesn't render const #100680

Open
jplatte opened this issue Aug 17, 2022 · 1 comment
Open

"Methods from Deref<Target = [T]>" doesn't render const #100680

jplatte opened this issue Aug 17, 2022 · 1 comment
Labels
A-rustdoc-ui Area: rustdoc UI (generated HTML) C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@jplatte
Copy link
Contributor

jplatte commented Aug 17, 2022

The documentation for [T]::is_empty on Vecs documentation page don't show that it's a const fn, while the documentation for the same method on [T]s documentation page correctly show that it is a const fn since 1.39.0.

@rustbot labels: +T-rustdoc +A-rustdoc-ui

@jplatte jplatte added the C-bug Category: This is a bug. label Aug 17, 2022
@rustbot rustbot added A-rustdoc-ui Area: rustdoc UI (generated HTML) T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. labels Aug 17, 2022
@fmease
Copy link
Member

fmease commented Aug 18, 2022

This was intentionally introduced in #91291 as a fix for #90855 and it is going to be reverted once const_trait_impl is stable (#67792).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rustdoc-ui Area: rustdoc UI (generated HTML) C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants