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

const fn shown in docs when not available #55246

Closed
jethrogb opened this issue Oct 21, 2018 · 0 comments · Fixed by #56845
Closed

const fn shown in docs when not available #55246

jethrogb opened this issue Oct 21, 2018 · 0 comments · Fixed by #56845
Labels
C-bug Category: This is a bug. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@jethrogb
Copy link
Contributor

Regression from 1.26.0 to 1.27.0 and later. See for example
https://doc.rust-lang.org/1.26.0/std/vec/struct.Vec.html#method.new
https://doc.rust-lang.org/1.27.0/std/vec/struct.Vec.html#method.new
See also #31329 and #31098

@jethrogb jethrogb changed the title const shown in docs when not available const fn shown in docs when not available Oct 21, 2018
@Centril Centril added T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. C-bug Category: This is a bug. labels Oct 22, 2018
pietroalbini added a commit to pietroalbini/rust that referenced this issue Dec 20, 2018
bors added a commit that referenced this issue Dec 20, 2018
Don't render const keyword on stable

Fixes #55246.

Continuation of #55327.

r? @oli-obk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

Successfully merging a pull request may close this issue.

2 participants