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. F-const_trait_impl `#![feature(const_trait_impl)]` 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).

@lolbinarycat lolbinarycat added the F-const_trait_impl `#![feature(const_trait_impl)]` label Nov 10, 2024
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. F-const_trait_impl `#![feature(const_trait_impl)]` 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

4 participants