Arnavion / derive-error-chain

A Macros 1.1 implementation of https://crates.io/crates/error-chain
19 stars 1 forks source link

Support deriving on structs #21

Open Arnavion opened 6 years ago

Arnavion commented 6 years ago

Deriving on a struct should be identical to deriving on an enum with only one variant.

Brought up in https://github.com/rust-lang-nursery/failure/issues/66#issuecomment-345840324