Skip to content

release 0.5.2

release 0.5.2 #9

GitHub Actions / clippy failed Apr 23, 2024 in 0s

clippy

3 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 3
Warning 0
Note 0
Help 0

Versions

  • rustc 1.77.2 (25ef9e3d8 2024-04-09)
  • cargo 1.77.2 (e52e36006 2024-03-26)
  • clippy 0.1.77 (25ef9e3 2024-04-09)

Annotations

Check failure on line 120 in src/typed.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `for<'a> T: serde::Deserialize<'a>` is not satisfied

error[E0277]: the trait bound `for<'a> T: serde::Deserialize<'a>` is not satisfied
   --> src/typed.rs:120:23
    |
120 |     pub fn into_inner(self) -> T {
    |                       ^^^^ the trait `for<'a> serde::Deserialize<'a>` is not implemented for `T`
    |
note: required by a bound in `typed::TypedResponse`
   --> src/typed.rs:107:8
    |
105 | pub struct TypedResponse<T>
    |            ------------- required by a bound in this struct
106 | where
107 |     T: for<'a> Deserialize<'a>,
    |        ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `TypedResponse`
help: consider restricting type parameter `T`
    |
113 | impl<T: for<'a> serde::Deserialize<'a>> TypedResponse<T> {
    |       ++++++++++++++++++++++++++++++++

Check failure on line 115 in src/typed.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `for<'a> T: serde::Deserialize<'a>` is not satisfied

error[E0277]: the trait bound `for<'a> T: serde::Deserialize<'a>` is not satisfied
   --> src/typed.rs:115:22
    |
115 |     pub fn get_inner(&self) -> &T {
    |                      ^^^^^ the trait `for<'a> serde::Deserialize<'a>` is not implemented for `T`
    |
note: required by a bound in `typed::TypedResponse`
   --> src/typed.rs:107:8
    |
105 | pub struct TypedResponse<T>
    |            ------------- required by a bound in this struct
106 | where
107 |     T: for<'a> Deserialize<'a>,
    |        ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `TypedResponse`
help: consider restricting type parameter `T`
    |
113 | impl<T: for<'a> serde::Deserialize<'a>> TypedResponse<T> {
    |       ++++++++++++++++++++++++++++++++

Check failure on line 113 in src/typed.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the trait bound `for<'a> T: serde::Deserialize<'a>` is not satisfied

error[E0277]: the trait bound `for<'a> T: serde::Deserialize<'a>` is not satisfied
   --> src/typed.rs:113:9
    |
113 | impl<T> TypedResponse<T> {
    |         ^^^^^^^^^^^^^^^^ the trait `for<'a> serde::Deserialize<'a>` is not implemented for `T`
    |
note: required by a bound in `typed::TypedResponse`
   --> src/typed.rs:107:8
    |
105 | pub struct TypedResponse<T>
    |            ------------- required by a bound in this struct
106 | where
107 |     T: for<'a> Deserialize<'a>,
    |        ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `TypedResponse`
help: consider restricting type parameter `T`
    |
113 | impl<T: for<'a> serde::Deserialize<'a>> TypedResponse<T> {
    |       ++++++++++++++++++++++++++++++++