commit 3282b8d3be59bba0733e5cf1ca6c2618d389cf3b
parent abf5f97f65941f77c1c2f67024a33574c33388cf
Author: Zack Newman <zack@philomathiclife.com>
Date: Sun, 8 Dec 2024 14:13:16 -0700
infallible error for all platforms and features
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/error.rs b/src/error.rs
@@ -35,7 +35,6 @@ macro_rules! make_error {
};
}
use core::any::Any;
-#[cfg(not(all(feature = "priv_sep", target_os = "openbsd")))]
use core::convert::Infallible;
use diesel::r2d2::PoolError as R2d2Err;
use diesel::result::Error as DieselErr;
@@ -108,7 +107,6 @@ make_error! {
DieselCon(DieselConErr): _has_source, _api_error,
WebAuthn(WebAuthnErr): _has_source, _api_error,
}
-#[cfg(not(all(feature = "priv_sep", target_os = "openbsd")))]
impl From<Infallible> for Error {
#[inline]
fn from(value: Infallible) -> Self {