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,
        } {}
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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