Skip to content

Allow attributes on struct variant members #18

Description

@canndrew

This would be useful mainly for adding doc comments

quick_error! {
    /// We can put comments here
    pub enum MyError {
        /// And we can put comments here
        MyVariant {
            /// But we can't put em ere
            my_variant_member: MyType,
        } {}
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions