diff --git a/src/de.rs b/src/de.rs index f70c810..c5f3c48 100644 --- a/src/de.rs +++ b/src/de.rs @@ -234,6 +234,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,