Skip to content

Tracking Issue for #![feature(const_impl_trait)] #77463

Closed
@ecstatic-morse

Description

@ecstatic-morse

This allows argument and return position impl Trait in the signature of a const fn. It also allows impl Trait in other const-contexts, although this is only possible with additional feature gates (see #63065).

Formerly, this was gated under #![feature(const_fn)].

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-const-evalArea: Constant evaluation, covers all const contexts (static, const fn, ...)B-unstableBlocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-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