Skip to content

Consider redefining the places ~const bounds are allowed #102497

Open
@fee1-dead

Description

@fee1-dead

At #102409 (comment), it was pointed out that associated functions can have ~const bounds even though they may be non-const. We need to figure out and define what places ~const should be allowed. Note that since ~const only applies more restrictions on callers that are const, putting them on non-const fns has no effect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions