fix: spec_error is used by try_from derive (#3915)

The `try_from` field attribute in `FromRow` uses `__spec_error` to generate a column decode error. The `spec_error` is currently gated behind the macros feature flag only, but should also be available when using only `derive`.
This commit is contained in:
Luiz Carvalho 2025-07-02 08:00:59 -03:00 committed by GitHub
parent 2970559e25
commit 8ebc6f9427
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,7 +101,7 @@ mod macros;
#[doc(hidden)]
pub mod ty_match;
#[cfg(feature = "macros")]
#[cfg(any(feature = "derive", feature = "macros"))]
#[doc(hidden)]
pub mod spec_error;