File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -602,7 +602,7 @@ mod tests {
602602 use super :: * ;
603603 use crate :: test_helpers:: test_type_traits_non_clonable;
604604
605- #[ cfg_attr( coverage_nightly, no_coverage ) ]
605+ #[ cfg_attr( coverage_nightly, coverage ( off ) ) ]
606606 fn test_fun ( _ctx : & ScanContext , args : Vec < Value > ) -> Option < Value > {
607607 drop ( args) ;
608608 None
Original file line number Diff line number Diff line change 6969#![ deny( clippy:: cargo) ]
7070// Handled by cargo-deny
7171#![ allow( clippy:: multiple_crate_versions) ]
72- #![ cfg_attr( coverage_nightly, feature( no_coverage ) ) ]
72+ #![ cfg_attr( coverage_nightly, feature( coverage_attribute ) ) ]
7373
7474// Used in integration tests, not in the library.
7575// This is to remove the "unused_crate_dependencies" warning, maybe a better solution
Original file line number Diff line number Diff line change @@ -659,7 +659,7 @@ mod tests {
659659 use super :: * ;
660660 use crate :: test_helpers:: { test_type_traits, test_type_traits_non_clonable} ;
661661
662- #[ cfg_attr( coverage_nightly, no_coverage ) ]
662+ #[ cfg_attr( coverage_nightly, coverage ( off ) ) ]
663663 fn test_fun ( _ctx : & ScanContext , args : Vec < Value > ) -> Option < Value > {
664664 drop ( args) ;
665665 None
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ pub(super) fn ord_lookup(dll_name: &[u8], ord: u16) -> Vec<u8> {
1919 format ! ( "ord{ord}" ) . into_bytes ( )
2020}
2121
22- #[ cfg_attr( coverage_nightly, no_coverage ) ]
22+ #[ cfg_attr( coverage_nightly, coverage ( off ) ) ]
2323fn wsock32_ord_lookup ( ord : u16 ) -> Option < & ' static [ u8 ] > {
2424 match ord {
2525 1 => Some ( b"accept" ) ,
@@ -143,7 +143,7 @@ fn wsock32_ord_lookup(ord: u16) -> Option<&'static [u8]> {
143143 }
144144}
145145
146- #[ cfg_attr( coverage_nightly, no_coverage ) ]
146+ #[ cfg_attr( coverage_nightly, coverage ( off ) ) ]
147147fn oleaut32_ord_lookup ( ord : u16 ) -> Option < & ' static [ u8 ] > {
148148 match ord {
149149 2 => Some ( b"SysAllocString" ) ,
You can’t perform that action at this time.
0 commit comments