Allow cloning the transport with different credentials (#260) #292
clippy
41 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 41 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.91.0-nightly (2fd855fbf 2025-08-07)
- cargo 1.91.0-nightly (840b83a10 2025-07-30)
- clippy 0.1.91 (2fd855fbfc 2025-08-07)
Annotations
Check warning on line 322 in elasticsearch/src/xpack.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/xpack.rs:322:18
|
322 | pub fn xpack(&self) -> Xpack {
| ^^^^^ ----- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
322 | pub fn xpack(&self) -> Xpack<'_> {
| ++++
Check warning on line 1991 in elasticsearch/src/watcher.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/watcher.rs:1991:20
|
1991 | pub fn watcher(&self) -> Watcher {
| ^^^^^ ------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1991 | pub fn watcher(&self) -> Watcher<'_> {
| ++++
Check warning on line 2025 in elasticsearch/src/transform.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/transform.rs:2025:22
|
2025 | pub fn transform(&self) -> Transform {
| ^^^^^ --------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
2025 | pub fn transform(&self) -> Transform<'_> {
| ++++
Check warning on line 1005 in elasticsearch/src/text_structure.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/text_structure.rs:1005:27
|
1005 | pub fn text_structure(&self) -> TextStructure {
| ^^^^^ ------------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1005 | pub fn text_structure(&self) -> TextStructure<'_> {
| ++++
Check warning on line 603 in elasticsearch/src/tasks.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/tasks.rs:603:18
|
603 | pub fn tasks(&self) -> Tasks {
| ^^^^^ ----- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
603 | pub fn tasks(&self) -> Tasks<'_> {
| ++++
Check warning on line 1036 in elasticsearch/src/synonyms.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/synonyms.rs:1036:21
|
1036 | pub fn synonyms(&self) -> Synonyms {
| ^^^^^ -------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1036 | pub fn synonyms(&self) -> Synonyms<'_> {
| ++++
Check warning on line 178 in elasticsearch/src/ssl.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/ssl.rs:178:16
|
178 | pub fn ssl(&self) -> Ssl {
| ^^^^^ --- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
178 | pub fn ssl(&self) -> Ssl<'_> {
| ++++
Check warning on line 900 in elasticsearch/src/sql.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/sql.rs:900:16
|
900 | pub fn sql(&self) -> Sql {
| ^^^^^ --- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
900 | pub fn sql(&self) -> Sql<'_> {
| ++++
Check warning on line 2461 in elasticsearch/src/snapshot.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/snapshot.rs:2461:21
|
2461 | pub fn snapshot(&self) -> Snapshot {
| ^^^^^ -------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
2461 | pub fn snapshot(&self) -> Snapshot<'_> {
| ++++
Check warning on line 1440 in elasticsearch/src/slm.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/slm.rs:1440:16
|
1440 | pub fn slm(&self) -> Slm {
| ^^^^^ --- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1440 | pub fn slm(&self) -> Slm<'_> {
| ++++
Check warning on line 236 in elasticsearch/src/simulate.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/simulate.rs:236:21
|
236 | pub fn simulate(&self) -> Simulate {
| ^^^^^ -------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
236 | pub fn simulate(&self) -> Simulate<'_> {
| ++++
Check warning on line 508 in elasticsearch/src/shutdown.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/shutdown.rs:508:21
|
508 | pub fn shutdown(&self) -> Shutdown {
| ^^^^^ -------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
508 | pub fn shutdown(&self) -> Shutdown<'_> {
| ++++
Check warning on line 9356 in elasticsearch/src/security.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/security.rs:9356:21
|
9356 | pub fn security(&self) -> Security {
| ^^^^^ -------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
9356 | pub fn security(&self) -> Security<'_> {
| ++++
Check warning on line 732 in elasticsearch/src/searchable_snapshots.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/searchable_snapshots.rs:732:33
|
732 | pub fn searchable_snapshots(&self) -> SearchableSnapshots {
| ^^^^^ ------------------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
732 | pub fn searchable_snapshots(&self) -> SearchableSnapshots<'_> {
| ++++
Check warning on line 969 in elasticsearch/src/search_application.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/search_application.rs:969:31
|
969 | pub fn search_application(&self) -> SearchApplication {
| ^^^^^ ----------------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
969 | pub fn search_application(&self) -> SearchApplication<'_> {
| ++++
Check warning on line 1259 in elasticsearch/src/rollup.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/rollup.rs:1259:19
|
1259 | pub fn rollup(&self) -> Rollup {
| ^^^^^ ------ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1259 | pub fn rollup(&self) -> Rollup<'_> {
| ++++
Check warning on line 1169 in elasticsearch/src/query_rules.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/query_rules.rs:1169:24
|
1169 | pub fn query_rules(&self) -> QueryRules {
| ^^^^^ ---------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1169 | pub fn query_rules(&self) -> QueryRules<'_> {
| ++++
Check warning on line 618 in elasticsearch/src/profiling.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/profiling.rs:618:22
|
618 | pub fn profiling(&self) -> Profiling {
| ^^^^^ --------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
618 | pub fn profiling(&self) -> Profiling<'_> {
| ++++
Check warning on line 1324 in elasticsearch/src/nodes.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/nodes.rs:1324:18
|
1324 | pub fn nodes(&self) -> Nodes {
| ^^^^^ ----- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1324 | pub fn nodes(&self) -> Nodes<'_> {
| ++++
Check warning on line 242 in elasticsearch/src/monitoring.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/monitoring.rs:242:23
|
242 | pub fn monitoring(&self) -> Monitoring {
| ^^^^^ ---------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
242 | pub fn monitoring(&self) -> Monitoring<'_> {
| ++++
Check warning on line 11952 in elasticsearch/src/ml.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/ml.rs:11952:15
|
11952 | pub fn ml(&self) -> Ml {
| ^^^^^ -- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
11952 | pub fn ml(&self) -> Ml<'_> {
| ++++
Check warning on line 447 in elasticsearch/src/migration.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/migration.rs:447:22
|
447 | pub fn migration(&self) -> Migration {
| ^^^^^ --------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
447 | pub fn migration(&self) -> Migration<'_> {
| ++++
Check warning on line 464 in elasticsearch/src/logstash.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/logstash.rs:464:21
|
464 | pub fn logstash(&self) -> Logstash {
| ^^^^^ -------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
464 | pub fn logstash(&self) -> Logstash<'_> {
| ++++
Check warning on line 1075 in elasticsearch/src/license.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/license.rs:1075:20
|
1075 | pub fn license(&self) -> License {
| ^^^^^ ------- the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1075 | pub fn license(&self) -> License<'_> {
| ++++
Check warning on line 1819 in elasticsearch/src/ingest.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> elasticsearch/src/ingest.rs:1819:19
|
1819 | pub fn ingest(&self) -> Ingest {
| ^^^^^ ------ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
help: use `'_` for type paths
|
1819 | pub fn ingest(&self) -> Ingest<'_> {
| ++++