Skip to content

[REG master] Can't expand array with implicitly non-copyable types #21832

@CyberShadow

Description

@CyberShadow
struct S { @disable this(this); }
struct Item { S s; }

void main()
{
	Item[] arr;
	arr.length++;
}

Introduced in #21151

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