File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77#![ cfg_attr( all( test, feature = "bench" ) , feature( test) ) ]
88//#![cfg_attr(test, deny(warnings))]
9+ #![ allow( unnecessary_transmutes) ]
10+ #![ allow( clippy:: ptr_offset_with_cast) ]
11+ #![ allow( clippy:: needless_lifetimes) ]
12+ #![ allow( clippy:: needless_late_init) ]
13+ #![ allow( clippy:: explicit_auto_deref) ]
14+ #![ allow( clippy:: result_unit_err) ]
15+ #![ allow( clippy:: op_ref) ]
16+ #![ allow( clippy:: missing_safety_doc) ]
17+ #![ allow( clippy:: missing_transmute_annotations) ]
18+ #![ allow( clippy:: partialeq_ne_impl) ]
19+ #![ allow( clippy:: legacy_numeric_constants) ]
20+ #![ allow( clippy:: collapsible_if) ]
21+ #![ allow( clippy:: wrong_self_convention) ]
22+ #![ allow( clippy:: len_zero) ]
23+ #![ allow( clippy:: transmute_bytes_to_str) ]
24+ #![ allow( clippy:: match_like_matches_macro) ]
25+ #![ allow( clippy:: redundant_static_lifetimes) ]
26+ #![ allow( clippy:: redundant_field_names) ]
27+ #![ allow( clippy:: unusual_byte_groupings) ]
928
1029#[ macro_use]
1130extern crate debug_unreachable;
Original file line number Diff line number Diff line change @@ -605,7 +605,7 @@ mod test {
605605 #[ cfg( any( feature = "encoding" , feature = "encoding_rs" ) ) ]
606606 pub type Tests = & ' static [ ( & ' static [ & ' static [ u8 ] ] , & ' static str , usize ) ] ;
607607
608- #[ cfg( any ( feature = "encoding" ) ) ]
608+ #[ cfg( feature = "encoding" ) ]
609609 const ASCII : Tests = & [
610610 ( & [ ] , "" , 0 ) ,
611611 ( & [ b"" ] , "" , 0 ) ,
You can’t perform that action at this time.
0 commit comments