Macro error_chain::stringify_internal
source · [−]macro_rules! stringify_internal {
($($t:tt)*) => { ... };
}Expand description
From https://github.com/tailhook/quick-error Changes:
- replace
impl Errorbyimpl Item::description - $imeta
Because of the
#[macro_export(local_inner_macros)]usage onimpl_error_chain_kindthat macro will only look inside this crate for macros to invoke. So usingstringifyorwritefrom the standard library will fail. Thus we here create simple wrappers for them that are not exported aslocal_inner_macros, and thus they can in turn use the standard library macros.