-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
rustdoc rendering for stable-but-const-unstable const fn
is misleading
#86464
Comments
RalfJung
changed the title
rustdoc rendering for unstable
rustdoc rendering for stable-but-const-unstable Jun 19, 2021
const fn
is misleadingconst fn
is misleading
Not show the const on stable rendering if not stable? |
That works too! |
@rustbot claim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just spent 5min of horror after seeing this rustdoc page:
and then I realized that the
const
ness of this function is unstable. rustdoc should either indicate that, or just not show theconst
at all for stable functions whoseconst
ness is still unstable.Cc @rust-lang/rustdoc @rust-lang/wg-const-eval
The text was updated successfully, but these errors were encountered: