https://issues.dlang.org/show_bug.cgi?id=13861
--- Comment #8 from John Colvin <john.loughran.colvin at gmail.com> ---
Further reduced:
struct Foo(alias f)
{
    struct Bar
    {
        Bar func()
        {
            return Bar();
        }
    }
}
void main()
{
    Foo!(n => n) a;
}
--