May 14, 2019
https://issues.dlang.org/show_bug.cgi?id=19870

          Issue ID: 19870
           Summary: Generated Copy Constructor disables default
                    construction
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: razvan.nitu1305@gmail.com

struct T
{
    int i;
    this(ref return scope inout typeof(this) src)
        inout @safe pure nothrow @nogc
    {
        i = src.i;
    }
}

struct S
{
    T t;
}

auto bar(T a)
{
        S b = S(a);    // Error
}

Expected behavior: code compiles succesfulyy

--