Skip to content

Custom type initialized to init should not trigger a warn #477

@ghost

Description

Because sometimes this is the only way to declare a variable which is a struct

struct Foo
{
    @disable this();
}
Foo foo = Foo.init;

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