You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just spent 5min of horror after seeing this rustdoc page:
and then I realized that the constness of this function is unstable. rustdoc should either indicate that, or just not show the const at all for stable functions whose constness is still unstable.
Cc @rust-lang/rustdoc @rust-lang/wg-const-eval
The text was updated successfully, but these errors were encountered:
RalfJung
changed the title
rustdoc rendering for unstable const fn is misleading
rustdoc rendering for stable-but-const-unstable const fn is misleading
Jun 19, 2021
It'd be nice to still show that it's unstably const, but I feel like my 2 minute prototype would be too easy to accidentally skim as a standard "unstable API" annotation. Is there some simple way we could link to the constification tracking issue while leaving it clear that the function is stable?
Uh oh!
There was an error while loading. Please reload this page.
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: