Allow serializing &T as Bincoded<T> #13
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
8 errors
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
proc/src/serialize.rs#L455
error: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> proc/src/serialize.rs:455:36
|
455 | generics.params.extend(cfg.generics.params.into_iter());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `cfg.generics.params`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/collect.rs:377:18
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
this expression creates a reference which is immediately dereferenced by the compiler:
proc/src/serialize.rs#L346
error: this expression creates a reference which is immediately dereferenced by the compiler
--> proc/src/serialize.rs:346:41
|
346 | enum_field_order_checks(&data, &input.ident, &cfg.formula)
| ^^^^^ help: change this to: `data`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
proc/src/serialize.rs#L243
error: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> proc/src/serialize.rs:243:36
|
243 | generics.params.extend(cfg.generics.params.into_iter());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `cfg.generics.params`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/collect.rs:377:18
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
this expression creates a reference which is immediately dereferenced by the compiler:
proc/src/serialize.rs#L149
error: this expression creates a reference which is immediately dereferenced by the compiler
--> proc/src/serialize.rs:149:43
|
149 | struct_field_order_checks(&data, cfg.variant.as_ref(), &input.ident, &cfg.formula)
| ^^^^^ help: change this to: `data`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
proc/src/deserialize.rs#L348
error: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> proc/src/deserialize.rs:348:25
|
348 | .extend(cfg.generics.params.into_iter());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `cfg.generics.params`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/collect.rs:377:18
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
this expression creates a reference which is immediately dereferenced by the compiler:
proc/src/deserialize.rs#L333
error: this expression creates a reference which is immediately dereferenced by the compiler
--> proc/src/deserialize.rs:333:41
|
333 | enum_field_order_checks(&data, &input.ident, &cfg.formula)
| ^^^^^ help: change this to: `data`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
explicit call to `.into_iter()` in function argument accepting `IntoIterator`:
proc/src/deserialize.rs#L190
error: explicit call to `.into_iter()` in function argument accepting `IntoIterator`
--> proc/src/deserialize.rs:190:25
|
190 | .extend(cfg.generics.params.into_iter());
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing the `.into_iter()`: `cfg.generics.params`
|
note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()`
--> /rustc/5680fa18feaa87f3ff04063800aec256c3d4b4be/library/core/src/iter/traits/collect.rs:377:18
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `-D clippy::useless-conversion` implied by `-D warnings`
|
this expression creates a reference which is immediately dereferenced by the compiler:
proc/src/deserialize.rs#L175
error: this expression creates a reference which is immediately dereferenced by the compiler
--> proc/src/deserialize.rs:175:43
|
175 | struct_field_order_checks(&data, None, &input.ident, &cfg.formula)
| ^^^^^ help: change this to: `data`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-D clippy::needless-borrow` implied by `-D warnings`
|