Skip to content

rustdoc doesn't show that a trait bound is ~const  #91187

Open
@camelid

Description

@camelid

For example, see https://doc.rust-lang.org/nightly/std/intrinsics/fn.const_eval_select.html. The trait bounds for F and G each include ~const, and while the bounds themselves are shown, ~const is not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)C-bugCategory: This is a bug.F-const_trait_impl`#![feature(const_trait_impl)]`T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.requires-nightlyThis issue requires a nightly compiler in some way.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions