quick-error icon indicating copy to clipboard operation
quick-error copied to clipboard

Allow attributes on struct variant members

Open canndrew opened this issue 9 years ago • 4 comments

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

canndrew avatar Feb 11 '16 06:02 canndrew

@colin-kiegel, do you accept the challenge? :)

tailhook avatar Feb 12 '16 22:02 tailhook

I'm quite busy right now, so I have to delay it right now.. So this might take a while.

colin-kiegel avatar Feb 16 '16 21:02 colin-kiegel

That's my situation too. Hopefully, this is not a big deal for errors...

tailhook avatar Feb 16 '16 21:02 tailhook

https://github.com/brson/error-chain/pull/55/files#diff-dbc69594b369f8b47dc0bf4b8af35b4f

Yamakaky avatar Nov 04 '16 23:11 Yamakaky