1
Fork 0

coverage: Don't instrument #[automatically_derived] functions

This commit is contained in:
Zalathar 2024-01-21 15:07:11 +11:00
parent ef71f1047e
commit 41dcba805d
10 changed files with 17 additions and 97 deletions

View file

@ -1,7 +1,7 @@
LL| |// This demonstrated Issue #84561: function-like macros produce unintuitive coverage results.
LL| |
LL| |// failure-status: 101
LL| 21|#[derive(PartialEq, Eq)]
LL| |#[derive(PartialEq, Eq)]
LL| |struct Foo(u32);
LL| |
LL| |#[rustfmt::skip]