Skip to content

Commit 891bd56

Browse files
authored
Update sqlx-core/src/any/type.rs
1 parent fd63924 commit 891bd56

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sqlx-core/src/any/type.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ macro_rules! impl_any_type {
99
impl crate::types::Type<crate::any::Any> for $ty {
1010
fn type_info() -> crate::any::AnyTypeInfo {
1111
panic!(
12-
"Type::type_info() is not implemented for Any because it is a dynamic driver and does not support compile-time type verification. (for type `{}`)",
12+
"Type<Any>::type_info() is not implemented for {}. type_info should not be called on base types.",
1313
std::any::type_name::<$ty>(),
1414
);
1515
}

0 commit comments

Comments
 (0)