Skip to content

Commit 68c7b89

Browse files
committed
adds feature gating of no_coverage at either crate- or function-level
1 parent 6dec8dd commit 68c7b89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/cmp.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ pub trait Eq: PartialEq<Self> {
274274
//
275275
// This should never be implemented by hand.
276276
#[doc(hidden)]
277+
#[cfg_attr(not(bootstrap), feature(no_coverage))]
277278
#[cfg_attr(not(bootstrap), no_coverage)]
278279
#[inline]
279280
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)