chore: prepare for v0.9.4 #1729
clippy
6 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 6 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.84.0-nightly (b91a3a056 2024-11-07)
- cargo 1.84.0-nightly (031049782 2024-11-01)
- clippy 0.1.84 (b91a3a0560 2024-11-07)
Annotations
Check failure on line 531 in core/src/v2/schema.rs
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
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
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
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
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
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 {}
|