Skip to content

Const stability on impls doesn't make sense #5

Closed
rust-lang/rust
#136688
@compiler-errors

Description

@compiler-errors

Const stability on impls makes no sense in the same way that stability on impls makes no sense, since you can always put a const call behind some generic type parameter and only see the impl after substitution/monomorphization.

We currently have code in the MIR const validation to handle const impls, and we shouldn't.

Metadata

Metadata

Assignees

No one assigned

    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