From c38280d51c28f79a42767e6a23ea6925203b40ac Mon Sep 17 00:00:00 2001 From: Karam Barakat <32816424+karambarakat@users.noreply.github.com> Date: Wed, 8 Jan 2025 20:17:59 -0800 Subject: [PATCH] Update row.rs Row::get should track caller for a better development experience. --- sqlx-core/src/row.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/sqlx-core/src/row.rs b/sqlx-core/src/row.rs index 4c96ced048..fe0b75ebb0 100644 --- a/sqlx-core/src/row.rs +++ b/sqlx-core/src/row.rs @@ -64,6 +64,7 @@ pub trait Row: Unpin + Send + Sync + 'static { /// See [`try_get`](Self::try_get) for a non-panicking version. /// #[inline] + #[track_caller] fn get<'r, T, I>(&'r self, index: I) -> T where I: ColumnIndex,