1
Fork 0

Add #[coverage(off)] to closures introduced by #[test]/#[bench]

This commit is contained in:
Zalathar 2024-01-21 11:26:28 +11:00
parent bdfc64ac98
commit 6d7e80c5bc
8 changed files with 28 additions and 27 deletions

View file

@ -6,6 +6,6 @@
LL| |#[allow(dead_code)]
LL| 0|fn unused() {}
LL| |
LL| 1|#[test]
LL| |#[test]
LL| 1|fn my_test() {}