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
rustdoc: Show "const" for const-unstable if also overall unstable
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.
Copy file name to clipboardexpand all lines: src/librustdoc/html/render/mod.rs
+5-3
Original file line number
Diff line number
Diff line change
@@ -928,9 +928,11 @@ fn assoc_method(
928
928
// FIXME: Once https://github.com/rust-lang/rust/issues/67792 is implemented, we can remove
0 commit comments