Skip to content

Commit 3dab49c

Browse files
committed
Remove #[track_caller] from render_comparison_test_with_renderer()
The attribute doesn't actually do anything on `async fn`s, and this may become a warning in the future. See <rust-lang/rust#104588>.
1 parent e535095 commit 3dab49c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-renderers/src/harness.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ impl RenderTestContext {
7474
}
7575

7676
// TODO: better name
77-
#[track_caller]
77+
// #[track_caller] // TODO: should be enabled, but the compiler doesn't support this yet
7878
pub async fn render_comparison_test_with_renderer(
7979
&mut self,
8080
allowed_difference: u8,

0 commit comments

Comments
 (0)