#[macro_use]
extern crate error_chain;
pub mod inner {
error_chain! {}
}
#[cfg(feature = "a_feature")]
pub mod feature {
error_chain! {}
}
error_chain! {
types {
MyError, MyErrorKind, MyResult;
}
links {
Inner(inner::Error, inner::ErrorKind);
Feature(feature::Error, feature::Error) #[cfg(feature = "a_feature")];
}
foreign_links {
Io(::std::io::Error);
}
}
fn main() {}