Arnavion / derive-error-chain

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

Update example and tests for #[cfg] on variants #4

Closed Arnavion closed 7 years ago

Arnavion commented 7 years ago

Need to check if #[cfg] is evaluated before proc macro is invoked. If yes, then don't need any code change.

Ref: https://github.com/brson/error-chain/pull/55