I think it should compile.

```
struct NonCopyable {
    int a;
    this(this) @disable;
}

void main() {
    NonCopyable[] arr = [NonCopyable(1), NonCopyable(2)]; // ok
    arr ~= NonCopyable(3); // fails
}
```

Reply via email to