example:

```d
struct Test
{
    this()(this)
    {
        static assert (0, "just like @disable");
    }
}

void main()
{
    Test test1;
    Test test2;
    test1 = test2;
}
```

that compiles and run perfectly.

Reply via email to