Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attributes: suppress dead code warnings for compile tests (#2322)
The `async_fn` test file in `tracing-attributes` contains several functions that exist just to test whether they _compile_, rather than make assertions about their behavior. Because these functions are never called, they (naturally) emit dead code warnings. This commit adds `#[allow(dead_code)]` to the compilation tests, plus a comment explaining why we do this.
- Loading branch information