File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,8 @@ pub trait Eq: PartialEq<Self> {
289289 //
290290 // This should never be implemented by hand.
291291 #[ doc( hidden) ]
292- #[ no_coverage] // rust-lang/rust#84605
292+ #[ cfg_attr( bootstrap, no_coverage) ] // rust-lang/rust#84605
293+ #[ cfg_attr( not( bootstrap) , coverage( off) ) ] //
293294 #[ inline]
294295 #[ stable( feature = "rust1" , since = "1.0.0" ) ]
295296 fn assert_receiver_is_total_eq ( & self ) { }
@@ -298,7 +299,9 @@ pub trait Eq: PartialEq<Self> {
298299/// Derive macro generating an impl of the trait [`Eq`].
299300#[ rustc_builtin_macro]
300301#[ stable( feature = "builtin_macro_prelude" , since = "1.38.0" ) ]
301- #[ allow_internal_unstable( core_intrinsics, derive_eq, structural_match, no_coverage) ]
302+ #[ allow_internal_unstable( core_intrinsics, derive_eq, structural_match) ]
303+ #[ cfg_attr( bootstrap, allow_internal_unstable( no_coverage) ) ]
304+ #[ cfg_attr( not( bootstrap) , allow_internal_unstable( coverage) ) ]
302305pub macro Eq ( $item: item) {
303306 /* compiler built-in */
304307}
Original file line number Diff line number Diff line change 110110//
111111// Library features:
112112// tidy-alphabetical-start
113+ #![ cfg_attr( bootstrap, feature( no_coverage) ) ] // rust-lang/rust#84605
114+ #![ cfg_attr( not( bootstrap) , feature( coverage) ) ] // rust-lang/rust#84605
113115#![ feature( char_indices_offset) ]
114116#![ feature( const_align_of_val) ]
115117#![ feature( const_align_of_val_raw) ]
235237#![ feature( negative_impls) ]
236238#![ feature( never_type) ]
237239#![ feature( no_core) ]
238- #![ feature( no_coverage) ] // rust-lang/rust#84605
239240#![ feature( platform_intrinsics) ]
240241#![ feature( prelude_import) ]
241242#![ feature( repr_simd) ]
You can’t perform that action at this time.
0 commit comments