Skip to content

rustdoc rendering for stable-but-const-unstable const fn is misleading #86464

Closed
@RalfJung

Description

@RalfJung

I just spent 5min of horror after seeing this rustdoc page:
Screenshot 2021-06-19 at 10-07-35 f32 - Rust

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions