Fix MSRV pipeline #190
GitHub Actions / clippy
failed
Nov 28, 2024 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.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 29 in crates/rust-releases-core/src/channel.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
error: the following explicit lifetimes could be elided: 'a
--> crates/rust-releases-core/src/channel.rs:29:6
|
29 | impl<'a> From<Channel> for &'a str {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
note: the lint level is defined here
--> crates/rust-releases-core/src/lib.rs:8:9
|
8 | #![deny(clippy::all)]
| ^^^^^^^^^^^
= note: `#[deny(clippy::needless_lifetimes)]` implied by `#[deny(clippy::all)]`
help: elide the lifetimes
|
29 - impl<'a> From<Channel> for &'a str {
29 + impl From<Channel> for &str {
|
Loading