Skip to content

macros: Error out on unknown/invalid attributes #943

@sdroege

Description

@sdroege

E.g. the following should fail

#[derive(Debug, Copy, Clone, PartialEq, Eq, glib::Enum)]
#[enum_type(name = "MyEnum", nullable)]

Only name is valid in that context.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions