Skip to content

chore: prepare for v0.9.4 #1729

chore: prepare for v0.9.4

chore: prepare for v0.9.4 #1729

GitHub Actions / clippy failed Dec 17, 2024 in 0s

clippy

6 errors

Details

Results

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

Versions

  • rustc 1.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check failure on line 531 in core/src/v2/schema.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

error: the following explicit lifetimes could be elided: 'a
   --> core/src/v2/schema.rs:531:6
    |
531 | impl<'a, T: Apiv2Schema> Apiv2Schema for &'a [T] {
    |      ^^                                   ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
531 - impl<'a, T: Apiv2Schema> Apiv2Schema for &'a [T] {
531 + impl<T: Apiv2Schema> Apiv2Schema for &[T] {
    |

Check failure on line 185 in core/src/v2/schema.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

error: the following explicit lifetimes could be elided: 'a
   --> core/src/v2/schema.rs:185:6
    |
185 | impl<'a, T: TypedData> TypedData for &'a T {
    |      ^^                               ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
185 - impl<'a, T: TypedData> TypedData for &'a T {
185 + impl<T: TypedData> TypedData for &T {
    |

Check failure on line 179 in core/src/v2/schema.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

error: the following explicit lifetimes could be elided: 'a
   --> core/src/v2/schema.rs:179:6
    |
179 | impl<'a> TypedData for &'a str {
    |      ^^                 ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
179 - impl<'a> TypedData for &'a str {
179 + impl TypedData for &str {
    |

Check failure on line 160 in core/src/v2/extensions.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'de

error: the following explicit lifetimes could be elided: 'de
   --> core/src/v2/extensions.rs:160:14
    |
160 |         impl<'de> serde::de::Visitor<'de> for Visitor {
    |              ^^^                     ^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
160 -         impl<'de> serde::de::Visitor<'de> for Visitor {
160 +         impl serde::de::Visitor<'_> for Visitor {
    |

Check failure on line 258 in core/src/v2/actix.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

error: the following explicit lifetimes could be elided: 'a
   --> core/src/v2/actix.rs:258:10
    |
258 |     impl<'a, T: OperationModifier> OperationModifier for &'a [T] {}
    |          ^^                                               ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
258 -     impl<'a, T: OperationModifier> OperationModifier for &'a [T] {}
258 +     impl<T: OperationModifier> OperationModifier for &[T] {}
    |

Check failure on line 257 in core/src/v2/actix.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

error: the following explicit lifetimes could be elided: 'a
   --> core/src/v2/actix.rs:257:10
    |
257 |     impl<'a> OperationModifier for &'a str {}
    |          ^^                         ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `-D clippy::needless-lifetimes` implied by `-D clippy::all`
    = help: to override `-D clippy::all` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
    |
257 -     impl<'a> OperationModifier for &'a str {}
257 +     impl OperationModifier for &str {}
    |