Skip to content

Wireshark crash fixes for 4.4 (#189) #4

Wireshark crash fixes for 4.4 (#189)

Wireshark crash fixes for 4.4 (#189) #4

GitHub Actions / clippy failed Jan 17, 2025 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.85.0-beta.2 (fe9b9751f 2025-01-11)
  • cargo 1.85.0-beta.2 (d73d2caf9 2024-12-31)
  • clippy 0.1.85 (fe9b9751fa 2025-01-11)

Annotations

Check failure on line 103 in ja4/src/pcap.rs

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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)]`