Skip to content

Commit

Permalink
Remove #[track_caller] from render_comparison_test_with_renderer()
Browse files Browse the repository at this point in the history
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>.
  • Loading branch information
kpreid committed Dec 13, 2022
1 parent e535095 commit 3dab49c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-renderers/src/harness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3dab49c

Please sign in to comment.