From b85b2c60f950252d38ce91b0f1ab535333866b3b Mon Sep 17 00:00:00 2001 From: lcnr Date: Thu, 9 Jan 2025 13:24:16 +0100 Subject: [PATCH] add comment to test --- tests/coverage/generic-unused-impl.cov-map | 8 ++++---- tests/coverage/generic-unused-impl.coverage | 1 + tests/coverage/generic-unused-impl.rs | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/coverage/generic-unused-impl.cov-map b/tests/coverage/generic-unused-impl.cov-map index 7cb6d2f385d79..5878de231badf 100644 --- a/tests/coverage/generic-unused-impl.cov-map +++ b/tests/coverage/generic-unused-impl.cov-map @@ -1,18 +1,18 @@ Function name: as core::convert::From<[<_ as generic_unused_impl::Foo>::Assoc; 1]>>::from (unused) -Raw bytes (9): 0x[01, 01, 00, 01, 00, 0a, 05, 03, 06] +Raw bytes (9): 0x[01, 01, 00, 01, 00, 0b, 05, 03, 06] Number of files: 1 - file 0 => global file 1 Number of expressions: 0 Number of file 0 mappings: 1 -- Code(Zero) at (prev + 10, 5) to (start + 3, 6) +- Code(Zero) at (prev + 11, 5) to (start + 3, 6) Highest counter ID seen: (none) Function name: generic_unused_impl::main -Raw bytes (9): 0x[01, 01, 00, 01, 01, 10, 01, 00, 0d] +Raw bytes (9): 0x[01, 01, 00, 01, 01, 11, 01, 00, 0d] Number of files: 1 - file 0 => global file 1 Number of expressions: 0 Number of file 0 mappings: 1 -- Code(Counter(0)) at (prev + 16, 1) to (start + 0, 13) +- Code(Counter(0)) at (prev + 17, 1) to (start + 0, 13) Highest counter ID seen: c0 diff --git a/tests/coverage/generic-unused-impl.coverage b/tests/coverage/generic-unused-impl.coverage index 0c20285f84544..c3a3c7242901a 100644 --- a/tests/coverage/generic-unused-impl.coverage +++ b/tests/coverage/generic-unused-impl.coverage @@ -1,3 +1,4 @@ + LL| |// Regression test for #135235. LL| |trait Foo { LL| | type Assoc; LL| | diff --git a/tests/coverage/generic-unused-impl.rs b/tests/coverage/generic-unused-impl.rs index e44b1ca8a1d74..8623138945006 100644 --- a/tests/coverage/generic-unused-impl.rs +++ b/tests/coverage/generic-unused-impl.rs @@ -1,3 +1,4 @@ +// Regression test for #135235. trait Foo { type Assoc;