Skip to content

Update dependencies #203

Update dependencies

Update dependencies #203

GitHub Actions / clippy failed Dec 10, 2024 in 0s

clippy

8 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 8
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 415 in src/layer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

error: the following explicit lifetimes could be elided: 'a
   --> src/layer.rs:415:6
    |
415 | impl<'a> field::Visit for SpanAttributeVisitor<'a> {
    |      ^^                                        ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
415 - impl<'a> field::Visit for SpanAttributeVisitor<'a> {
415 + impl field::Visit for SpanAttributeVisitor<'_> {
    |

Check failure on line 406 in src/layer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

error: the following explicit lifetimes could be elided: 'a
   --> src/layer.rs:406:6
    |
406 | impl<'a> SpanAttributeVisitor<'a> {
    |      ^^                       ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
406 - impl<'a> SpanAttributeVisitor<'a> {
406 + impl SpanAttributeVisitor<'_> {
    |

Check failure on line 415 in src/layer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

error: the following explicit lifetimes could be elided: 'a
   --> src/layer.rs:415:6
    |
415 | impl<'a> field::Visit for SpanAttributeVisitor<'a> {
    |      ^^                                        ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
415 - impl<'a> field::Visit for SpanAttributeVisitor<'a> {
415 + impl field::Visit for SpanAttributeVisitor<'_> {
    |

Check failure on line 406 in src/layer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

error: the following explicit lifetimes could be elided: 'a
   --> src/layer.rs:406:6
    |
406 | impl<'a> SpanAttributeVisitor<'a> {
    |      ^^                       ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
406 - impl<'a> SpanAttributeVisitor<'a> {
406 + impl SpanAttributeVisitor<'_> {
    |

Check failure on line 163 in src/layer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a, 'b

error: the following explicit lifetimes could be elided: 'a, 'b
   --> src/layer.rs:163:6
    |
163 | impl<'a, 'b> field::Visit for SpanEventVisitor<'a, 'b> {
    |      ^^  ^^                                    ^^  ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
163 - impl<'a, 'b> field::Visit for SpanEventVisitor<'a, 'b> {
163 + impl field::Visit for SpanEventVisitor<'_, '_> {
    |

Check failure on line 163 in src/layer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a, 'b

error: the following explicit lifetimes could be elided: 'a, 'b
   --> src/layer.rs:163:6
    |
163 | impl<'a, 'b> field::Visit for SpanEventVisitor<'a, 'b> {
    |      ^^  ^^                                    ^^  ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
    |
163 - impl<'a, 'b> field::Visit for SpanEventVisitor<'a, 'b> {
163 + impl field::Visit for SpanEventVisitor<'_, '_> {
    |

Check failure on line 181 in src/metrics.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

error: the following explicit lifetimes could be elided: 'a
   --> src/metrics.rs:181:6
    |
181 | impl<'a> Visit for MetricVisitor<'a> {
    |      ^^                          ^^
    |
    = 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 warnings`
    = help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
    |
181 - impl<'a> Visit for MetricVisitor<'a> {
181 + impl Visit for MetricVisitor<'_> {
    |

Check failure on line 181 in src/metrics.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

error: the following explicit lifetimes could be elided: 'a
   --> src/metrics.rs:181:6
    |
181 | impl<'a> Visit for MetricVisitor<'a> {
    |      ^^                          ^^
    |
    = 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 warnings`
    = help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
    |
181 - impl<'a> Visit for MetricVisitor<'a> {
181 + impl Visit for MetricVisitor<'_> {
    |