From 3dab49cdfcd51d3b7e10a462adacc9c671ffdc67 Mon Sep 17 00:00:00 2001 From: Kevin Reid Date: Mon, 12 Dec 2022 18:49:56 -0800 Subject: [PATCH] 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 . --- test-renderers/src/harness.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-renderers/src/harness.rs b/test-renderers/src/harness.rs index e78e7da00..77b8aa1cd 100644 --- a/test-renderers/src/harness.rs +++ b/test-renderers/src/harness.rs @@ -74,7 +74,7 @@ impl RenderTestContext { } // TODO: better name - #[track_caller] + // #[track_caller] // TODO: should be enabled, but the compiler doesn't support this yet pub async fn render_comparison_test_with_renderer( &mut self, allowed_difference: u8,