mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
699d28f968
If a const function is unstable overall (and thus, in all circumstances I know of, also const-unstable), we should show the option to use it as const. You need to enable a feature to use the function at all anyway. If the function is stabilized without also being const-stabilized, then we do not show the const keyword and instead show "const: unstable" in the version info.