mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-02 23:35:20 +00:00
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:
parent
2970559e25
commit
8ebc6f9427
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user