From 52f172c713336c551b5d55c5a3556d9c559b87d7 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Mon, 10 Jun 2024 22:17:45 +1000 Subject: [PATCH] Fix binstalk_fetchers::FetchError definition (#1711) Rm useless cfg on it --- crates/binstalk-fetchers/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/binstalk-fetchers/src/lib.rs b/crates/binstalk-fetchers/src/lib.rs index 688bfbbb..ea5b7a28 100644 --- a/crates/binstalk-fetchers/src/lib.rs +++ b/crates/binstalk-fetchers/src/lib.rs @@ -41,7 +41,6 @@ pub struct InvalidPkgFmtError { #[derive(Debug, ThisError, miette::Diagnostic)] #[non_exhaustive] -#[cfg_attr(feature = "miette", derive(miette::Diagnostic))] pub enum FetchError { #[error(transparent)] Download(#[from] DownloadError),