Skip to content

const-features can be both stable and unstable at the same time #91357

Open
@RalfJung

Description

@RalfJung

Since #90896, the const_maybe_uninit_assume_init feature is in a strange limbo state: there are both stable and unstable methods with that feature gate. For regular stability we prevent that, but it seems for const-stability that check is missing.

Cc @rust-lang/wg-const-eval

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)A-stabilityArea: `#[stable]`, `#[unstable]` etc.C-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions