Skip to content

Commit 8dae422

Browse files
committed
fix(macros): slightly improve unsupported type error message
1 parent 92c3845 commit 8dae422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-macros-core/src/query/output.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ fn get_column_type<DB: DatabaseExt>(i: usize, column: &DB::Column) -> TokenStrea
246246
)
247247
} else {
248248
format!(
249-
"unsupported type {ty} of {col}",
249+
"unsupported type {ty} of {col}. Did you forget a type override?",
250250
ty = type_info,
251251
col = DisplayColumn {
252252
idx: i,

0 commit comments

Comments
 (0)