File tree Expand file tree Collapse file tree 4 files changed +1
-4
lines changed
precompiled/serde_derive/src Expand file tree Collapse file tree 4 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 14
14
//! [https://serde.rs/derive.html]: https://serde.rs/derive.html
15
15
16
16
#![ doc( html_root_url = "https://docs.rs/serde_derive/1.0.176" ) ]
17
- #![ allow( unknown_lints, bare_trait_objects) ]
18
17
19
18
#[ cfg( not( all( target_arch = "x86_64" , target_os = "linux" , target_env = "gnu" ) ) ) ]
20
19
include ! ( "lib_from_source.rs" ) ;
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ impl<'a> Container<'a> {
119
119
}
120
120
121
121
impl < ' a > Data < ' a > {
122
- pub fn all_fields ( & ' a self ) -> Box < Iterator < Item = & ' a Field < ' a > > + ' a > {
122
+ pub fn all_fields ( & ' a self ) -> Box < dyn Iterator < Item = & ' a Field < ' a > > + ' a > {
123
123
match self {
124
124
Data :: Enum ( variants) => {
125
125
Box :: new ( variants. iter ( ) . flat_map ( |variant| variant. fields . iter ( ) ) )
Original file line number Diff line number Diff line change 14
14
//! [https://serde.rs/derive.html]: https://serde.rs/derive.html
15
15
16
16
#![ doc( html_root_url = "https://docs.rs/serde_derive/1.0.176" ) ]
17
- #![ allow( unknown_lints, bare_trait_objects) ]
18
17
// Ignored clippy lints
19
18
#![ allow(
20
19
// clippy false positive: https://github.com/rust-lang/rust-clippy/issues/7054
Original file line number Diff line number Diff line change 1
1
#![ doc( html_root_url = "https://docs.rs/serde_derive_internals/0.28.0" ) ]
2
- #![ allow( unknown_lints, bare_trait_objects) ]
3
2
// Ignored clippy lints
4
3
#![ allow(
5
4
clippy:: cognitive_complexity,
You can’t perform that action at this time.
0 commit comments