Fixes these being treated as "tests" by `cargo test` in serde_derive:
running 3 tests
test src/internals/check.rs - internals::check::check_remote_generic (line 23) ... FAILED
test src/internals/check.rs - internals::check::check_remote_generic (line 29) ... FAILED
test src/lib.rs - (line 3) ... ok
failures:
---- src/internals/check.rs - internals::check::check_remote_generic (line 23) stdout ----
error: unknown start of token: \u{2026}
--> src/internals/check.rs:25:20
|
4 | struct Generic<T> {…}
| ^
error: cannot find attribute `serde` in this scope
--> src/internals/check.rs:24:3
|
3 | #[serde(remote = "Generic")]
| ^^^^^
|
= note: `serde` is in scope, but it is a crate, not an attribute
error[E0392]: parameter `T` is never used
--> src/internals/check.rs:25:16
|
4 | struct Generic<T> {…}
| ^ unused parameter
|
= help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData`
= help: if you intended `T` to be a const parameter, use `const T: usize` instead
---- src/internals/check.rs - internals::check::check_remote_generic (line 29) stdout ----
error: unknown start of token: \u{2026}
--> src/internals/check.rs:31:21
|
4 | struct ConcreteDef {…}
| ^
error: cannot find attribute `serde` in this scope
--> src/internals/check.rs:30:3
|
3 | #[serde(remote = "Generic<T>")]
| ^^^^^
|
= note: `serde` is in scope, but it is a crate, not an attribute
This works just fine if we make syn parse "where " as a syn::WhereClause.
The serde(bound = "") attribute is definitely not common enough that it
would warrant a micro-optimization.
This function is called for untagged, internally and externally tagged enums,
but `deserializer` parameter is `None` only for the latest. Only when it's `None`
`DeserializeSeed` impl is used
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:157:5
|
157 | / forward_to_deserialize_any! {
158 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
159 | | bytes byte_buf unit unit_struct newtype_struct seq tuple tuple_struct
160 | | map struct enum identifier ignored_any
161 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: `-D clippy::let-underscore-untyped` implied by `-D clippy::pedantic`
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:157:5
|
157 | / forward_to_deserialize_any! {
158 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
159 | | bytes byte_buf unit unit_struct newtype_struct seq tuple tuple_struct
160 | | map struct enum identifier ignored_any
161 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:219:5
|
219 | / forward_to_deserialize_any! {
220 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
221 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
222 | | tuple_struct map struct enum identifier ignored_any
223 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:291:1
|
291 | primitive_deserializer!(bool, "a `bool`.", BoolDeserializer, visit_bool);
| ------------------------------------------------------------------------ in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `primitive_deserializer` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:292:1
|
292 | primitive_deserializer!(i8, "an `i8`.", I8Deserializer, visit_i8);
| ----------------------------------------------------------------- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `primitive_deserializer` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:293:1
|
293 | primitive_deserializer!(i16, "an `i16`.", I16Deserializer, visit_i16);
| --------------------------------------------------------------------- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `primitive_deserializer` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:294:1
|
294 | primitive_deserializer!(i32, "an `i32`.", I32Deserializer, visit_i32);
| --------------------------------------------------------------------- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `primitive_deserializer` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:295:1
|
295 | primitive_deserializer!(i64, "an `i64`.", I64Deserializer, visit_i64);
| --------------------------------------------------------------------- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `primitive_deserializer` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:296:1
|
296 | primitive_deserializer!(isize, "an `isize`.", IsizeDeserializer, visit_i64 as i64);
| ---------------------------------------------------------------------------------- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `primitive_deserializer` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:297:1
|
297 | primitive_deserializer!(u8, "a `u8`.", U8Deserializer, visit_u8);
| ---------------------------------------------------------------- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `primitive_deserializer` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:298:1
|
298 | primitive_deserializer!(u16, "a `u16`.", U16Deserializer, visit_u16);
| -------------------------------------------------------------------- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `primitive_deserializer` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:299:1
|
299 | primitive_deserializer!(u64, "a `u64`.", U64Deserializer, visit_u64);
| -------------------------------------------------------------------- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `primitive_deserializer` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:300:1
|
300 | primitive_deserializer!(usize, "a `usize`.", UsizeDeserializer, visit_u64 as u64);
| --------------------------------------------------------------------------------- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `primitive_deserializer` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:301:1
|
301 | primitive_deserializer!(f32, "an `f32`.", F32Deserializer, visit_f32);
| --------------------------------------------------------------------- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `primitive_deserializer` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:302:1
|
302 | primitive_deserializer!(f64, "an `f64`.", F64Deserializer, visit_f64);
| --------------------------------------------------------------------- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `primitive_deserializer` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:303:1
|
303 | primitive_deserializer!(char, "a `char`.", CharDeserializer, visit_char);
| ------------------------------------------------------------------------ in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `primitive_deserializer` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:306:5
|
306 | primitive_deserializer!(i128, "an `i128`.", I128Deserializer, visit_i128);
| ------------------------------------------------------------------------- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `primitive_deserializer` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:307:5
|
307 | primitive_deserializer!(u128, "a `u128`.", U128Deserializer, visit_u128);
| ------------------------------------------------------------------------ in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `primitive_deserializer` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:345:5
|
345 | / forward_to_deserialize_any! {
346 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
347 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
348 | | tuple_struct map struct identifier ignored_any
349 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/de/value.rs:367:9
|
367 | let _ = name;
| ^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/value.rs:368:9
|
368 | let _ = variants;
| ^^^^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/value.rs:450:9
|
450 | let _ = name;
| ^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/value.rs:451:9
|
451 | let _ = variants;
| ^^^^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:455:5
|
455 | / forward_to_deserialize_any! {
456 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
457 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
458 | | tuple_struct map struct identifier ignored_any
459 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/de/value.rs:529:9
|
529 | let _ = name;
| ^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/value.rs:530:9
|
530 | let _ = variants;
| ^^^^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:534:5
|
534 | / forward_to_deserialize_any! {
535 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
536 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
537 | | tuple_struct map struct identifier ignored_any
538 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/de/value.rs:630:9
|
630 | let _ = name;
| ^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/value.rs:631:9
|
631 | let _ = variants;
| ^^^^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:635:5
|
635 | / forward_to_deserialize_any! {
636 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
637 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
638 | | tuple_struct map struct identifier ignored_any
639 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/de/value.rs:736:9
|
736 | let _ = name;
| ^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/value.rs:737:9
|
737 | let _ = variants;
| ^^^^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:741:5
|
741 | / forward_to_deserialize_any! {
742 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
743 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
744 | | tuple_struct map struct identifier ignored_any
745 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:818:5
|
818 | / forward_to_deserialize_any! {
819 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
820 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
821 | | tuple_struct map struct enum identifier ignored_any
822 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:866:5
|
866 | / forward_to_deserialize_any! {
867 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
868 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
869 | | tuple_struct map struct enum identifier ignored_any
870 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:945:5
|
945 | / forward_to_deserialize_any! {
946 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
947 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
948 | | tuple_struct map struct enum identifier ignored_any
949 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:1073:5
|
1073 | / forward_to_deserialize_any! {
1074 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
1075 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
1076 | | tuple_struct map struct enum identifier ignored_any
1077 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/de/value.rs:1183:9
|
1183 | let _ = len;
| ^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:1187:5
|
1187 | / forward_to_deserialize_any! {
1188 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
1189 | | bytes byte_buf option unit unit_struct newtype_struct tuple_struct map
1190 | | struct enum identifier ignored_any
1191 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:1326:5
|
1326 | / forward_to_deserialize_any! {
1327 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
1328 | | bytes byte_buf option unit unit_struct newtype_struct tuple_struct map
1329 | | struct enum identifier ignored_any
1330 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:1486:5
|
1486 | / forward_to_deserialize_any! {
1487 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
1488 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
1489 | | tuple_struct map struct identifier ignored_any
1490 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/de/value.rs:1539:5
|
1539 | / forward_to_deserialize_any! {
1540 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
1541 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
1542 | | tuple_struct map struct enum identifier ignored_any
1543 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/de/ignored_any.rs:123:9
|
123 | let _ = x;
| ^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/ignored_any.rs:129:9
|
129 | let _ = x;
| ^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/ignored_any.rs:136:13
|
136 | let _ = x;
| ^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/ignored_any.rs:143:9
|
143 | let _ = x;
| ^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/ignored_any.rs:150:13
|
150 | let _ = x;
| ^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/ignored_any.rs:157:9
|
157 | let _ = x;
| ^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/ignored_any.rs:166:9
|
166 | let _ = s;
| ^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/ignored_any.rs:223:9
|
223 | let _ = bytes;
| ^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/mod.rs:957:13
|
957 | let _ = visitor;
| ^^^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/mod.rs:991:13
|
991 | let _ = visitor;
| ^^^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/mod.rs:1554:9
|
1554 | let _ = v;
| ^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/mod.rs:1615:9
|
1615 | let _ = deserializer;
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/mod.rs:1639:9
|
1639 | let _ = deserializer;
| ^^^^^^^^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/mod.rs:1650:9
|
1650 | let _ = seq;
| ^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/mod.rs:1661:9
|
1661 | let _ = map;
| ^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/de/mod.rs:1672:9
|
1672 | let _ = data;
| ^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/ser/impossible.rs:79:9
|
79 | let _ = value;
| ^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/ser/impossible.rs:99:9
|
99 | let _ = value;
| ^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/ser/impossible.rs:119:9
|
119 | let _ = value;
| ^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/ser/impossible.rs:139:9
|
139 | let _ = value;
| ^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/ser/impossible.rs:159:9
|
159 | let _ = key;
| ^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/ser/impossible.rs:167:9
|
167 | let _ = value;
| ^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/ser/impossible.rs:187:9
|
187 | let _ = key;
| ^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/ser/impossible.rs:188:9
|
188 | let _ = value;
| ^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/ser/impossible.rs:208:9
|
208 | let _ = key;
| ^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/ser/impossible.rs:209:9
|
209 | let _ = value;
| ^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/ser/mod.rs:512:13
|
512 | let _ = v;
| ^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/ser/mod.rs:622:13
|
622 | let _ = v;
| ^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/ser/mod.rs:1906:9
|
1906 | let _ = key;
| ^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/ser/mod.rs:1972:9
|
1972 | let _ = key;
| ^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/private/de.rs:47:9
|
47 | / forward_to_deserialize_any! {
48 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
49 | | bytes byte_buf unit unit_struct newtype_struct seq tuple
50 | | tuple_struct map struct enum identifier ignored_any
51 | | }
| |_________- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/private/de.rs:1451:13
|
1451 | let _ = visitor;
| ^^^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/private/de.rs:1633:9
|
1633 | / forward_to_deserialize_any! {
1634 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
1635 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
1636 | | tuple_struct map struct enum identifier ignored_any
1637 | | }
| |_________- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/private/de.rs:1731:9
|
1731 | / forward_to_deserialize_any! {
1732 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
1733 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
1734 | | tuple_struct map struct enum identifier ignored_any
1735 | | }
| |_________- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/private/de.rs:2174:13
|
2174 | let _ = visitor;
| ^^^^^^^^^^^^^^^^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/private/de.rs:2343:9
|
2343 | / forward_to_deserialize_any! {
2344 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
2345 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
2346 | | tuple_struct map struct enum identifier ignored_any
2347 | | }
| |_________- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/private/de.rs:2443:9
|
2443 | / forward_to_deserialize_any! {
2444 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
2445 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
2446 | | tuple_struct map struct enum identifier ignored_any
2447 | | }
| |_________- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/private/de.rs:2611:5
|
2611 | / forward_to_deserialize_any! {
2612 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
2613 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
2614 | | tuple_struct map struct enum identifier ignored_any
2615 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde/src/macros.rs:132:17
|
132 | let _ = $arg;
| ^^^^^^^^^^^^^
|
::: serde/src/private/de.rs:2636:5
|
2636 | / forward_to_deserialize_any! {
2637 | | bool i8 i16 i32 i64 i128 u8 u16 u32 u64 u128 f32 f64 char str string
2638 | | bytes byte_buf option unit unit_struct newtype_struct seq tuple
2639 | | tuple_struct map struct enum identifier ignored_any
2640 | | }
| |_____- in this macro invocation
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: this error originates in the macro `forward_to_deserialize_any_method` which comes from the expansion of the macro `forward_to_deserialize_any` (in Nightly builds, run with -Z macro-backtrace for more info)
error: non-binding `let` without a type annotation
--> serde_derive/src/internals/attr.rs:591:17
|
591 | / let _ = attr.parse_args_with(|input: ParseStream| {
592 | | while let Some(token) = input.parse()? {
593 | | if let TokenTree::Ident(ident) = token {
594 | | is_packed |= ident == "packed";
... |
597 | | Ok(())
598 | | });
| |___________________^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: `-D clippy::let-underscore-untyped` implied by `-D clippy::pedantic`
error: non-binding `let` without a type annotation
--> serde_derive_internals/src/attr.rs:591:17
|
591 | / let _ = attr.parse_args_with(|input: ParseStream| {
592 | | while let Some(token) = input.parse()? {
593 | | if let TokenTree::Ident(ident) = token {
594 | | is_packed |= ident == "packed";
... |
597 | | Ok(())
598 | | });
| |___________________^
|
= help: consider adding a type annotation or removing the `let` keyword
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_untyped
= note: `-D clippy::let-underscore-untyped` implied by `-D clippy::pedantic`