Update version #269
clippy
6 warnings
Details
Results
| Message level | Amount |
|---|---|
| Internal compiler error | 0 |
| Error | 0 |
| Warning | 6 |
| Note | 0 |
| Help | 0 |
Versions
- rustc 1.88.0-nightly (6bc57c6bf 2025-04-22)
- cargo 1.88.0-nightly (d811228b1 2025-04-15)
- clippy 0.1.87 (6bc57c6bf7 2025-04-22)
Annotations
Check warning on line 428 in yaml_test_runner/src/generator.rs
github-actions / clippy
`to_string` applied to a type that implements `Display` in `error!` args
warning: `to_string` applied to a type that implements `Display` in `error!` args
--> yaml_test_runner/src/generator.rs:428:46
|
428 | result.err().unwrap().to_string()
| ^^^^^^^^^^^^ help: remove this
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args
= note: `#[warn(clippy::to_string_in_format_args)]` on by default
Check warning on line 481 in elasticsearch/src/http/transport.rs
github-actions / clippy
doc list item overindented
warning: doc list item overindented
--> elasticsearch/src/http/transport.rs:481:9
|
481 | /// identifies the deployment instance.
| ^^^^^^^^^^^^^^ help: try using ` ` (2 spaces)
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
Check warning on line 175 in elasticsearch/src/http/request.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
warning: the following explicit lifetimes could be elided: 'a
--> elasticsearch/src/http/request.rs:175:6
|
175 | impl<'a> Body for &'a str {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
175 - impl<'a> Body for &'a str {
175 + impl Body for &str {
|
Check warning on line 161 in elasticsearch/src/http/request.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
warning: the following explicit lifetimes could be elided: 'a
--> elasticsearch/src/http/request.rs:161:6
|
161 | impl<'a> Body for &'a [u8] {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
161 - impl<'a> Body for &'a [u8] {
161 + impl Body for &[u8] {
|
Check warning on line 53 in elasticsearch/src/http/request.rs
github-actions / clippy
the following explicit lifetimes could be elided: 'a
warning: the following explicit lifetimes could be elided: 'a
--> elasticsearch/src/http/request.rs:53:6
|
53 | impl<'a, B: ?Sized> Body for &'a B
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
53 - impl<'a, B: ?Sized> Body for &'a B
53 + impl<B: ?Sized> Body for &B
|
Check warning on line 53 in elasticsearch/src/lib.rs
github-actions / clippy
doc list item overindented
warning: doc list item overindented
--> elasticsearch/src/lib.rs:53:5
|
53 | //! caution because it is possible that breaking changes are made to these APIs in a minor version.
| ^^^ help: try using ` ` (2 spaces)
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items
= note: `#[warn(clippy::doc_overindented_list_items)]` on by default