File tree Expand file tree Collapse file tree
precompiled/serde_derive/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414//! [https://serde.rs/derive.html]: https://serde.rs/derive.html
1515
1616#![ doc( html_root_url = "https://docs.rs/serde_derive/1.0.176" ) ]
17- #![ allow( unknown_lints, bare_trait_objects) ]
1817
1918#[ cfg( not( all( target_arch = "x86_64" , target_os = "linux" , target_env = "gnu" ) ) ) ]
2019include ! ( "lib_from_source.rs" ) ;
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ impl<'a> Container<'a> {
119119}
120120
121121impl < ' 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 > {
123123 match self {
124124 Data :: Enum ( variants) => {
125125 Box :: new ( variants. iter ( ) . flat_map ( |variant| variant. fields . iter ( ) ) )
Original file line number Diff line number Diff line change 1414//! [https://serde.rs/derive.html]: https://serde.rs/derive.html
1515
1616#![ doc( html_root_url = "https://docs.rs/serde_derive/1.0.176" ) ]
17- #![ allow( unknown_lints, bare_trait_objects) ]
1817// Ignored clippy lints
1918#![ allow(
2019 // clippy false positive: https://github.com/rust-lang/rust-clippy/issues/7054
Original file line number Diff line number Diff line change 11#![ doc( html_root_url = "https://docs.rs/serde_derive_internals/0.28.0" ) ]
2- #![ allow( unknown_lints, bare_trait_objects) ]
32// Ignored clippy lints
43#![ allow(
54 clippy:: cognitive_complexity,
You can’t perform that action at this time.
0 commit comments