diff --git a/src/de.rs b/src/de.rs index fec7e2c..0326742 100644 --- a/src/de.rs +++ b/src/de.rs @@ -224,6 +224,7 @@ impl std::error::Error for Error< pub struct UriError(UriErrorInner); #[derive(Debug, Clone)] +#[cfg_attr(not(feature = "std"), allow(dead_code))] enum UriErrorInner { TooShort, InvalidScheme,