close
Skip to content

MGCA: support struct expressions with ..rest patterns as direct const args? #150622

@BoxyUwU

Description

@BoxyUwU

Currently while we do support Struct { field: N } as a const argument, we don't support things like Struct { field: N, ..N2 }. This is possibly something worth supporting. This will exacerbate #150621 and I'm not sure it's important enough to support this that we should do so before finding a way to share the logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-const-genericsArea: const generics (parameters and arguments)E-needs-designThis issue needs exploration and design to see how and if we can fix/implement itF-min_generic_const_args`#![feature(min_generic_const_args)]`S-blockedStatus: Blocked on something else such as an RFC or other implementation work.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions