Skip to content

Errors not generated when applied to non-struct item with doc-comments #8

@zmitchell

Description

@zmitchell

If you apply the #[wickerman] attribute to an item that is not a struct, you should see an error:

#[wickerman]
enum Foo { // error: this is not a struct
    Bar,
    Baz,
}

However, if that item has doc-comments, you won't see the error:

/// This doesn't generate an error
#[wickerman]
enum Foo {
    Bar,
    Baz,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions