GitHub Actions / clippy
failed
Nov 8, 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.83.0-beta.4 (67512dee7 2024-11-02)
- cargo 1.83.0-beta.4 (5ffbef321 2024-10-29)
- clippy 0.1.83 (67512de 2024-11-02)
Annotations
Check failure on line 103 in ja4/src/pcap.rs
github-actions / clippy
elided lifetime has a name
error: elided lifetime has a name
--> ja4/src/pcap.rs:103:79
|
103 | pub(crate) fn values<'a>(&'a self, name: &'a str) -> impl Iterator<Item = &str> {
| -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a`
Check failure on line 95 in ja4/src/pcap.rs
github-actions / clippy
elided lifetime has a name
error: elided lifetime has a name
--> ja4/src/pcap.rs:95:79
|
95 | pub(crate) fn fields<'a>(&'a self, name: &'a str) -> impl Iterator<Item = &rtshark::Metadata> {
| -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a`
Check failure on line 41 in ja4/src/pcap.rs
github-actions / clippy
elided lifetime has a name
error: elided lifetime has a name
--> ja4/src/pcap.rs:41:79
|
41 | pub(crate) fn protos<'b>(&'b self, name: &'b str) -> impl Iterator<Item = Proto> + 'b {
| -- lifetime `'b` declared here ^^^^^ this elided lifetime gets resolved as `'b`
|
= note: `-D elided-named-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(elided_named_lifetimes)]`
Loading