Skip to content

Commit 3f99458

Browse files
committed
Add track caller attribute to help debug test errors
1 parent 6e7b63a commit 3f99458

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tests/all.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ fn bad_resp(r: &mut AppResponse) -> Option<Bad> {
190190
Some(bad)
191191
}
192192

193+
#[track_caller]
193194
fn json<T>(r: &mut AppResponse) -> T
194195
where
195196
for<'de> T: serde::Deserialize<'de>,

0 commit comments

Comments
 (0)