Update Rust crate clap to 4.4.12 #797
GitHub Actions / clippy
failed
Dec 29, 2023 in 0s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.77.0-nightly (fb5ed726f 2023-12-28)
- cargo 1.77.0-nightly (ac6bbb332 2023-12-26)
- clippy 0.1.76 (fb5ed72 2023-12-28)
Annotations
github-actions / clippy
the parameter type `T` may not live long enough
error[E0310]: the parameter type `T` may not live long enough
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:5
|
1155 | fn decode<D: Decoder>(d: &mut D) -> Result<Cow<'static, T>, D::Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
| the parameter type `T` must be valid for the static lifetime...
| ...so that the type `T` will meet its required lifetime bounds...
|
note: ...that is required by this bound
--> /rustc/fb5ed726f72c6d16c788517c60ec00d4564b9348/library/alloc/src/borrow.rs:180:30
help: consider adding an explicit lifetime bound
|
1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T>
| +++++++++
Loading