diff options
author | Paul Woolcock <paul@woolcock.us> | 2019-03-05 15:16:42 -0500 |
---|---|---|
committer | Paul Woolcock <paul@woolcock.us> | 2019-03-05 15:22:21 -0500 |
commit | 8e700cf37ba51a35b1a8afefbfa4f0fed69aeb92 (patch) | |
tree | 00f873da5530200125631830466c51529e86e5ca /src/errors.rs | |
parent | b7b8379e10e567485177e4269dd4e249d8bef600 (diff) |
update to 0.18.2
Diffstat (limited to 'src/errors.rs')
-rw-r--r-- | src/errors.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/errors.rs b/src/errors.rs index d33e90c..c98e810 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -94,6 +94,7 @@ impl error::Error for Error { Error::TomlDe(ref e) => e.description(), Error::HeaderStrError(ref e) => e.description(), Error::HeaderParseError(ref e) => e.description(), + #[cfg(feature = "env")] Error::Envy(ref e) => e.description(), Error::Other(ref e) => e, } @@ -134,7 +135,7 @@ from! { #[cfg(feature = "toml")] TomlDeError, TomlDe, HeaderStrError, HeaderStrError, HeaderParseError, HeaderParseError, - EnvyError, Envy, + #[cfg(feature = "env")] EnvyError, Envy, String, Other, } |